public static final class UpdateDataPointRequest.Builder extends GeneratedMessage.Builder<UpdateDataPointRequest.Builder> implements UpdateDataPointRequestOrBuilderRequest to update an identifiable data point.
Protobuf type google.devicesandservices.health.v4.UpdateDataPointRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > UpdateDataPointRequest.BuilderImplements
UpdateDataPointRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public UpdateDataPointRequest build()| Returns | |
|---|---|
| Type | Description |
UpdateDataPointRequest |
|
buildPartial()
public UpdateDataPointRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
UpdateDataPointRequest |
|
clear()
public UpdateDataPointRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
UpdateDataPointRequest.Builder |
|
clearDataPoint()
public UpdateDataPointRequest.Builder clearDataPoint()Required. The data point to update
The data point's name field is used to identify the data point to update.
Format: users/{user}/dataTypes/{data_type}/dataPoints/{data_point}
.google.devicesandservices.health.v4.DataPoint data_point = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
UpdateDataPointRequest.Builder |
|
getDataPoint()
public DataPoint getDataPoint()Required. The data point to update
The data point's name field is used to identify the data point to update.
Format: users/{user}/dataTypes/{data_type}/dataPoints/{data_point}
.google.devicesandservices.health.v4.DataPoint data_point = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
DataPoint |
The dataPoint. |
getDataPointBuilder()
public DataPoint.Builder getDataPointBuilder()Required. The data point to update
The data point's name field is used to identify the data point to update.
Format: users/{user}/dataTypes/{data_type}/dataPoints/{data_point}
.google.devicesandservices.health.v4.DataPoint data_point = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
DataPoint.Builder |
|
getDataPointOrBuilder()
public DataPointOrBuilder getDataPointOrBuilder()Required. The data point to update
The data point's name field is used to identify the data point to update.
Format: users/{user}/dataTypes/{data_type}/dataPoints/{data_point}
.google.devicesandservices.health.v4.DataPoint data_point = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
DataPointOrBuilder |
|
getDefaultInstanceForType()
public UpdateDataPointRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
UpdateDataPointRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
hasDataPoint()
public boolean hasDataPoint()Required. The data point to update
The data point's name field is used to identify the data point to update.
Format: users/{user}/dataTypes/{data_type}/dataPoints/{data_point}
.google.devicesandservices.health.v4.DataPoint data_point = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the dataPoint field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeDataPoint(DataPoint value)
public UpdateDataPointRequest.Builder mergeDataPoint(DataPoint value)Required. The data point to update
The data point's name field is used to identify the data point to update.
Format: users/{user}/dataTypes/{data_type}/dataPoints/{data_point}
.google.devicesandservices.health.v4.DataPoint data_point = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
DataPoint |
| Returns | |
|---|---|
| Type | Description |
UpdateDataPointRequest.Builder |
|
mergeFrom(UpdateDataPointRequest other)
public UpdateDataPointRequest.Builder mergeFrom(UpdateDataPointRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
UpdateDataPointRequest |
| Returns | |
|---|---|
| Type | Description |
UpdateDataPointRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public UpdateDataPointRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
UpdateDataPointRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public UpdateDataPointRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
UpdateDataPointRequest.Builder |
|
setDataPoint(DataPoint value)
public UpdateDataPointRequest.Builder setDataPoint(DataPoint value)Required. The data point to update
The data point's name field is used to identify the data point to update.
Format: users/{user}/dataTypes/{data_type}/dataPoints/{data_point}
.google.devicesandservices.health.v4.DataPoint data_point = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
DataPoint |
| Returns | |
|---|---|
| Type | Description |
UpdateDataPointRequest.Builder |
|
setDataPoint(DataPoint.Builder builderForValue)
public UpdateDataPointRequest.Builder setDataPoint(DataPoint.Builder builderForValue)Required. The data point to update
The data point's name field is used to identify the data point to update.
Format: users/{user}/dataTypes/{data_type}/dataPoints/{data_point}
.google.devicesandservices.health.v4.DataPoint data_point = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
DataPoint.Builder |
| Returns | |
|---|---|
| Type | Description |
UpdateDataPointRequest.Builder |
|