Interface DataSource.DeviceOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
DataSource.Device,DataSource.Device.Builder
- Enclosing class:
- DataSource
public static interface DataSource.DeviceOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionOptional.com.google.protobuf.ByteStringOptional.Optional.intOptional.Optional.com.google.protobuf.ByteStringOptional.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getFormFactorValue
int getFormFactorValue()Optional. Captures the form factor of the device.
.google.devicesandservices.health.v4.DataSource.Device.FormFactor form_factor = 1 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The enum numeric value on the wire for formFactor.
-
getFormFactor
DataSource.Device.FormFactor getFormFactor()Optional. Captures the form factor of the device.
.google.devicesandservices.health.v4.DataSource.Device.FormFactor form_factor = 1 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The formFactor.
-
getManufacturer
String getManufacturer()Optional. An optional manufacturer of the device.
string manufacturer = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The manufacturer.
-
getManufacturerBytes
com.google.protobuf.ByteString getManufacturerBytes()Optional. An optional manufacturer of the device.
string manufacturer = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The bytes for manufacturer.
-
getDisplayName
String getDisplayName()Optional. An optional name for the device.
string display_name = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The displayName.
-
getDisplayNameBytes
com.google.protobuf.ByteString getDisplayNameBytes()Optional. An optional name for the device.
string display_name = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The bytes for displayName.
-