Class ListTimeSeriesResponse.Builder

    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ListTimeSeriesResponse.Builder>
      • clear

        public ListTimeSeriesResponse.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<ListTimeSeriesResponse.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<ListTimeSeriesResponse.Builder>
      • getDefaultInstanceForType

        public ListTimeSeriesResponse getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public ListTimeSeriesResponse build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public ListTimeSeriesResponse buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • clone

        public ListTimeSeriesResponse.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<ListTimeSeriesResponse.Builder>
      • clearField

        public ListTimeSeriesResponse.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<ListTimeSeriesResponse.Builder>
      • clearOneof

        public ListTimeSeriesResponse.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ListTimeSeriesResponse.Builder>
      • setRepeatedField

        public ListTimeSeriesResponse.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                               int index,
                                                               Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ListTimeSeriesResponse.Builder>
      • addRepeatedField

        public ListTimeSeriesResponse.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                               Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ListTimeSeriesResponse.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ListTimeSeriesResponse.Builder>
      • mergeFrom

        public ListTimeSeriesResponse.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                 throws IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ListTimeSeriesResponse.Builder>
        Throws:
        IOException
      • 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:
        getTimeSeriesCount in interface ListTimeSeriesResponseOrBuilder
      • setTimeSeries

        public ListTimeSeriesResponse.Builder setTimeSeries​(int index,
                                                            TimeSeries value)
         One or more time series that match the filter included in the request.
         
        repeated .google.monitoring.v3.TimeSeries time_series = 1;
      • setTimeSeries

        public ListTimeSeriesResponse.Builder setTimeSeries​(int index,
                                                            TimeSeries.Builder builderForValue)
         One or more time series that match the filter included in the request.
         
        repeated .google.monitoring.v3.TimeSeries time_series = 1;
      • addTimeSeries

        public ListTimeSeriesResponse.Builder addTimeSeries​(TimeSeries value)
         One or more time series that match the filter included in the request.
         
        repeated .google.monitoring.v3.TimeSeries time_series = 1;
      • addTimeSeries

        public ListTimeSeriesResponse.Builder addTimeSeries​(int index,
                                                            TimeSeries value)
         One or more time series that match the filter included in the request.
         
        repeated .google.monitoring.v3.TimeSeries time_series = 1;
      • addTimeSeries

        public ListTimeSeriesResponse.Builder addTimeSeries​(int index,
                                                            TimeSeries.Builder builderForValue)
         One or more time series that match the filter included in the request.
         
        repeated .google.monitoring.v3.TimeSeries time_series = 1;
      • addAllTimeSeries

        public ListTimeSeriesResponse.Builder addAllTimeSeries​(Iterable<? extends TimeSeries> values)
         One or more time series that match the filter included in the request.
         
        repeated .google.monitoring.v3.TimeSeries time_series = 1;
      • clearTimeSeries

        public ListTimeSeriesResponse.Builder clearTimeSeries()
         One or more time series that match the filter included in the request.
         
        repeated .google.monitoring.v3.TimeSeries time_series = 1;
      • removeTimeSeries

        public ListTimeSeriesResponse.Builder removeTimeSeries​(int index)
         One or more time series that match the filter included in the request.
         
        repeated .google.monitoring.v3.TimeSeries time_series = 1;
      • getTimeSeriesBuilder

        public TimeSeries.Builder getTimeSeriesBuilder​(int index)
         One or more time series that match the filter included in the request.
         
        repeated .google.monitoring.v3.TimeSeries time_series = 1;
      • addTimeSeriesBuilder

        public TimeSeries.Builder addTimeSeriesBuilder()
         One or more time series that match the filter included in the request.
         
        repeated .google.monitoring.v3.TimeSeries time_series = 1;
      • addTimeSeriesBuilder

        public TimeSeries.Builder addTimeSeriesBuilder​(int index)
         One or more time series that match the filter included in the request.
         
        repeated .google.monitoring.v3.TimeSeries time_series = 1;
      • getTimeSeriesBuilderList

        public List<TimeSeries.Builder> getTimeSeriesBuilderList()
         One or more time series that match the filter included in the request.
         
        repeated .google.monitoring.v3.TimeSeries time_series = 1;
      • getNextPageToken

        public String 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:
        getNextPageToken in interface ListTimeSeriesResponseOrBuilder
        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:
        getNextPageTokenBytes in interface ListTimeSeriesResponseOrBuilder
        Returns:
        The bytes for nextPageToken.
      • setNextPageToken

        public ListTimeSeriesResponse.Builder setNextPageToken​(String value)
         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

        public ListTimeSeriesResponse.Builder 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

        public ListTimeSeriesResponse.Builder 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.  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

        public List<com.google.rpc.Status> 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:
        getExecutionErrorsList in interface ListTimeSeriesResponseOrBuilder
      • 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:
        getExecutionErrorsCount in interface ListTimeSeriesResponseOrBuilder
      • getExecutionErrors

        public com.google.rpc.Status getExecutionErrors​(int index)
         Query execution errors that may have caused the time series data returned
         to be incomplete.
         
        repeated .google.rpc.Status execution_errors = 3;
        Specified by:
        getExecutionErrors in interface ListTimeSeriesResponseOrBuilder
      • setExecutionErrors

        public ListTimeSeriesResponse.Builder setExecutionErrors​(int index,
                                                                 com.google.rpc.Status value)
         Query execution errors that may have caused the time series data returned
         to be incomplete.
         
        repeated .google.rpc.Status execution_errors = 3;
      • setExecutionErrors

        public ListTimeSeriesResponse.Builder setExecutionErrors​(int index,
                                                                 com.google.rpc.Status.Builder builderForValue)
         Query execution errors that may have caused the time series data returned
         to be incomplete.
         
        repeated .google.rpc.Status execution_errors = 3;
      • addExecutionErrors

        public ListTimeSeriesResponse.Builder addExecutionErrors​(com.google.rpc.Status value)
         Query execution errors that may have caused the time series data returned
         to be incomplete.
         
        repeated .google.rpc.Status execution_errors = 3;
      • addExecutionErrors

        public ListTimeSeriesResponse.Builder addExecutionErrors​(int index,
                                                                 com.google.rpc.Status value)
         Query execution errors that may have caused the time series data returned
         to be incomplete.
         
        repeated .google.rpc.Status execution_errors = 3;
      • addExecutionErrors

        public ListTimeSeriesResponse.Builder addExecutionErrors​(com.google.rpc.Status.Builder builderForValue)
         Query execution errors that may have caused the time series data returned
         to be incomplete.
         
        repeated .google.rpc.Status execution_errors = 3;
      • addExecutionErrors

        public ListTimeSeriesResponse.Builder addExecutionErrors​(int index,
                                                                 com.google.rpc.Status.Builder builderForValue)
         Query execution errors that may have caused the time series data returned
         to be incomplete.
         
        repeated .google.rpc.Status execution_errors = 3;
      • addAllExecutionErrors

        public ListTimeSeriesResponse.Builder addAllExecutionErrors​(Iterable<? extends com.google.rpc.Status> values)
         Query execution errors that may have caused the time series data returned
         to be incomplete.
         
        repeated .google.rpc.Status execution_errors = 3;
      • clearExecutionErrors

        public ListTimeSeriesResponse.Builder clearExecutionErrors()
         Query execution errors that may have caused the time series data returned
         to be incomplete.
         
        repeated .google.rpc.Status execution_errors = 3;
      • removeExecutionErrors

        public ListTimeSeriesResponse.Builder removeExecutionErrors​(int index)
         Query execution errors that may have caused the time series data returned
         to be incomplete.
         
        repeated .google.rpc.Status execution_errors = 3;
      • getExecutionErrorsBuilder

        public com.google.rpc.Status.Builder getExecutionErrorsBuilder​(int index)
         Query execution errors that may have caused the time series data returned
         to be incomplete.
         
        repeated .google.rpc.Status execution_errors = 3;
      • getExecutionErrorsOrBuilder

        public com.google.rpc.StatusOrBuilder getExecutionErrorsOrBuilder​(int index)
         Query execution errors that may have caused the time series data returned
         to be incomplete.
         
        repeated .google.rpc.Status execution_errors = 3;
        Specified by:
        getExecutionErrorsOrBuilder in interface ListTimeSeriesResponseOrBuilder
      • getExecutionErrorsOrBuilderList

        public List<? extends com.google.rpc.StatusOrBuilder> 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:
        getExecutionErrorsOrBuilderList in interface ListTimeSeriesResponseOrBuilder
      • addExecutionErrorsBuilder

        public com.google.rpc.Status.Builder addExecutionErrorsBuilder()
         Query execution errors that may have caused the time series data returned
         to be incomplete.
         
        repeated .google.rpc.Status execution_errors = 3;
      • addExecutionErrorsBuilder

        public com.google.rpc.Status.Builder addExecutionErrorsBuilder​(int index)
         Query execution errors that may have caused the time series data returned
         to be incomplete.
         
        repeated .google.rpc.Status execution_errors = 3;
      • getExecutionErrorsBuilderList

        public List<com.google.rpc.Status.Builder> getExecutionErrorsBuilderList()
         Query execution errors that may have caused the time series data returned
         to be incomplete.
         
        repeated .google.rpc.Status execution_errors = 3;
      • getUnit

        public String 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:
        getUnit in interface ListTimeSeriesResponseOrBuilder
        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:
        getUnitBytes in interface ListTimeSeriesResponseOrBuilder
        Returns:
        The bytes for unit.
      • setUnit

        public ListTimeSeriesResponse.Builder setUnit​(String value)
         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

        public ListTimeSeriesResponse.Builder 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

        public ListTimeSeriesResponse.Builder setUnitBytes​(com.google.protobuf.ByteString value)
         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.
      • setUnknownFields

        public final ListTimeSeriesResponse.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ListTimeSeriesResponse.Builder>
      • mergeUnknownFields

        public final ListTimeSeriesResponse.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ListTimeSeriesResponse.Builder>