Class TopologyChange.Builder

  • All Implemented Interfaces:
    com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, TopologyChangeOrBuilder, Cloneable
    Enclosing class:
    TopologyChange

    public static final class TopologyChange.Builder
    extends com.google.protobuf.GeneratedMessage.Builder<TopologyChange.Builder>
    implements TopologyChangeOrBuilder
    Protobuf type io.axoniq.axonserver.grpc.control.TopologyChange
    • Method Detail

      • getDescriptor

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

        protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<TopologyChange.Builder>
      • clear

        public TopologyChange.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessage.Builder<TopologyChange.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<TopologyChange.Builder>
      • getDefaultInstanceForType

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

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

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

        public TopologyChange.Builder mergeFrom​(com.google.protobuf.Message other)
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<TopologyChange.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessage.Builder<TopologyChange.Builder>
      • mergeFrom

        public TopologyChange.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                         throws IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<TopologyChange.Builder>
        Throws:
        IOException
      • 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.
      • setUpdateTypeValue

        public TopologyChange.Builder setUpdateTypeValue​(int value)
        .io.axoniq.axonserver.grpc.control.UpdateType update_type = 1;
        Parameters:
        value - The enum numeric value on the wire for updateType to set.
        Returns:
        This builder for chaining.
        Throws:
        IllegalArgumentException - if UNRECOGNIZED is provided.
      • setUpdateType

        public TopologyChange.Builder setUpdateType​(UpdateType value)
        .io.axoniq.axonserver.grpc.control.UpdateType update_type = 1;
        Parameters:
        value - The updateType to set.
        Returns:
        This builder for chaining.
      • clearUpdateType

        public TopologyChange.Builder clearUpdateType()
        .io.axoniq.axonserver.grpc.control.UpdateType update_type = 1;
        Returns:
        This builder for chaining.
      • getContextBytes

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

        public TopologyChange.Builder setContext​(String value)
        string context = 2;
        Parameters:
        value - The context to set.
        Returns:
        This builder for chaining.
      • clearContext

        public TopologyChange.Builder clearContext()
        string context = 2;
        Returns:
        This builder for chaining.
      • setContextBytes

        public TopologyChange.Builder setContextBytes​(com.google.protobuf.ByteString value)
        string context = 2;
        Parameters:
        value - The bytes for context to set.
        Returns:
        This builder for chaining.
      • 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.
      • setClientId

        public TopologyChange.Builder setClientId​(String value)
         The client ID of the component requesting the update
         
        string client_id = 3;
        Parameters:
        value - The clientId to set.
        Returns:
        This builder for chaining.
      • clearClientId

        public TopologyChange.Builder clearClientId()
         The client ID of the component requesting the update
         
        string client_id = 3;
        Returns:
        This builder for chaining.
      • setClientIdBytes

        public TopologyChange.Builder setClientIdBytes​(com.google.protobuf.ByteString value)
         The client ID of the component requesting the update
         
        string client_id = 3;
        Parameters:
        value - The bytes for clientId to set.
        Returns:
        This builder for chaining.
      • 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.
      • setClientStreamId

        public TopologyChange.Builder setClientStreamId​(String value)
         The client ID of the component requesting the update
         
        string client_stream_id = 4;
        Parameters:
        value - The clientStreamId to set.
        Returns:
        This builder for chaining.
      • clearClientStreamId

        public TopologyChange.Builder clearClientStreamId()
         The client ID of the component requesting the update
         
        string client_stream_id = 4;
        Returns:
        This builder for chaining.
      • setClientStreamIdBytes

        public TopologyChange.Builder setClientStreamIdBytes​(com.google.protobuf.ByteString value)
         The client ID of the component requesting the update
         
        string client_stream_id = 4;
        Parameters:
        value - The bytes for clientStreamId to set.
        Returns:
        This builder for chaining.
      • 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.
      • setComponentName

        public TopologyChange.Builder setComponentName​(String value)
         The name of the component requesting the update
         
        string component_name = 5;
        Parameters:
        value - The componentName to set.
        Returns:
        This builder for chaining.
      • clearComponentName

        public TopologyChange.Builder clearComponentName()
         The name of the component requesting the update
         
        string component_name = 5;
        Returns:
        This builder for chaining.
      • setComponentNameBytes

        public TopologyChange.Builder setComponentNameBytes​(com.google.protobuf.ByteString value)
         The name of the component requesting the update
         
        string component_name = 5;
        Parameters:
        value - The bytes for componentName to set.
        Returns:
        This builder for chaining.
      • 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.
      • clearCommand

        public TopologyChange.Builder clearCommand()
         The subscription ID to add or remove
         
        .io.axoniq.axonserver.grpc.control.CommandSubscription command = 6;
      • getCommandBuilder

        public CommandSubscription.Builder getCommandBuilder()
         The subscription ID to add or remove
         
        .io.axoniq.axonserver.grpc.control.CommandSubscription command = 6;
      • 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.
      • clearQuery

        public TopologyChange.Builder clearQuery()
         The processor name to add or remove
         
        .io.axoniq.axonserver.grpc.control.QuerySubscription query = 7;
      • getQueryBuilder

        public QuerySubscription.Builder getQueryBuilder()
         The processor name to add or remove
         
        .io.axoniq.axonserver.grpc.control.QuerySubscription query = 7;