Class Open.Builder

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

    public static final class Open.Builder
    extends com.google.protobuf.GeneratedMessage.Builder<Open.Builder>
    implements OpenOrBuilder
     Request to open a connection to a persistent stream 
     
    Protobuf type io.axoniq.axonserver.grpc.streams.Open
    • 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<Open.Builder>
      • clear

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

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

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

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

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

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

        public Open.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<Open.Builder>
        Throws:
        IOException
      • getStreamId

        public String getStreamId()
         the unique identification of the stream 
         
        string stream_id = 1;
        Specified by:
        getStreamId in interface OpenOrBuilder
        Returns:
        The streamId.
      • getStreamIdBytes

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

        public Open.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 Open.Builder clearStreamId()
         the unique identification of the stream 
         
        string stream_id = 1;
        Returns:
        This builder for chaining.
      • setStreamIdBytes

        public Open.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.
      • getClientId

        public String getClientId()
         the unique identification of the client 
         
        string client_id = 2;
        Specified by:
        getClientId in interface OpenOrBuilder
        Returns:
        The clientId.
      • getClientIdBytes

        public com.google.protobuf.ByteString getClientIdBytes()
         the unique identification of the client 
         
        string client_id = 2;
        Specified by:
        getClientIdBytes in interface OpenOrBuilder
        Returns:
        The bytes for clientId.
      • setClientId

        public Open.Builder setClientId​(String value)
         the unique identification of the client 
         
        string client_id = 2;
        Parameters:
        value - The clientId to set.
        Returns:
        This builder for chaining.
      • clearClientId

        public Open.Builder clearClientId()
         the unique identification of the client 
         
        string client_id = 2;
        Returns:
        This builder for chaining.
      • setClientIdBytes

        public Open.Builder setClientIdBytes​(com.google.protobuf.ByteString value)
         the unique identification of the client 
         
        string client_id = 2;
        Parameters:
        value - The bytes for clientId to set.
        Returns:
        This builder for chaining.
      • hasInitializationProperties

        public boolean hasInitializationProperties()
         properties to create the stream if it does not exist 
         
        .io.axoniq.axonserver.grpc.streams.InitializationProperties initialization_properties = 3;
        Specified by:
        hasInitializationProperties in interface OpenOrBuilder
        Returns:
        Whether the initializationProperties field is set.
      • getInitializationProperties

        public InitializationProperties getInitializationProperties()
         properties to create the stream if it does not exist 
         
        .io.axoniq.axonserver.grpc.streams.InitializationProperties initialization_properties = 3;
        Specified by:
        getInitializationProperties in interface OpenOrBuilder
        Returns:
        The initializationProperties.
      • setInitializationProperties

        public Open.Builder setInitializationProperties​(InitializationProperties value)
         properties to create the stream if it does not exist 
         
        .io.axoniq.axonserver.grpc.streams.InitializationProperties initialization_properties = 3;
      • setInitializationProperties

        public Open.Builder setInitializationProperties​(InitializationProperties.Builder builderForValue)
         properties to create the stream if it does not exist 
         
        .io.axoniq.axonserver.grpc.streams.InitializationProperties initialization_properties = 3;
      • mergeInitializationProperties

        public Open.Builder mergeInitializationProperties​(InitializationProperties value)
         properties to create the stream if it does not exist 
         
        .io.axoniq.axonserver.grpc.streams.InitializationProperties initialization_properties = 3;
      • clearInitializationProperties

        public Open.Builder clearInitializationProperties()
         properties to create the stream if it does not exist 
         
        .io.axoniq.axonserver.grpc.streams.InitializationProperties initialization_properties = 3;
      • getInitializationPropertiesBuilder

        public InitializationProperties.Builder getInitializationPropertiesBuilder()
         properties to create the stream if it does not exist 
         
        .io.axoniq.axonserver.grpc.streams.InitializationProperties initialization_properties = 3;