Class ClusterShardingMessages.ShardState.Builder

    • Method Detail

      • getDescriptor

        public static final org.apache.pekko.protobufv3.internal.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected org.apache.pekko.protobufv3.internal.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class org.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder<ClusterShardingMessages.ShardState.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.GeneratedMessageV3.Builder<ClusterShardingMessages.ShardState.Builder>
      • getDefaultInstanceForType

        public ClusterShardingMessages.ShardState 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 ClusterShardingMessages.ShardState 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.ShardState 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
      • setRepeatedField

        public ClusterShardingMessages.ShardState.Builder setRepeatedField​(org.apache.pekko.protobufv3.internal.Descriptors.FieldDescriptor field,
                                                                           int index,
                                                                           java.lang.Object value)
        Specified by:
        setRepeatedField in interface org.apache.pekko.protobufv3.internal.Message.Builder
        Overrides:
        setRepeatedField in class org.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder<ClusterShardingMessages.ShardState.Builder>
      • addRepeatedField

        public ClusterShardingMessages.ShardState.Builder addRepeatedField​(org.apache.pekko.protobufv3.internal.Descriptors.FieldDescriptor field,
                                                                           java.lang.Object value)
        Specified by:
        addRepeatedField in interface org.apache.pekko.protobufv3.internal.Message.Builder
        Overrides:
        addRepeatedField in class org.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder<ClusterShardingMessages.ShardState.Builder>
      • 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.GeneratedMessageV3.Builder<ClusterShardingMessages.ShardState.Builder>
      • mergeFrom

        public ClusterShardingMessages.ShardState.Builder mergeFrom​(org.apache.pekko.protobufv3.internal.CodedInputStream input,
                                                                    org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
                                                             throws java.io.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.ShardState.Builder>
        Throws:
        java.io.IOException
      • setShardIdBytes

        public ClusterShardingMessages.ShardState.Builder setShardIdBytes​(org.apache.pekko.protobufv3.internal.ByteString value)
        required string shardId = 1;
        Parameters:
        value - The bytes for shardId to set.
        Returns:
        This builder for chaining.
      • getEntityIds

        public java.lang.String getEntityIds​(int index)
        repeated string entityIds = 2;
        Specified by:
        getEntityIds in interface ClusterShardingMessages.ShardStateOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The entityIds at the given index.
      • getEntityIdsBytes

        public org.apache.pekko.protobufv3.internal.ByteString getEntityIdsBytes​(int index)
        repeated string entityIds = 2;
        Specified by:
        getEntityIdsBytes in interface ClusterShardingMessages.ShardStateOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the entityIds at the given index.
      • setEntityIds

        public ClusterShardingMessages.ShardState.Builder setEntityIds​(int index,
                                                                       java.lang.String value)
        repeated string entityIds = 2;
        Parameters:
        index - The index to set the value at.
        value - The entityIds to set.
        Returns:
        This builder for chaining.
      • addEntityIds

        public ClusterShardingMessages.ShardState.Builder addEntityIds​(java.lang.String value)
        repeated string entityIds = 2;
        Parameters:
        value - The entityIds to add.
        Returns:
        This builder for chaining.
      • addAllEntityIds

        public ClusterShardingMessages.ShardState.Builder addAllEntityIds​(java.lang.Iterable<java.lang.String> values)
        repeated string entityIds = 2;
        Parameters:
        values - The entityIds to add.
        Returns:
        This builder for chaining.
      • addEntityIdsBytes

        public ClusterShardingMessages.ShardState.Builder addEntityIdsBytes​(org.apache.pekko.protobufv3.internal.ByteString value)
        repeated string entityIds = 2;
        Parameters:
        value - The bytes of the entityIds to add.
        Returns:
        This builder for chaining.