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, unknownFields
memoizedSize
memoizedHashCode
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, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
toByteArray, toByteString, writeDelimitedTo, writeTo
public 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 MessageOrBuilder
getUnknownFields
in class GeneratedMessageV3
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3
public 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 ListTimeSeriesRequestOrBuilder
public ByteString getNameBytes()
The project on which to execute the request. The format is "projects/{project_id_or_number}".
string name = 10;
getNameBytes
in interface ListTimeSeriesRequestOrBuilder
public 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 ListTimeSeriesRequestOrBuilder
public 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 ListTimeSeriesRequestOrBuilder
public 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 ListTimeSeriesRequestOrBuilder
public 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 ListTimeSeriesRequestOrBuilder
public 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 ListTimeSeriesRequestOrBuilder
public 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 ListTimeSeriesRequestOrBuilder
public 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 ListTimeSeriesRequestOrBuilder
public 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 ListTimeSeriesRequestOrBuilder
public 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 ListTimeSeriesRequestOrBuilder
public 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 ListTimeSeriesRequestOrBuilder
public int getViewValue()
Specifies which information is returned about the time series.
.google.monitoring.v3.ListTimeSeriesRequest.TimeSeriesView view = 7;
getViewValue
in interface ListTimeSeriesRequestOrBuilder
public ListTimeSeriesRequest.TimeSeriesView getView()
Specifies which information is returned about the time series.
.google.monitoring.v3.ListTimeSeriesRequest.TimeSeriesView view = 7;
getView
in interface ListTimeSeriesRequestOrBuilder
public 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 ListTimeSeriesRequestOrBuilder
public 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 ListTimeSeriesRequestOrBuilder
public 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 ListTimeSeriesRequestOrBuilder
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3
public void writeTo(CodedOutputStream output) throws java.io.IOException
writeTo
in interface MessageLite
writeTo
in class GeneratedMessageV3
java.io.IOException
public int getSerializedSize()
getSerializedSize
in interface MessageLite
getSerializedSize
in class GeneratedMessageV3
public boolean equals(java.lang.Object obj)
equals
in interface Message
equals
in class AbstractMessage
public int hashCode()
hashCode
in interface Message
hashCode
in class AbstractMessage
public static ListTimeSeriesRequest parseFrom(java.nio.ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static ListTimeSeriesRequest parseFrom(java.nio.ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static ListTimeSeriesRequest parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static ListTimeSeriesRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static ListTimeSeriesRequest parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static ListTimeSeriesRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static ListTimeSeriesRequest parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static ListTimeSeriesRequest parseFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static ListTimeSeriesRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static ListTimeSeriesRequest parseDelimitedFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static ListTimeSeriesRequest parseFrom(CodedInputStream input) throws java.io.IOException
java.io.IOException
public static ListTimeSeriesRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public ListTimeSeriesRequest.Builder newBuilderForType()
newBuilderForType
in interface Message
newBuilderForType
in interface MessageLite
public static ListTimeSeriesRequest.Builder newBuilder()
public static ListTimeSeriesRequest.Builder newBuilder(ListTimeSeriesRequest prototype)
public ListTimeSeriesRequest.Builder toBuilder()
toBuilder
in interface Message
toBuilder
in interface MessageLite
protected ListTimeSeriesRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class GeneratedMessageV3
public static ListTimeSeriesRequest getDefaultInstance()
public static Parser<ListTimeSeriesRequest> parser()
public Parser<ListTimeSeriesRequest> getParserForType()
getParserForType
in interface Message
getParserForType
in interface MessageLite
getParserForType
in class GeneratedMessageV3
public ListTimeSeriesRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder