Class ClusterShardingMessages.MapFieldEntry.Builder
- java.lang.Object
-
- akka.protobufv3.internal.AbstractMessageLite.Builder
-
- akka.protobufv3.internal.AbstractMessage.Builder<BuilderT>
-
- akka.protobufv3.internal.GeneratedMessageV3.Builder<ClusterShardingMessages.MapFieldEntry.Builder>
-
- akka.cluster.sharding.protobuf.msg.ClusterShardingMessages.MapFieldEntry.Builder
-
- All Implemented Interfaces:
ClusterShardingMessages.MapFieldEntryOrBuilder
,akka.protobufv3.internal.Message.Builder
,akka.protobufv3.internal.MessageLite.Builder
,akka.protobufv3.internal.MessageLiteOrBuilder
,akka.protobufv3.internal.MessageOrBuilder
,java.lang.Cloneable
- Enclosing class:
- ClusterShardingMessages.MapFieldEntry
public static final class ClusterShardingMessages.MapFieldEntry.Builder extends akka.protobufv3.internal.GeneratedMessageV3.Builder<ClusterShardingMessages.MapFieldEntry.Builder> implements ClusterShardingMessages.MapFieldEntryOrBuilder
Protobuf typeMapFieldEntry
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ClusterShardingMessages.MapFieldEntry.Builder
addRepeatedField(akka.protobufv3.internal.Descriptors.FieldDescriptor field, java.lang.Object value)
ClusterShardingMessages.MapFieldEntry
build()
ClusterShardingMessages.MapFieldEntry
buildPartial()
ClusterShardingMessages.MapFieldEntry.Builder
clear()
ClusterShardingMessages.MapFieldEntry.Builder
clearField(akka.protobufv3.internal.Descriptors.FieldDescriptor field)
ClusterShardingMessages.MapFieldEntry.Builder
clearKey()
optional string key = 1;
ClusterShardingMessages.MapFieldEntry.Builder
clearOneof(akka.protobufv3.internal.Descriptors.OneofDescriptor oneof)
ClusterShardingMessages.MapFieldEntry.Builder
clearValue()
optional int32 value = 2;
ClusterShardingMessages.MapFieldEntry.Builder
clone()
ClusterShardingMessages.MapFieldEntry
getDefaultInstanceForType()
static akka.protobufv3.internal.Descriptors.Descriptor
getDescriptor()
akka.protobufv3.internal.Descriptors.Descriptor
getDescriptorForType()
java.lang.String
getKey()
optional string key = 1;
akka.protobufv3.internal.ByteString
getKeyBytes()
optional string key = 1;
int
getValue()
optional int32 value = 2;
boolean
hasKey()
optional string key = 1;
boolean
hasValue()
optional int32 value = 2;
protected akka.protobufv3.internal.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
ClusterShardingMessages.MapFieldEntry.Builder
mergeFrom(ClusterShardingMessages.MapFieldEntry other)
ClusterShardingMessages.MapFieldEntry.Builder
mergeFrom(akka.protobufv3.internal.CodedInputStream input, akka.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
ClusterShardingMessages.MapFieldEntry.Builder
mergeFrom(akka.protobufv3.internal.Message other)
ClusterShardingMessages.MapFieldEntry.Builder
mergeUnknownFields(akka.protobufv3.internal.UnknownFieldSet unknownFields)
ClusterShardingMessages.MapFieldEntry.Builder
setField(akka.protobufv3.internal.Descriptors.FieldDescriptor field, java.lang.Object value)
ClusterShardingMessages.MapFieldEntry.Builder
setKey(java.lang.String value)
optional string key = 1;
ClusterShardingMessages.MapFieldEntry.Builder
setKeyBytes(akka.protobufv3.internal.ByteString value)
optional string key = 1;
ClusterShardingMessages.MapFieldEntry.Builder
setRepeatedField(akka.protobufv3.internal.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
ClusterShardingMessages.MapFieldEntry.Builder
setUnknownFields(akka.protobufv3.internal.UnknownFieldSet unknownFields)
ClusterShardingMessages.MapFieldEntry.Builder
setValue(int value)
optional int32 value = 2;
-
Methods inherited from class akka.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 akka.protobufv3.internal.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class akka.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 akka.protobufv3.internal.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected akka.protobufv3.internal.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classakka.protobufv3.internal.GeneratedMessageV3.Builder<ClusterShardingMessages.MapFieldEntry.Builder>
-
clear
public ClusterShardingMessages.MapFieldEntry.Builder clear()
- Specified by:
clear
in interfaceakka.protobufv3.internal.Message.Builder
- Specified by:
clear
in interfaceakka.protobufv3.internal.MessageLite.Builder
- Overrides:
clear
in classakka.protobufv3.internal.GeneratedMessageV3.Builder<ClusterShardingMessages.MapFieldEntry.Builder>
-
getDescriptorForType
public akka.protobufv3.internal.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfaceakka.protobufv3.internal.Message.Builder
- Specified by:
getDescriptorForType
in interfaceakka.protobufv3.internal.MessageOrBuilder
- Overrides:
getDescriptorForType
in classakka.protobufv3.internal.GeneratedMessageV3.Builder<ClusterShardingMessages.MapFieldEntry.Builder>
-
getDefaultInstanceForType
public ClusterShardingMessages.MapFieldEntry getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfaceakka.protobufv3.internal.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfaceakka.protobufv3.internal.MessageOrBuilder
-
build
public ClusterShardingMessages.MapFieldEntry build()
- Specified by:
build
in interfaceakka.protobufv3.internal.Message.Builder
- Specified by:
build
in interfaceakka.protobufv3.internal.MessageLite.Builder
-
buildPartial
public ClusterShardingMessages.MapFieldEntry buildPartial()
- Specified by:
buildPartial
in interfaceakka.protobufv3.internal.Message.Builder
- Specified by:
buildPartial
in interfaceakka.protobufv3.internal.MessageLite.Builder
-
clone
public ClusterShardingMessages.MapFieldEntry.Builder clone()
- Specified by:
clone
in interfaceakka.protobufv3.internal.Message.Builder
- Specified by:
clone
in interfaceakka.protobufv3.internal.MessageLite.Builder
- Overrides:
clone
in classakka.protobufv3.internal.GeneratedMessageV3.Builder<ClusterShardingMessages.MapFieldEntry.Builder>
-
setField
public ClusterShardingMessages.MapFieldEntry.Builder setField(akka.protobufv3.internal.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setField
in interfaceakka.protobufv3.internal.Message.Builder
- Overrides:
setField
in classakka.protobufv3.internal.GeneratedMessageV3.Builder<ClusterShardingMessages.MapFieldEntry.Builder>
-
clearField
public ClusterShardingMessages.MapFieldEntry.Builder clearField(akka.protobufv3.internal.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfaceakka.protobufv3.internal.Message.Builder
- Overrides:
clearField
in classakka.protobufv3.internal.GeneratedMessageV3.Builder<ClusterShardingMessages.MapFieldEntry.Builder>
-
clearOneof
public ClusterShardingMessages.MapFieldEntry.Builder clearOneof(akka.protobufv3.internal.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfaceakka.protobufv3.internal.Message.Builder
- Overrides:
clearOneof
in classakka.protobufv3.internal.GeneratedMessageV3.Builder<ClusterShardingMessages.MapFieldEntry.Builder>
-
setRepeatedField
public ClusterShardingMessages.MapFieldEntry.Builder setRepeatedField(akka.protobufv3.internal.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedField
in interfaceakka.protobufv3.internal.Message.Builder
- Overrides:
setRepeatedField
in classakka.protobufv3.internal.GeneratedMessageV3.Builder<ClusterShardingMessages.MapFieldEntry.Builder>
-
addRepeatedField
public ClusterShardingMessages.MapFieldEntry.Builder addRepeatedField(akka.protobufv3.internal.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedField
in interfaceakka.protobufv3.internal.Message.Builder
- Overrides:
addRepeatedField
in classakka.protobufv3.internal.GeneratedMessageV3.Builder<ClusterShardingMessages.MapFieldEntry.Builder>
-
mergeFrom
public ClusterShardingMessages.MapFieldEntry.Builder mergeFrom(akka.protobufv3.internal.Message other)
- Specified by:
mergeFrom
in interfaceakka.protobufv3.internal.Message.Builder
- Overrides:
mergeFrom
in classakka.protobufv3.internal.AbstractMessage.Builder<ClusterShardingMessages.MapFieldEntry.Builder>
-
mergeFrom
public ClusterShardingMessages.MapFieldEntry.Builder mergeFrom(ClusterShardingMessages.MapFieldEntry other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfaceakka.protobufv3.internal.MessageLiteOrBuilder
- Overrides:
isInitialized
in classakka.protobufv3.internal.GeneratedMessageV3.Builder<ClusterShardingMessages.MapFieldEntry.Builder>
-
mergeFrom
public ClusterShardingMessages.MapFieldEntry.Builder mergeFrom(akka.protobufv3.internal.CodedInputStream input, akka.protobufv3.internal.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFrom
in interfaceakka.protobufv3.internal.Message.Builder
- Specified by:
mergeFrom
in interfaceakka.protobufv3.internal.MessageLite.Builder
- Overrides:
mergeFrom
in classakka.protobufv3.internal.AbstractMessage.Builder<ClusterShardingMessages.MapFieldEntry.Builder>
- Throws:
java.io.IOException
-
hasKey
public boolean hasKey()
optional string key = 1;
- Specified by:
hasKey
in interfaceClusterShardingMessages.MapFieldEntryOrBuilder
- Returns:
- Whether the key field is set.
-
getKey
public java.lang.String getKey()
optional string key = 1;
- Specified by:
getKey
in interfaceClusterShardingMessages.MapFieldEntryOrBuilder
- Returns:
- The key.
-
getKeyBytes
public akka.protobufv3.internal.ByteString getKeyBytes()
optional string key = 1;
- Specified by:
getKeyBytes
in interfaceClusterShardingMessages.MapFieldEntryOrBuilder
- Returns:
- The bytes for key.
-
setKey
public ClusterShardingMessages.MapFieldEntry.Builder setKey(java.lang.String value)
optional string key = 1;
- Parameters:
value
- The key to set.- Returns:
- This builder for chaining.
-
clearKey
public ClusterShardingMessages.MapFieldEntry.Builder clearKey()
optional string key = 1;
- Returns:
- This builder for chaining.
-
setKeyBytes
public ClusterShardingMessages.MapFieldEntry.Builder setKeyBytes(akka.protobufv3.internal.ByteString value)
optional string key = 1;
- Parameters:
value
- The bytes for key to set.- Returns:
- This builder for chaining.
-
hasValue
public boolean hasValue()
optional int32 value = 2;
- Specified by:
hasValue
in interfaceClusterShardingMessages.MapFieldEntryOrBuilder
- Returns:
- Whether the value field is set.
-
getValue
public int getValue()
optional int32 value = 2;
- Specified by:
getValue
in interfaceClusterShardingMessages.MapFieldEntryOrBuilder
- Returns:
- The value.
-
setValue
public ClusterShardingMessages.MapFieldEntry.Builder setValue(int value)
optional int32 value = 2;
- Parameters:
value
- The value to set.- Returns:
- This builder for chaining.
-
clearValue
public ClusterShardingMessages.MapFieldEntry.Builder clearValue()
optional int32 value = 2;
- Returns:
- This builder for chaining.
-
setUnknownFields
public final ClusterShardingMessages.MapFieldEntry.Builder setUnknownFields(akka.protobufv3.internal.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfaceakka.protobufv3.internal.Message.Builder
- Overrides:
setUnknownFields
in classakka.protobufv3.internal.GeneratedMessageV3.Builder<ClusterShardingMessages.MapFieldEntry.Builder>
-
mergeUnknownFields
public final ClusterShardingMessages.MapFieldEntry.Builder mergeUnknownFields(akka.protobufv3.internal.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfaceakka.protobufv3.internal.Message.Builder
- Overrides:
mergeUnknownFields
in classakka.protobufv3.internal.GeneratedMessageV3.Builder<ClusterShardingMessages.MapFieldEntry.Builder>
-
-