Class ListDataPointsResponse (0.2.0)

public final class ListDataPointsResponse extends GeneratedMessage implements ListDataPointsResponseOrBuilder

Response containing raw data points matching the query

Protobuf type google.devicesandservices.health.v4.ListDataPointsResponse

Static Fields

DATA_POINTS_FIELD_NUMBER

public static final int DATA_POINTS_FIELD_NUMBER
Field Value
Type Description
int

NEXT_PAGE_TOKEN_FIELD_NUMBER

public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ListDataPointsResponse getDefaultInstance()
Returns
Type Description
ListDataPointsResponse

getDescriptor()

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

newBuilder()

public static ListDataPointsResponse.Builder newBuilder()
Returns
Type Description
ListDataPointsResponse.Builder

newBuilder(ListDataPointsResponse prototype)

public static ListDataPointsResponse.Builder newBuilder(ListDataPointsResponse prototype)
Parameter
Name Description
prototype ListDataPointsResponse
Returns
Type Description
ListDataPointsResponse.Builder

parseDelimitedFrom(InputStream input)

public static ListDataPointsResponse parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ListDataPointsResponse
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListDataPointsResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListDataPointsResponse
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ListDataPointsResponse parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ListDataPointsResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ListDataPointsResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListDataPointsResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ListDataPointsResponse parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ListDataPointsResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ListDataPointsResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListDataPointsResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ListDataPointsResponse parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ListDataPointsResponse
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ListDataPointsResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListDataPointsResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ListDataPointsResponse parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ListDataPointsResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListDataPointsResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListDataPointsResponse
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ListDataPointsResponse parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ListDataPointsResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ListDataPointsResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListDataPointsResponse
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ListDataPointsResponse> parser()
Returns
Type Description
Parser<ListDataPointsResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDataPoints(int index)

public DataPoint getDataPoints(int index)

Data points matching the query

repeated .google.devicesandservices.health.v4.DataPoint data_points = 1;

Parameter
Name Description
index int
Returns
Type Description
DataPoint

getDataPointsCount()

public int getDataPointsCount()

Data points matching the query

repeated .google.devicesandservices.health.v4.DataPoint data_points = 1;

Returns
Type Description
int

getDataPointsList()

public List<DataPoint> getDataPointsList()

Data points matching the query

repeated .google.devicesandservices.health.v4.DataPoint data_points = 1;

Returns
Type Description
List<DataPoint>

getDataPointsOrBuilder(int index)

public DataPointOrBuilder getDataPointsOrBuilder(int index)

Data points matching the query

repeated .google.devicesandservices.health.v4.DataPoint data_points = 1;

Parameter
Name Description
index int
Returns
Type Description
DataPointOrBuilder

getDataPointsOrBuilderList()

public List<? extends DataPointOrBuilder> getDataPointsOrBuilderList()

Data points matching the query

repeated .google.devicesandservices.health.v4.DataPoint data_points = 1;

Returns
Type Description
List<? extends com.google.devicesandservices.health.v4.DataPointOrBuilder>

getDefaultInstanceForType()

public ListDataPointsResponse getDefaultInstanceForType()
Returns
Type Description
ListDataPointsResponse

getNextPageToken()

public String getNextPageToken()

Next page token, empty if the response is complete

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

Next page token, empty if the response is complete

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

getParserForType()

public Parser<ListDataPointsResponse> getParserForType()
Returns
Type Description
Parser<ListDataPointsResponse>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ListDataPointsResponse.Builder newBuilderForType()
Returns
Type Description
ListDataPointsResponse.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected ListDataPointsResponse.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ListDataPointsResponse.Builder
Overrides

toBuilder()

public ListDataPointsResponse.Builder toBuilder()
Returns
Type Description
ListDataPointsResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException