Class ClusterMessages.Member.Builder

  • All Implemented Interfaces:
    java.lang.Cloneable, ClusterMessages.MemberOrBuilder, org.apache.pekko.protobufv3.internal.Message.Builder, org.apache.pekko.protobufv3.internal.MessageLite.Builder, org.apache.pekko.protobufv3.internal.MessageLiteOrBuilder, org.apache.pekko.protobufv3.internal.MessageOrBuilder
    Enclosing class:
    ClusterMessages.Member

    public static final class ClusterMessages.Member.Builder
    extends org.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder<ClusterMessages.Member.Builder>
    implements ClusterMessages.MemberOrBuilder
    
     Member
     
    Protobuf type Member
    • Method Detail

      • getDescriptor

        public static final org.apache.pekko.protobufv3.internal.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected org.apache.pekko.protobufv3.internal.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class org.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder<ClusterMessages.Member.Builder>
      • clear

        public ClusterMessages.Member.Builder clear()
        Specified by:
        clear in interface org.apache.pekko.protobufv3.internal.Message.Builder
        Specified by:
        clear in interface org.apache.pekko.protobufv3.internal.MessageLite.Builder
        Overrides:
        clear in class org.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder<ClusterMessages.Member.Builder>
      • getDescriptorForType

        public org.apache.pekko.protobufv3.internal.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface org.apache.pekko.protobufv3.internal.Message.Builder
        Specified by:
        getDescriptorForType in interface org.apache.pekko.protobufv3.internal.MessageOrBuilder
        Overrides:
        getDescriptorForType in class org.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder<ClusterMessages.Member.Builder>
      • getDefaultInstanceForType

        public ClusterMessages.Member getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface org.apache.pekko.protobufv3.internal.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface org.apache.pekko.protobufv3.internal.MessageOrBuilder
      • build

        public ClusterMessages.Member build()
        Specified by:
        build in interface org.apache.pekko.protobufv3.internal.Message.Builder
        Specified by:
        build in interface org.apache.pekko.protobufv3.internal.MessageLite.Builder
      • buildPartial

        public ClusterMessages.Member buildPartial()
        Specified by:
        buildPartial in interface org.apache.pekko.protobufv3.internal.Message.Builder
        Specified by:
        buildPartial in interface org.apache.pekko.protobufv3.internal.MessageLite.Builder
      • clone

        public ClusterMessages.Member.Builder clone()
        Specified by:
        clone in interface org.apache.pekko.protobufv3.internal.Message.Builder
        Specified by:
        clone in interface org.apache.pekko.protobufv3.internal.MessageLite.Builder
        Overrides:
        clone in class org.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder<ClusterMessages.Member.Builder>
      • setField

        public ClusterMessages.Member.Builder setField​(org.apache.pekko.protobufv3.internal.Descriptors.FieldDescriptor field,
                                                       java.lang.Object value)
        Specified by:
        setField in interface org.apache.pekko.protobufv3.internal.Message.Builder
        Overrides:
        setField in class org.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder<ClusterMessages.Member.Builder>
      • clearField

        public ClusterMessages.Member.Builder clearField​(org.apache.pekko.protobufv3.internal.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface org.apache.pekko.protobufv3.internal.Message.Builder
        Overrides:
        clearField in class org.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder<ClusterMessages.Member.Builder>
      • clearOneof

        public ClusterMessages.Member.Builder clearOneof​(org.apache.pekko.protobufv3.internal.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface org.apache.pekko.protobufv3.internal.Message.Builder
        Overrides:
        clearOneof in class org.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder<ClusterMessages.Member.Builder>
      • setRepeatedField

        public ClusterMessages.Member.Builder setRepeatedField​(org.apache.pekko.protobufv3.internal.Descriptors.FieldDescriptor field,
                                                               int index,
                                                               java.lang.Object value)
        Specified by:
        setRepeatedField in interface org.apache.pekko.protobufv3.internal.Message.Builder
        Overrides:
        setRepeatedField in class org.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder<ClusterMessages.Member.Builder>
      • addRepeatedField

        public ClusterMessages.Member.Builder addRepeatedField​(org.apache.pekko.protobufv3.internal.Descriptors.FieldDescriptor field,
                                                               java.lang.Object value)
        Specified by:
        addRepeatedField in interface org.apache.pekko.protobufv3.internal.Message.Builder
        Overrides:
        addRepeatedField in class org.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder<ClusterMessages.Member.Builder>
      • mergeFrom

        public ClusterMessages.Member.Builder mergeFrom​(org.apache.pekko.protobufv3.internal.Message other)
        Specified by:
        mergeFrom in interface org.apache.pekko.protobufv3.internal.Message.Builder
        Overrides:
        mergeFrom in class org.apache.pekko.protobufv3.internal.AbstractMessage.Builder<ClusterMessages.Member.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface org.apache.pekko.protobufv3.internal.MessageLiteOrBuilder
        Overrides:
        isInitialized in class org.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder<ClusterMessages.Member.Builder>
      • mergeFrom

        public ClusterMessages.Member.Builder mergeFrom​(org.apache.pekko.protobufv3.internal.CodedInputStream input,
                                                        org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
                                                 throws java.io.IOException
        Specified by:
        mergeFrom in interface org.apache.pekko.protobufv3.internal.Message.Builder
        Specified by:
        mergeFrom in interface org.apache.pekko.protobufv3.internal.MessageLite.Builder
        Overrides:
        mergeFrom in class org.apache.pekko.protobufv3.internal.AbstractMessage.Builder<ClusterMessages.Member.Builder>
        Throws:
        java.io.IOException
      • setAddressIndex

        public ClusterMessages.Member.Builder setAddressIndex​(int value)
        required int32 addressIndex = 1;
        Parameters:
        value - The addressIndex to set.
        Returns:
        This builder for chaining.
      • setUpNumber

        public ClusterMessages.Member.Builder setUpNumber​(int value)
        required int32 upNumber = 2;
        Parameters:
        value - The upNumber to set.
        Returns:
        This builder for chaining.
      • getRolesIndexesList

        public java.util.List<java.lang.Integer> getRolesIndexesList()
        repeated int32 rolesIndexes = 4 [packed = true];
        Specified by:
        getRolesIndexesList in interface ClusterMessages.MemberOrBuilder
        Returns:
        A list containing the rolesIndexes.
      • getRolesIndexes

        public int getRolesIndexes​(int index)
        repeated int32 rolesIndexes = 4 [packed = true];
        Specified by:
        getRolesIndexes in interface ClusterMessages.MemberOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The rolesIndexes at the given index.
      • setRolesIndexes

        public ClusterMessages.Member.Builder setRolesIndexes​(int index,
                                                              int value)
        repeated int32 rolesIndexes = 4 [packed = true];
        Parameters:
        index - The index to set the value at.
        value - The rolesIndexes to set.
        Returns:
        This builder for chaining.
      • addRolesIndexes

        public ClusterMessages.Member.Builder addRolesIndexes​(int value)
        repeated int32 rolesIndexes = 4 [packed = true];
        Parameters:
        value - The rolesIndexes to add.
        Returns:
        This builder for chaining.
      • addAllRolesIndexes

        public ClusterMessages.Member.Builder addAllRolesIndexes​(java.lang.Iterable<? extends java.lang.Integer> values)
        repeated int32 rolesIndexes = 4 [packed = true];
        Parameters:
        values - The rolesIndexes to add.
        Returns:
        This builder for chaining.
      • clearRolesIndexes

        public ClusterMessages.Member.Builder clearRolesIndexes()
        repeated int32 rolesIndexes = 4 [packed = true];
        Returns:
        This builder for chaining.
      • setAppVersionIndex

        public ClusterMessages.Member.Builder setAppVersionIndex​(int value)
        optional int32 appVersionIndex = 5;
        Parameters:
        value - The appVersionIndex to set.
        Returns:
        This builder for chaining.
      • clearAppVersionIndex

        public ClusterMessages.Member.Builder clearAppVersionIndex()
        optional int32 appVersionIndex = 5;
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final ClusterMessages.Member.Builder setUnknownFields​(org.apache.pekko.protobufv3.internal.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface org.apache.pekko.protobufv3.internal.Message.Builder
        Overrides:
        setUnknownFields in class org.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder<ClusterMessages.Member.Builder>
      • mergeUnknownFields

        public final ClusterMessages.Member.Builder mergeUnknownFields​(org.apache.pekko.protobufv3.internal.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface org.apache.pekko.protobufv3.internal.Message.Builder
        Overrides:
        mergeUnknownFields in class org.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder<ClusterMessages.Member.Builder>