Class ClusterShardingMessages.ShardStats.Builder

    • Method Detail

      • 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.ShardStats.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.ShardStats.Builder>
      • getDefaultInstanceForType

        public ClusterShardingMessages.ShardStats 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.ShardStats 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.ShardStats 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
      • 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.ShardStats.Builder>
      • mergeFrom

        public ClusterShardingMessages.ShardStats.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.ShardStats.Builder>
        Throws:
        java.io.IOException
      • setShardBytes

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

        public ClusterShardingMessages.ShardStats.Builder setEntityCount​(int value)
        required int32 entityCount = 2;
        Parameters:
        value - The entityCount to set.
        Returns:
        This builder for chaining.