Class ContextUpdate.Builder

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

    public static final class ContextUpdate.Builder
    extends com.google.protobuf.GeneratedMessage.Builder<ContextUpdate.Builder>
    implements ContextUpdateOrBuilder
    Protobuf type io.axoniq.axonserver.grpc.admin.ContextUpdate
    • 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<ContextUpdate.Builder>
      • clear

        public ContextUpdate.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<ContextUpdate.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<ContextUpdate.Builder>
      • getDefaultInstanceForType

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

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

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

        public ContextUpdate.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<ContextUpdate.Builder>
      • isInitialized

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

        public ContextUpdate.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<ContextUpdate.Builder>
        Throws:
        IOException
      • getContextBytes

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

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

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

        public ContextUpdate.Builder setContextBytes​(com.google.protobuf.ByteString value)
        string context = 1;
        Parameters:
        value - The bytes for context to set.
        Returns:
        This builder for chaining.
      • getTypeValue

        public int getTypeValue()
        .io.axoniq.axonserver.grpc.admin.ContextUpdateType type = 2;
        Specified by:
        getTypeValue in interface ContextUpdateOrBuilder
        Returns:
        The enum numeric value on the wire for type.
      • setTypeValue

        public ContextUpdate.Builder setTypeValue​(int value)
        .io.axoniq.axonserver.grpc.admin.ContextUpdateType type = 2;
        Parameters:
        value - The enum numeric value on the wire for type to set.
        Returns:
        This builder for chaining.
        Throws:
        IllegalArgumentException - if UNRECOGNIZED is provided.
      • setType

        public ContextUpdate.Builder setType​(ContextUpdateType value)
        .io.axoniq.axonserver.grpc.admin.ContextUpdateType type = 2;
        Parameters:
        value - The type to set.
        Returns:
        This builder for chaining.
      • clearType

        public ContextUpdate.Builder clearType()
        .io.axoniq.axonserver.grpc.admin.ContextUpdateType type = 2;
        Returns:
        This builder for chaining.