Class ListTimeSeriesResponse (3.9.0)

public final class ListTimeSeriesResponse extends GeneratedMessageV3 implements ListTimeSeriesResponseOrBuilder

The ListTimeSeries response.

Protobuf type google.monitoring.v3.ListTimeSeriesResponse

Static Fields

EXECUTION_ERRORS_FIELD_NUMBER

public static final int EXECUTION_ERRORS_FIELD_NUMBER
Field Value
TypeDescription
int

NEXT_PAGE_TOKEN_FIELD_NUMBER

public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value
TypeDescription
int

TIME_SERIES_FIELD_NUMBER

public static final int TIME_SERIES_FIELD_NUMBER
Field Value
TypeDescription
int

UNIT_FIELD_NUMBER

public static final int UNIT_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ListTimeSeriesResponse getDefaultInstance()
Returns
TypeDescription
ListTimeSeriesResponse

getDescriptor()

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

newBuilder()

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

newBuilder(ListTimeSeriesResponse prototype)

public static ListTimeSeriesResponse.Builder newBuilder(ListTimeSeriesResponse prototype)
Parameter
NameDescription
prototypeListTimeSeriesResponse
Returns
TypeDescription
ListTimeSeriesResponse.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ListTimeSeriesResponse getDefaultInstanceForType()
Returns
TypeDescription
ListTimeSeriesResponse

getExecutionErrors(int index)

public Status getExecutionErrors(int index)

Query execution errors that may have caused the time series data returned to be incomplete.

repeated .google.rpc.Status execution_errors = 3;

Parameter
NameDescription
indexint
Returns
TypeDescription
com.google.rpc.Status

getExecutionErrorsCount()

public int getExecutionErrorsCount()

Query execution errors that may have caused the time series data returned to be incomplete.

repeated .google.rpc.Status execution_errors = 3;

Returns
TypeDescription
int

getExecutionErrorsList()

public List<Status> getExecutionErrorsList()

Query execution errors that may have caused the time series data returned to be incomplete.

repeated .google.rpc.Status execution_errors = 3;

Returns
TypeDescription
List<com.google.rpc.Status>

getExecutionErrorsOrBuilder(int index)

public StatusOrBuilder getExecutionErrorsOrBuilder(int index)

Query execution errors that may have caused the time series data returned to be incomplete.

repeated .google.rpc.Status execution_errors = 3;

Parameter
NameDescription
indexint
Returns
TypeDescription
com.google.rpc.StatusOrBuilder

getExecutionErrorsOrBuilderList()

public List<? extends StatusOrBuilder> getExecutionErrorsOrBuilderList()

Query execution errors that may have caused the time series data returned to be incomplete.

repeated .google.rpc.Status execution_errors = 3;

Returns
TypeDescription
List<? extends com.google.rpc.StatusOrBuilder>

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 = 2;

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 = 2;

Returns
TypeDescription
ByteString

The bytes for nextPageToken.

getParserForType()

public Parser<ListTimeSeriesResponse> getParserForType()
Returns
TypeDescription
Parser<ListTimeSeriesResponse>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getTimeSeries(int index)

public TimeSeries getTimeSeries(int index)

One or more time series that match the filter included in the request.

repeated .google.monitoring.v3.TimeSeries time_series = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
TimeSeries

getTimeSeriesCount()

public int getTimeSeriesCount()

One or more time series that match the filter included in the request.

repeated .google.monitoring.v3.TimeSeries time_series = 1;

Returns
TypeDescription
int

getTimeSeriesList()

public List<TimeSeries> getTimeSeriesList()

One or more time series that match the filter included in the request.

repeated .google.monitoring.v3.TimeSeries time_series = 1;

Returns
TypeDescription
List<TimeSeries>

getTimeSeriesOrBuilder(int index)

public TimeSeriesOrBuilder getTimeSeriesOrBuilder(int index)

One or more time series that match the filter included in the request.

repeated .google.monitoring.v3.TimeSeries time_series = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
TimeSeriesOrBuilder

getTimeSeriesOrBuilderList()

public List<? extends TimeSeriesOrBuilder> getTimeSeriesOrBuilderList()

One or more time series that match the filter included in the request.

repeated .google.monitoring.v3.TimeSeries time_series = 1;

Returns
TypeDescription
List<? extends com.google.monitoring.v3.TimeSeriesOrBuilder>

getUnit()

public String getUnit()

The unit in which all time_series point values are reported. unit follows the UCUM format for units as seen in https://unitsofmeasure.org/ucum.html. If different time_series have different units (for example, because they come from different metric types, or a unit is absent), then unit will be "{not_a_unit}".

string unit = 5;

Returns
TypeDescription
String

The unit.

getUnitBytes()

public ByteString getUnitBytes()

The unit in which all time_series point values are reported. unit follows the UCUM format for units as seen in https://unitsofmeasure.org/ucum.html. If different time_series have different units (for example, because they come from different metric types, or a unit is absent), then unit will be "{not_a_unit}".

string unit = 5;

Returns
TypeDescription
ByteString

The bytes for unit.

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

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 ListTimeSeriesResponse.Builder newBuilderForType()
Returns
TypeDescription
ListTimeSeriesResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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