public final class

RequestProto.DataTypeIdPair.Builder

extends <any>

implements RequestProto.DataTypeIdPairOrBuilder

 java.lang.Object

↳<any>

↳androidx.health.platform.client.proto.RequestProto.DataTypeIdPair.Builder

Overview

Protobuf type androidx.health.platform.client.proto.DataTypeIdPair

Summary

Methods
public RequestProto.DataTypeIdPair.BuilderclearDataType()

optional .androidx.health.platform.client.proto.DataType data_type = 1;

public RequestProto.DataTypeIdPair.BuilderclearId()

optional string id = 2;

public DataProto.DataTypegetDataType()

optional .androidx.health.platform.client.proto.DataType data_type = 1;

public java.lang.StringgetId()

optional string id = 2;

public com.google.protobuf.ByteStringgetIdBytes()

optional string id = 2;

public booleanhasDataType()

optional .androidx.health.platform.client.proto.DataType data_type = 1;

public booleanhasId()

optional string id = 2;

public RequestProto.DataTypeIdPair.BuildermergeDataType(DataProto.DataType value)

optional .androidx.health.platform.client.proto.DataType data_type = 1;

public RequestProto.DataTypeIdPair.BuildersetDataType(DataProto.DataType.Builder builderForValue)

optional .androidx.health.platform.client.proto.DataType data_type = 1;

public RequestProto.DataTypeIdPair.BuildersetDataType(DataProto.DataType value)

optional .androidx.health.platform.client.proto.DataType data_type = 1;

public RequestProto.DataTypeIdPair.BuildersetId(java.lang.String value)

optional string id = 2;

public RequestProto.DataTypeIdPair.BuildersetIdBytes(com.google.protobuf.ByteString value)

optional string id = 2;

from java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Methods

public boolean hasDataType()

optional .androidx.health.platform.client.proto.DataType data_type = 1;

public DataProto.DataType getDataType()

optional .androidx.health.platform.client.proto.DataType data_type = 1;

optional .androidx.health.platform.client.proto.DataType data_type = 1;

optional .androidx.health.platform.client.proto.DataType data_type = 1;

optional .androidx.health.platform.client.proto.DataType data_type = 1;

optional .androidx.health.platform.client.proto.DataType data_type = 1;

public boolean hasId()

optional string id = 2;

Returns:

Whether the id field is set.

public java.lang.String getId()

optional string id = 2;

Returns:

The id.

public com.google.protobuf.ByteString getIdBytes()

optional string id = 2;

Returns:

The bytes for id.

public RequestProto.DataTypeIdPair.Builder setId(java.lang.String value)

optional string id = 2;

Parameters:

value: The id to set.

Returns:

This builder for chaining.

optional string id = 2;

Returns:

This builder for chaining.

public RequestProto.DataTypeIdPair.Builder setIdBytes(com.google.protobuf.ByteString value)

optional string id = 2;

Parameters:

value: The bytes for id to set.

Returns:

This builder for chaining.