Package com.google.monitoring.v3
Class QueryTimeSeriesResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<QueryTimeSeriesResponse.Builder>
com.google.monitoring.v3.QueryTimeSeriesResponse.Builder
- All Implemented Interfaces:
QueryTimeSeriesResponseOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- QueryTimeSeriesResponse
public static final class QueryTimeSeriesResponse.Builder
extends com.google.protobuf.GeneratedMessage.Builder<QueryTimeSeriesResponse.Builder>
implements QueryTimeSeriesResponseOrBuilder
The `QueryTimeSeries` response. For information about the status of Monitoring Query Language (MQL), see the [MQL deprecation notice](https://cloud.google.com/stackdriver/docs/deprecations/mql).Protobuf type
google.monitoring.v3.QueryTimeSeriesResponse-
Method Summary
Modifier and TypeMethodDescriptionaddAllPartialErrors(Iterable<? extends Status> values) Query execution errors that may have caused the time series data returned to be incomplete.addAllTimeSeriesData(Iterable<? extends TimeSeriesData> values) The time series data.addPartialErrors(int index, Status value) Query execution errors that may have caused the time series data returned to be incomplete.addPartialErrors(int index, Status.Builder builderForValue) Query execution errors that may have caused the time series data returned to be incomplete.addPartialErrors(Status value) Query execution errors that may have caused the time series data returned to be incomplete.addPartialErrors(Status.Builder builderForValue) Query execution errors that may have caused the time series data returned to be incomplete.Query execution errors that may have caused the time series data returned to be incomplete.addPartialErrorsBuilder(int index) Query execution errors that may have caused the time series data returned to be incomplete.addTimeSeriesData(int index, TimeSeriesData value) The time series data.addTimeSeriesData(int index, TimeSeriesData.Builder builderForValue) The time series data.addTimeSeriesData(TimeSeriesData value) The time series data.addTimeSeriesData(TimeSeriesData.Builder builderForValue) The time series data.The time series data.addTimeSeriesDataBuilder(int index) The time series data.build()clear()If there are more results than have been returned, then this field is set to a non-empty value.Query execution errors that may have caused the time series data returned to be incomplete.The time series data.The descriptor for the time series data.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorIf there are more results than have been returned, then this field is set to a non-empty value.com.google.protobuf.ByteStringIf there are more results than have been returned, then this field is set to a non-empty value.getPartialErrors(int index) Query execution errors that may have caused the time series data returned to be incomplete.getPartialErrorsBuilder(int index) Query execution errors that may have caused the time series data returned to be incomplete.Query execution errors that may have caused the time series data returned to be incomplete.intQuery execution errors that may have caused the time series data returned to be incomplete.Query execution errors that may have caused the time series data returned to be incomplete.getPartialErrorsOrBuilder(int index) Query execution errors that may have caused the time series data returned to be incomplete.List<? extends StatusOrBuilder>Query execution errors that may have caused the time series data returned to be incomplete.getTimeSeriesData(int index) The time series data.getTimeSeriesDataBuilder(int index) The time series data.The time series data.intThe time series data.The time series data.getTimeSeriesDataOrBuilder(int index) The time series data.List<? extends TimeSeriesDataOrBuilder>The time series data.The descriptor for the time series data.The descriptor for the time series data.The descriptor for the time series data.booleanThe descriptor for the time series data.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(QueryTimeSeriesResponse other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) The descriptor for the time series data.removePartialErrors(int index) Query execution errors that may have caused the time series data returned to be incomplete.removeTimeSeriesData(int index) The time series data.setNextPageToken(String value) If there are more results than have been returned, then this field is set to a non-empty value.setNextPageTokenBytes(com.google.protobuf.ByteString value) If there are more results than have been returned, then this field is set to a non-empty value.setPartialErrors(int index, Status value) Query execution errors that may have caused the time series data returned to be incomplete.setPartialErrors(int index, Status.Builder builderForValue) Query execution errors that may have caused the time series data returned to be incomplete.setTimeSeriesData(int index, TimeSeriesData value) The time series data.setTimeSeriesData(int index, TimeSeriesData.Builder builderForValue) The time series data.The descriptor for the time series data.setTimeSeriesDescriptor(TimeSeriesDescriptor.Builder builderForValue) The descriptor for the time series data.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
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.Builder<QueryTimeSeriesResponse.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<QueryTimeSeriesResponse.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<QueryTimeSeriesResponse.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<QueryTimeSeriesResponse.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<QueryTimeSeriesResponse.Builder>
-
mergeFrom
public QueryTimeSeriesResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<QueryTimeSeriesResponse.Builder>- Throws:
IOException
-
hasTimeSeriesDescriptor
public boolean hasTimeSeriesDescriptor()The descriptor for the time series data.
.google.monitoring.v3.TimeSeriesDescriptor time_series_descriptor = 8;- Specified by:
hasTimeSeriesDescriptorin interfaceQueryTimeSeriesResponseOrBuilder- Returns:
- Whether the timeSeriesDescriptor field is set.
-
getTimeSeriesDescriptor
The descriptor for the time series data.
.google.monitoring.v3.TimeSeriesDescriptor time_series_descriptor = 8;- Specified by:
getTimeSeriesDescriptorin interfaceQueryTimeSeriesResponseOrBuilder- Returns:
- The timeSeriesDescriptor.
-
setTimeSeriesDescriptor
The descriptor for the time series data.
.google.monitoring.v3.TimeSeriesDescriptor time_series_descriptor = 8; -
setTimeSeriesDescriptor
public QueryTimeSeriesResponse.Builder setTimeSeriesDescriptor(TimeSeriesDescriptor.Builder builderForValue) The descriptor for the time series data.
.google.monitoring.v3.TimeSeriesDescriptor time_series_descriptor = 8; -
mergeTimeSeriesDescriptor
The descriptor for the time series data.
.google.monitoring.v3.TimeSeriesDescriptor time_series_descriptor = 8; -
clearTimeSeriesDescriptor
The descriptor for the time series data.
.google.monitoring.v3.TimeSeriesDescriptor time_series_descriptor = 8; -
getTimeSeriesDescriptorBuilder
The descriptor for the time series data.
.google.monitoring.v3.TimeSeriesDescriptor time_series_descriptor = 8; -
getTimeSeriesDescriptorOrBuilder
The descriptor for the time series data.
.google.monitoring.v3.TimeSeriesDescriptor time_series_descriptor = 8;- Specified by:
getTimeSeriesDescriptorOrBuilderin interfaceQueryTimeSeriesResponseOrBuilder
-
getTimeSeriesDataList
The time series data.
repeated .google.monitoring.v3.TimeSeriesData time_series_data = 9;- Specified by:
getTimeSeriesDataListin interfaceQueryTimeSeriesResponseOrBuilder
-
getTimeSeriesDataCount
public int getTimeSeriesDataCount()The time series data.
repeated .google.monitoring.v3.TimeSeriesData time_series_data = 9;- Specified by:
getTimeSeriesDataCountin interfaceQueryTimeSeriesResponseOrBuilder
-
getTimeSeriesData
The time series data.
repeated .google.monitoring.v3.TimeSeriesData time_series_data = 9;- Specified by:
getTimeSeriesDatain interfaceQueryTimeSeriesResponseOrBuilder
-
setTimeSeriesData
The time series data.
repeated .google.monitoring.v3.TimeSeriesData time_series_data = 9; -
setTimeSeriesData
public QueryTimeSeriesResponse.Builder setTimeSeriesData(int index, TimeSeriesData.Builder builderForValue) The time series data.
repeated .google.monitoring.v3.TimeSeriesData time_series_data = 9; -
addTimeSeriesData
The time series data.
repeated .google.monitoring.v3.TimeSeriesData time_series_data = 9; -
addTimeSeriesData
The time series data.
repeated .google.monitoring.v3.TimeSeriesData time_series_data = 9; -
addTimeSeriesData
The time series data.
repeated .google.monitoring.v3.TimeSeriesData time_series_data = 9; -
addTimeSeriesData
public QueryTimeSeriesResponse.Builder addTimeSeriesData(int index, TimeSeriesData.Builder builderForValue) The time series data.
repeated .google.monitoring.v3.TimeSeriesData time_series_data = 9; -
addAllTimeSeriesData
public QueryTimeSeriesResponse.Builder addAllTimeSeriesData(Iterable<? extends TimeSeriesData> values) The time series data.
repeated .google.monitoring.v3.TimeSeriesData time_series_data = 9; -
clearTimeSeriesData
The time series data.
repeated .google.monitoring.v3.TimeSeriesData time_series_data = 9; -
removeTimeSeriesData
The time series data.
repeated .google.monitoring.v3.TimeSeriesData time_series_data = 9; -
getTimeSeriesDataBuilder
The time series data.
repeated .google.monitoring.v3.TimeSeriesData time_series_data = 9; -
getTimeSeriesDataOrBuilder
The time series data.
repeated .google.monitoring.v3.TimeSeriesData time_series_data = 9;- Specified by:
getTimeSeriesDataOrBuilderin interfaceQueryTimeSeriesResponseOrBuilder
-
getTimeSeriesDataOrBuilderList
The time series data.
repeated .google.monitoring.v3.TimeSeriesData time_series_data = 9;- Specified by:
getTimeSeriesDataOrBuilderListin interfaceQueryTimeSeriesResponseOrBuilder
-
addTimeSeriesDataBuilder
The time series data.
repeated .google.monitoring.v3.TimeSeriesData time_series_data = 9; -
addTimeSeriesDataBuilder
The time series data.
repeated .google.monitoring.v3.TimeSeriesData time_series_data = 9; -
getTimeSeriesDataBuilderList
The time series data.
repeated .google.monitoring.v3.TimeSeriesData time_series_data = 9; -
getNextPageToken
If there are more results than have been returned, then this field is set to a non-empty value. To see the additional results, use that value as `page_token` in the next call to this method.
string next_page_token = 10;- Specified by:
getNextPageTokenin interfaceQueryTimeSeriesResponseOrBuilder- Returns:
- The nextPageToken.
-
getNextPageTokenBytes
public com.google.protobuf.ByteString getNextPageTokenBytes()If there are more results than have been returned, then this field is set to a non-empty value. To see the additional results, use that value as `page_token` in the next call to this method.
string next_page_token = 10;- Specified by:
getNextPageTokenBytesin interfaceQueryTimeSeriesResponseOrBuilder- Returns:
- The bytes for nextPageToken.
-
setNextPageToken
If there are more results than have been returned, then this field is set to a non-empty value. To see the additional results, use that value as `page_token` in the next call to this method.
string next_page_token = 10;- Parameters:
value- The nextPageToken to set.- Returns:
- This builder for chaining.
-
clearNextPageToken
If there are more results than have been returned, then this field is set to a non-empty value. To see the additional results, use that value as `page_token` in the next call to this method.
string next_page_token = 10;- Returns:
- This builder for chaining.
-
setNextPageTokenBytes
If there are more results than have been returned, then this field is set to a non-empty value. To see the additional results, use that value as `page_token` in the next call to this method.
string next_page_token = 10;- Parameters:
value- The bytes for nextPageToken to set.- Returns:
- This builder for chaining.
-
getPartialErrorsList
Query execution errors that may have caused the time series data returned to be incomplete. The available data will be available in the response.
repeated .google.rpc.Status partial_errors = 11;- Specified by:
getPartialErrorsListin interfaceQueryTimeSeriesResponseOrBuilder
-
getPartialErrorsCount
public int getPartialErrorsCount()Query execution errors that may have caused the time series data returned to be incomplete. The available data will be available in the response.
repeated .google.rpc.Status partial_errors = 11;- Specified by:
getPartialErrorsCountin interfaceQueryTimeSeriesResponseOrBuilder
-
getPartialErrors
Query execution errors that may have caused the time series data returned to be incomplete. The available data will be available in the response.
repeated .google.rpc.Status partial_errors = 11;- Specified by:
getPartialErrorsin interfaceQueryTimeSeriesResponseOrBuilder
-
setPartialErrors
Query execution errors that may have caused the time series data returned to be incomplete. The available data will be available in the response.
repeated .google.rpc.Status partial_errors = 11; -
setPartialErrors
Query execution errors that may have caused the time series data returned to be incomplete. The available data will be available in the response.
repeated .google.rpc.Status partial_errors = 11; -
addPartialErrors
Query execution errors that may have caused the time series data returned to be incomplete. The available data will be available in the response.
repeated .google.rpc.Status partial_errors = 11; -
addPartialErrors
Query execution errors that may have caused the time series data returned to be incomplete. The available data will be available in the response.
repeated .google.rpc.Status partial_errors = 11; -
addPartialErrors
Query execution errors that may have caused the time series data returned to be incomplete. The available data will be available in the response.
repeated .google.rpc.Status partial_errors = 11; -
addPartialErrors
Query execution errors that may have caused the time series data returned to be incomplete. The available data will be available in the response.
repeated .google.rpc.Status partial_errors = 11; -
addAllPartialErrors
Query execution errors that may have caused the time series data returned to be incomplete. The available data will be available in the response.
repeated .google.rpc.Status partial_errors = 11; -
clearPartialErrors
Query execution errors that may have caused the time series data returned to be incomplete. The available data will be available in the response.
repeated .google.rpc.Status partial_errors = 11; -
removePartialErrors
Query execution errors that may have caused the time series data returned to be incomplete. The available data will be available in the response.
repeated .google.rpc.Status partial_errors = 11; -
getPartialErrorsBuilder
Query execution errors that may have caused the time series data returned to be incomplete. The available data will be available in the response.
repeated .google.rpc.Status partial_errors = 11; -
getPartialErrorsOrBuilder
Query execution errors that may have caused the time series data returned to be incomplete. The available data will be available in the response.
repeated .google.rpc.Status partial_errors = 11;- Specified by:
getPartialErrorsOrBuilderin interfaceQueryTimeSeriesResponseOrBuilder
-
getPartialErrorsOrBuilderList
Query execution errors that may have caused the time series data returned to be incomplete. The available data will be available in the response.
repeated .google.rpc.Status partial_errors = 11;- Specified by:
getPartialErrorsOrBuilderListin interfaceQueryTimeSeriesResponseOrBuilder
-
addPartialErrorsBuilder
Query execution errors that may have caused the time series data returned to be incomplete. The available data will be available in the response.
repeated .google.rpc.Status partial_errors = 11; -
addPartialErrorsBuilder
Query execution errors that may have caused the time series data returned to be incomplete. The available data will be available in the response.
repeated .google.rpc.Status partial_errors = 11; -
getPartialErrorsBuilderList
Query execution errors that may have caused the time series data returned to be incomplete. The available data will be available in the response.
repeated .google.rpc.Status partial_errors = 11;
-