public interface DataTypeOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getName()
public abstract String getName()Identifier. The resource name of the data type.
Format: users/{user}/dataTypes/{data_type}, e.g.:
users/me/dataTypes/stepsusers/1234567890/dataTypes/stepsThe
{user}can be either the aliasmeor the authenticated user's numeric Health User ID (retrieved via GetIdentity).See DataPoint.name for examples and possible values.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public abstract ByteString getNameBytes()Identifier. The resource name of the data type.
Format: users/{user}/dataTypes/{data_type}, e.g.:
users/me/dataTypes/stepsusers/1234567890/dataTypes/stepsThe
{user}can be either the aliasmeor the authenticated user's numeric Health User ID (retrieved via GetIdentity).See DataPoint.name for examples and possible values.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |