Package prometheus

Class PrometheusRemote.ReadRequest.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<PrometheusRemote.ReadRequest.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<PrometheusRemote.ReadRequest.Builder>
      • getDefaultInstanceForType

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

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

        public PrometheusRemote.ReadRequest buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • isInitialized

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

        public PrometheusRemote.ReadRequest.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<PrometheusRemote.ReadRequest.Builder>
        Throws:
        IOException
      • getAcceptedResponseTypesList

        public List<PrometheusRemote.ReadRequest.ResponseType> getAcceptedResponseTypesList()
         accepted_response_types allows negotiating the content type of the response.
         Response types are taken from the list in the FIFO order. If no response type in `accepted_response_types` is
         implemented by server, error is returned.
         For request that do not contain `accepted_response_types` field the SAMPLES response type will be used.
         
        repeated .prometheus.ReadRequest.ResponseType accepted_response_types = 2;
        Specified by:
        getAcceptedResponseTypesList in interface PrometheusRemote.ReadRequestOrBuilder
      • getAcceptedResponseTypesCount

        public int getAcceptedResponseTypesCount()
         accepted_response_types allows negotiating the content type of the response.
         Response types are taken from the list in the FIFO order. If no response type in `accepted_response_types` is
         implemented by server, error is returned.
         For request that do not contain `accepted_response_types` field the SAMPLES response type will be used.
         
        repeated .prometheus.ReadRequest.ResponseType accepted_response_types = 2;
        Specified by:
        getAcceptedResponseTypesCount in interface PrometheusRemote.ReadRequestOrBuilder
      • getAcceptedResponseTypes

        public PrometheusRemote.ReadRequest.ResponseType getAcceptedResponseTypes​(int index)
         accepted_response_types allows negotiating the content type of the response.
         Response types are taken from the list in the FIFO order. If no response type in `accepted_response_types` is
         implemented by server, error is returned.
         For request that do not contain `accepted_response_types` field the SAMPLES response type will be used.
         
        repeated .prometheus.ReadRequest.ResponseType accepted_response_types = 2;
        Specified by:
        getAcceptedResponseTypes in interface PrometheusRemote.ReadRequestOrBuilder
      • setAcceptedResponseTypes

        public PrometheusRemote.ReadRequest.Builder setAcceptedResponseTypes​(int index,
                                                                             PrometheusRemote.ReadRequest.ResponseType value)
         accepted_response_types allows negotiating the content type of the response.
         Response types are taken from the list in the FIFO order. If no response type in `accepted_response_types` is
         implemented by server, error is returned.
         For request that do not contain `accepted_response_types` field the SAMPLES response type will be used.
         
        repeated .prometheus.ReadRequest.ResponseType accepted_response_types = 2;
      • addAcceptedResponseTypes

        public PrometheusRemote.ReadRequest.Builder addAcceptedResponseTypes​(PrometheusRemote.ReadRequest.ResponseType value)
         accepted_response_types allows negotiating the content type of the response.
         Response types are taken from the list in the FIFO order. If no response type in `accepted_response_types` is
         implemented by server, error is returned.
         For request that do not contain `accepted_response_types` field the SAMPLES response type will be used.
         
        repeated .prometheus.ReadRequest.ResponseType accepted_response_types = 2;
      • addAllAcceptedResponseTypes

        public PrometheusRemote.ReadRequest.Builder addAllAcceptedResponseTypes​(Iterable<? extends PrometheusRemote.ReadRequest.ResponseType> values)
         accepted_response_types allows negotiating the content type of the response.
         Response types are taken from the list in the FIFO order. If no response type in `accepted_response_types` is
         implemented by server, error is returned.
         For request that do not contain `accepted_response_types` field the SAMPLES response type will be used.
         
        repeated .prometheus.ReadRequest.ResponseType accepted_response_types = 2;
      • clearAcceptedResponseTypes

        public PrometheusRemote.ReadRequest.Builder clearAcceptedResponseTypes()
         accepted_response_types allows negotiating the content type of the response.
         Response types are taken from the list in the FIFO order. If no response type in `accepted_response_types` is
         implemented by server, error is returned.
         For request that do not contain `accepted_response_types` field the SAMPLES response type will be used.
         
        repeated .prometheus.ReadRequest.ResponseType accepted_response_types = 2;
      • getAcceptedResponseTypesValueList

        public List<Integer> getAcceptedResponseTypesValueList()
         accepted_response_types allows negotiating the content type of the response.
         Response types are taken from the list in the FIFO order. If no response type in `accepted_response_types` is
         implemented by server, error is returned.
         For request that do not contain `accepted_response_types` field the SAMPLES response type will be used.
         
        repeated .prometheus.ReadRequest.ResponseType accepted_response_types = 2;
        Specified by:
        getAcceptedResponseTypesValueList in interface PrometheusRemote.ReadRequestOrBuilder
      • getAcceptedResponseTypesValue

        public int getAcceptedResponseTypesValue​(int index)
         accepted_response_types allows negotiating the content type of the response.
         Response types are taken from the list in the FIFO order. If no response type in `accepted_response_types` is
         implemented by server, error is returned.
         For request that do not contain `accepted_response_types` field the SAMPLES response type will be used.
         
        repeated .prometheus.ReadRequest.ResponseType accepted_response_types = 2;
        Specified by:
        getAcceptedResponseTypesValue in interface PrometheusRemote.ReadRequestOrBuilder
      • setAcceptedResponseTypesValue

        public PrometheusRemote.ReadRequest.Builder setAcceptedResponseTypesValue​(int index,
                                                                                  int value)
         accepted_response_types allows negotiating the content type of the response.
         Response types are taken from the list in the FIFO order. If no response type in `accepted_response_types` is
         implemented by server, error is returned.
         For request that do not contain `accepted_response_types` field the SAMPLES response type will be used.
         
        repeated .prometheus.ReadRequest.ResponseType accepted_response_types = 2;
      • addAcceptedResponseTypesValue

        public PrometheusRemote.ReadRequest.Builder addAcceptedResponseTypesValue​(int value)
         accepted_response_types allows negotiating the content type of the response.
         Response types are taken from the list in the FIFO order. If no response type in `accepted_response_types` is
         implemented by server, error is returned.
         For request that do not contain `accepted_response_types` field the SAMPLES response type will be used.
         
        repeated .prometheus.ReadRequest.ResponseType accepted_response_types = 2;
      • addAllAcceptedResponseTypesValue

        public PrometheusRemote.ReadRequest.Builder addAllAcceptedResponseTypesValue​(Iterable<Integer> values)
         accepted_response_types allows negotiating the content type of the response.
         Response types are taken from the list in the FIFO order. If no response type in `accepted_response_types` is
         implemented by server, error is returned.
         For request that do not contain `accepted_response_types` field the SAMPLES response type will be used.
         
        repeated .prometheus.ReadRequest.ResponseType accepted_response_types = 2;