Class ReplicatedDataMessages.PNCounter

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.PNCounter
All Implemented Interfaces:
Serializable, ReplicatedDataMessages.PNCounterOrBuilder, 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.PNCounter extends org.apache.pekko.protobufv3.internal.GeneratedMessage implements ReplicatedDataMessages.PNCounterOrBuilder
Protobuf type org.apache.pekko.cluster.ddata.PNCounter
See Also:
  • Field Details

    • INCREMENTS_FIELD_NUMBER

      public static final int INCREMENTS_FIELD_NUMBER
      See Also:
    • DECREMENTS_FIELD_NUMBER

      public static final int DECREMENTS_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
    • hasIncrements

      public boolean hasIncrements()
      required .org.apache.pekko.cluster.ddata.GCounter increments = 1;
      Specified by:
      hasIncrements in interface ReplicatedDataMessages.PNCounterOrBuilder
      Returns:
      Whether the increments field is set.
    • getIncrements

      public ReplicatedDataMessages.GCounter getIncrements()
      required .org.apache.pekko.cluster.ddata.GCounter increments = 1;
      Specified by:
      getIncrements in interface ReplicatedDataMessages.PNCounterOrBuilder
      Returns:
      The increments.
    • getIncrementsOrBuilder

      public ReplicatedDataMessages.GCounterOrBuilder getIncrementsOrBuilder()
      required .org.apache.pekko.cluster.ddata.GCounter increments = 1;
      Specified by:
      getIncrementsOrBuilder in interface ReplicatedDataMessages.PNCounterOrBuilder
    • hasDecrements

      public boolean hasDecrements()
      required .org.apache.pekko.cluster.ddata.GCounter decrements = 2;
      Specified by:
      hasDecrements in interface ReplicatedDataMessages.PNCounterOrBuilder
      Returns:
      Whether the decrements field is set.
    • getDecrements

      public ReplicatedDataMessages.GCounter getDecrements()
      required .org.apache.pekko.cluster.ddata.GCounter decrements = 2;
      Specified by:
      getDecrements in interface ReplicatedDataMessages.PNCounterOrBuilder
      Returns:
      The decrements.
    • getDecrementsOrBuilder

      public ReplicatedDataMessages.GCounterOrBuilder getDecrementsOrBuilder()
      required .org.apache.pekko.cluster.ddata.GCounter decrements = 2;
      Specified by:
      getDecrementsOrBuilder in interface ReplicatedDataMessages.PNCounterOrBuilder
    • 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.PNCounter parseFrom(ByteBuffer data) throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException
      Throws:
      org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

      public static ReplicatedDataMessages.PNCounter getDefaultInstance()
    • parser

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

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