Class TopologyChange

  • All Implemented Interfaces:
    com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, TopologyChangeOrBuilder, Serializable

    @Generated
    public final class TopologyChange
    extends com.google.protobuf.GeneratedMessage
    implements TopologyChangeOrBuilder
    Protobuf type io.axoniq.axonserver.grpc.control.TopologyChange
    See Also:
    Serialized Form
    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessage
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
      • getUpdateTypeValue

        public int getUpdateTypeValue()
        .io.axoniq.axonserver.grpc.control.UpdateType update_type = 1;
        Specified by:
        getUpdateTypeValue in interface TopologyChangeOrBuilder
        Returns:
        The enum numeric value on the wire for updateType.
      • getContextBytes

        public com.google.protobuf.ByteString getContextBytes()
        string context = 2;
        Specified by:
        getContextBytes in interface TopologyChangeOrBuilder
        Returns:
        The bytes for context.
      • getClientId

        public String getClientId()
         The client ID of the component requesting the update
         
        string client_id = 3;
        Specified by:
        getClientId in interface TopologyChangeOrBuilder
        Returns:
        The clientId.
      • getClientIdBytes

        public com.google.protobuf.ByteString getClientIdBytes()
         The client ID of the component requesting the update
         
        string client_id = 3;
        Specified by:
        getClientIdBytes in interface TopologyChangeOrBuilder
        Returns:
        The bytes for clientId.
      • getClientStreamId

        public String getClientStreamId()
         The client ID of the component requesting the update
         
        string client_stream_id = 4;
        Specified by:
        getClientStreamId in interface TopologyChangeOrBuilder
        Returns:
        The clientStreamId.
      • getClientStreamIdBytes

        public com.google.protobuf.ByteString getClientStreamIdBytes()
         The client ID of the component requesting the update
         
        string client_stream_id = 4;
        Specified by:
        getClientStreamIdBytes in interface TopologyChangeOrBuilder
        Returns:
        The bytes for clientStreamId.
      • getComponentName

        public String getComponentName()
         The name of the component requesting the update
         
        string component_name = 5;
        Specified by:
        getComponentName in interface TopologyChangeOrBuilder
        Returns:
        The componentName.
      • getComponentNameBytes

        public com.google.protobuf.ByteString getComponentNameBytes()
         The name of the component requesting the update
         
        string component_name = 5;
        Specified by:
        getComponentNameBytes in interface TopologyChangeOrBuilder
        Returns:
        The bytes for componentName.
      • hasCommand

        public boolean hasCommand()
         The subscription ID to add or remove
         
        .io.axoniq.axonserver.grpc.control.CommandSubscription command = 6;
        Specified by:
        hasCommand in interface TopologyChangeOrBuilder
        Returns:
        Whether the command field is set.
      • hasQuery

        public boolean hasQuery()
         The processor name to add or remove
         
        .io.axoniq.axonserver.grpc.control.QuerySubscription query = 7;
        Specified by:
        hasQuery in interface TopologyChangeOrBuilder
        Returns:
        Whether the query field is set.
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessage
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessage
        Throws:
        IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessage
      • equals

        public boolean equals​(Object obj)
        Specified by:
        equals in interface com.google.protobuf.Message
        Overrides:
        equals in class com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface com.google.protobuf.Message
        Overrides:
        hashCode in class com.google.protobuf.AbstractMessage
      • parseFrom

        public static TopologyChange parseFrom​(ByteBuffer data)
                                        throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static TopologyChange parseFrom​(ByteBuffer data,
                                               com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                        throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static TopologyChange parseFrom​(com.google.protobuf.ByteString data)
                                        throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static TopologyChange parseFrom​(com.google.protobuf.ByteString data,
                                               com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                        throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static TopologyChange parseFrom​(byte[] data)
                                        throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static TopologyChange parseFrom​(byte[] data,
                                               com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                        throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static TopologyChange parseFrom​(com.google.protobuf.CodedInputStream input,
                                               com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                        throws IOException
        Throws:
        IOException
      • newBuilderForType

        public TopologyChange.Builder newBuilderForType()
        Specified by:
        newBuilderForType in interface com.google.protobuf.Message
        Specified by:
        newBuilderForType in interface com.google.protobuf.MessageLite
      • toBuilder

        public TopologyChange.Builder toBuilder()
        Specified by:
        toBuilder in interface com.google.protobuf.Message
        Specified by:
        toBuilder in interface com.google.protobuf.MessageLite
      • newBuilderForType

        protected TopologyChange.Builder newBuilderForType​(com.google.protobuf.AbstractMessage.BuilderParent parent)
        Overrides:
        newBuilderForType in class com.google.protobuf.AbstractMessage
      • getDefaultInstance

        public static TopologyChange getDefaultInstance()
      • parser

        public static com.google.protobuf.Parser<TopologyChange> parser()
      • getParserForType

        public com.google.protobuf.Parser<TopologyChange> getParserForType()
        Specified by:
        getParserForType in interface com.google.protobuf.Message
        Specified by:
        getParserForType in interface com.google.protobuf.MessageLite
        Overrides:
        getParserForType in class com.google.protobuf.GeneratedMessage
      • getDefaultInstanceForType

        public TopologyChange getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder