Class ClusterMessages.GossipStatus

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.GossipStatus
All Implemented Interfaces:
Serializable, ClusterMessages.GossipStatusOrBuilder, 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.GossipStatus extends org.apache.pekko.protobufv3.internal.GeneratedMessage implements ClusterMessages.GossipStatusOrBuilder
 *
 Gossip Status
 
Protobuf type GossipStatus
See Also:
  • Field Details

  • 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
    • hasFrom

      public boolean hasFrom()
      required .UniqueAddress from = 1;
      Specified by:
      hasFrom in interface ClusterMessages.GossipStatusOrBuilder
      Returns:
      Whether the from field is set.
    • getFrom

      required .UniqueAddress from = 1;
      Specified by:
      getFrom in interface ClusterMessages.GossipStatusOrBuilder
      Returns:
      The from.
    • getFromOrBuilder

      public ClusterMessages.UniqueAddressOrBuilder getFromOrBuilder()
      required .UniqueAddress from = 1;
      Specified by:
      getFromOrBuilder in interface ClusterMessages.GossipStatusOrBuilder
    • getAllHashesList

      public org.apache.pekko.protobufv3.internal.ProtocolStringList getAllHashesList()
      repeated string allHashes = 2;
      Specified by:
      getAllHashesList in interface ClusterMessages.GossipStatusOrBuilder
      Returns:
      A list containing the allHashes.
    • getAllHashesCount

      public int getAllHashesCount()
      repeated string allHashes = 2;
      Specified by:
      getAllHashesCount in interface ClusterMessages.GossipStatusOrBuilder
      Returns:
      The count of allHashes.
    • getAllHashes

      public String getAllHashes(int index)
      repeated string allHashes = 2;
      Specified by:
      getAllHashes in interface ClusterMessages.GossipStatusOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The allHashes at the given index.
    • getAllHashesBytes

      public org.apache.pekko.protobufv3.internal.ByteString getAllHashesBytes(int index)
      repeated string allHashes = 2;
      Specified by:
      getAllHashesBytes in interface ClusterMessages.GossipStatusOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the allHashes at the given index.
    • hasVersion

      public boolean hasVersion()
      required .VectorClock version = 3;
      Specified by:
      hasVersion in interface ClusterMessages.GossipStatusOrBuilder
      Returns:
      Whether the version field is set.
    • getVersion

      public ClusterMessages.VectorClock getVersion()
      required .VectorClock version = 3;
      Specified by:
      getVersion in interface ClusterMessages.GossipStatusOrBuilder
      Returns:
      The version.
    • getVersionOrBuilder

      public ClusterMessages.VectorClockOrBuilder getVersionOrBuilder()
      required .VectorClock version = 3;
      Specified by:
      getVersionOrBuilder in interface ClusterMessages.GossipStatusOrBuilder
    • hasSeenDigest

      public boolean hasSeenDigest()
      optional bytes seenDigest = 4;
      Specified by:
      hasSeenDigest in interface ClusterMessages.GossipStatusOrBuilder
      Returns:
      Whether the seenDigest field is set.
    • getSeenDigest

      public org.apache.pekko.protobufv3.internal.ByteString getSeenDigest()
      optional bytes seenDigest = 4;
      Specified by:
      getSeenDigest in interface ClusterMessages.GossipStatusOrBuilder
      Returns:
      The seenDigest.
    • 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.GossipStatus parseFrom(ByteBuffer data) throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException
      Throws:
      org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException
    • parseFrom

      public static ClusterMessages.GossipStatus 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.GossipStatus 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.GossipStatus 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.GossipStatus parseFrom(byte[] data) throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException
      Throws:
      org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException
    • parseFrom

      public static ClusterMessages.GossipStatus 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.GossipStatus parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

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

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

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

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

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

      public ClusterMessages.GossipStatus.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.GossipStatus.Builder newBuilder()
    • newBuilder

    • 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.GossipStatus.Builder newBuilderForType(org.apache.pekko.protobufv3.internal.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class org.apache.pekko.protobufv3.internal.AbstractMessage
    • getDefaultInstance

      public static ClusterMessages.GossipStatus getDefaultInstance()
    • parser

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

      public org.apache.pekko.protobufv3.internal.Parser<ClusterMessages.GossipStatus> 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.GossipStatus getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface org.apache.pekko.protobufv3.internal.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface org.apache.pekko.protobufv3.internal.MessageOrBuilder