Class ClusterMessages.Tombstone.Builder

java.lang.Object
org.apache.pekko.protobufv3.internal.AbstractMessageLite.Builder
org.apache.pekko.protobufv3.internal.AbstractMessage.Builder<BuilderT>
org.apache.pekko.protobufv3.internal.GeneratedMessage.Builder<ClusterMessages.Tombstone.Builder>
org.apache.pekko.cluster.protobuf.msg.ClusterMessages.Tombstone.Builder
All Implemented Interfaces:
Cloneable, ClusterMessages.TombstoneOrBuilder, 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.Tombstone

public static final class ClusterMessages.Tombstone.Builder extends org.apache.pekko.protobufv3.internal.GeneratedMessage.Builder<ClusterMessages.Tombstone.Builder> implements ClusterMessages.TombstoneOrBuilder
Protobuf type Tombstone
  • 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.Builder<ClusterMessages.Tombstone.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.GeneratedMessage.Builder<ClusterMessages.Tombstone.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.GeneratedMessage.Builder<ClusterMessages.Tombstone.Builder>
    • getDefaultInstanceForType

      public ClusterMessages.Tombstone 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.Tombstone 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.Tombstone 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
    • mergeFrom

      public ClusterMessages.Tombstone.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.Tombstone.Builder>
    • mergeFrom

    • 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.Builder<ClusterMessages.Tombstone.Builder>
    • mergeFrom

      public ClusterMessages.Tombstone.Builder mergeFrom(org.apache.pekko.protobufv3.internal.CodedInputStream input, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry) throws 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.Tombstone.Builder>
      Throws:
      IOException
    • hasAddressIndex

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

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

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

      public ClusterMessages.Tombstone.Builder clearAddressIndex()
      required int32 addressIndex = 1;
      Returns:
      This builder for chaining.
    • hasTimestamp

      public boolean hasTimestamp()
      required int64 timestamp = 2;
      Specified by:
      hasTimestamp in interface ClusterMessages.TombstoneOrBuilder
      Returns:
      Whether the timestamp field is set.
    • getTimestamp

      public long getTimestamp()
      required int64 timestamp = 2;
      Specified by:
      getTimestamp in interface ClusterMessages.TombstoneOrBuilder
      Returns:
      The timestamp.
    • setTimestamp

      public ClusterMessages.Tombstone.Builder setTimestamp(long value)
      required int64 timestamp = 2;
      Parameters:
      value - The timestamp to set.
      Returns:
      This builder for chaining.
    • clearTimestamp

      public ClusterMessages.Tombstone.Builder clearTimestamp()
      required int64 timestamp = 2;
      Returns:
      This builder for chaining.