Class PlatformInfo.Builder

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

    public static final class PlatformInfo.Builder
    extends com.google.protobuf.GeneratedMessage.Builder<PlatformInfo.Builder>
    implements PlatformInfoOrBuilder
     Message containing connection information of the node to Connect with 
     
    Protobuf type io.axoniq.axonserver.grpc.control.PlatformInfo
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      PlatformInfo build()  
      PlatformInfo buildPartial()  
      PlatformInfo.Builder clear()  
      PlatformInfo.Builder clearPrimary()
      The connection details of the node the client should connect with
      PlatformInfo.Builder clearSameConnection()
      Flag indicating that the connection may be reused to connect.
      PlatformInfo getDefaultInstanceForType()  
      static com.google.protobuf.Descriptors.Descriptor getDescriptor()  
      com.google.protobuf.Descriptors.Descriptor getDescriptorForType()  
      NodeInfo getPrimary()
      The connection details of the node the client should connect with
      NodeInfo.Builder getPrimaryBuilder()
      The connection details of the node the client should connect with
      NodeInfoOrBuilder getPrimaryOrBuilder()
      The connection details of the node the client should connect with
      boolean getSameConnection()
      Flag indicating that the connection may be reused to connect.
      boolean hasPrimary()
      The connection details of the node the client should connect with
      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()  
      boolean isInitialized()  
      PlatformInfo.Builder mergeFrom​(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      PlatformInfo.Builder mergeFrom​(com.google.protobuf.Message other)  
      PlatformInfo.Builder mergeFrom​(PlatformInfo other)  
      PlatformInfo.Builder mergePrimary​(NodeInfo value)
      The connection details of the node the client should connect with
      PlatformInfo.Builder setPrimary​(NodeInfo value)
      The connection details of the node the client should connect with
      PlatformInfo.Builder setPrimary​(NodeInfo.Builder builderForValue)
      The connection details of the node the client should connect with
      PlatformInfo.Builder setSameConnection​(boolean value)
      Flag indicating that the connection may be reused to connect.
      • Methods inherited from class com.google.protobuf.GeneratedMessage.Builder

        addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3
      • Methods inherited from class com.google.protobuf.AbstractMessage.Builder

        findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
      • Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder

        addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
      • Methods inherited from interface com.google.protobuf.Message.Builder

        mergeDelimitedFrom, mergeDelimitedFrom
      • Methods inherited from interface com.google.protobuf.MessageLite.Builder

        mergeFrom
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • 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<PlatformInfo.Builder>
      • clear

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

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

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

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

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

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

        public PlatformInfo.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<PlatformInfo.Builder>
        Throws:
        IOException
      • hasPrimary

        public boolean hasPrimary()
         The connection details of the node the client should connect with 
         
        .io.axoniq.axonserver.grpc.control.NodeInfo primary = 1;
        Specified by:
        hasPrimary in interface PlatformInfoOrBuilder
        Returns:
        Whether the primary field is set.
      • getPrimary

        public NodeInfo getPrimary()
         The connection details of the node the client should connect with 
         
        .io.axoniq.axonserver.grpc.control.NodeInfo primary = 1;
        Specified by:
        getPrimary in interface PlatformInfoOrBuilder
        Returns:
        The primary.
      • setPrimary

        public PlatformInfo.Builder setPrimary​(NodeInfo value)
         The connection details of the node the client should connect with 
         
        .io.axoniq.axonserver.grpc.control.NodeInfo primary = 1;
      • setPrimary

        public PlatformInfo.Builder setPrimary​(NodeInfo.Builder builderForValue)
         The connection details of the node the client should connect with 
         
        .io.axoniq.axonserver.grpc.control.NodeInfo primary = 1;
      • mergePrimary

        public PlatformInfo.Builder mergePrimary​(NodeInfo value)
         The connection details of the node the client should connect with 
         
        .io.axoniq.axonserver.grpc.control.NodeInfo primary = 1;
      • clearPrimary

        public PlatformInfo.Builder clearPrimary()
         The connection details of the node the client should connect with 
         
        .io.axoniq.axonserver.grpc.control.NodeInfo primary = 1;
      • getPrimaryBuilder

        public NodeInfo.Builder getPrimaryBuilder()
         The connection details of the node the client should connect with 
         
        .io.axoniq.axonserver.grpc.control.NodeInfo primary = 1;
      • getSameConnection

        public boolean getSameConnection()
         Flag indicating that the connection may be reused to connect. When true, the client _may_ reuse the connection
         established for the GetPlatformServer request for subsequent requests.
         
        bool same_connection = 2;
        Specified by:
        getSameConnection in interface PlatformInfoOrBuilder
        Returns:
        The sameConnection.
      • setSameConnection

        public PlatformInfo.Builder setSameConnection​(boolean value)
         Flag indicating that the connection may be reused to connect. When true, the client _may_ reuse the connection
         established for the GetPlatformServer request for subsequent requests.
         
        bool same_connection = 2;
        Parameters:
        value - The sameConnection to set.
        Returns:
        This builder for chaining.
      • clearSameConnection

        public PlatformInfo.Builder clearSameConnection()
         Flag indicating that the connection may be reused to connect. When true, the client _may_ reuse the connection
         established for the GetPlatformServer request for subsequent requests.
         
        bool same_connection = 2;
        Returns:
        This builder for chaining.