public interface

RequestProto.DataTypeIdPairOrBuilder

 androidx.health.platform.client.proto.RequestProto.DataTypeIdPairOrBuilder

Subclasses:

RequestProto.DataTypeIdPair, RequestProto.DataTypeIdPair.Builder

Summary

Methods
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;

Methods

public boolean hasDataType()

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

Returns:

Whether the dataType field is set.

public DataProto.DataType getDataType()

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

Returns:

The dataType.

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.