Package com.google.monitoring.v3
Class ListTimeSeriesRequest
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.monitoring.v3.ListTimeSeriesRequest
- All Implemented Interfaces:
ListTimeSeriesRequestOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class ListTimeSeriesRequest
extends com.google.protobuf.GeneratedMessage
implements ListTimeSeriesRequestOrBuilder
The `ListTimeSeries` request.Protobuf type
google.monitoring.v3.ListTimeSeriesRequest- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classThe `ListTimeSeries` request.static enumControls which fields are returned by `ListTimeSeries*`.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanSpecifies the alignment of data points in individual time series as well as how to combine the retrieved time series across specified labels.Specifies the alignment of data points in individual time series as well as how to combine the retrieved time series across specified labels.static ListTimeSeriesRequeststatic final com.google.protobuf.Descriptors.DescriptorRequired.com.google.protobuf.ByteStringRequired.Required.Required.getName()Required.com.google.protobuf.ByteStringRequired.Unsupported: must be left blank.com.google.protobuf.ByteStringUnsupported: must be left blank.intA positive number that is the maximum number of results to return.If this field is not empty then it must contain the `nextPageToken` value returned by a previous call to this method.com.google.protobuf.ByteStringIf 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>Apply a second aggregation after `aggregation` is applied.Apply a second aggregation after `aggregation` is applied.intgetView()Required.intRequired.booleanSpecifies the alignment of data points in individual time series as well as how to combine the retrieved time series across specified labels.inthashCode()booleanRequired.booleanApply a second aggregation after `aggregation` is applied.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleannewBuilder(ListTimeSeriesRequest prototype) protected ListTimeSeriesRequest.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static ListTimeSeriesRequestparseDelimitedFrom(InputStream input) static ListTimeSeriesRequestparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ListTimeSeriesRequestparseFrom(byte[] data) static ListTimeSeriesRequestparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ListTimeSeriesRequestparseFrom(com.google.protobuf.ByteString data) static ListTimeSeriesRequestparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ListTimeSeriesRequestparseFrom(com.google.protobuf.CodedInputStream input) static ListTimeSeriesRequestparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ListTimeSeriesRequestparseFrom(InputStream input) static ListTimeSeriesRequestparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ListTimeSeriesRequestparseFrom(ByteBuffer data) static ListTimeSeriesRequestparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<ListTimeSeriesRequest>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER- See Also:
-
FILTER_FIELD_NUMBER
public static final int FILTER_FIELD_NUMBER- See Also:
-
INTERVAL_FIELD_NUMBER
public static final int INTERVAL_FIELD_NUMBER- See Also:
-
AGGREGATION_FIELD_NUMBER
public static final int AGGREGATION_FIELD_NUMBER- See Also:
-
SECONDARY_AGGREGATION_FIELD_NUMBER
public static final int SECONDARY_AGGREGATION_FIELD_NUMBER- See Also:
-
ORDER_BY_FIELD_NUMBER
public static final int ORDER_BY_FIELD_NUMBER- See Also:
-
VIEW_FIELD_NUMBER
public static final int VIEW_FIELD_NUMBER- See Also:
-
PAGE_SIZE_FIELD_NUMBER
public static final int PAGE_SIZE_FIELD_NUMBER- See Also:
-
PAGE_TOKEN_FIELD_NUMBER
public static final int PAGE_TOKEN_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
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) = { ... }- Specified by:
getNamein interfaceListTimeSeriesRequestOrBuilder- Returns:
- The name.
-
getNameBytes
public 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) = { ... }- Specified by:
getNameBytesin interfaceListTimeSeriesRequestOrBuilder- Returns:
- The bytes for name.
-
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];- Specified by:
getFilterin interfaceListTimeSeriesRequestOrBuilder- Returns:
- The filter.
-
getFilterBytes
public 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];- Specified by:
getFilterBytesin interfaceListTimeSeriesRequestOrBuilder- Returns:
- The bytes for filter.
-
hasInterval
public 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];- Specified by:
hasIntervalin interfaceListTimeSeriesRequestOrBuilder- Returns:
- Whether the interval field is set.
-
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];- Specified by:
getIntervalin interfaceListTimeSeriesRequestOrBuilder- Returns:
- The interval.
-
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];- Specified by:
getIntervalOrBuilderin interfaceListTimeSeriesRequestOrBuilder
-
hasAggregation
public 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;- Specified by:
hasAggregationin interfaceListTimeSeriesRequestOrBuilder- Returns:
- Whether the aggregation field is set.
-
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;- Specified by:
getAggregationin interfaceListTimeSeriesRequestOrBuilder- Returns:
- The aggregation.
-
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;- Specified by:
getAggregationOrBuilderin interfaceListTimeSeriesRequestOrBuilder
-
hasSecondaryAggregation
public 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;- Specified by:
hasSecondaryAggregationin interfaceListTimeSeriesRequestOrBuilder- Returns:
- Whether the secondaryAggregation field is set.
-
getSecondaryAggregation
Apply a second aggregation after `aggregation` is applied. May only be specified if `aggregation` is specified.
.google.monitoring.v3.Aggregation secondary_aggregation = 11;- Specified by:
getSecondaryAggregationin interfaceListTimeSeriesRequestOrBuilder- Returns:
- The secondaryAggregation.
-
getSecondaryAggregationOrBuilder
Apply a second aggregation after `aggregation` is applied. May only be specified if `aggregation` is specified.
.google.monitoring.v3.Aggregation secondary_aggregation = 11;- Specified by:
getSecondaryAggregationOrBuilderin interfaceListTimeSeriesRequestOrBuilder
-
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;- Specified by:
getOrderByin interfaceListTimeSeriesRequestOrBuilder- Returns:
- The orderBy.
-
getOrderByBytes
public 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;- Specified by:
getOrderByBytesin interfaceListTimeSeriesRequestOrBuilder- Returns:
- The bytes for orderBy.
-
getViewValue
public int getViewValue()Required. Specifies which information is returned about the time series.
.google.monitoring.v3.ListTimeSeriesRequest.TimeSeriesView view = 7 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getViewValuein interfaceListTimeSeriesRequestOrBuilder- Returns:
- The enum numeric value on the wire for view.
-
getView
Required. Specifies which information is returned about the time series.
.google.monitoring.v3.ListTimeSeriesRequest.TimeSeriesView view = 7 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getViewin interfaceListTimeSeriesRequestOrBuilder- Returns:
- The view.
-
getPageSize
public 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;- Specified by:
getPageSizein interfaceListTimeSeriesRequestOrBuilder- Returns:
- The pageSize.
-
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;- Specified by:
getPageTokenin interfaceListTimeSeriesRequestOrBuilder- Returns:
- The pageToken.
-
getPageTokenBytes
public 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;- Specified by:
getPageTokenBytesin interfaceListTimeSeriesRequestOrBuilder- Returns:
- The bytes for pageToken.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static ListTimeSeriesRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ListTimeSeriesRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ListTimeSeriesRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ListTimeSeriesRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ListTimeSeriesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ListTimeSeriesRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static ListTimeSeriesRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static ListTimeSeriesRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static ListTimeSeriesRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static ListTimeSeriesRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected ListTimeSeriesRequest.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-