Class GetDataPointRequest.Builder (0.2.0)

public static final class GetDataPointRequest.Builder extends GeneratedMessage.Builder<GetDataPointRequest.Builder> implements GetDataPointRequestOrBuilder

Request for getting a single data point

Protobuf type google.devicesandservices.health.v4.GetDataPointRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public GetDataPointRequest build()
Returns
Type Description
GetDataPointRequest

buildPartial()

public GetDataPointRequest buildPartial()
Returns
Type Description
GetDataPointRequest

clear()

public GetDataPointRequest.Builder clear()
Returns
Type Description
GetDataPointRequest.Builder
Overrides

clearName()

public GetDataPointRequest.Builder clearName()

Required. The name of the data point to retrieve.

Format: users/{user}/dataTypes/{data_type}/dataPoints/{data_point}

See DataPoint.name for examples and possible values.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
GetDataPointRequest.Builder

This builder for chaining.

getDefaultInstanceForType()

public GetDataPointRequest getDefaultInstanceForType()
Returns
Type Description
GetDataPointRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getName()

public String getName()

Required. The name of the data point to retrieve.

Format: users/{user}/dataTypes/{data_type}/dataPoints/{data_point}

See DataPoint.name for examples and possible values.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The name of the data point to retrieve.

Format: users/{user}/dataTypes/{data_type}/dataPoints/{data_point}

See DataPoint.name for examples and possible values.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for name.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(GetDataPointRequest other)

public GetDataPointRequest.Builder mergeFrom(GetDataPointRequest other)
Parameter
Name Description
other GetDataPointRequest
Returns
Type Description
GetDataPointRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public GetDataPointRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GetDataPointRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public GetDataPointRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
GetDataPointRequest.Builder
Overrides

setName(String value)

public GetDataPointRequest.Builder setName(String value)

Required. The name of the data point to retrieve.

Format: users/{user}/dataTypes/{data_type}/dataPoints/{data_point}

See DataPoint.name for examples and possible values.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The name to set.

Returns
Type Description
GetDataPointRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public GetDataPointRequest.Builder setNameBytes(ByteString value)

Required. The name of the data point to retrieve.

Format: users/{user}/dataTypes/{data_type}/dataPoints/{data_point}

See DataPoint.name for examples and possible values.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
GetDataPointRequest.Builder

This builder for chaining.