Class ReplicatedDataMessages.LWWRegister

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.ddata.protobuf.msg.ReplicatedDataMessages.LWWRegister
All Implemented Interfaces:
Serializable, ReplicatedDataMessages.LWWRegisterOrBuilder, 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:
ReplicatedDataMessages

public static final class ReplicatedDataMessages.LWWRegister extends org.apache.pekko.protobufv3.internal.GeneratedMessage implements ReplicatedDataMessages.LWWRegisterOrBuilder
Protobuf type org.apache.pekko.cluster.ddata.LWWRegister
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
    • hasTimestamp

      public boolean hasTimestamp()
      required sint64 timestamp = 1;
      Specified by:
      hasTimestamp in interface ReplicatedDataMessages.LWWRegisterOrBuilder
      Returns:
      Whether the timestamp field is set.
    • getTimestamp

      public long getTimestamp()
      required sint64 timestamp = 1;
      Specified by:
      getTimestamp in interface ReplicatedDataMessages.LWWRegisterOrBuilder
      Returns:
      The timestamp.
    • hasNode

      public boolean hasNode()
      required .org.apache.pekko.cluster.ddata.UniqueAddress node = 2;
      Specified by:
      hasNode in interface ReplicatedDataMessages.LWWRegisterOrBuilder
      Returns:
      Whether the node field is set.
    • getNode

      required .org.apache.pekko.cluster.ddata.UniqueAddress node = 2;
      Specified by:
      getNode in interface ReplicatedDataMessages.LWWRegisterOrBuilder
      Returns:
      The node.
    • getNodeOrBuilder

      public ReplicatorMessages.UniqueAddressOrBuilder getNodeOrBuilder()
      required .org.apache.pekko.cluster.ddata.UniqueAddress node = 2;
      Specified by:
      getNodeOrBuilder in interface ReplicatedDataMessages.LWWRegisterOrBuilder
    • hasState

      public boolean hasState()
      required .org.apache.pekko.cluster.ddata.OtherMessage state = 3;
      Specified by:
      hasState in interface ReplicatedDataMessages.LWWRegisterOrBuilder
      Returns:
      Whether the state field is set.
    • getState

      required .org.apache.pekko.cluster.ddata.OtherMessage state = 3;
      Specified by:
      getState in interface ReplicatedDataMessages.LWWRegisterOrBuilder
      Returns:
      The state.
    • getStateOrBuilder

      public ReplicatorMessages.OtherMessageOrBuilder getStateOrBuilder()
      required .org.apache.pekko.cluster.ddata.OtherMessage state = 3;
      Specified by:
      getStateOrBuilder in interface ReplicatedDataMessages.LWWRegisterOrBuilder
    • 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 ReplicatedDataMessages.LWWRegister parseFrom(ByteBuffer data) throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException
      Throws:
      org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException
    • parseFrom

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

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

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

      public static ReplicatedDataMessages.LWWRegister parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

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

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

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

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

      public static ReplicatedDataMessages.LWWRegister getDefaultInstance()
    • parser

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

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