public final class UpdateDataPointRequest extends GeneratedMessage implements UpdateDataPointRequestOrBuilderRequest to update an identifiable data point.
Protobuf type google.devicesandservices.health.v4.UpdateDataPointRequest
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > UpdateDataPointRequestImplements
UpdateDataPointRequestOrBuilderStatic Fields
DATA_POINT_FIELD_NUMBER
public static final int DATA_POINT_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
Static Methods
getDefaultInstance()
public static UpdateDataPointRequest getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
UpdateDataPointRequest |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static UpdateDataPointRequest.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
UpdateDataPointRequest.Builder |
|
newBuilder(UpdateDataPointRequest prototype)
public static UpdateDataPointRequest.Builder newBuilder(UpdateDataPointRequest prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
UpdateDataPointRequest |
| Returns | |
|---|---|
| Type | Description |
UpdateDataPointRequest.Builder |
|
parseDelimitedFrom(InputStream input)
public static UpdateDataPointRequest parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
UpdateDataPointRequest |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static UpdateDataPointRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
UpdateDataPointRequest |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static UpdateDataPointRequest parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
UpdateDataPointRequest |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static UpdateDataPointRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
UpdateDataPointRequest |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static UpdateDataPointRequest parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
UpdateDataPointRequest |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static UpdateDataPointRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
UpdateDataPointRequest |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static UpdateDataPointRequest parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
UpdateDataPointRequest |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static UpdateDataPointRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
UpdateDataPointRequest |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static UpdateDataPointRequest parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
UpdateDataPointRequest |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static UpdateDataPointRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
UpdateDataPointRequest |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static UpdateDataPointRequest parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
UpdateDataPointRequest |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static UpdateDataPointRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
UpdateDataPointRequest |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<UpdateDataPointRequest> parser()| Returns | |
|---|---|
| Type | Description |
Parser<UpdateDataPointRequest> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
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. |
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 |
|
getParserForType()
public Parser<UpdateDataPointRequest> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<UpdateDataPointRequest> |
|
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
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. |
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 UpdateDataPointRequest.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
UpdateDataPointRequest.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected UpdateDataPointRequest.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
UpdateDataPointRequest.Builder |
|
toBuilder()
public UpdateDataPointRequest.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
UpdateDataPointRequest.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|