public static final class QuerySubscription.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<QuerySubscription.Builder> implements QuerySubscriptionOrBuilder
Message containing details of a Registration of a Query Handler in a componentProtobuf type
io.axoniq.axonserver.grpc.query.QuerySubscription| Modifier and Type | Method and Description |
|---|---|
QuerySubscription.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
QuerySubscription |
build() |
QuerySubscription |
buildPartial() |
QuerySubscription.Builder |
clear() |
QuerySubscription.Builder |
clearClientId()
The unique identifier of the Client Instance containing the Query Handler
|
QuerySubscription.Builder |
clearComponentName()
The name of the Component containing the Query Handler
|
QuerySubscription.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
QuerySubscription.Builder |
clearMessageId()
The unique identifier of this Message
|
QuerySubscription.Builder |
clearNrOfHandlers()
The number of Query Handlers registered within this Component with the same details.
|
QuerySubscription.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
QuerySubscription.Builder |
clearQuery()
The name of the Query the Handler is subscribed to
|
QuerySubscription.Builder |
clearResultName()
The type of Result this Handler produces
|
QuerySubscription.Builder |
clone() |
String |
getClientId()
The unique identifier of the Client Instance containing the Query Handler
|
com.google.protobuf.ByteString |
getClientIdBytes()
The unique identifier of the Client Instance containing the Query Handler
|
String |
getComponentName()
The name of the Component containing the Query Handler
|
com.google.protobuf.ByteString |
getComponentNameBytes()
The name of the Component containing the Query Handler
|
QuerySubscription |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getMessageId()
The unique identifier of this Message
|
com.google.protobuf.ByteString |
getMessageIdBytes()
The unique identifier of this Message
|
int |
getNrOfHandlers()
The number of Query Handlers registered within this Component with the same details.
|
String |
getQuery()
The name of the Query the Handler is subscribed to
|
com.google.protobuf.ByteString |
getQueryBytes()
The name of the Query the Handler is subscribed to
|
String |
getResultName()
The type of Result this Handler produces
|
com.google.protobuf.ByteString |
getResultNameBytes()
The type of Result this Handler produces
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
QuerySubscription.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
QuerySubscription.Builder |
mergeFrom(com.google.protobuf.Message other) |
QuerySubscription.Builder |
mergeFrom(QuerySubscription other) |
QuerySubscription.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
QuerySubscription.Builder |
setClientId(String value)
The unique identifier of the Client Instance containing the Query Handler
|
QuerySubscription.Builder |
setClientIdBytes(com.google.protobuf.ByteString value)
The unique identifier of the Client Instance containing the Query Handler
|
QuerySubscription.Builder |
setComponentName(String value)
The name of the Component containing the Query Handler
|
QuerySubscription.Builder |
setComponentNameBytes(com.google.protobuf.ByteString value)
The name of the Component containing the Query Handler
|
QuerySubscription.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
QuerySubscription.Builder |
setMessageId(String value)
The unique identifier of this Message
|
QuerySubscription.Builder |
setMessageIdBytes(com.google.protobuf.ByteString value)
The unique identifier of this Message
|
QuerySubscription.Builder |
setNrOfHandlers(int value)
The number of Query Handlers registered within this Component with the same details.
|
QuerySubscription.Builder |
setQuery(String value)
The name of the Query the Handler is subscribed to
|
QuerySubscription.Builder |
setQueryBytes(com.google.protobuf.ByteString value)
The name of the Query the Handler is subscribed to
|
QuerySubscription.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
QuerySubscription.Builder |
setResultName(String value)
The type of Result this Handler produces
|
QuerySubscription.Builder |
setResultNameBytes(com.google.protobuf.ByteString value)
The type of Result this Handler produces
|
QuerySubscription.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<QuerySubscription.Builder>public QuerySubscription.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<QuerySubscription.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<QuerySubscription.Builder>public QuerySubscription getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic QuerySubscription build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic QuerySubscription buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic QuerySubscription.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<QuerySubscription.Builder>public QuerySubscription.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<QuerySubscription.Builder>public QuerySubscription.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<QuerySubscription.Builder>public QuerySubscription.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<QuerySubscription.Builder>public QuerySubscription.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<QuerySubscription.Builder>public QuerySubscription.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<QuerySubscription.Builder>public QuerySubscription.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<QuerySubscription.Builder>public QuerySubscription.Builder mergeFrom(QuerySubscription other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<QuerySubscription.Builder>public QuerySubscription.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<QuerySubscription.Builder>IOExceptionpublic String getMessageId()
The unique identifier of this Message
string message_id = 1;getMessageId in interface QuerySubscriptionOrBuilderpublic com.google.protobuf.ByteString getMessageIdBytes()
The unique identifier of this Message
string message_id = 1;getMessageIdBytes in interface QuerySubscriptionOrBuilderpublic QuerySubscription.Builder setMessageId(String value)
The unique identifier of this Message
string message_id = 1;public QuerySubscription.Builder clearMessageId()
The unique identifier of this Message
string message_id = 1;public QuerySubscription.Builder setMessageIdBytes(com.google.protobuf.ByteString value)
The unique identifier of this Message
string message_id = 1;public String getQuery()
The name of the Query the Handler is subscribed to
string query = 2;getQuery in interface QuerySubscriptionOrBuilderpublic com.google.protobuf.ByteString getQueryBytes()
The name of the Query the Handler is subscribed to
string query = 2;getQueryBytes in interface QuerySubscriptionOrBuilderpublic QuerySubscription.Builder setQuery(String value)
The name of the Query the Handler is subscribed to
string query = 2;public QuerySubscription.Builder clearQuery()
The name of the Query the Handler is subscribed to
string query = 2;public QuerySubscription.Builder setQueryBytes(com.google.protobuf.ByteString value)
The name of the Query the Handler is subscribed to
string query = 2;public String getResultName()
The type of Result this Handler produces
string result_name = 3;getResultName in interface QuerySubscriptionOrBuilderpublic com.google.protobuf.ByteString getResultNameBytes()
The type of Result this Handler produces
string result_name = 3;getResultNameBytes in interface QuerySubscriptionOrBuilderpublic QuerySubscription.Builder setResultName(String value)
The type of Result this Handler produces
string result_name = 3;public QuerySubscription.Builder clearResultName()
The type of Result this Handler produces
string result_name = 3;public QuerySubscription.Builder setResultNameBytes(com.google.protobuf.ByteString value)
The type of Result this Handler produces
string result_name = 3;public String getComponentName()
The name of the Component containing the Query Handler
string component_name = 4;getComponentName in interface QuerySubscriptionOrBuilderpublic com.google.protobuf.ByteString getComponentNameBytes()
The name of the Component containing the Query Handler
string component_name = 4;getComponentNameBytes in interface QuerySubscriptionOrBuilderpublic QuerySubscription.Builder setComponentName(String value)
The name of the Component containing the Query Handler
string component_name = 4;public QuerySubscription.Builder clearComponentName()
The name of the Component containing the Query Handler
string component_name = 4;public QuerySubscription.Builder setComponentNameBytes(com.google.protobuf.ByteString value)
The name of the Component containing the Query Handler
string component_name = 4;public String getClientId()
The unique identifier of the Client Instance containing the Query Handler
string client_id = 5;getClientId in interface QuerySubscriptionOrBuilderpublic com.google.protobuf.ByteString getClientIdBytes()
The unique identifier of the Client Instance containing the Query Handler
string client_id = 5;getClientIdBytes in interface QuerySubscriptionOrBuilderpublic QuerySubscription.Builder setClientId(String value)
The unique identifier of the Client Instance containing the Query Handler
string client_id = 5;public QuerySubscription.Builder clearClientId()
The unique identifier of the Client Instance containing the Query Handler
string client_id = 5;public QuerySubscription.Builder setClientIdBytes(com.google.protobuf.ByteString value)
The unique identifier of the Client Instance containing the Query Handler
string client_id = 5;public int getNrOfHandlers()
The number of Query Handlers registered within this Component with the same details. This number is used to calculate the number of candidates for Scatter-Gather Queries.
int32 nr_of_handlers = 6;getNrOfHandlers in interface QuerySubscriptionOrBuilderpublic QuerySubscription.Builder setNrOfHandlers(int value)
The number of Query Handlers registered within this Component with the same details. This number is used to calculate the number of candidates for Scatter-Gather Queries.
int32 nr_of_handlers = 6;public QuerySubscription.Builder clearNrOfHandlers()
The number of Query Handlers registered within this Component with the same details. This number is used to calculate the number of candidates for Scatter-Gather Queries.
int32 nr_of_handlers = 6;public final QuerySubscription.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<QuerySubscription.Builder>public final QuerySubscription.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<QuerySubscription.Builder>Copyright © 2010–2020. All rights reserved.