public final class ExportExerciseTcxResponse extends GeneratedMessage implements ExportExerciseTcxResponseOrBuilderRepresents a Response for exporting exercise data in TCX format.
Protobuf type google.devicesandservices.health.v4.ExportExerciseTcxResponse
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > ExportExerciseTcxResponseImplements
ExportExerciseTcxResponseOrBuilderStatic Fields
TCX_DATA_FIELD_NUMBER
public static final int TCX_DATA_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
Static Methods
getDefaultInstance()
public static ExportExerciseTcxResponse getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
ExportExerciseTcxResponse |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static ExportExerciseTcxResponse.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
ExportExerciseTcxResponse.Builder |
|
newBuilder(ExportExerciseTcxResponse prototype)
public static ExportExerciseTcxResponse.Builder newBuilder(ExportExerciseTcxResponse prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
ExportExerciseTcxResponse |
| Returns | |
|---|---|
| Type | Description |
ExportExerciseTcxResponse.Builder |
|
parseDelimitedFrom(InputStream input)
public static ExportExerciseTcxResponse parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
ExportExerciseTcxResponse |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ExportExerciseTcxResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ExportExerciseTcxResponse |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static ExportExerciseTcxResponse parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
ExportExerciseTcxResponse |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ExportExerciseTcxResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ExportExerciseTcxResponse |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static ExportExerciseTcxResponse parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
ExportExerciseTcxResponse |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ExportExerciseTcxResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ExportExerciseTcxResponse |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static ExportExerciseTcxResponse parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
ExportExerciseTcxResponse |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ExportExerciseTcxResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ExportExerciseTcxResponse |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static ExportExerciseTcxResponse parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
ExportExerciseTcxResponse |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ExportExerciseTcxResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ExportExerciseTcxResponse |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static ExportExerciseTcxResponse parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
ExportExerciseTcxResponse |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ExportExerciseTcxResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ExportExerciseTcxResponse |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<ExportExerciseTcxResponse> parser()| Returns | |
|---|---|
| Type | Description |
Parser<ExportExerciseTcxResponse> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getDefaultInstanceForType()
public ExportExerciseTcxResponse getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ExportExerciseTcxResponse |
|
getParserForType()
public Parser<ExportExerciseTcxResponse> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<ExportExerciseTcxResponse> |
|
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
getTcxData()
public String getTcxData()Contains the exported TCX data.
This field is intended for gRPC clients, as media download integration
is not supported for gRPC. HTTP clients should instead use the alt=media
query parameter to download the raw binary TCX file.
string tcx_data = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The tcxData. |
getTcxDataBytes()
public ByteString getTcxDataBytes()Contains the exported TCX data.
This field is intended for gRPC clients, as media download integration
is not supported for gRPC. HTTP clients should instead use the alt=media
query parameter to download the raw binary TCX file.
string tcx_data = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for tcxData. |
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 ExportExerciseTcxResponse.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
ExportExerciseTcxResponse.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected ExportExerciseTcxResponse.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
ExportExerciseTcxResponse.Builder |
|
toBuilder()
public ExportExerciseTcxResponse.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
ExportExerciseTcxResponse.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|