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 Summary
Modifier and TypeMethodDescriptiongetAcceptedResponseTypes(int index) accepted_response_types allows negotiating the content type of the response.intaccepted_response_types allows negotiating the content type of the response.accepted_response_types allows negotiating the content type of the response.intgetAcceptedResponseTypesValue(int index) accepted_response_types allows negotiating the content type of the response.accepted_response_types allows negotiating the content type of the response.getQueries(int index) repeated .prometheus.Query queries = 1;intrepeated .prometheus.Query queries = 1;repeated .prometheus.Query queries = 1;getQueriesOrBuilder(int index) repeated .prometheus.Query queries = 1;List<? extends Remote.QueryOrBuilder>repeated .prometheus.Query queries = 1;Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getQueriesList
List<Remote.Query> getQueriesList()repeated .prometheus.Query queries = 1; -
getQueries
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
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
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
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.
-