public interface

DataProto.DeviceOrBuilder

 androidx.health.platform.client.proto.DataProto.DeviceOrBuilder

Subclasses:

DataProto.Device, DataProto.Device.Builder

Summary

Methods
public java.lang.StringgetIdentifier()

optional string identifier = 1;

public com.google.protobuf.ByteStringgetIdentifierBytes()

optional string identifier = 1;

public java.lang.StringgetManufacturer()

optional string manufacturer = 2;

public com.google.protobuf.ByteStringgetManufacturerBytes()

optional string manufacturer = 2;

public java.lang.StringgetModel()

optional string model = 3;

public com.google.protobuf.ByteStringgetModelBytes()

optional string model = 3;

public java.lang.StringgetType()

optional string type = 4;

public com.google.protobuf.ByteStringgetTypeBytes()

optional string type = 4;

public booleanhasIdentifier()

optional string identifier = 1;

public booleanhasManufacturer()

optional string manufacturer = 2;

public booleanhasModel()

optional string model = 3;

public booleanhasType()

optional string type = 4;

Methods

public boolean hasIdentifier()

optional string identifier = 1;

Returns:

Whether the identifier field is set.

public java.lang.String getIdentifier()

optional string identifier = 1;

Returns:

The identifier.

public com.google.protobuf.ByteString getIdentifierBytes()

optional string identifier = 1;

Returns:

The bytes for identifier.

public boolean hasManufacturer()

optional string manufacturer = 2;

Returns:

Whether the manufacturer field is set.

public java.lang.String getManufacturer()

optional string manufacturer = 2;

Returns:

The manufacturer.

public com.google.protobuf.ByteString getManufacturerBytes()

optional string manufacturer = 2;

Returns:

The bytes for manufacturer.

public boolean hasModel()

optional string model = 3;

Returns:

Whether the model field is set.

public java.lang.String getModel()

optional string model = 3;

Returns:

The model.

public com.google.protobuf.ByteString getModelBytes()

optional string model = 3;

Returns:

The bytes for model.

public boolean hasType()

optional string type = 4;

Returns:

Whether the type field is set.

public java.lang.String getType()

optional string type = 4;

Returns:

The type.

public com.google.protobuf.ByteString getTypeBytes()

optional string type = 4;

Returns:

The bytes for type.