public final class ExportExerciseTcxRequest extends GeneratedMessage implements ExportExerciseTcxRequestOrBuilderRepresents a request to export exercise data in TCX format.
Protobuf type google.devicesandservices.health.v4beta.ExportExerciseTcxRequest
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > ExportExerciseTcxRequestImplements
ExportExerciseTcxRequestOrBuilderStatic Fields
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
PARTIAL_DATA_FIELD_NUMBER
public static final int PARTIAL_DATA_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
Static Methods
getDefaultInstance()
public static ExportExerciseTcxRequest getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
ExportExerciseTcxRequest |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static ExportExerciseTcxRequest.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
ExportExerciseTcxRequest.Builder |
|
newBuilder(ExportExerciseTcxRequest prototype)
public static ExportExerciseTcxRequest.Builder newBuilder(ExportExerciseTcxRequest prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
ExportExerciseTcxRequest |
| Returns | |
|---|---|
| Type | Description |
ExportExerciseTcxRequest.Builder |
|
parseDelimitedFrom(InputStream input)
public static ExportExerciseTcxRequest parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
ExportExerciseTcxRequest |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ExportExerciseTcxRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ExportExerciseTcxRequest |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static ExportExerciseTcxRequest parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
ExportExerciseTcxRequest |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ExportExerciseTcxRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ExportExerciseTcxRequest |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static ExportExerciseTcxRequest parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
ExportExerciseTcxRequest |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ExportExerciseTcxRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ExportExerciseTcxRequest |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static ExportExerciseTcxRequest parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
ExportExerciseTcxRequest |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ExportExerciseTcxRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ExportExerciseTcxRequest |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static ExportExerciseTcxRequest parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
ExportExerciseTcxRequest |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ExportExerciseTcxRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ExportExerciseTcxRequest |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static ExportExerciseTcxRequest parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
ExportExerciseTcxRequest |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ExportExerciseTcxRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ExportExerciseTcxRequest |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<ExportExerciseTcxRequest> parser()| Returns | |
|---|---|
| Type | Description |
Parser<ExportExerciseTcxRequest> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getDefaultInstanceForType()
public ExportExerciseTcxRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ExportExerciseTcxRequest |
|
getName()
public String getName()Required. The resource name of the exercise data point to export.
Format: users/{user}/dataTypes/exercise/dataPoints/{data_point}
Examples:
users/me/dataTypes/exercise/dataPoints/2026443605080188808users/1234567890/dataTypes/exercise/dataPoints/2026443605080188808The
{user}can be either the aliasmeor the authenticated user's numeric Health User ID (retrieved via GetIdentity). The{data_point}ID maps to the exercise ID, which is a long integer.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()Required. The resource name of the exercise data point to export.
Format: users/{user}/dataTypes/exercise/dataPoints/{data_point}
Examples:
users/me/dataTypes/exercise/dataPoints/2026443605080188808users/1234567890/dataTypes/exercise/dataPoints/2026443605080188808The
{user}can be either the aliasmeor the authenticated user's numeric Health User ID (retrieved via GetIdentity). The{data_point}ID maps to the exercise ID, which is a long integer.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getParserForType()
public Parser<ExportExerciseTcxRequest> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<ExportExerciseTcxRequest> |
|
getPartialData()
public boolean getPartialData() Optional. Indicates whether to include the TCX data points when the GPS
data is not available. If not specified, defaults to false and partial
data will not be included.
bool partial_data = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
The partialData. |
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
hashCode()
public int hashCode()| Returns | |
|---|---|
| Type | Description |
int |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
newBuilderForType()
public ExportExerciseTcxRequest.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
ExportExerciseTcxRequest.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected ExportExerciseTcxRequest.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
ExportExerciseTcxRequest.Builder |
|
toBuilder()
public ExportExerciseTcxRequest.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
ExportExerciseTcxRequest.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|