Class QueryTimeSeriesResponse (3.28.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
TypeDescription
int

PARTIAL_ERRORS_FIELD_NUMBER

public static final int PARTIAL_ERRORS_FIELD_NUMBER
Field Value
TypeDescription
int

TIME_SERIES_DATA_FIELD_NUMBER

public static final int TIME_SERIES_DATA_FIELD_NUMBER
Field Value
TypeDescription
int

TIME_SERIES_DESCRIPTOR_FIELD_NUMBER

public static final int TIME_SERIES_DESCRIPTOR_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static QueryTimeSeriesResponse getDefaultInstance()
Returns
TypeDescription
QueryTimeSeriesResponse

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static QueryTimeSeriesResponse.Builder newBuilder()
Returns
TypeDescription
QueryTimeSeriesResponse.Builder

newBuilder(QueryTimeSeriesResponse prototype)

public static QueryTimeSeriesResponse.Builder newBuilder(QueryTimeSeriesResponse prototype)
Parameter
NameDescription
prototypeQueryTimeSeriesResponse
Returns
TypeDescription
QueryTimeSeriesResponse.Builder

parseDelimitedFrom(InputStream input)

public static QueryTimeSeriesResponse parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
QueryTimeSeriesResponse
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static QueryTimeSeriesResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
QueryTimeSeriesResponse
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static QueryTimeSeriesResponse parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
QueryTimeSeriesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static QueryTimeSeriesResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
QueryTimeSeriesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static QueryTimeSeriesResponse parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
QueryTimeSeriesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static QueryTimeSeriesResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
QueryTimeSeriesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static QueryTimeSeriesResponse parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
QueryTimeSeriesResponse
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static QueryTimeSeriesResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
QueryTimeSeriesResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static QueryTimeSeriesResponse parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
QueryTimeSeriesResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static QueryTimeSeriesResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
QueryTimeSeriesResponse
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static QueryTimeSeriesResponse parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
QueryTimeSeriesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static QueryTimeSeriesResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
QueryTimeSeriesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<QueryTimeSeriesResponse> parser()
Returns
TypeDescription
Parser<QueryTimeSeriesResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public QueryTimeSeriesResponse getDefaultInstanceForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for nextPageToken.

getParserForType()

public Parser<QueryTimeSeriesResponse> getParserForType()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.rpc.StatusOrBuilder>

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getTimeSeriesData(int index)

public TimeSeriesData getTimeSeriesData(int index)

The time series data.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
TimeSeriesData

getTimeSeriesDataCount()

public int getTimeSeriesDataCount()

The time series data.

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

Returns
TypeDescription
int

getTimeSeriesDataList()

public List<TimeSeriesData> getTimeSeriesDataList()

The time series data.

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

Returns
TypeDescription
List<TimeSeriesData>

getTimeSeriesDataOrBuilder(int index)

public TimeSeriesDataOrBuilder getTimeSeriesDataOrBuilder(int index)

The time series data.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
TimeSeriesDataOrBuilder

getTimeSeriesDataOrBuilderList()

public List<? extends TimeSeriesDataOrBuilder> getTimeSeriesDataOrBuilderList()

The time series data.

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

Returns
TypeDescription
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
TypeDescription
TimeSeriesDescriptor

The timeSeriesDescriptor.

getTimeSeriesDescriptorOrBuilder()

public TimeSeriesDescriptorOrBuilder getTimeSeriesDescriptorOrBuilder()

The descriptor for the time series data.

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

Returns
TypeDescription
TimeSeriesDescriptorOrBuilder

hasTimeSeriesDescriptor()

public boolean hasTimeSeriesDescriptor()

The descriptor for the time series data.

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

Returns
TypeDescription
boolean

Whether the timeSeriesDescriptor field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public QueryTimeSeriesResponse.Builder newBuilderForType()
Returns
TypeDescription
QueryTimeSeriesResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected QueryTimeSeriesResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
QueryTimeSeriesResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public QueryTimeSeriesResponse.Builder toBuilder()
Returns
TypeDescription
QueryTimeSeriesResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException