public static interface DataSource.DeviceOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getDisplayName()
public abstract String getDisplayName()Optional. An optional name for the device.
string display_name = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The displayName. |
getDisplayNameBytes()
public abstract ByteString getDisplayNameBytes()Optional. An optional name for the device.
string display_name = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for displayName. |
getFormFactor()
public abstract 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 | |
|---|---|
| Type | Description |
DataSource.Device.FormFactor |
The formFactor. |
getFormFactorValue()
public abstract 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 | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for formFactor. |
getManufacturer()
public abstract String getManufacturer()Optional. An optional manufacturer of the device.
string manufacturer = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The manufacturer. |
getManufacturerBytes()
public abstract ByteString getManufacturerBytes()Optional. An optional manufacturer of the device.
string manufacturer = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for manufacturer. |