public final class ListTimeSeriesRequest extends com.google.protobuf.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`.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| 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 |
SECONDARY_AGGREGATION_FIELD_NUMBER |
static int |
VIEW_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Aggregation |
getAggregation()
Specifies the alignment of data points in individual time series as
well as how to combine the retrieved time series across specified labels.
|
AggregationOrBuilder |
getAggregationOrBuilder()
Specifies the alignment of data points in individual time series as
well as how to combine the retrieved time series across specified labels.
|
static ListTimeSeriesRequest |
getDefaultInstance() |
ListTimeSeriesRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getFilter()
Required.
|
com.google.protobuf.ByteString |
getFilterBytes()
Required.
|
TimeInterval |
getInterval()
Required.
|
TimeIntervalOrBuilder |
getIntervalOrBuilder()
Required.
|
String |
getName()
Required.
|
com.google.protobuf.ByteString |
getNameBytes()
Required.
|
String |
getOrderBy()
Unsupported: must be left blank.
|
com.google.protobuf.ByteString |
getOrderByBytes()
Unsupported: must be left blank.
|
int |
getPageSize()
A positive number that is the maximum number of results to return.
|
String |
getPageToken()
If this field is not empty then it must contain the `nextPageToken` value
returned by a previous call to this method.
|
com.google.protobuf.ByteString |
getPageTokenBytes()
If this field is not empty then it must contain the `nextPageToken` value
returned by a previous call to this method.
|
com.google.protobuf.Parser<ListTimeSeriesRequest> |
getParserForType() |
Aggregation |
getSecondaryAggregation()
Apply a second aggregation after `aggregation` is applied.
|
AggregationOrBuilder |
getSecondaryAggregationOrBuilder()
Apply a second aggregation after `aggregation` is applied.
|
int |
getSerializedSize() |
ListTimeSeriesRequest.TimeSeriesView |
getView()
Required.
|
int |
getViewValue()
Required.
|
boolean |
hasAggregation()
Specifies the alignment of data points in individual time series as
well as how to combine the retrieved time series across specified labels.
|
int |
hashCode() |
boolean |
hasInterval()
Required.
|
boolean |
hasSecondaryAggregation()
Apply a second aggregation after `aggregation` is applied.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static ListTimeSeriesRequest.Builder |
newBuilder() |
static ListTimeSeriesRequest.Builder |
newBuilder(ListTimeSeriesRequest prototype) |
ListTimeSeriesRequest.Builder |
newBuilderForType() |
protected ListTimeSeriesRequest.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static ListTimeSeriesRequest |
parseDelimitedFrom(InputStream input) |
static ListTimeSeriesRequest |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ListTimeSeriesRequest |
parseFrom(byte[] data) |
static ListTimeSeriesRequest |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ListTimeSeriesRequest |
parseFrom(ByteBuffer data) |
static ListTimeSeriesRequest |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ListTimeSeriesRequest |
parseFrom(com.google.protobuf.ByteString data) |
static ListTimeSeriesRequest |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ListTimeSeriesRequest |
parseFrom(com.google.protobuf.CodedInputStream input) |
static ListTimeSeriesRequest |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ListTimeSeriesRequest |
parseFrom(InputStream input) |
static ListTimeSeriesRequest |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<ListTimeSeriesRequest> |
parser() |
ListTimeSeriesRequest.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, 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, waitpublic 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 SECONDARY_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
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public String getName()
Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name),
organization or folder on which to execute the request. The format is:
projects/[PROJECT_ID_OR_NUMBER]
organizations/[ORGANIZATION_ID]
folders/[FOLDER_ID]
string name = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getName in interface ListTimeSeriesRequestOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name),
organization or folder on which to execute the request. The format is:
projects/[PROJECT_ID_OR_NUMBER]
organizations/[ORGANIZATION_ID]
folders/[FOLDER_ID]
string name = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getNameBytes in interface ListTimeSeriesRequestOrBuilderpublic String getFilter()
Required. A [monitoring filter](https://cloud.google.com/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.labels.instance_name = "my-instance-name"
string filter = 2 [(.google.api.field_behavior) = REQUIRED];getFilter in interface ListTimeSeriesRequestOrBuilderpublic com.google.protobuf.ByteString getFilterBytes()
Required. A [monitoring filter](https://cloud.google.com/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.labels.instance_name = "my-instance-name"
string filter = 2 [(.google.api.field_behavior) = REQUIRED];getFilterBytes in interface ListTimeSeriesRequestOrBuilderpublic boolean hasInterval()
Required. 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 [(.google.api.field_behavior) = REQUIRED];
hasInterval in interface ListTimeSeriesRequestOrBuilderpublic TimeInterval getInterval()
Required. 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 [(.google.api.field_behavior) = REQUIRED];
getInterval in interface ListTimeSeriesRequestOrBuilderpublic TimeIntervalOrBuilder getIntervalOrBuilder()
Required. 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 [(.google.api.field_behavior) = REQUIRED];
getIntervalOrBuilder in interface ListTimeSeriesRequestOrBuilderpublic boolean hasAggregation()
Specifies the alignment of data points in individual time series as well as how to combine the retrieved time series across specified labels. By default (if no `aggregation` is explicitly specified), the raw time series data is returned.
.google.monitoring.v3.Aggregation aggregation = 5;hasAggregation in interface ListTimeSeriesRequestOrBuilderpublic Aggregation getAggregation()
Specifies the alignment of data points in individual time series as well as how to combine the retrieved time series across specified labels. By default (if no `aggregation` is explicitly specified), the raw time series data is returned.
.google.monitoring.v3.Aggregation aggregation = 5;getAggregation in interface ListTimeSeriesRequestOrBuilderpublic AggregationOrBuilder getAggregationOrBuilder()
Specifies the alignment of data points in individual time series as well as how to combine the retrieved time series across specified labels. By default (if no `aggregation` is explicitly specified), the raw time series data is returned.
.google.monitoring.v3.Aggregation aggregation = 5;getAggregationOrBuilder in interface ListTimeSeriesRequestOrBuilderpublic boolean hasSecondaryAggregation()
Apply a second aggregation after `aggregation` is applied. May only be specified if `aggregation` is specified.
.google.monitoring.v3.Aggregation secondary_aggregation = 11;hasSecondaryAggregation in interface ListTimeSeriesRequestOrBuilderpublic Aggregation getSecondaryAggregation()
Apply a second aggregation after `aggregation` is applied. May only be specified if `aggregation` is specified.
.google.monitoring.v3.Aggregation secondary_aggregation = 11;getSecondaryAggregation in interface ListTimeSeriesRequestOrBuilderpublic AggregationOrBuilder getSecondaryAggregationOrBuilder()
Apply a second aggregation after `aggregation` is applied. May only be specified if `aggregation` is specified.
.google.monitoring.v3.Aggregation secondary_aggregation = 11;getSecondaryAggregationOrBuilder in interface ListTimeSeriesRequestOrBuilderpublic String getOrderBy()
Unsupported: must be left blank. The points in each time series are currently returned in reverse time order (most recent to oldest).
string order_by = 6;getOrderBy in interface ListTimeSeriesRequestOrBuilderpublic com.google.protobuf.ByteString getOrderByBytes()
Unsupported: must be left blank. The points in each time series are currently returned in reverse time order (most recent to oldest).
string order_by = 6;getOrderByBytes in interface ListTimeSeriesRequestOrBuilderpublic int getViewValue()
Required. Specifies which information is returned about the time series.
.google.monitoring.v3.ListTimeSeriesRequest.TimeSeriesView view = 7 [(.google.api.field_behavior) = REQUIRED];
getViewValue in interface ListTimeSeriesRequestOrBuilderpublic ListTimeSeriesRequest.TimeSeriesView getView()
Required. Specifies which information is returned about the time series.
.google.monitoring.v3.ListTimeSeriesRequest.TimeSeriesView view = 7 [(.google.api.field_behavior) = REQUIRED];
getView in interface ListTimeSeriesRequestOrBuilderpublic int getPageSize()
A positive number that is the maximum number of results to return. If `page_size` is empty or more than 100,000 results, the effective `page_size` is 100,000 results. If `view` is set to `FULL`, this is the maximum number of `Points` returned. If `view` is set to `HEADERS`, this is the maximum number of `TimeSeries` returned.
int32 page_size = 8;getPageSize in interface ListTimeSeriesRequestOrBuilderpublic 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 com.google.protobuf.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 com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static ListTimeSeriesRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ListTimeSeriesRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ListTimeSeriesRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ListTimeSeriesRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ListTimeSeriesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ListTimeSeriesRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ListTimeSeriesRequest parseFrom(InputStream input) throws IOException
IOExceptionpublic static ListTimeSeriesRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ListTimeSeriesRequest parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static ListTimeSeriesRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ListTimeSeriesRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static ListTimeSeriesRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic ListTimeSeriesRequest.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static ListTimeSeriesRequest.Builder newBuilder()
public static ListTimeSeriesRequest.Builder newBuilder(ListTimeSeriesRequest prototype)
public ListTimeSeriesRequest.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected ListTimeSeriesRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static ListTimeSeriesRequest getDefaultInstance()
public static com.google.protobuf.Parser<ListTimeSeriesRequest> parser()
public com.google.protobuf.Parser<ListTimeSeriesRequest> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public ListTimeSeriesRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2023 Google LLC. All rights reserved.