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<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.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 |
| 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 com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
java.lang.String |
getFilter()
A [monitoring filter](/monitoring/api/v3/filters) that specifies which time
series should be returned.
|
com.google.protobuf.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.
|
ProjectName |
getNameAsProjectName() |
com.google.protobuf.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.
|
com.google.protobuf.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.
|
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() |
int |
getSerializedSize() |
com.google.protobuf.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 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) |
static ListTimeSeriesRequest |
parseDelimitedFrom(java.io.InputStream input) |
static ListTimeSeriesRequest |
parseDelimitedFrom(java.io.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(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(java.io.InputStream input) |
static ListTimeSeriesRequest |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<ListTimeSeriesRequest> |
parser() |
ListTimeSeriesRequest.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, 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 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 com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields 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 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 com.google.protobuf.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 com.google.protobuf.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 com.google.protobuf.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 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 java.io.IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3java.io.IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(java.lang.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(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(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static ListTimeSeriesRequest parseFrom(java.io.InputStream input, com.google.protobuf.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, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static ListTimeSeriesRequest parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static ListTimeSeriesRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.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 final ProjectName getNameAsProjectName()
public 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.MessageOrBuilder