Class ClusterShardingMessages.ShardStats.Builder
- java.lang.Object
-
- org.apache.pekko.protobufv3.internal.AbstractMessageLite.Builder
-
- org.apache.pekko.protobufv3.internal.AbstractMessage.Builder<BuilderT>
-
- org.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder<ClusterShardingMessages.ShardStats.Builder>
-
- org.apache.pekko.cluster.sharding.protobuf.msg.ClusterShardingMessages.ShardStats.Builder
-
- All Implemented Interfaces:
java.lang.Cloneable
,ClusterShardingMessages.ShardStatsOrBuilder
,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.ShardStats
public static final class ClusterShardingMessages.ShardStats.Builder extends org.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder<ClusterShardingMessages.ShardStats.Builder> implements ClusterShardingMessages.ShardStatsOrBuilder
Protobuf typeShardStats
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ClusterShardingMessages.ShardStats.Builder
addRepeatedField(org.apache.pekko.protobufv3.internal.Descriptors.FieldDescriptor field, java.lang.Object value)
ClusterShardingMessages.ShardStats
build()
ClusterShardingMessages.ShardStats
buildPartial()
ClusterShardingMessages.ShardStats.Builder
clear()
ClusterShardingMessages.ShardStats.Builder
clearEntityCount()
required int32 entityCount = 2;
ClusterShardingMessages.ShardStats.Builder
clearField(org.apache.pekko.protobufv3.internal.Descriptors.FieldDescriptor field)
ClusterShardingMessages.ShardStats.Builder
clearOneof(org.apache.pekko.protobufv3.internal.Descriptors.OneofDescriptor oneof)
ClusterShardingMessages.ShardStats.Builder
clearShard()
required string shard = 1;
ClusterShardingMessages.ShardStats.Builder
clone()
ClusterShardingMessages.ShardStats
getDefaultInstanceForType()
static org.apache.pekko.protobufv3.internal.Descriptors.Descriptor
getDescriptor()
org.apache.pekko.protobufv3.internal.Descriptors.Descriptor
getDescriptorForType()
int
getEntityCount()
required int32 entityCount = 2;
java.lang.String
getShard()
required string shard = 1;
org.apache.pekko.protobufv3.internal.ByteString
getShardBytes()
required string shard = 1;
boolean
hasEntityCount()
required int32 entityCount = 2;
boolean
hasShard()
required string shard = 1;
protected org.apache.pekko.protobufv3.internal.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
ClusterShardingMessages.ShardStats.Builder
mergeFrom(ClusterShardingMessages.ShardStats other)
ClusterShardingMessages.ShardStats.Builder
mergeFrom(org.apache.pekko.protobufv3.internal.CodedInputStream input, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
ClusterShardingMessages.ShardStats.Builder
mergeFrom(org.apache.pekko.protobufv3.internal.Message other)
ClusterShardingMessages.ShardStats.Builder
mergeUnknownFields(org.apache.pekko.protobufv3.internal.UnknownFieldSet unknownFields)
ClusterShardingMessages.ShardStats.Builder
setEntityCount(int value)
required int32 entityCount = 2;
ClusterShardingMessages.ShardStats.Builder
setField(org.apache.pekko.protobufv3.internal.Descriptors.FieldDescriptor field, java.lang.Object value)
ClusterShardingMessages.ShardStats.Builder
setRepeatedField(org.apache.pekko.protobufv3.internal.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
ClusterShardingMessages.ShardStats.Builder
setShard(java.lang.String value)
required string shard = 1;
ClusterShardingMessages.ShardStats.Builder
setShardBytes(org.apache.pekko.protobufv3.internal.ByteString value)
required string shard = 1;
ClusterShardingMessages.ShardStats.Builder
setUnknownFields(org.apache.pekko.protobufv3.internal.UnknownFieldSet unknownFields)
-
Methods inherited from class org.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class org.apache.pekko.protobufv3.internal.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class org.apache.pekko.protobufv3.internal.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
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 classorg.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder<ClusterShardingMessages.ShardStats.Builder>
-
clear
public ClusterShardingMessages.ShardStats.Builder clear()
- Specified by:
clear
in interfaceorg.apache.pekko.protobufv3.internal.Message.Builder
- Specified by:
clear
in interfaceorg.apache.pekko.protobufv3.internal.MessageLite.Builder
- Overrides:
clear
in classorg.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder<ClusterShardingMessages.ShardStats.Builder>
-
getDescriptorForType
public org.apache.pekko.protobufv3.internal.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfaceorg.apache.pekko.protobufv3.internal.Message.Builder
- Specified by:
getDescriptorForType
in interfaceorg.apache.pekko.protobufv3.internal.MessageOrBuilder
- Overrides:
getDescriptorForType
in classorg.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder<ClusterShardingMessages.ShardStats.Builder>
-
getDefaultInstanceForType
public ClusterShardingMessages.ShardStats getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfaceorg.apache.pekko.protobufv3.internal.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfaceorg.apache.pekko.protobufv3.internal.MessageOrBuilder
-
build
public ClusterShardingMessages.ShardStats build()
- Specified by:
build
in interfaceorg.apache.pekko.protobufv3.internal.Message.Builder
- Specified by:
build
in interfaceorg.apache.pekko.protobufv3.internal.MessageLite.Builder
-
buildPartial
public ClusterShardingMessages.ShardStats buildPartial()
- Specified by:
buildPartial
in interfaceorg.apache.pekko.protobufv3.internal.Message.Builder
- Specified by:
buildPartial
in interfaceorg.apache.pekko.protobufv3.internal.MessageLite.Builder
-
clone
public ClusterShardingMessages.ShardStats.Builder clone()
- Specified by:
clone
in interfaceorg.apache.pekko.protobufv3.internal.Message.Builder
- Specified by:
clone
in interfaceorg.apache.pekko.protobufv3.internal.MessageLite.Builder
- Overrides:
clone
in classorg.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder<ClusterShardingMessages.ShardStats.Builder>
-
setField
public ClusterShardingMessages.ShardStats.Builder setField(org.apache.pekko.protobufv3.internal.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setField
in interfaceorg.apache.pekko.protobufv3.internal.Message.Builder
- Overrides:
setField
in classorg.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder<ClusterShardingMessages.ShardStats.Builder>
-
clearField
public ClusterShardingMessages.ShardStats.Builder clearField(org.apache.pekko.protobufv3.internal.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfaceorg.apache.pekko.protobufv3.internal.Message.Builder
- Overrides:
clearField
in classorg.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder<ClusterShardingMessages.ShardStats.Builder>
-
clearOneof
public ClusterShardingMessages.ShardStats.Builder clearOneof(org.apache.pekko.protobufv3.internal.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfaceorg.apache.pekko.protobufv3.internal.Message.Builder
- Overrides:
clearOneof
in classorg.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder<ClusterShardingMessages.ShardStats.Builder>
-
setRepeatedField
public ClusterShardingMessages.ShardStats.Builder setRepeatedField(org.apache.pekko.protobufv3.internal.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedField
in interfaceorg.apache.pekko.protobufv3.internal.Message.Builder
- Overrides:
setRepeatedField
in classorg.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder<ClusterShardingMessages.ShardStats.Builder>
-
addRepeatedField
public ClusterShardingMessages.ShardStats.Builder addRepeatedField(org.apache.pekko.protobufv3.internal.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedField
in interfaceorg.apache.pekko.protobufv3.internal.Message.Builder
- Overrides:
addRepeatedField
in classorg.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder<ClusterShardingMessages.ShardStats.Builder>
-
mergeFrom
public ClusterShardingMessages.ShardStats.Builder mergeFrom(org.apache.pekko.protobufv3.internal.Message other)
- Specified by:
mergeFrom
in interfaceorg.apache.pekko.protobufv3.internal.Message.Builder
- Overrides:
mergeFrom
in classorg.apache.pekko.protobufv3.internal.AbstractMessage.Builder<ClusterShardingMessages.ShardStats.Builder>
-
mergeFrom
public ClusterShardingMessages.ShardStats.Builder mergeFrom(ClusterShardingMessages.ShardStats other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfaceorg.apache.pekko.protobufv3.internal.MessageLiteOrBuilder
- Overrides:
isInitialized
in classorg.apache.pekko.protobufv3.internal.GeneratedMessageV3.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 interfaceorg.apache.pekko.protobufv3.internal.Message.Builder
- Specified by:
mergeFrom
in interfaceorg.apache.pekko.protobufv3.internal.MessageLite.Builder
- Overrides:
mergeFrom
in classorg.apache.pekko.protobufv3.internal.AbstractMessage.Builder<ClusterShardingMessages.ShardStats.Builder>
- Throws:
java.io.IOException
-
hasShard
public boolean hasShard()
required string shard = 1;
- Specified by:
hasShard
in interfaceClusterShardingMessages.ShardStatsOrBuilder
- Returns:
- Whether the shard field is set.
-
getShard
public java.lang.String getShard()
required string shard = 1;
- Specified by:
getShard
in interfaceClusterShardingMessages.ShardStatsOrBuilder
- Returns:
- The shard.
-
getShardBytes
public org.apache.pekko.protobufv3.internal.ByteString getShardBytes()
required string shard = 1;
- Specified by:
getShardBytes
in interfaceClusterShardingMessages.ShardStatsOrBuilder
- Returns:
- The bytes for shard.
-
setShard
public ClusterShardingMessages.ShardStats.Builder setShard(java.lang.String value)
required string shard = 1;
- Parameters:
value
- The shard to set.- Returns:
- This builder for chaining.
-
clearShard
public ClusterShardingMessages.ShardStats.Builder clearShard()
required string shard = 1;
- Returns:
- This builder for chaining.
-
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.
-
hasEntityCount
public boolean hasEntityCount()
required int32 entityCount = 2;
- Specified by:
hasEntityCount
in interfaceClusterShardingMessages.ShardStatsOrBuilder
- Returns:
- Whether the entityCount field is set.
-
getEntityCount
public int getEntityCount()
required int32 entityCount = 2;
- Specified by:
getEntityCount
in interfaceClusterShardingMessages.ShardStatsOrBuilder
- Returns:
- The entityCount.
-
setEntityCount
public ClusterShardingMessages.ShardStats.Builder setEntityCount(int value)
required int32 entityCount = 2;
- Parameters:
value
- The entityCount to set.- Returns:
- This builder for chaining.
-
clearEntityCount
public ClusterShardingMessages.ShardStats.Builder clearEntityCount()
required int32 entityCount = 2;
- Returns:
- This builder for chaining.
-
setUnknownFields
public final ClusterShardingMessages.ShardStats.Builder setUnknownFields(org.apache.pekko.protobufv3.internal.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfaceorg.apache.pekko.protobufv3.internal.Message.Builder
- Overrides:
setUnknownFields
in classorg.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder<ClusterShardingMessages.ShardStats.Builder>
-
mergeUnknownFields
public final ClusterShardingMessages.ShardStats.Builder mergeUnknownFields(org.apache.pekko.protobufv3.internal.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfaceorg.apache.pekko.protobufv3.internal.Message.Builder
- Overrides:
mergeUnknownFields
in classorg.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder<ClusterShardingMessages.ShardStats.Builder>
-
-