Class ClusterShardingMessages.StopShards.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<ClusterShardingMessages.StopShards.Builder>
org.apache.pekko.cluster.sharding.protobuf.msg.ClusterShardingMessages.StopShards.Builder
All Implemented Interfaces:
Cloneable, ClusterShardingMessages.StopShardsOrBuilder, 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:
ClusterShardingMessages.StopShards

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

      public ClusterShardingMessages.StopShards getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface org.apache.pekko.protobufv3.internal.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface org.apache.pekko.protobufv3.internal.MessageOrBuilder
    • 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 ClusterShardingMessages.StopShards 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 ClusterShardingMessages.StopShards.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<ClusterShardingMessages.StopShards.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<ClusterShardingMessages.StopShards.Builder>
    • mergeFrom

      public ClusterShardingMessages.StopShards.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<ClusterShardingMessages.StopShards.Builder>
      Throws:
      IOException
    • getShardsList

      public org.apache.pekko.protobufv3.internal.ProtocolStringList getShardsList()
      repeated string shards = 1;
      Specified by:
      getShardsList in interface ClusterShardingMessages.StopShardsOrBuilder
      Returns:
      A list containing the shards.
    • getShardsCount

      public int getShardsCount()
      repeated string shards = 1;
      Specified by:
      getShardsCount in interface ClusterShardingMessages.StopShardsOrBuilder
      Returns:
      The count of shards.
    • getShards

      public String getShards(int index)
      repeated string shards = 1;
      Specified by:
      getShards in interface ClusterShardingMessages.StopShardsOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The shards at the given index.
    • getShardsBytes

      public org.apache.pekko.protobufv3.internal.ByteString getShardsBytes(int index)
      repeated string shards = 1;
      Specified by:
      getShardsBytes in interface ClusterShardingMessages.StopShardsOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the shards at the given index.
    • setShards

      public ClusterShardingMessages.StopShards.Builder setShards(int index, String value)
      repeated string shards = 1;
      Parameters:
      index - The index to set the value at.
      value - The shards to set.
      Returns:
      This builder for chaining.
    • addShards

      repeated string shards = 1;
      Parameters:
      value - The shards to add.
      Returns:
      This builder for chaining.
    • addAllShards

      repeated string shards = 1;
      Parameters:
      values - The shards to add.
      Returns:
      This builder for chaining.
    • clearShards

      repeated string shards = 1;
      Returns:
      This builder for chaining.
    • addShardsBytes

      public ClusterShardingMessages.StopShards.Builder addShardsBytes(org.apache.pekko.protobufv3.internal.ByteString value)
      repeated string shards = 1;
      Parameters:
      value - The bytes of the shards to add.
      Returns:
      This builder for chaining.