Class ProcessingInstruction.Builder

    • 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<ProcessingInstruction.Builder>
      • clear

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

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

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

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

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

        public ProcessingInstruction.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<ProcessingInstruction.Builder>
        Throws:
        IOException
      • getKeyValue

        public int getKeyValue()
         The type of processing message. 
         
        .io.axoniq.axonserver.grpc.ProcessingKey key = 1;
        Specified by:
        getKeyValue in interface ProcessingInstructionOrBuilder
        Returns:
        The enum numeric value on the wire for key.
      • setKeyValue

        public ProcessingInstruction.Builder setKeyValue​(int value)
         The type of processing message. 
         
        .io.axoniq.axonserver.grpc.ProcessingKey key = 1;
        Parameters:
        value - The enum numeric value on the wire for key to set.
        Returns:
        This builder for chaining.
        Throws:
        IllegalArgumentException - if UNRECOGNIZED is provided.
      • setKey

        public ProcessingInstruction.Builder setKey​(ProcessingKey value)
         The type of processing message. 
         
        .io.axoniq.axonserver.grpc.ProcessingKey key = 1;
        Parameters:
        value - The key to set.
        Returns:
        This builder for chaining.
      • clearKey

        public ProcessingInstruction.Builder clearKey()
         The type of processing message. 
         
        .io.axoniq.axonserver.grpc.ProcessingKey key = 1;
        Returns:
        This builder for chaining.
      • hasValue

        public boolean hasValue()
         The value associated with the processing key.  
         
        .io.axoniq.axonserver.grpc.MetaDataValue value = 2;
        Specified by:
        hasValue in interface ProcessingInstructionOrBuilder
        Returns:
        Whether the value field is set.
      • clearValue

        public ProcessingInstruction.Builder clearValue()
         The value associated with the processing key.  
         
        .io.axoniq.axonserver.grpc.MetaDataValue value = 2;
      • getValueBuilder

        public MetaDataValue.Builder getValueBuilder()
         The value associated with the processing key.  
         
        .io.axoniq.axonserver.grpc.MetaDataValue value = 2;