public static final class MedicalDeviceInfo.Builder extends GeneratedMessage.Builder<MedicalDeviceInfo.Builder> implements MedicalDeviceInfoOrBuilderSoftware as Medical Device (SaMD) metadata. Used to construct the Unique Device Identifier (UDI).
Protobuf type google.devicesandservices.health.v4.MedicalDeviceInfo
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > MedicalDeviceInfo.BuilderImplements
MedicalDeviceInfoOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public MedicalDeviceInfo build()| Returns | |
|---|---|
| Type | Description |
MedicalDeviceInfo |
|
buildPartial()
public MedicalDeviceInfo buildPartial()| Returns | |
|---|---|
| Type | Description |
MedicalDeviceInfo |
|
clear()
public MedicalDeviceInfo.Builder clear()| Returns | |
|---|---|
| Type | Description |
MedicalDeviceInfo.Builder |
|
clearAlgorithmVersion()
public MedicalDeviceInfo.Builder clearAlgorithmVersion()Output only. The algorithm version used by the feature.
string algorithm_version = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
MedicalDeviceInfo.Builder |
This builder for chaining. |
clearDeviceModel()
public MedicalDeviceInfo.Builder clearDeviceModel()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 |
MedicalDeviceInfo.Builder |
This builder for chaining. |
clearFeatureVersion()
public MedicalDeviceInfo.Builder clearFeatureVersion()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 |
MedicalDeviceInfo.Builder |
This builder for chaining. |
clearFirmwareVersion()
public MedicalDeviceInfo.Builder clearFirmwareVersion()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 |
MedicalDeviceInfo.Builder |
This builder for chaining. |
clearServiceVersion()
public MedicalDeviceInfo.Builder clearServiceVersion()Output only. The service version used by the feature.
string service_version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
MedicalDeviceInfo.Builder |
This builder for chaining. |
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 |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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. |
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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(MedicalDeviceInfo other)
public MedicalDeviceInfo.Builder mergeFrom(MedicalDeviceInfo other)| Parameter | |
|---|---|
| Name | Description |
other |
MedicalDeviceInfo |
| Returns | |
|---|---|
| Type | Description |
MedicalDeviceInfo.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public MedicalDeviceInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
MedicalDeviceInfo.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public MedicalDeviceInfo.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
MedicalDeviceInfo.Builder |
|
setAlgorithmVersion(String value)
public MedicalDeviceInfo.Builder setAlgorithmVersion(String value)Output only. The algorithm version used by the feature.
string algorithm_version = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe algorithmVersion to set. |
| Returns | |
|---|---|
| Type | Description |
MedicalDeviceInfo.Builder |
This builder for chaining. |
setAlgorithmVersionBytes(ByteString value)
public MedicalDeviceInfo.Builder setAlgorithmVersionBytes(ByteString value)Output only. The algorithm version used by the feature.
string algorithm_version = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for algorithmVersion to set. |
| Returns | |
|---|---|
| Type | Description |
MedicalDeviceInfo.Builder |
This builder for chaining. |
setDeviceModel(String value)
public MedicalDeviceInfo.Builder setDeviceModel(String value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe deviceModel to set. |
| Returns | |
|---|---|
| Type | Description |
MedicalDeviceInfo.Builder |
This builder for chaining. |
setDeviceModelBytes(ByteString value)
public MedicalDeviceInfo.Builder setDeviceModelBytes(ByteString value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for deviceModel to set. |
| Returns | |
|---|---|
| Type | Description |
MedicalDeviceInfo.Builder |
This builder for chaining. |
setFeatureVersion(String value)
public MedicalDeviceInfo.Builder setFeatureVersion(String value)Output only. The version of the feature/app running on the device.
string feature_version = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe featureVersion to set. |
| Returns | |
|---|---|
| Type | Description |
MedicalDeviceInfo.Builder |
This builder for chaining. |
setFeatureVersionBytes(ByteString value)
public MedicalDeviceInfo.Builder setFeatureVersionBytes(ByteString value)Output only. The version of the feature/app running on the device.
string feature_version = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for featureVersion to set. |
| Returns | |
|---|---|
| Type | Description |
MedicalDeviceInfo.Builder |
This builder for chaining. |
setFirmwareVersion(String value)
public MedicalDeviceInfo.Builder setFirmwareVersion(String value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe firmwareVersion to set. |
| Returns | |
|---|---|
| Type | Description |
MedicalDeviceInfo.Builder |
This builder for chaining. |
setFirmwareVersionBytes(ByteString value)
public MedicalDeviceInfo.Builder setFirmwareVersionBytes(ByteString value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for firmwareVersion to set. |
| Returns | |
|---|---|
| Type | Description |
MedicalDeviceInfo.Builder |
This builder for chaining. |
setServiceVersion(String value)
public MedicalDeviceInfo.Builder setServiceVersion(String value)Output only. The service version used by the feature.
string service_version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe serviceVersion to set. |
| Returns | |
|---|---|
| Type | Description |
MedicalDeviceInfo.Builder |
This builder for chaining. |
setServiceVersionBytes(ByteString value)
public MedicalDeviceInfo.Builder setServiceVersionBytes(ByteString value)Output only. The service version used by the feature.
string service_version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for serviceVersion to set. |
| Returns | |
|---|---|
| Type | Description |
MedicalDeviceInfo.Builder |
This builder for chaining. |