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, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public 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.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<QuerySubscription.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<QuerySubscription.Builder>
public QuerySubscription getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public QuerySubscription build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public QuerySubscription buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public QuerySubscription.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
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.Builder
setField
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.Builder
clearField
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.Builder
clearOneof
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.Builder
setRepeatedField
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.Builder
addRepeatedField
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.Builder
mergeFrom
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.MessageLiteOrBuilder
isInitialized
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.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<QuerySubscription.Builder>
IOException
public String getMessageId()
The unique identifier of this Message
string message_id = 1;
getMessageId
in interface QuerySubscriptionOrBuilder
public com.google.protobuf.ByteString getMessageIdBytes()
The unique identifier of this Message
string message_id = 1;
getMessageIdBytes
in interface QuerySubscriptionOrBuilder
public 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 QuerySubscriptionOrBuilder
public com.google.protobuf.ByteString getQueryBytes()
The name of the Query the Handler is subscribed to
string query = 2;
getQueryBytes
in interface QuerySubscriptionOrBuilder
public 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 QuerySubscriptionOrBuilder
public com.google.protobuf.ByteString getResultNameBytes()
The type of Result this Handler produces
string result_name = 3;
getResultNameBytes
in interface QuerySubscriptionOrBuilder
public 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 QuerySubscriptionOrBuilder
public com.google.protobuf.ByteString getComponentNameBytes()
The name of the Component containing the Query Handler
string component_name = 4;
getComponentNameBytes
in interface QuerySubscriptionOrBuilder
public 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 QuerySubscriptionOrBuilder
public com.google.protobuf.ByteString getClientIdBytes()
The unique identifier of the Client Instance containing the Query Handler
string client_id = 5;
getClientIdBytes
in interface QuerySubscriptionOrBuilder
public 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 QuerySubscriptionOrBuilder
public 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.Builder
setUnknownFields
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.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<QuerySubscription.Builder>
Copyright © 2010–2020. All rights reserved.