Package prometheus

Interface Remote.ReadRequestOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
Remote.ReadRequest, Remote.ReadRequest.Builder
Enclosing class:
Remote

public static interface Remote.ReadRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getQueriesList

      List<Remote.Query> getQueriesList()
      repeated .prometheus.Query queries = 1;
    • getQueries

      Remote.Query getQueries(int index)
      repeated .prometheus.Query queries = 1;
    • getQueriesCount

      int getQueriesCount()
      repeated .prometheus.Query queries = 1;
    • getQueriesOrBuilderList

      List<? extends Remote.QueryOrBuilder> getQueriesOrBuilderList()
      repeated .prometheus.Query queries = 1;
    • getQueriesOrBuilder

      Remote.QueryOrBuilder getQueriesOrBuilder(int index)
      repeated .prometheus.Query queries = 1;
    • getAcceptedResponseTypesList

      List<Remote.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;
      Returns:
      A list containing the acceptedResponseTypes.
    • getAcceptedResponseTypesCount

      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;
      Returns:
      The count of acceptedResponseTypes.
    • getAcceptedResponseTypes

      Remote.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;
      Parameters:
      index - The index of the element to return.
      Returns:
      The acceptedResponseTypes at the given index.
    • getAcceptedResponseTypesValueList

      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;
      Returns:
      A list containing the enum numeric values on the wire for acceptedResponseTypes.
    • getAcceptedResponseTypesValue

      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;
      Parameters:
      index - The index of the value to return.
      Returns:
      The enum numeric value on the wire of acceptedResponseTypes at the given index.