Package com.google.monitoring.v3
Class ListTimeSeriesResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ListTimeSeriesResponse.Builder>
com.google.monitoring.v3.ListTimeSeriesResponse.Builder
- All Implemented Interfaces:
ListTimeSeriesResponseOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ListTimeSeriesResponse
public static final class ListTimeSeriesResponse.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ListTimeSeriesResponse.Builder>
implements ListTimeSeriesResponseOrBuilder
The `ListTimeSeries` response.Protobuf type
google.monitoring.v3.ListTimeSeriesResponse-
Method Summary
Modifier and TypeMethodDescriptionaddAllExecutionErrors(Iterable<? extends Status> values) Query execution errors that may have caused the time series data returned to be incomplete.addAllTimeSeries(Iterable<? extends TimeSeries> values) One or more time series that match the filter included in the request.addExecutionErrors(int index, Status value) Query execution errors that may have caused the time series data returned to be incomplete.addExecutionErrors(int index, Status.Builder builderForValue) Query execution errors that may have caused the time series data returned to be incomplete.addExecutionErrors(Status value) Query execution errors that may have caused the time series data returned to be incomplete.addExecutionErrors(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.addExecutionErrorsBuilder(int index) Query execution errors that may have caused the time series data returned to be incomplete.addTimeSeries(int index, TimeSeries value) One or more time series that match the filter included in the request.addTimeSeries(int index, TimeSeries.Builder builderForValue) One or more time series that match the filter included in the request.addTimeSeries(TimeSeries value) One or more time series that match the filter included in the request.addTimeSeries(TimeSeries.Builder builderForValue) One or more time series that match the filter included in the request.One or more time series that match the filter included in the request.addTimeSeriesBuilder(int index) One or more time series that match the filter included in the request.build()clear()Query execution errors that may have caused the time series data returned to be incomplete.If there are more results than have been returned, then this field is set to a non-empty value.One or more time series that match the filter included in the request.The unit in which all `time_series` point values are reported.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetExecutionErrors(int index) Query execution errors that may have caused the time series data returned to be incomplete.getExecutionErrorsBuilder(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.getExecutionErrorsOrBuilder(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.If 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.getTimeSeries(int index) One or more time series that match the filter included in the request.getTimeSeriesBuilder(int index) One or more time series that match the filter included in the request.One or more time series that match the filter included in the request.intOne or more time series that match the filter included in the request.One or more time series that match the filter included in the request.getTimeSeriesOrBuilder(int index) One or more time series that match the filter included in the request.List<? extends TimeSeriesOrBuilder>One or more time series that match the filter included in the request.getUnit()The unit in which all `time_series` point values are reported.com.google.protobuf.ByteStringThe unit in which all `time_series` point values are reported.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(ListTimeSeriesResponse other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeExecutionErrors(int index) Query execution errors that may have caused the time series data returned to be incomplete.removeTimeSeries(int index) One or more time series that match the filter included in the request.setExecutionErrors(int index, Status value) Query execution errors that may have caused the time series data returned to be incomplete.setExecutionErrors(int index, Status.Builder builderForValue) Query execution errors that may have caused the time series data returned to be incomplete.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.setTimeSeries(int index, TimeSeries value) One or more time series that match the filter included in the request.setTimeSeries(int index, TimeSeries.Builder builderForValue) One or more time series that match the filter included in the request.The unit in which all `time_series` point values are reported.setUnitBytes(com.google.protobuf.ByteString value) The unit in which all `time_series` point values are reported.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<ListTimeSeriesResponse.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<ListTimeSeriesResponse.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<ListTimeSeriesResponse.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<ListTimeSeriesResponse.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ListTimeSeriesResponse.Builder>
-
mergeFrom
public ListTimeSeriesResponse.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<ListTimeSeriesResponse.Builder>- Throws:
IOException
-
getTimeSeriesList
One or more time series that match the filter included in the request.
repeated .google.monitoring.v3.TimeSeries time_series = 1;- Specified by:
getTimeSeriesListin interfaceListTimeSeriesResponseOrBuilder
-
getTimeSeriesCount
public int getTimeSeriesCount()One or more time series that match the filter included in the request.
repeated .google.monitoring.v3.TimeSeries time_series = 1;- Specified by:
getTimeSeriesCountin interfaceListTimeSeriesResponseOrBuilder
-
getTimeSeries
One or more time series that match the filter included in the request.
repeated .google.monitoring.v3.TimeSeries time_series = 1;- Specified by:
getTimeSeriesin interfaceListTimeSeriesResponseOrBuilder
-
setTimeSeries
One or more time series that match the filter included in the request.
repeated .google.monitoring.v3.TimeSeries time_series = 1; -
setTimeSeries
One or more time series that match the filter included in the request.
repeated .google.monitoring.v3.TimeSeries time_series = 1; -
addTimeSeries
One or more time series that match the filter included in the request.
repeated .google.monitoring.v3.TimeSeries time_series = 1; -
addTimeSeries
One or more time series that match the filter included in the request.
repeated .google.monitoring.v3.TimeSeries time_series = 1; -
addTimeSeries
One or more time series that match the filter included in the request.
repeated .google.monitoring.v3.TimeSeries time_series = 1; -
addTimeSeries
One or more time series that match the filter included in the request.
repeated .google.monitoring.v3.TimeSeries time_series = 1; -
addAllTimeSeries
One or more time series that match the filter included in the request.
repeated .google.monitoring.v3.TimeSeries time_series = 1; -
clearTimeSeries
One or more time series that match the filter included in the request.
repeated .google.monitoring.v3.TimeSeries time_series = 1; -
removeTimeSeries
One or more time series that match the filter included in the request.
repeated .google.monitoring.v3.TimeSeries time_series = 1; -
getTimeSeriesBuilder
One or more time series that match the filter included in the request.
repeated .google.monitoring.v3.TimeSeries time_series = 1; -
getTimeSeriesOrBuilder
One or more time series that match the filter included in the request.
repeated .google.monitoring.v3.TimeSeries time_series = 1;- Specified by:
getTimeSeriesOrBuilderin interfaceListTimeSeriesResponseOrBuilder
-
getTimeSeriesOrBuilderList
One or more time series that match the filter included in the request.
repeated .google.monitoring.v3.TimeSeries time_series = 1;- Specified by:
getTimeSeriesOrBuilderListin interfaceListTimeSeriesResponseOrBuilder
-
addTimeSeriesBuilder
One or more time series that match the filter included in the request.
repeated .google.monitoring.v3.TimeSeries time_series = 1; -
addTimeSeriesBuilder
One or more time series that match the filter included in the request.
repeated .google.monitoring.v3.TimeSeries time_series = 1; -
getTimeSeriesBuilderList
One or more time series that match the filter included in the request.
repeated .google.monitoring.v3.TimeSeries time_series = 1; -
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 = 2;- Specified by:
getNextPageTokenin interfaceListTimeSeriesResponseOrBuilder- 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 = 2;- Specified by:
getNextPageTokenBytesin interfaceListTimeSeriesResponseOrBuilder- 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 = 2;- 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 = 2;- 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 = 2;- Parameters:
value- The bytes for nextPageToken to set.- Returns:
- This builder for chaining.
-
getExecutionErrorsList
Query execution errors that may have caused the time series data returned to be incomplete.
repeated .google.rpc.Status execution_errors = 3;- Specified by:
getExecutionErrorsListin interfaceListTimeSeriesResponseOrBuilder
-
getExecutionErrorsCount
public int getExecutionErrorsCount()Query execution errors that may have caused the time series data returned to be incomplete.
repeated .google.rpc.Status execution_errors = 3;- Specified by:
getExecutionErrorsCountin interfaceListTimeSeriesResponseOrBuilder
-
getExecutionErrors
Query execution errors that may have caused the time series data returned to be incomplete.
repeated .google.rpc.Status execution_errors = 3;- Specified by:
getExecutionErrorsin interfaceListTimeSeriesResponseOrBuilder
-
setExecutionErrors
Query execution errors that may have caused the time series data returned to be incomplete.
repeated .google.rpc.Status execution_errors = 3; -
setExecutionErrors
Query execution errors that may have caused the time series data returned to be incomplete.
repeated .google.rpc.Status execution_errors = 3; -
addExecutionErrors
Query execution errors that may have caused the time series data returned to be incomplete.
repeated .google.rpc.Status execution_errors = 3; -
addExecutionErrors
Query execution errors that may have caused the time series data returned to be incomplete.
repeated .google.rpc.Status execution_errors = 3; -
addExecutionErrors
Query execution errors that may have caused the time series data returned to be incomplete.
repeated .google.rpc.Status execution_errors = 3; -
addExecutionErrors
Query execution errors that may have caused the time series data returned to be incomplete.
repeated .google.rpc.Status execution_errors = 3; -
addAllExecutionErrors
Query execution errors that may have caused the time series data returned to be incomplete.
repeated .google.rpc.Status execution_errors = 3; -
clearExecutionErrors
Query execution errors that may have caused the time series data returned to be incomplete.
repeated .google.rpc.Status execution_errors = 3; -
removeExecutionErrors
Query execution errors that may have caused the time series data returned to be incomplete.
repeated .google.rpc.Status execution_errors = 3; -
getExecutionErrorsBuilder
Query execution errors that may have caused the time series data returned to be incomplete.
repeated .google.rpc.Status execution_errors = 3; -
getExecutionErrorsOrBuilder
Query execution errors that may have caused the time series data returned to be incomplete.
repeated .google.rpc.Status execution_errors = 3;- Specified by:
getExecutionErrorsOrBuilderin interfaceListTimeSeriesResponseOrBuilder
-
getExecutionErrorsOrBuilderList
Query execution errors that may have caused the time series data returned to be incomplete.
repeated .google.rpc.Status execution_errors = 3;- Specified by:
getExecutionErrorsOrBuilderListin interfaceListTimeSeriesResponseOrBuilder
-
addExecutionErrorsBuilder
Query execution errors that may have caused the time series data returned to be incomplete.
repeated .google.rpc.Status execution_errors = 3; -
addExecutionErrorsBuilder
Query execution errors that may have caused the time series data returned to be incomplete.
repeated .google.rpc.Status execution_errors = 3; -
getExecutionErrorsBuilderList
Query execution errors that may have caused the time series data returned to be incomplete.
repeated .google.rpc.Status execution_errors = 3; -
getUnit
The unit in which all `time_series` point values are reported. `unit` follows the UCUM format for units as seen in https://unitsofmeasure.org/ucum.html. If different `time_series` have different units (for example, because they come from different metric types, or a unit is absent), then `unit` will be "{not_a_unit}".string unit = 5;- Specified by:
getUnitin interfaceListTimeSeriesResponseOrBuilder- Returns:
- The unit.
-
getUnitBytes
public com.google.protobuf.ByteString getUnitBytes()The unit in which all `time_series` point values are reported. `unit` follows the UCUM format for units as seen in https://unitsofmeasure.org/ucum.html. If different `time_series` have different units (for example, because they come from different metric types, or a unit is absent), then `unit` will be "{not_a_unit}".string unit = 5;- Specified by:
getUnitBytesin interfaceListTimeSeriesResponseOrBuilder- Returns:
- The bytes for unit.
-
setUnit
The unit in which all `time_series` point values are reported. `unit` follows the UCUM format for units as seen in https://unitsofmeasure.org/ucum.html. If different `time_series` have different units (for example, because they come from different metric types, or a unit is absent), then `unit` will be "{not_a_unit}".string unit = 5;- Parameters:
value- The unit to set.- Returns:
- This builder for chaining.
-
clearUnit
The unit in which all `time_series` point values are reported. `unit` follows the UCUM format for units as seen in https://unitsofmeasure.org/ucum.html. If different `time_series` have different units (for example, because they come from different metric types, or a unit is absent), then `unit` will be "{not_a_unit}".string unit = 5;- Returns:
- This builder for chaining.
-
setUnitBytes
The unit in which all `time_series` point values are reported. `unit` follows the UCUM format for units as seen in https://unitsofmeasure.org/ucum.html. If different `time_series` have different units (for example, because they come from different metric types, or a unit is absent), then `unit` will be "{not_a_unit}".string unit = 5;- Parameters:
value- The bytes for unit to set.- Returns:
- This builder for chaining.
-