Class ClusterMessages.Member

java.lang.Object
org.apache.pekko.protobufv3.internal.AbstractMessageLite
org.apache.pekko.protobufv3.internal.AbstractMessage
org.apache.pekko.protobufv3.internal.GeneratedMessage
org.apache.pekko.cluster.protobuf.msg.ClusterMessages.Member
All Implemented Interfaces:
Serializable, ClusterMessages.MemberOrBuilder, org.apache.pekko.protobufv3.internal.Message, org.apache.pekko.protobufv3.internal.MessageLite, org.apache.pekko.protobufv3.internal.MessageLiteOrBuilder, org.apache.pekko.protobufv3.internal.MessageOrBuilder
Enclosing class:
ClusterMessages

public static final class ClusterMessages.Member extends org.apache.pekko.protobufv3.internal.GeneratedMessage implements ClusterMessages.MemberOrBuilder
 *
 Member
 
Protobuf type Member
See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
    * Member

    Nested classes/interfaces inherited from class org.apache.pekko.protobufv3.internal.GeneratedMessage

    org.apache.pekko.protobufv3.internal.GeneratedMessage.ExtendableBuilder<MessageT extends org.apache.pekko.protobufv3.internal.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends org.apache.pekko.protobufv3.internal.GeneratedMessage.ExtendableBuilder<MessageT,BuilderT>>, org.apache.pekko.protobufv3.internal.GeneratedMessage.ExtendableMessage<MessageT extends org.apache.pekko.protobufv3.internal.GeneratedMessage.ExtendableMessage<MessageT>>, org.apache.pekko.protobufv3.internal.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends org.apache.pekko.protobufv3.internal.GeneratedMessage.ExtendableMessage<MessageT>>, org.apache.pekko.protobufv3.internal.GeneratedMessage.FieldAccessorTable, org.apache.pekko.protobufv3.internal.GeneratedMessage.GeneratedExtension<ContainingT extends org.apache.pekko.protobufv3.internal.Message,T extends Object>, org.apache.pekko.protobufv3.internal.GeneratedMessage.UnusedPrivateParameter

    Nested classes/interfaces inherited from class org.apache.pekko.protobufv3.internal.AbstractMessage

    org.apache.pekko.protobufv3.internal.AbstractMessage.BuilderParent

    Nested classes/interfaces inherited from class org.apache.pekko.protobufv3.internal.AbstractMessageLite

    org.apache.pekko.protobufv3.internal.AbstractMessageLite.InternalOneOfEnum
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     

    Fields inherited from class org.apache.pekko.protobufv3.internal.GeneratedMessage

    alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFields

    Fields inherited from class org.apache.pekko.protobufv3.internal.AbstractMessage

    memoizedSize

    Fields inherited from class org.apache.pekko.protobufv3.internal.AbstractMessageLite

    memoizedHashCode
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    int
    required int32 addressIndex = 1;
    int
    optional int32 appVersionIndex = 5;
     
     
    static final org.apache.pekko.protobufv3.internal.Descriptors.Descriptor
     
    org.apache.pekko.protobufv3.internal.Parser<ClusterMessages.Member>
     
    int
    getRolesIndexes(int index)
    repeated int32 rolesIndexes = 4 [packed = true];
    int
    repeated int32 rolesIndexes = 4 [packed = true];
    repeated int32 rolesIndexes = 4 [packed = true];
    int
     
    required .MemberStatus status = 3;
    int
    required int32 upNumber = 2;
    boolean
    required int32 addressIndex = 1;
    boolean
    optional int32 appVersionIndex = 5;
    int
     
    boolean
    required .MemberStatus status = 3;
    boolean
    required int32 upNumber = 2;
    protected org.apache.pekko.protobufv3.internal.GeneratedMessage.FieldAccessorTable
     
    final boolean
     
     
     
     
    newBuilderForType(org.apache.pekko.protobufv3.internal.AbstractMessage.BuilderParent parent)
     
     
    parseDelimitedFrom(InputStream input, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(byte[] data)
     
    parseFrom(byte[] data, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
     
     
    parseFrom(InputStream input, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
     
     
    parseFrom(ByteBuffer data, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(org.apache.pekko.protobufv3.internal.ByteString data)
     
    parseFrom(org.apache.pekko.protobufv3.internal.ByteString data, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(org.apache.pekko.protobufv3.internal.CodedInputStream input)
     
    parseFrom(org.apache.pekko.protobufv3.internal.CodedInputStream input, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
     
    static org.apache.pekko.protobufv3.internal.Parser<ClusterMessages.Member>
     
     
    void
    writeTo(org.apache.pekko.protobufv3.internal.CodedOutputStream output)
     

    Methods inherited from class org.apache.pekko.protobufv3.internal.GeneratedMessage

    canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag

    Methods inherited from class org.apache.pekko.protobufv3.internal.AbstractMessage

    findInitializationErrors, getInitializationErrorString, hashFields, toString

    Methods inherited from class org.apache.pekko.protobufv3.internal.AbstractMessageLite

    addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface org.apache.pekko.protobufv3.internal.MessageLite

    toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from interface org.apache.pekko.protobufv3.internal.MessageOrBuilder

    findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Field Details

    • ADDRESSINDEX_FIELD_NUMBER

      public static final int ADDRESSINDEX_FIELD_NUMBER
      See Also:
    • UPNUMBER_FIELD_NUMBER

      public static final int UPNUMBER_FIELD_NUMBER
      See Also:
    • STATUS_FIELD_NUMBER

      public static final int STATUS_FIELD_NUMBER
      See Also:
    • ROLESINDEXES_FIELD_NUMBER

      public static final int ROLESINDEXES_FIELD_NUMBER
      See Also:
    • APPVERSIONINDEX_FIELD_NUMBER

      public static final int APPVERSIONINDEX_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

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

      protected org.apache.pekko.protobufv3.internal.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class org.apache.pekko.protobufv3.internal.GeneratedMessage
    • hasAddressIndex

      public boolean hasAddressIndex()
      required int32 addressIndex = 1;
      Specified by:
      hasAddressIndex in interface ClusterMessages.MemberOrBuilder
      Returns:
      Whether the addressIndex field is set.
    • getAddressIndex

      public int getAddressIndex()
      required int32 addressIndex = 1;
      Specified by:
      getAddressIndex in interface ClusterMessages.MemberOrBuilder
      Returns:
      The addressIndex.
    • hasUpNumber

      public boolean hasUpNumber()
      required int32 upNumber = 2;
      Specified by:
      hasUpNumber in interface ClusterMessages.MemberOrBuilder
      Returns:
      Whether the upNumber field is set.
    • getUpNumber

      public int getUpNumber()
      required int32 upNumber = 2;
      Specified by:
      getUpNumber in interface ClusterMessages.MemberOrBuilder
      Returns:
      The upNumber.
    • hasStatus

      public boolean hasStatus()
      required .MemberStatus status = 3;
      Specified by:
      hasStatus in interface ClusterMessages.MemberOrBuilder
      Returns:
      Whether the status field is set.
    • getStatus

      public ClusterMessages.MemberStatus getStatus()
      required .MemberStatus status = 3;
      Specified by:
      getStatus in interface ClusterMessages.MemberOrBuilder
      Returns:
      The status.
    • getRolesIndexesList

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

      public int getRolesIndexesCount()
      repeated int32 rolesIndexes = 4 [packed = true];
      Specified by:
      getRolesIndexesCount in interface ClusterMessages.MemberOrBuilder
      Returns:
      The count of 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.
    • hasAppVersionIndex

      public boolean hasAppVersionIndex()
      optional int32 appVersionIndex = 5;
      Specified by:
      hasAppVersionIndex in interface ClusterMessages.MemberOrBuilder
      Returns:
      Whether the appVersionIndex field is set.
    • getAppVersionIndex

      public int getAppVersionIndex()
      optional int32 appVersionIndex = 5;
      Specified by:
      getAppVersionIndex in interface ClusterMessages.MemberOrBuilder
      Returns:
      The appVersionIndex.
    • 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.GeneratedMessage
    • writeTo

      public void writeTo(org.apache.pekko.protobufv3.internal.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface org.apache.pekko.protobufv3.internal.MessageLite
      Overrides:
      writeTo in class org.apache.pekko.protobufv3.internal.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface org.apache.pekko.protobufv3.internal.MessageLite
      Overrides:
      getSerializedSize in class org.apache.pekko.protobufv3.internal.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface org.apache.pekko.protobufv3.internal.Message
      Overrides:
      equals in class org.apache.pekko.protobufv3.internal.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface org.apache.pekko.protobufv3.internal.Message
      Overrides:
      hashCode in class org.apache.pekko.protobufv3.internal.AbstractMessage
    • parseFrom

      public static ClusterMessages.Member parseFrom(ByteBuffer data) throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException
      Throws:
      org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException
    • parseFrom

      public static ClusterMessages.Member parseFrom(ByteBuffer data, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry) throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException
      Throws:
      org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException
    • parseFrom

      public static ClusterMessages.Member parseFrom(org.apache.pekko.protobufv3.internal.ByteString data) throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException
      Throws:
      org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException
    • parseFrom

      public static ClusterMessages.Member parseFrom(org.apache.pekko.protobufv3.internal.ByteString data, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry) throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException
      Throws:
      org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException
    • parseFrom

      public static ClusterMessages.Member parseFrom(byte[] data) throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException
      Throws:
      org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException
    • parseFrom

      public static ClusterMessages.Member parseFrom(byte[] data, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry) throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException
      Throws:
      org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException
    • parseFrom

      public static ClusterMessages.Member parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ClusterMessages.Member parseFrom(InputStream input, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static ClusterMessages.Member parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static ClusterMessages.Member parseDelimitedFrom(InputStream input, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ClusterMessages.Member parseFrom(org.apache.pekko.protobufv3.internal.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ClusterMessages.Member parseFrom(org.apache.pekko.protobufv3.internal.CodedInputStream input, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

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

      public static ClusterMessages.Member.Builder newBuilder()
    • newBuilder

      public static ClusterMessages.Member.Builder newBuilder(ClusterMessages.Member prototype)
    • toBuilder

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

      protected ClusterMessages.Member.Builder newBuilderForType(org.apache.pekko.protobufv3.internal.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class org.apache.pekko.protobufv3.internal.AbstractMessage
    • getDefaultInstance

      public static ClusterMessages.Member getDefaultInstance()
    • parser

      public static org.apache.pekko.protobufv3.internal.Parser<ClusterMessages.Member> parser()
    • getParserForType

      public org.apache.pekko.protobufv3.internal.Parser<ClusterMessages.Member> getParserForType()
      Specified by:
      getParserForType in interface org.apache.pekko.protobufv3.internal.Message
      Specified by:
      getParserForType in interface org.apache.pekko.protobufv3.internal.MessageLite
      Overrides:
      getParserForType in class org.apache.pekko.protobufv3.internal.GeneratedMessage
    • 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