Package prometheus
Class Remote.ReadRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Remote.ReadRequest.Builder>
prometheus.Remote.ReadRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable,Remote.ReadRequestOrBuilder
- Enclosing class:
- Remote.ReadRequest
public static final class Remote.ReadRequest.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Remote.ReadRequest.Builder>
implements Remote.ReadRequestOrBuilder
ReadRequest represents a remote read request.Protobuf type
prometheus.ReadRequest-
Method Summary
Modifier and TypeMethodDescriptionaccepted_response_types allows negotiating the content type of the response.addAcceptedResponseTypesValue(int value) accepted_response_types allows negotiating the content type of the response.addAllAcceptedResponseTypes(Iterable<? extends Remote.ReadRequest.ResponseType> values) accepted_response_types allows negotiating the content type of the response.accepted_response_types allows negotiating the content type of the response.addAllQueries(Iterable<? extends Remote.Query> values) repeated .prometheus.Query queries = 1;addQueries(int index, Remote.Query value) repeated .prometheus.Query queries = 1;addQueries(int index, Remote.Query.Builder builderForValue) repeated .prometheus.Query queries = 1;addQueries(Remote.Query value) repeated .prometheus.Query queries = 1;addQueries(Remote.Query.Builder builderForValue) repeated .prometheus.Query queries = 1;repeated .prometheus.Query queries = 1;addQueriesBuilder(int index) repeated .prometheus.Query queries = 1;build()clear()accepted_response_types allows negotiating the content type of the response.repeated .prometheus.Query queries = 1;getAcceptedResponseTypes(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.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetQueries(int index) repeated .prometheus.Query queries = 1;getQueriesBuilder(int index) repeated .prometheus.Query queries = 1;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;protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(Remote.ReadRequest other) removeQueries(int index) repeated .prometheus.Query queries = 1;setAcceptedResponseTypes(int index, Remote.ReadRequest.ResponseType value) accepted_response_types allows negotiating the content type of the response.setAcceptedResponseTypesValue(int index, int value) accepted_response_types allows negotiating the content type of the response.setQueries(int index, Remote.Query value) repeated .prometheus.Query queries = 1;setQueries(int index, Remote.Query.Builder builderForValue) repeated .prometheus.Query queries = 1;Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<Remote.ReadRequest.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<Remote.ReadRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<Remote.ReadRequest.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Remote.ReadRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Remote.ReadRequest.Builder>
-
mergeFrom
public Remote.ReadRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Remote.ReadRequest.Builder>- Throws:
IOException
-
getQueriesList
repeated .prometheus.Query queries = 1;- Specified by:
getQueriesListin interfaceRemote.ReadRequestOrBuilder
-
getQueriesCount
public int getQueriesCount()repeated .prometheus.Query queries = 1;- Specified by:
getQueriesCountin interfaceRemote.ReadRequestOrBuilder
-
getQueries
repeated .prometheus.Query queries = 1;- Specified by:
getQueriesin interfaceRemote.ReadRequestOrBuilder
-
setQueries
repeated .prometheus.Query queries = 1; -
setQueries
repeated .prometheus.Query queries = 1; -
addQueries
repeated .prometheus.Query queries = 1; -
addQueries
repeated .prometheus.Query queries = 1; -
addQueries
repeated .prometheus.Query queries = 1; -
addQueries
repeated .prometheus.Query queries = 1; -
addAllQueries
repeated .prometheus.Query queries = 1; -
clearQueries
repeated .prometheus.Query queries = 1; -
removeQueries
repeated .prometheus.Query queries = 1; -
getQueriesBuilder
repeated .prometheus.Query queries = 1; -
getQueriesOrBuilder
repeated .prometheus.Query queries = 1;- Specified by:
getQueriesOrBuilderin interfaceRemote.ReadRequestOrBuilder
-
getQueriesOrBuilderList
repeated .prometheus.Query queries = 1;- Specified by:
getQueriesOrBuilderListin interfaceRemote.ReadRequestOrBuilder
-
addQueriesBuilder
repeated .prometheus.Query queries = 1; -
addQueriesBuilder
repeated .prometheus.Query queries = 1; -
getQueriesBuilderList
repeated .prometheus.Query queries = 1; -
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:
getAcceptedResponseTypesListin interfaceRemote.ReadRequestOrBuilder- Returns:
- A list containing the acceptedResponseTypes.
-
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:
getAcceptedResponseTypesCountin interfaceRemote.ReadRequestOrBuilder- 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;- Specified by:
getAcceptedResponseTypesin interfaceRemote.ReadRequestOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The acceptedResponseTypes at the given index.
-
setAcceptedResponseTypes
public Remote.ReadRequest.Builder setAcceptedResponseTypes(int index, Remote.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;- Parameters:
index- The index to set the value at.value- The acceptedResponseTypes to set.- Returns:
- This builder for chaining.
-
addAcceptedResponseTypes
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:
value- The acceptedResponseTypes to add.- Returns:
- This builder for chaining.
-
addAllAcceptedResponseTypes
public Remote.ReadRequest.Builder addAllAcceptedResponseTypes(Iterable<? extends Remote.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;- Parameters:
values- The acceptedResponseTypes to add.- Returns:
- This builder for chaining.
-
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;- Returns:
- This builder for chaining.
-
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:
getAcceptedResponseTypesValueListin interfaceRemote.ReadRequestOrBuilder- Returns:
- A list containing the enum numeric values on the wire for acceptedResponseTypes.
-
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:
getAcceptedResponseTypesValuein interfaceRemote.ReadRequestOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The enum numeric value on the wire of acceptedResponseTypes at the given index.
-
setAcceptedResponseTypesValue
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 to set the value at.value- The enum numeric value on the wire for acceptedResponseTypes to set.- Returns:
- This builder for chaining.
-
addAcceptedResponseTypesValue
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:
value- The enum numeric value on the wire for acceptedResponseTypes to add.- Returns:
- This builder for chaining.
-
addAllAcceptedResponseTypesValue
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:
values- The enum numeric values on the wire for acceptedResponseTypes to add.- Returns:
- This builder for chaining.
-