Class MedicalDeviceInfo (0.2.0)

public final class MedicalDeviceInfo extends GeneratedMessage implements MedicalDeviceInfoOrBuilder

Software as Medical Device (SaMD) metadata. Used to construct the Unique Device Identifier (UDI).

Protobuf type google.devicesandservices.health.v4.MedicalDeviceInfo

Static Fields

ALGORITHM_VERSION_FIELD_NUMBER

public static final int ALGORITHM_VERSION_FIELD_NUMBER
Field Value
Type Description
int

DEVICE_MODEL_FIELD_NUMBER

public static final int DEVICE_MODEL_FIELD_NUMBER
Field Value
Type Description
int

FEATURE_VERSION_FIELD_NUMBER

public static final int FEATURE_VERSION_FIELD_NUMBER
Field Value
Type Description
int

FIRMWARE_VERSION_FIELD_NUMBER

public static final int FIRMWARE_VERSION_FIELD_NUMBER
Field Value
Type Description
int

SERVICE_VERSION_FIELD_NUMBER

public static final int SERVICE_VERSION_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static MedicalDeviceInfo getDefaultInstance()
Returns
Type Description
MedicalDeviceInfo

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static MedicalDeviceInfo.Builder newBuilder()
Returns
Type Description
MedicalDeviceInfo.Builder

newBuilder(MedicalDeviceInfo prototype)

public static MedicalDeviceInfo.Builder newBuilder(MedicalDeviceInfo prototype)
Parameter
Name Description
prototype MedicalDeviceInfo
Returns
Type Description
MedicalDeviceInfo.Builder

parseDelimitedFrom(InputStream input)

public static MedicalDeviceInfo parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
MedicalDeviceInfo
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static MedicalDeviceInfo parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MedicalDeviceInfo
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static MedicalDeviceInfo parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
MedicalDeviceInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static MedicalDeviceInfo parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MedicalDeviceInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static MedicalDeviceInfo parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
MedicalDeviceInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static MedicalDeviceInfo parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MedicalDeviceInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static MedicalDeviceInfo parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
MedicalDeviceInfo
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static MedicalDeviceInfo parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MedicalDeviceInfo
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static MedicalDeviceInfo parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
MedicalDeviceInfo
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static MedicalDeviceInfo parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MedicalDeviceInfo
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static MedicalDeviceInfo parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
MedicalDeviceInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static MedicalDeviceInfo parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MedicalDeviceInfo
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<MedicalDeviceInfo> parser()
Returns
Type Description
Parser<MedicalDeviceInfo>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getAlgorithmVersion()

public String getAlgorithmVersion()

Output only. The algorithm version used by the feature.

string algorithm_version = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The algorithmVersion.

getAlgorithmVersionBytes()

public ByteString getAlgorithmVersionBytes()

Output only. The algorithm version used by the feature.

string algorithm_version = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for algorithmVersion.

getDefaultInstanceForType()

public MedicalDeviceInfo getDefaultInstanceForType()
Returns
Type Description
MedicalDeviceInfo

getDeviceModel()

public String getDeviceModel()

Output only. The model name or device type of the compatible device used to collect the data.

string device_model = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The deviceModel.

getDeviceModelBytes()

public ByteString getDeviceModelBytes()

Output only. The model name or device type of the compatible device used to collect the data.

string device_model = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for deviceModel.

getFeatureVersion()

public String getFeatureVersion()

Output only. The version of the feature/app running on the device.

string feature_version = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The featureVersion.

getFeatureVersionBytes()

public ByteString getFeatureVersionBytes()

Output only. The version of the feature/app running on the device.

string feature_version = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for featureVersion.

getFirmwareVersion()

public String getFirmwareVersion()

Output only. The firmware version running on the compatible device used to collect the data.

string firmware_version = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The firmwareVersion.

getFirmwareVersionBytes()

public ByteString getFirmwareVersionBytes()

Output only. The firmware version running on the compatible device used to collect the data.

string firmware_version = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for firmwareVersion.

getParserForType()

public Parser<MedicalDeviceInfo> getParserForType()
Returns
Type Description
Parser<MedicalDeviceInfo>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getServiceVersion()

public String getServiceVersion()

Output only. The service version used by the feature.

string service_version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The serviceVersion.

getServiceVersionBytes()

public ByteString getServiceVersionBytes()

Output only. The service version used by the feature.

string service_version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for serviceVersion.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public MedicalDeviceInfo.Builder newBuilderForType()
Returns
Type Description
MedicalDeviceInfo.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected MedicalDeviceInfo.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
MedicalDeviceInfo.Builder
Overrides

toBuilder()

public MedicalDeviceInfo.Builder toBuilder()
Returns
Type Description
MedicalDeviceInfo.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException