Class UpdateStreamRequest.Builder

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

    public static final class UpdateStreamRequest.Builder
    extends com.google.protobuf.GeneratedMessage.Builder<UpdateStreamRequest.Builder>
    implements UpdateStreamRequestOrBuilder
     Request to update the properties of a persistent stream 
     
    Protobuf type io.axoniq.axonserver.grpc.streams.UpdateStreamRequest
    • 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<UpdateStreamRequest.Builder>
      • clear

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

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

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

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

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

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

        public UpdateStreamRequest.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<UpdateStreamRequest.Builder>
        Throws:
        IOException
      • getStreamIdBytes

        public com.google.protobuf.ByteString getStreamIdBytes()
         the unique identification of the stream 
         
        string stream_id = 1;
        Specified by:
        getStreamIdBytes in interface UpdateStreamRequestOrBuilder
        Returns:
        The bytes for streamId.
      • setStreamId

        public UpdateStreamRequest.Builder setStreamId​(String value)
         the unique identification of the stream 
         
        string stream_id = 1;
        Parameters:
        value - The streamId to set.
        Returns:
        This builder for chaining.
      • clearStreamId

        public UpdateStreamRequest.Builder clearStreamId()
         the unique identification of the stream 
         
        string stream_id = 1;
        Returns:
        This builder for chaining.
      • setStreamIdBytes

        public UpdateStreamRequest.Builder setStreamIdBytes​(com.google.protobuf.ByteString value)
         the unique identification of the stream 
         
        string stream_id = 1;
        Parameters:
        value - The bytes for streamId to set.
        Returns:
        This builder for chaining.
      • setSegments

        public UpdateStreamRequest.Builder setSegments​(int value)
         Request to change the number of segments 
         
        int32 segments = 2;
        Parameters:
        value - The segments to set.
        Returns:
        This builder for chaining.
      • clearSegments

        public UpdateStreamRequest.Builder clearSegments()
         Request to change the number of segments 
         
        int32 segments = 2;
        Returns:
        This builder for chaining.
      • getStreamNameBytes

        public com.google.protobuf.ByteString getStreamNameBytes()
         Request to change the name of the stream 
         
        string stream_name = 3;
        Specified by:
        getStreamNameBytes in interface UpdateStreamRequestOrBuilder
        Returns:
        The bytes for streamName.
      • setStreamName

        public UpdateStreamRequest.Builder setStreamName​(String value)
         Request to change the name of the stream 
         
        string stream_name = 3;
        Parameters:
        value - The streamName to set.
        Returns:
        This builder for chaining.
      • clearStreamName

        public UpdateStreamRequest.Builder clearStreamName()
         Request to change the name of the stream 
         
        string stream_name = 3;
        Returns:
        This builder for chaining.
      • setStreamNameBytes

        public UpdateStreamRequest.Builder setStreamNameBytes​(com.google.protobuf.ByteString value)
         Request to change the name of the stream 
         
        string stream_name = 3;
        Parameters:
        value - The bytes for streamName to set.
        Returns:
        This builder for chaining.