Package io.axoniq.axonserver.grpc.query
Class QuerySubscription.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessage.Builder<QuerySubscription.Builder>
-
- io.axoniq.axonserver.grpc.query.QuerySubscription.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,QuerySubscriptionOrBuilder,Cloneable
- Enclosing class:
- QuerySubscription
public static final class QuerySubscription.Builder extends com.google.protobuf.GeneratedMessage.Builder<QuerySubscription.Builder> implements QuerySubscriptionOrBuilder
Message containing details of a Registration of a Query Handler in a component
Protobuf typeio.axoniq.axonserver.grpc.query.QuerySubscription
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description QuerySubscriptionbuild()QuerySubscriptionbuildPartial()QuerySubscription.Builderclear()QuerySubscription.BuilderclearClientId()The unique identifier of the Client Instance containing the Query HandlerQuerySubscription.BuilderclearComponentName()The name of the Component containing the Query HandlerQuerySubscription.BuilderclearMessageId()The unique identifier of this MessageQuerySubscription.BuilderclearQuery()The name of the Query the Handler is subscribed toQuerySubscription.BuilderclearResultName()The type of Result this Handler producesStringgetClientId()The unique identifier of the Client Instance containing the Query Handlercom.google.protobuf.ByteStringgetClientIdBytes()The unique identifier of the Client Instance containing the Query HandlerStringgetComponentName()The name of the Component containing the Query Handlercom.google.protobuf.ByteStringgetComponentNameBytes()The name of the Component containing the Query HandlerQuerySubscriptiongetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetMessageId()The unique identifier of this Messagecom.google.protobuf.ByteStringgetMessageIdBytes()The unique identifier of this MessageStringgetQuery()The name of the Query the Handler is subscribed tocom.google.protobuf.ByteStringgetQueryBytes()The name of the Query the Handler is subscribed toStringgetResultName()The type of Result this Handler producescom.google.protobuf.ByteStringgetResultNameBytes()The type of Result this Handler producesprotected com.google.protobuf.GeneratedMessage.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()QuerySubscription.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)QuerySubscription.BuildermergeFrom(com.google.protobuf.Message other)QuerySubscription.BuildermergeFrom(QuerySubscription other)QuerySubscription.BuildersetClientId(String value)The unique identifier of the Client Instance containing the Query HandlerQuerySubscription.BuildersetClientIdBytes(com.google.protobuf.ByteString value)The unique identifier of the Client Instance containing the Query HandlerQuerySubscription.BuildersetComponentName(String value)The name of the Component containing the Query HandlerQuerySubscription.BuildersetComponentNameBytes(com.google.protobuf.ByteString value)The name of the Component containing the Query HandlerQuerySubscription.BuildersetMessageId(String value)The unique identifier of this MessageQuerySubscription.BuildersetMessageIdBytes(com.google.protobuf.ByteString value)The unique identifier of this MessageQuerySubscription.BuildersetQuery(String value)The name of the Query the Handler is subscribed toQuerySubscription.BuildersetQueryBytes(com.google.protobuf.ByteString value)The name of the Query the Handler is subscribed toQuerySubscription.BuildersetResultName(String value)The type of Result this Handler producesQuerySubscription.BuildersetResultNameBytes(com.google.protobuf.ByteString value)The type of Result this Handler produces-
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, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
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<QuerySubscription.Builder>
-
clear
public QuerySubscription.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<QuerySubscription.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<QuerySubscription.Builder>
-
getDefaultInstanceForType
public QuerySubscription getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public QuerySubscription build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public QuerySubscription buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public QuerySubscription.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<QuerySubscription.Builder>
-
mergeFrom
public QuerySubscription.Builder mergeFrom(QuerySubscription other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<QuerySubscription.Builder>
-
mergeFrom
public QuerySubscription.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<QuerySubscription.Builder>- Throws:
IOException
-
getMessageId
public String getMessageId()
The unique identifier of this Message
string message_id = 1;- Specified by:
getMessageIdin interfaceQuerySubscriptionOrBuilder- Returns:
- The messageId.
-
getMessageIdBytes
public com.google.protobuf.ByteString getMessageIdBytes()
The unique identifier of this Message
string message_id = 1;- Specified by:
getMessageIdBytesin interfaceQuerySubscriptionOrBuilder- Returns:
- The bytes for messageId.
-
setMessageId
public QuerySubscription.Builder setMessageId(String value)
The unique identifier of this Message
string message_id = 1;- Parameters:
value- The messageId to set.- Returns:
- This builder for chaining.
-
clearMessageId
public QuerySubscription.Builder clearMessageId()
The unique identifier of this Message
string message_id = 1;- Returns:
- This builder for chaining.
-
setMessageIdBytes
public QuerySubscription.Builder setMessageIdBytes(com.google.protobuf.ByteString value)
The unique identifier of this Message
string message_id = 1;- Parameters:
value- The bytes for messageId to set.- Returns:
- This builder for chaining.
-
getQuery
public String getQuery()
The name of the Query the Handler is subscribed to
string query = 2;- Specified by:
getQueryin interfaceQuerySubscriptionOrBuilder- Returns:
- The query.
-
getQueryBytes
public com.google.protobuf.ByteString getQueryBytes()
The name of the Query the Handler is subscribed to
string query = 2;- Specified by:
getQueryBytesin interfaceQuerySubscriptionOrBuilder- Returns:
- The bytes for query.
-
setQuery
public QuerySubscription.Builder setQuery(String value)
The name of the Query the Handler is subscribed to
string query = 2;- Parameters:
value- The query to set.- Returns:
- This builder for chaining.
-
clearQuery
public QuerySubscription.Builder clearQuery()
The name of the Query the Handler is subscribed to
string query = 2;- Returns:
- This builder for chaining.
-
setQueryBytes
public QuerySubscription.Builder setQueryBytes(com.google.protobuf.ByteString value)
The name of the Query the Handler is subscribed to
string query = 2;- Parameters:
value- The bytes for query to set.- Returns:
- This builder for chaining.
-
getResultName
public String getResultName()
The type of Result this Handler produces
string result_name = 3;- Specified by:
getResultNamein interfaceQuerySubscriptionOrBuilder- Returns:
- The resultName.
-
getResultNameBytes
public com.google.protobuf.ByteString getResultNameBytes()
The type of Result this Handler produces
string result_name = 3;- Specified by:
getResultNameBytesin interfaceQuerySubscriptionOrBuilder- Returns:
- The bytes for resultName.
-
setResultName
public QuerySubscription.Builder setResultName(String value)
The type of Result this Handler produces
string result_name = 3;- Parameters:
value- The resultName to set.- Returns:
- This builder for chaining.
-
clearResultName
public QuerySubscription.Builder clearResultName()
The type of Result this Handler produces
string result_name = 3;- Returns:
- This builder for chaining.
-
setResultNameBytes
public QuerySubscription.Builder setResultNameBytes(com.google.protobuf.ByteString value)
The type of Result this Handler produces
string result_name = 3;- Parameters:
value- The bytes for resultName to set.- Returns:
- This builder for chaining.
-
getComponentName
public String getComponentName()
The name of the Component containing the Query Handler
string component_name = 4;- Specified by:
getComponentNamein interfaceQuerySubscriptionOrBuilder- Returns:
- The componentName.
-
getComponentNameBytes
public com.google.protobuf.ByteString getComponentNameBytes()
The name of the Component containing the Query Handler
string component_name = 4;- Specified by:
getComponentNameBytesin interfaceQuerySubscriptionOrBuilder- Returns:
- The bytes for componentName.
-
setComponentName
public QuerySubscription.Builder setComponentName(String value)
The name of the Component containing the Query Handler
string component_name = 4;- Parameters:
value- The componentName to set.- Returns:
- This builder for chaining.
-
clearComponentName
public QuerySubscription.Builder clearComponentName()
The name of the Component containing the Query Handler
string component_name = 4;- Returns:
- This builder for chaining.
-
setComponentNameBytes
public QuerySubscription.Builder setComponentNameBytes(com.google.protobuf.ByteString value)
The name of the Component containing the Query Handler
string component_name = 4;- Parameters:
value- The bytes for componentName to set.- Returns:
- This builder for chaining.
-
getClientId
public String getClientId()
The unique identifier of the Client Instance containing the Query Handler
string client_id = 5;- Specified by:
getClientIdin interfaceQuerySubscriptionOrBuilder- Returns:
- The clientId.
-
getClientIdBytes
public com.google.protobuf.ByteString getClientIdBytes()
The unique identifier of the Client Instance containing the Query Handler
string client_id = 5;- Specified by:
getClientIdBytesin interfaceQuerySubscriptionOrBuilder- Returns:
- The bytes for clientId.
-
setClientId
public QuerySubscription.Builder setClientId(String value)
The unique identifier of the Client Instance containing the Query Handler
string client_id = 5;- Parameters:
value- The clientId to set.- Returns:
- This builder for chaining.
-
clearClientId
public QuerySubscription.Builder clearClientId()
The unique identifier of the Client Instance containing the Query Handler
string client_id = 5;- Returns:
- This builder for chaining.
-
setClientIdBytes
public QuerySubscription.Builder setClientIdBytes(com.google.protobuf.ByteString value)
The unique identifier of the Client Instance containing the Query Handler
string client_id = 5;- Parameters:
value- The bytes for clientId to set.- Returns:
- This builder for chaining.
-
-