Class QueryTimeSeriesResponse (3.56.0)

public final class QueryTimeSeriesResponse extends GeneratedMessageV3 implements QueryTimeSeriesResponseOrBuilder

The QueryTimeSeries response.

Protobuf type google.monitoring.v3.QueryTimeSeriesResponse

Static Fields

NEXT_PAGE_TOKEN_FIELD_NUMBER

public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value
Type Description
int

PARTIAL_ERRORS_FIELD_NUMBER

public static final int PARTIAL_ERRORS_FIELD_NUMBER
Field Value
Type Description
int

TIME_SERIES_DATA_FIELD_NUMBER

public static final int TIME_SERIES_DATA_FIELD_NUMBER
Field Value
Type Description
int

TIME_SERIES_DESCRIPTOR_FIELD_NUMBER

public static final int TIME_SERIES_DESCRIPTOR_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static QueryTimeSeriesResponse getDefaultInstance()
Returns
Type Description
QueryTimeSeriesResponse

getDescriptor()

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

newBuilder()

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

newBuilder(QueryTimeSeriesResponse prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public QueryTimeSeriesResponse getDefaultInstanceForType()
Returns
Type Description
QueryTimeSeriesResponse

getNextPageToken()

public String getNextPageToken()

If there are more results than have been returned, then this field is set to a non-empty value. To see the additional results, use that value as page_token in the next call to this method.

string next_page_token = 10;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

If there are more results than have been returned, then this field is set to a non-empty value. To see the additional results, use that value as page_token in the next call to this method.

string next_page_token = 10;

Returns
Type Description
ByteString

The bytes for nextPageToken.

getParserForType()

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

getPartialErrors(int index)

public Status getPartialErrors(int index)

Query execution errors that may have caused the time series data returned to be incomplete. The available data will be available in the response.

repeated .google.rpc.Status partial_errors = 11;

Parameter
Name Description
index int
Returns
Type Description
com.google.rpc.Status

getPartialErrorsCount()

public int getPartialErrorsCount()

Query execution errors that may have caused the time series data returned to be incomplete. The available data will be available in the response.

repeated .google.rpc.Status partial_errors = 11;

Returns
Type Description
int

getPartialErrorsList()

public List<Status> getPartialErrorsList()

Query execution errors that may have caused the time series data returned to be incomplete. The available data will be available in the response.

repeated .google.rpc.Status partial_errors = 11;

Returns
Type Description
List<com.google.rpc.Status>

getPartialErrorsOrBuilder(int index)

public StatusOrBuilder getPartialErrorsOrBuilder(int index)

Query execution errors that may have caused the time series data returned to be incomplete. The available data will be available in the response.

repeated .google.rpc.Status partial_errors = 11;

Parameter
Name Description
index int
Returns
Type Description
com.google.rpc.StatusOrBuilder

getPartialErrorsOrBuilderList()

public List<? extends StatusOrBuilder> getPartialErrorsOrBuilderList()

Query execution errors that may have caused the time series data returned to be incomplete. The available data will be available in the response.

repeated .google.rpc.Status partial_errors = 11;

Returns
Type Description
List<? extends com.google.rpc.StatusOrBuilder>

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getTimeSeriesData(int index)

public TimeSeriesData getTimeSeriesData(int index)

The time series data.

repeated .google.monitoring.v3.TimeSeriesData time_series_data = 9;

Parameter
Name Description
index int
Returns
Type Description
TimeSeriesData

getTimeSeriesDataCount()

public int getTimeSeriesDataCount()

The time series data.

repeated .google.monitoring.v3.TimeSeriesData time_series_data = 9;

Returns
Type Description
int

getTimeSeriesDataList()

public List<TimeSeriesData> getTimeSeriesDataList()

The time series data.

repeated .google.monitoring.v3.TimeSeriesData time_series_data = 9;

Returns
Type Description
List<TimeSeriesData>

getTimeSeriesDataOrBuilder(int index)

public TimeSeriesDataOrBuilder getTimeSeriesDataOrBuilder(int index)

The time series data.

repeated .google.monitoring.v3.TimeSeriesData time_series_data = 9;

Parameter
Name Description
index int
Returns
Type Description
TimeSeriesDataOrBuilder

getTimeSeriesDataOrBuilderList()

public List<? extends TimeSeriesDataOrBuilder> getTimeSeriesDataOrBuilderList()

The time series data.

repeated .google.monitoring.v3.TimeSeriesData time_series_data = 9;

Returns
Type Description
List<? extends com.google.monitoring.v3.TimeSeriesDataOrBuilder>

getTimeSeriesDescriptor()

public TimeSeriesDescriptor getTimeSeriesDescriptor()

The descriptor for the time series data.

.google.monitoring.v3.TimeSeriesDescriptor time_series_descriptor = 8;

Returns
Type Description
TimeSeriesDescriptor

The timeSeriesDescriptor.

getTimeSeriesDescriptorOrBuilder()

public TimeSeriesDescriptorOrBuilder getTimeSeriesDescriptorOrBuilder()

The descriptor for the time series data.

.google.monitoring.v3.TimeSeriesDescriptor time_series_descriptor = 8;

Returns
Type Description
TimeSeriesDescriptorOrBuilder

hasTimeSeriesDescriptor()

public boolean hasTimeSeriesDescriptor()

The descriptor for the time series data.

.google.monitoring.v3.TimeSeriesDescriptor time_series_descriptor = 8;

Returns
Type Description
boolean

Whether the timeSeriesDescriptor field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected QueryTimeSeriesResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
QueryTimeSeriesResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

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