public final class QuerySubscription extends com.google.protobuf.GeneratedMessageV3 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 | Class and Description |
|---|---|
static class |
QuerySubscription.Builder
Message containing details of a Registration of a Query Handler in a component
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable| Modifier and Type | Field and Description |
|---|---|
static int |
CLIENT_ID_FIELD_NUMBER |
static int |
COMPONENT_NAME_FIELD_NUMBER |
static int |
MESSAGE_ID_FIELD_NUMBER |
static int |
NR_OF_HANDLERS_FIELD_NUMBER |
static int |
QUERY_FIELD_NUMBER |
static int |
RESULT_NAME_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
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
|
static QuerySubscription |
getDefaultInstance() |
QuerySubscription |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
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.
|
com.google.protobuf.Parser<QuerySubscription> |
getParserForType() |
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
|
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static QuerySubscription.Builder |
newBuilder() |
static QuerySubscription.Builder |
newBuilder(QuerySubscription prototype) |
QuerySubscription.Builder |
newBuilderForType() |
protected QuerySubscription.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static QuerySubscription |
parseDelimitedFrom(InputStream input) |
static QuerySubscription |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static QuerySubscription |
parseFrom(byte[] data) |
static QuerySubscription |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static QuerySubscription |
parseFrom(ByteBuffer data) |
static QuerySubscription |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static QuerySubscription |
parseFrom(com.google.protobuf.ByteString data) |
static QuerySubscription |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static QuerySubscription |
parseFrom(com.google.protobuf.CodedInputStream input) |
static QuerySubscription |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static QuerySubscription |
parseFrom(InputStream input) |
static QuerySubscription |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<QuerySubscription> |
parser() |
QuerySubscription.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int MESSAGE_ID_FIELD_NUMBER
public static final int QUERY_FIELD_NUMBER
public static final int RESULT_NAME_FIELD_NUMBER
public static final int COMPONENT_NAME_FIELD_NUMBER
public static final int CLIENT_ID_FIELD_NUMBER
public static final int NR_OF_HANDLERS_FIELD_NUMBER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public 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 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 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 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 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 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 final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static QuerySubscription parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static QuerySubscription parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static QuerySubscription parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static QuerySubscription parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static QuerySubscription parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static QuerySubscription parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static QuerySubscription parseFrom(InputStream input) throws IOException
IOExceptionpublic static QuerySubscription parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static QuerySubscription parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static QuerySubscription parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static QuerySubscription parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static QuerySubscription parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic QuerySubscription.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static QuerySubscription.Builder newBuilder()
public static QuerySubscription.Builder newBuilder(QuerySubscription prototype)
public QuerySubscription.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected QuerySubscription.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static QuerySubscription getDefaultInstance()
public static com.google.protobuf.Parser<QuerySubscription> parser()
public com.google.protobuf.Parser<QuerySubscription> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public QuerySubscription getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2010–2020. All rights reserved.