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, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public 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.MessageOrBuilder
getUnknownFields
in class com.google.protobuf.GeneratedMessageV3
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3
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 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 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 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 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 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 final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
writeTo
in interface com.google.protobuf.MessageLite
writeTo
in class com.google.protobuf.GeneratedMessageV3
IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
getSerializedSize
in class com.google.protobuf.GeneratedMessageV3
public boolean equals(Object obj)
equals
in interface com.google.protobuf.Message
equals
in class com.google.protobuf.AbstractMessage
public int hashCode()
hashCode
in interface com.google.protobuf.Message
hashCode
in class com.google.protobuf.AbstractMessage
public static QuerySubscription parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static QuerySubscription parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static QuerySubscription parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static QuerySubscription parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static QuerySubscription parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static QuerySubscription parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static QuerySubscription parseFrom(InputStream input) throws IOException
IOException
public static QuerySubscription parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static QuerySubscription parseDelimitedFrom(InputStream input) throws IOException
IOException
public static QuerySubscription parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static QuerySubscription parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static QuerySubscription parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public QuerySubscription.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static QuerySubscription.Builder newBuilder()
public static QuerySubscription.Builder newBuilder(QuerySubscription prototype)
public QuerySubscription.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected QuerySubscription.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessageV3
public static QuerySubscription getDefaultInstance()
public static com.google.protobuf.Parser<QuerySubscription> parser()
public com.google.protobuf.Parser<QuerySubscription> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessageV3
public QuerySubscription getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
Copyright © 2010–2020. All rights reserved.