public static final class ExportExerciseTcxResponse.Builder extends GeneratedMessage.Builder<ExportExerciseTcxResponse.Builder> implements ExportExerciseTcxResponseOrBuilderRepresents a Response for exporting exercise data in TCX format.
Protobuf type google.devicesandservices.health.v4.ExportExerciseTcxResponse
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ExportExerciseTcxResponse.BuilderImplements
ExportExerciseTcxResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public ExportExerciseTcxResponse build()| Returns | |
|---|---|
| Type | Description |
ExportExerciseTcxResponse |
|
buildPartial()
public ExportExerciseTcxResponse buildPartial()| Returns | |
|---|---|
| Type | Description |
ExportExerciseTcxResponse |
|
clear()
public ExportExerciseTcxResponse.Builder clear()| Returns | |
|---|---|
| Type | Description |
ExportExerciseTcxResponse.Builder |
|
clearTcxData()
public ExportExerciseTcxResponse.Builder clearTcxData()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 |
ExportExerciseTcxResponse.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public ExportExerciseTcxResponse getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ExportExerciseTcxResponse |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ExportExerciseTcxResponse other)
public ExportExerciseTcxResponse.Builder mergeFrom(ExportExerciseTcxResponse other)| Parameter | |
|---|---|
| Name | Description |
other |
ExportExerciseTcxResponse |
| Returns | |
|---|---|
| Type | Description |
ExportExerciseTcxResponse.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ExportExerciseTcxResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ExportExerciseTcxResponse.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ExportExerciseTcxResponse.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ExportExerciseTcxResponse.Builder |
|
setTcxData(String value)
public ExportExerciseTcxResponse.Builder setTcxData(String value)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;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe tcxData to set. |
| Returns | |
|---|---|
| Type | Description |
ExportExerciseTcxResponse.Builder |
This builder for chaining. |
setTcxDataBytes(ByteString value)
public ExportExerciseTcxResponse.Builder setTcxDataBytes(ByteString value)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;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for tcxData to set. |
| Returns | |
|---|---|
| Type | Description |
ExportExerciseTcxResponse.Builder |
This builder for chaining. |