public final class ListTimeSeriesRequest extends GeneratedMessageV3 implements ListTimeSeriesRequestOrBuilder
The `ListTimeSeries` request.Protobuf type
google.monitoring.v3.ListTimeSeriesRequest| Modifier and Type | Class and Description |
|---|---|
static class |
ListTimeSeriesRequest.Builder
The `ListTimeSeries` request.
|
static class |
ListTimeSeriesRequest.TimeSeriesView
Controls which fields are returned by `ListTimeSeries`.
|
GeneratedMessageV3.BuilderParent, GeneratedMessageV3.ExtendableBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage,BuilderType extends GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, GeneratedMessageV3.ExtendableMessage<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.FieldAccessorTable| Modifier and Type | Field and Description |
|---|---|
static int |
AGGREGATION_FIELD_NUMBER |
static int |
FILTER_FIELD_NUMBER |
static int |
INTERVAL_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
ORDER_BY_FIELD_NUMBER |
static int |
PAGE_SIZE_FIELD_NUMBER |
static int |
PAGE_TOKEN_FIELD_NUMBER |
static int |
VIEW_FIELD_NUMBER |
alwaysUseFieldBuilders, unknownFieldsmemoizedSizememoizedHashCode| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
Aggregation |
getAggregation()
By default, the raw time series data is returned.
|
AggregationOrBuilder |
getAggregationOrBuilder()
By default, the raw time series data is returned.
|
static ListTimeSeriesRequest |
getDefaultInstance() |
ListTimeSeriesRequest |
getDefaultInstanceForType() |
static Descriptors.Descriptor |
getDescriptor() |
java.lang.String |
getFilter()
A [monitoring filter](/monitoring/api/v3/filters) that specifies which time
series should be returned.
|
ByteString |
getFilterBytes()
A [monitoring filter](/monitoring/api/v3/filters) that specifies which time
series should be returned.
|
TimeInterval |
getInterval()
The time interval for which results should be returned.
|
TimeIntervalOrBuilder |
getIntervalOrBuilder()
The time interval for which results should be returned.
|
java.lang.String |
getName()
The project on which to execute the request.
|
ByteString |
getNameBytes()
The project on which to execute the request.
|
java.lang.String |
getOrderBy()
Specifies the order in which the points of the time series should
be returned.
|
ByteString |
getOrderByBytes()
Specifies the order in which the points of the time series should
be returned.
|
int |
getPageSize()
A positive number that is the maximum number of results to return.
|
java.lang.String |
getPageToken()
If this field is not empty then it must contain the `nextPageToken` value
returned by a previous call to this method.
|
ByteString |
getPageTokenBytes()
If this field is not empty then it must contain the `nextPageToken` value
returned by a previous call to this method.
|
Parser<ListTimeSeriesRequest> |
getParserForType() |
int |
getSerializedSize() |
UnknownFieldSet |
getUnknownFields() |
ListTimeSeriesRequest.TimeSeriesView |
getView()
Specifies which information is returned about the time series.
|
int |
getViewValue()
Specifies which information is returned about the time series.
|
boolean |
hasAggregation()
By default, the raw time series data is returned.
|
int |
hashCode() |
boolean |
hasInterval()
The time interval for which results should be returned.
|
protected GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static ListTimeSeriesRequest.Builder |
newBuilder() |
static ListTimeSeriesRequest.Builder |
newBuilder(ListTimeSeriesRequest prototype) |
ListTimeSeriesRequest.Builder |
newBuilderForType() |
protected ListTimeSeriesRequest.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent) |
static ListTimeSeriesRequest |
parseDelimitedFrom(java.io.InputStream input) |
static ListTimeSeriesRequest |
parseDelimitedFrom(java.io.InputStream input,
ExtensionRegistryLite extensionRegistry) |
static ListTimeSeriesRequest |
parseFrom(byte[] data) |
static ListTimeSeriesRequest |
parseFrom(byte[] data,
ExtensionRegistryLite extensionRegistry) |
static ListTimeSeriesRequest |
parseFrom(java.nio.ByteBuffer data) |
static ListTimeSeriesRequest |
parseFrom(java.nio.ByteBuffer data,
ExtensionRegistryLite extensionRegistry) |
static ListTimeSeriesRequest |
parseFrom(ByteString data) |
static ListTimeSeriesRequest |
parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry) |
static ListTimeSeriesRequest |
parseFrom(CodedInputStream input) |
static ListTimeSeriesRequest |
parseFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
static ListTimeSeriesRequest |
parseFrom(java.io.InputStream input) |
static ListTimeSeriesRequest |
parseFrom(java.io.InputStream input,
ExtensionRegistryLite extensionRegistry) |
static Parser<ListTimeSeriesRequest> |
parser() |
ListTimeSeriesRequest.Builder |
toBuilder() |
void |
writeTo(CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneoftoByteArray, toByteString, writeDelimitedTo, writeTopublic static final int NAME_FIELD_NUMBER
public static final int FILTER_FIELD_NUMBER
public static final int INTERVAL_FIELD_NUMBER
public static final int AGGREGATION_FIELD_NUMBER
public static final int ORDER_BY_FIELD_NUMBER
public static final int VIEW_FIELD_NUMBER
public static final int PAGE_SIZE_FIELD_NUMBER
public static final int PAGE_TOKEN_FIELD_NUMBER
public final UnknownFieldSet getUnknownFields()
getUnknownFields in interface MessageOrBuildergetUnknownFields in class GeneratedMessageV3public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class GeneratedMessageV3public java.lang.String getName()
The project on which to execute the request. The format is
"projects/{project_id_or_number}".
string name = 10;getName in interface ListTimeSeriesRequestOrBuilderpublic ByteString getNameBytes()
The project on which to execute the request. The format is
"projects/{project_id_or_number}".
string name = 10;getNameBytes in interface ListTimeSeriesRequestOrBuilderpublic java.lang.String getFilter()
A [monitoring filter](/monitoring/api/v3/filters) that specifies which time
series should be returned. The filter must specify a single metric type,
and can additionally specify metric labels and other information. For
example:
metric.type = "compute.googleapis.com/instance/cpu/usage_time" AND
metric.label.instance_name = "my-instance-name"
string filter = 2;getFilter in interface ListTimeSeriesRequestOrBuilderpublic ByteString getFilterBytes()
A [monitoring filter](/monitoring/api/v3/filters) that specifies which time
series should be returned. The filter must specify a single metric type,
and can additionally specify metric labels and other information. For
example:
metric.type = "compute.googleapis.com/instance/cpu/usage_time" AND
metric.label.instance_name = "my-instance-name"
string filter = 2;getFilterBytes in interface ListTimeSeriesRequestOrBuilderpublic boolean hasInterval()
The time interval for which results should be returned. Only time series that contain data points in the specified interval are included in the response.
.google.monitoring.v3.TimeInterval interval = 4;hasInterval in interface ListTimeSeriesRequestOrBuilderpublic TimeInterval getInterval()
The time interval for which results should be returned. Only time series that contain data points in the specified interval are included in the response.
.google.monitoring.v3.TimeInterval interval = 4;getInterval in interface ListTimeSeriesRequestOrBuilderpublic TimeIntervalOrBuilder getIntervalOrBuilder()
The time interval for which results should be returned. Only time series that contain data points in the specified interval are included in the response.
.google.monitoring.v3.TimeInterval interval = 4;getIntervalOrBuilder in interface ListTimeSeriesRequestOrBuilderpublic boolean hasAggregation()
By default, the raw time series data is returned. Use this field to combine multiple time series for different views of the data.
.google.monitoring.v3.Aggregation aggregation = 5;hasAggregation in interface ListTimeSeriesRequestOrBuilderpublic Aggregation getAggregation()
By default, the raw time series data is returned. Use this field to combine multiple time series for different views of the data.
.google.monitoring.v3.Aggregation aggregation = 5;getAggregation in interface ListTimeSeriesRequestOrBuilderpublic AggregationOrBuilder getAggregationOrBuilder()
By default, the raw time series data is returned. Use this field to combine multiple time series for different views of the data.
.google.monitoring.v3.Aggregation aggregation = 5;getAggregationOrBuilder in interface ListTimeSeriesRequestOrBuilderpublic java.lang.String getOrderBy()
Specifies the order in which the points of the time series should be returned. By default, results are not ordered. Currently, this field must be left blank.
string order_by = 6;getOrderBy in interface ListTimeSeriesRequestOrBuilderpublic ByteString getOrderByBytes()
Specifies the order in which the points of the time series should be returned. By default, results are not ordered. Currently, this field must be left blank.
string order_by = 6;getOrderByBytes in interface ListTimeSeriesRequestOrBuilderpublic int getViewValue()
Specifies which information is returned about the time series.
.google.monitoring.v3.ListTimeSeriesRequest.TimeSeriesView view = 7;getViewValue in interface ListTimeSeriesRequestOrBuilderpublic ListTimeSeriesRequest.TimeSeriesView getView()
Specifies which information is returned about the time series.
.google.monitoring.v3.ListTimeSeriesRequest.TimeSeriesView view = 7;getView in interface ListTimeSeriesRequestOrBuilderpublic int getPageSize()
A positive number that is the maximum number of results to return. When `view` field sets to `FULL`, it limits the number of `Points` server will return; if `view` field is `HEADERS`, it limits the number of `TimeSeries` server will return.
int32 page_size = 8;getPageSize in interface ListTimeSeriesRequestOrBuilderpublic java.lang.String getPageToken()
If this field is not empty then it must contain the `nextPageToken` value returned by a previous call to this method. Using this field causes the method to return additional results from the previous method call.
string page_token = 9;getPageToken in interface ListTimeSeriesRequestOrBuilderpublic ByteString getPageTokenBytes()
If this field is not empty then it must contain the `nextPageToken` value returned by a previous call to this method. Using this field causes the method to return additional results from the previous method call.
string page_token = 9;getPageTokenBytes in interface ListTimeSeriesRequestOrBuilderpublic final boolean isInitialized()
isInitialized in interface MessageLiteOrBuilderisInitialized in class GeneratedMessageV3public void writeTo(CodedOutputStream output) throws java.io.IOException
writeTo in interface MessageLitewriteTo in class GeneratedMessageV3java.io.IOExceptionpublic int getSerializedSize()
getSerializedSize in interface MessageLitegetSerializedSize in class GeneratedMessageV3public boolean equals(java.lang.Object obj)
equals in interface Messageequals in class AbstractMessagepublic int hashCode()
hashCode in interface MessagehashCode in class AbstractMessagepublic static ListTimeSeriesRequest parseFrom(java.nio.ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static ListTimeSeriesRequest parseFrom(java.nio.ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static ListTimeSeriesRequest parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static ListTimeSeriesRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static ListTimeSeriesRequest parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static ListTimeSeriesRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static ListTimeSeriesRequest parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static ListTimeSeriesRequest parseFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static ListTimeSeriesRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static ListTimeSeriesRequest parseDelimitedFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static ListTimeSeriesRequest parseFrom(CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static ListTimeSeriesRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic ListTimeSeriesRequest.Builder newBuilderForType()
newBuilderForType in interface MessagenewBuilderForType in interface MessageLitepublic static ListTimeSeriesRequest.Builder newBuilder()
public static ListTimeSeriesRequest.Builder newBuilder(ListTimeSeriesRequest prototype)
public ListTimeSeriesRequest.Builder toBuilder()
toBuilder in interface MessagetoBuilder in interface MessageLiteprotected ListTimeSeriesRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class GeneratedMessageV3public static ListTimeSeriesRequest getDefaultInstance()
public static Parser<ListTimeSeriesRequest> parser()
public Parser<ListTimeSeriesRequest> getParserForType()
getParserForType in interface MessagegetParserForType in interface MessageLitegetParserForType in class GeneratedMessageV3public ListTimeSeriesRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilder