public final class

DataProto.Device

extends <any>

implements DataProto.DeviceOrBuilder

 java.lang.Object

↳<any>

↳androidx.health.platform.client.proto.DataProto.Device

Overview

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

Summary

Fields
public static final intIDENTIFIER_FIELD_NUMBER

public static final intMANUFACTURER_FIELD_NUMBER

public static final intMODEL_FIELD_NUMBER

public static final intTYPE_FIELD_NUMBER

Methods
protected final java.lang.ObjectdynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, java.lang.Object arg0, java.lang.Object arg1)

public static DataProto.DevicegetDefaultInstance()

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;

public static DataProto.Device.BuildernewBuilder()

public static DataProto.Device.BuildernewBuilder(DataProto.Device prototype)

public static DataProto.DeviceparseDelimitedFrom(java.io.InputStream input)

public static DataProto.DeviceparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static DataProto.DeviceparseFrom(byte[] data[], com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static DataProto.DeviceparseFrom(java.nio.ByteBuffer data)

public static DataProto.DeviceparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static DataProto.DeviceparseFrom(com.google.protobuf.ByteString data)

public static DataProto.DeviceparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static DataProto.DeviceparseFrom(com.google.protobuf.CodedInputStream input)

public static DataProto.DeviceparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static DataProto.DeviceparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static <any>parser()

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

Fields

public static final int IDENTIFIER_FIELD_NUMBER

public static final int MANUFACTURER_FIELD_NUMBER

public static final int MODEL_FIELD_NUMBER

public static final int TYPE_FIELD_NUMBER

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.

public static DataProto.Device parseFrom(java.nio.ByteBuffer data)

public static DataProto.Device parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static DataProto.Device parseFrom(com.google.protobuf.ByteString data)

public static DataProto.Device parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static DataProto.Device parseFrom(byte[] data[], com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static DataProto.Device parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static DataProto.Device parseDelimitedFrom(java.io.InputStream input)

public static DataProto.Device parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static DataProto.Device parseFrom(com.google.protobuf.CodedInputStream input)

public static DataProto.Device parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static DataProto.Device.Builder newBuilder()

public static DataProto.Device.Builder newBuilder(DataProto.Device prototype)

protected final java.lang.Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, java.lang.Object arg0, java.lang.Object arg1)

public static DataProto.Device getDefaultInstance()

public static <any> parser()