Class QueryTimeSeriesResponse.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<QueryTimeSeriesResponse.Builder>
      • clear

        public QueryTimeSeriesResponse.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<QueryTimeSeriesResponse.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<QueryTimeSeriesResponse.Builder>
      • getDefaultInstanceForType

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

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

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

        public QueryTimeSeriesResponse.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<QueryTimeSeriesResponse.Builder>
      • clearField

        public QueryTimeSeriesResponse.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<QueryTimeSeriesResponse.Builder>
      • clearOneof

        public QueryTimeSeriesResponse.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<QueryTimeSeriesResponse.Builder>
      • setRepeatedField

        public QueryTimeSeriesResponse.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<QueryTimeSeriesResponse.Builder>
      • addRepeatedField

        public QueryTimeSeriesResponse.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<QueryTimeSeriesResponse.Builder>
      • isInitialized

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

        public QueryTimeSeriesResponse.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<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:
        hasTimeSeriesDescriptor in interface QueryTimeSeriesResponseOrBuilder
        Returns:
        Whether the timeSeriesDescriptor field is set.
      • clearTimeSeriesDescriptor

        public QueryTimeSeriesResponse.Builder clearTimeSeriesDescriptor()
         The descriptor for the time series data.
         
        .google.monitoring.v3.TimeSeriesDescriptor time_series_descriptor = 8;
      • getTimeSeriesDescriptorBuilder

        public TimeSeriesDescriptor.Builder getTimeSeriesDescriptorBuilder()
         The descriptor for the time series data.
         
        .google.monitoring.v3.TimeSeriesDescriptor time_series_descriptor = 8;
      • clearTimeSeriesData

        public QueryTimeSeriesResponse.Builder clearTimeSeriesData()
         The time series data.
         
        repeated .google.monitoring.v3.TimeSeriesData time_series_data = 9;
      • removeTimeSeriesData

        public QueryTimeSeriesResponse.Builder removeTimeSeriesData​(int index)
         The time series data.
         
        repeated .google.monitoring.v3.TimeSeriesData time_series_data = 9;
      • getTimeSeriesDataBuilder

        public TimeSeriesData.Builder getTimeSeriesDataBuilder​(int index)
         The time series data.
         
        repeated .google.monitoring.v3.TimeSeriesData time_series_data = 9;
      • addTimeSeriesDataBuilder

        public TimeSeriesData.Builder addTimeSeriesDataBuilder()
         The time series data.
         
        repeated .google.monitoring.v3.TimeSeriesData time_series_data = 9;
      • addTimeSeriesDataBuilder

        public TimeSeriesData.Builder addTimeSeriesDataBuilder​(int index)
         The time series data.
         
        repeated .google.monitoring.v3.TimeSeriesData time_series_data = 9;
      • getTimeSeriesDataBuilderList

        public List<TimeSeriesData.Builder> getTimeSeriesDataBuilderList()
         The time series data.
         
        repeated .google.monitoring.v3.TimeSeriesData time_series_data = 9;
      • 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 = 10;
        Specified by:
        getNextPageToken in interface QueryTimeSeriesResponseOrBuilder
        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:
        getNextPageTokenBytes in interface QueryTimeSeriesResponseOrBuilder
        Returns:
        The bytes for nextPageToken.
      • setNextPageToken

        public QueryTimeSeriesResponse.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 = 10;
        Parameters:
        value - The nextPageToken to set.
        Returns:
        This builder for chaining.
      • clearNextPageToken

        public QueryTimeSeriesResponse.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 = 10;
        Returns:
        This builder for chaining.
      • setNextPageTokenBytes

        public QueryTimeSeriesResponse.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 = 10;
        Parameters:
        value - The bytes for nextPageToken to set.
        Returns:
        This builder for chaining.
      • getPartialErrorsList

        public List<com.google.rpc.Status> 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:
        getPartialErrorsList in interface QueryTimeSeriesResponseOrBuilder
      • 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:
        getPartialErrorsCount in interface QueryTimeSeriesResponseOrBuilder
      • getPartialErrors

        public com.google.rpc.Status getPartialErrors​(int index)
         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:
        getPartialErrors in interface QueryTimeSeriesResponseOrBuilder
      • setPartialErrors

        public QueryTimeSeriesResponse.Builder setPartialErrors​(int index,
                                                                com.google.rpc.Status value)
         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

        public QueryTimeSeriesResponse.Builder setPartialErrors​(int index,
                                                                com.google.rpc.Status.Builder builderForValue)
         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

        public QueryTimeSeriesResponse.Builder addPartialErrors​(com.google.rpc.Status value)
         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

        public QueryTimeSeriesResponse.Builder addPartialErrors​(int index,
                                                                com.google.rpc.Status value)
         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

        public QueryTimeSeriesResponse.Builder addPartialErrors​(com.google.rpc.Status.Builder builderForValue)
         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

        public QueryTimeSeriesResponse.Builder addPartialErrors​(int index,
                                                                com.google.rpc.Status.Builder builderForValue)
         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

        public QueryTimeSeriesResponse.Builder addAllPartialErrors​(Iterable<? extends com.google.rpc.Status> values)
         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

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

        public QueryTimeSeriesResponse.Builder removePartialErrors​(int index)
         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

        public com.google.rpc.Status.Builder getPartialErrorsBuilder​(int index)
         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

        public com.google.rpc.StatusOrBuilder getPartialErrorsOrBuilder​(int index)
         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:
        getPartialErrorsOrBuilder in interface QueryTimeSeriesResponseOrBuilder
      • getPartialErrorsOrBuilderList

        public List<? extends com.google.rpc.StatusOrBuilder> 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:
        getPartialErrorsOrBuilderList in interface QueryTimeSeriesResponseOrBuilder
      • addPartialErrorsBuilder

        public com.google.rpc.Status.Builder 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

        public com.google.rpc.Status.Builder addPartialErrorsBuilder​(int index)
         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

        public List<com.google.rpc.Status.Builder> 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;
      • setUnknownFields

        public final QueryTimeSeriesResponse.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<QueryTimeSeriesResponse.Builder>
      • mergeUnknownFields

        public final QueryTimeSeriesResponse.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<QueryTimeSeriesResponse.Builder>