Package org.apache.pekko.remote
Class WireFormats.PropsData.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<WireFormats.PropsData.Builder>
-
- org.apache.pekko.remote.WireFormats.PropsData.Builder
-
- All Implemented Interfaces:
java.lang.Cloneable
,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
,WireFormats.PropsDataOrBuilder
- Enclosing class:
- WireFormats.PropsData
public static final class WireFormats.PropsData.Builder extends org.apache.pekko.protobufv3.internal.GeneratedMessage.Builder<WireFormats.PropsData.Builder> implements WireFormats.PropsDataOrBuilder
* Serialization of org.apache.pekko.actor.Props
Protobuf typePropsData
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description WireFormats.PropsData.Builder
addAllArgs(java.lang.Iterable<? extends org.apache.pekko.protobufv3.internal.ByteString> values)
repeated bytes args = 4;
WireFormats.PropsData.Builder
addAllHasManifest(java.lang.Iterable<? extends java.lang.Boolean> values)
additionally a flag per position to indicate if it was serialized with manifest or notWireFormats.PropsData.Builder
addAllManifests(java.lang.Iterable<java.lang.String> values)
serialized props parameters older wire protocol: contains class name for each arg newer wire protocol: contains string manifest for each argWireFormats.PropsData.Builder
addAllSerializerIds(java.lang.Iterable<? extends java.lang.Integer> values)
newer wire protocol: serializer id for each argWireFormats.PropsData.Builder
addArgs(org.apache.pekko.protobufv3.internal.ByteString value)
repeated bytes args = 4;
WireFormats.PropsData.Builder
addHasManifest(boolean value)
additionally a flag per position to indicate if it was serialized with manifest or notWireFormats.PropsData.Builder
addManifests(java.lang.String value)
serialized props parameters older wire protocol: contains class name for each arg newer wire protocol: contains string manifest for each argWireFormats.PropsData.Builder
addManifestsBytes(org.apache.pekko.protobufv3.internal.ByteString value)
serialized props parameters older wire protocol: contains class name for each arg newer wire protocol: contains string manifest for each argWireFormats.PropsData.Builder
addSerializerIds(int value)
newer wire protocol: serializer id for each argWireFormats.PropsData
build()
WireFormats.PropsData
buildPartial()
WireFormats.PropsData.Builder
clear()
WireFormats.PropsData.Builder
clearArgs()
repeated bytes args = 4;
WireFormats.PropsData.Builder
clearClazz()
required string clazz = 3;
WireFormats.PropsData.Builder
clearDeploy()
required .DeployData deploy = 2;
WireFormats.PropsData.Builder
clearHasManifest()
additionally a flag per position to indicate if it was serialized with manifest or notWireFormats.PropsData.Builder
clearManifests()
serialized props parameters older wire protocol: contains class name for each arg newer wire protocol: contains string manifest for each argWireFormats.PropsData.Builder
clearSerializerIds()
newer wire protocol: serializer id for each argorg.apache.pekko.protobufv3.internal.ByteString
getArgs(int index)
repeated bytes args = 4;
int
getArgsCount()
repeated bytes args = 4;
java.util.List<org.apache.pekko.protobufv3.internal.ByteString>
getArgsList()
repeated bytes args = 4;
java.lang.String
getClazz()
required string clazz = 3;
org.apache.pekko.protobufv3.internal.ByteString
getClazzBytes()
required string clazz = 3;
WireFormats.PropsData
getDefaultInstanceForType()
WireFormats.DeployData
getDeploy()
required .DeployData deploy = 2;
WireFormats.DeployData.Builder
getDeployBuilder()
required .DeployData deploy = 2;
WireFormats.DeployDataOrBuilder
getDeployOrBuilder()
required .DeployData deploy = 2;
static org.apache.pekko.protobufv3.internal.Descriptors.Descriptor
getDescriptor()
org.apache.pekko.protobufv3.internal.Descriptors.Descriptor
getDescriptorForType()
boolean
getHasManifest(int index)
additionally a flag per position to indicate if it was serialized with manifest or notint
getHasManifestCount()
additionally a flag per position to indicate if it was serialized with manifest or notjava.util.List<java.lang.Boolean>
getHasManifestList()
additionally a flag per position to indicate if it was serialized with manifest or notjava.lang.String
getManifests(int index)
serialized props parameters older wire protocol: contains class name for each arg newer wire protocol: contains string manifest for each argorg.apache.pekko.protobufv3.internal.ByteString
getManifestsBytes(int index)
serialized props parameters older wire protocol: contains class name for each arg newer wire protocol: contains string manifest for each argint
getManifestsCount()
serialized props parameters older wire protocol: contains class name for each arg newer wire protocol: contains string manifest for each argorg.apache.pekko.protobufv3.internal.ProtocolStringList
getManifestsList()
serialized props parameters older wire protocol: contains class name for each arg newer wire protocol: contains string manifest for each argint
getSerializerIds(int index)
newer wire protocol: serializer id for each argint
getSerializerIdsCount()
newer wire protocol: serializer id for each argjava.util.List<java.lang.Integer>
getSerializerIdsList()
newer wire protocol: serializer id for each argboolean
hasClazz()
required string clazz = 3;
boolean
hasDeploy()
required .DeployData deploy = 2;
protected org.apache.pekko.protobufv3.internal.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
WireFormats.PropsData.Builder
mergeDeploy(WireFormats.DeployData value)
required .DeployData deploy = 2;
WireFormats.PropsData.Builder
mergeFrom(org.apache.pekko.protobufv3.internal.CodedInputStream input, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
WireFormats.PropsData.Builder
mergeFrom(org.apache.pekko.protobufv3.internal.Message other)
WireFormats.PropsData.Builder
mergeFrom(WireFormats.PropsData other)
WireFormats.PropsData.Builder
setArgs(int index, org.apache.pekko.protobufv3.internal.ByteString value)
repeated bytes args = 4;
WireFormats.PropsData.Builder
setClazz(java.lang.String value)
required string clazz = 3;
WireFormats.PropsData.Builder
setClazzBytes(org.apache.pekko.protobufv3.internal.ByteString value)
required string clazz = 3;
WireFormats.PropsData.Builder
setDeploy(WireFormats.DeployData value)
required .DeployData deploy = 2;
WireFormats.PropsData.Builder
setDeploy(WireFormats.DeployData.Builder builderForValue)
required .DeployData deploy = 2;
WireFormats.PropsData.Builder
setHasManifest(int index, boolean value)
additionally a flag per position to indicate if it was serialized with manifest or notWireFormats.PropsData.Builder
setManifests(int index, java.lang.String value)
serialized props parameters older wire protocol: contains class name for each arg newer wire protocol: contains string manifest for each argWireFormats.PropsData.Builder
setSerializerIds(int index, int value)
newer wire protocol: serializer id for each arg-
Methods inherited from class org.apache.pekko.protobufv3.internal.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, 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.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classorg.apache.pekko.protobufv3.internal.GeneratedMessage.Builder<WireFormats.PropsData.Builder>
-
clear
public WireFormats.PropsData.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.GeneratedMessage.Builder<WireFormats.PropsData.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.GeneratedMessage.Builder<WireFormats.PropsData.Builder>
-
getDefaultInstanceForType
public WireFormats.PropsData getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfaceorg.apache.pekko.protobufv3.internal.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfaceorg.apache.pekko.protobufv3.internal.MessageOrBuilder
-
build
public WireFormats.PropsData 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 WireFormats.PropsData buildPartial()
- Specified by:
buildPartial
in interfaceorg.apache.pekko.protobufv3.internal.Message.Builder
- Specified by:
buildPartial
in interfaceorg.apache.pekko.protobufv3.internal.MessageLite.Builder
-
mergeFrom
public WireFormats.PropsData.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<WireFormats.PropsData.Builder>
-
mergeFrom
public WireFormats.PropsData.Builder mergeFrom(WireFormats.PropsData other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfaceorg.apache.pekko.protobufv3.internal.MessageLiteOrBuilder
- Overrides:
isInitialized
in classorg.apache.pekko.protobufv3.internal.GeneratedMessage.Builder<WireFormats.PropsData.Builder>
-
mergeFrom
public WireFormats.PropsData.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<WireFormats.PropsData.Builder>
- Throws:
java.io.IOException
-
hasDeploy
public boolean hasDeploy()
required .DeployData deploy = 2;
- Specified by:
hasDeploy
in interfaceWireFormats.PropsDataOrBuilder
- Returns:
- Whether the deploy field is set.
-
getDeploy
public WireFormats.DeployData getDeploy()
required .DeployData deploy = 2;
- Specified by:
getDeploy
in interfaceWireFormats.PropsDataOrBuilder
- Returns:
- The deploy.
-
setDeploy
public WireFormats.PropsData.Builder setDeploy(WireFormats.DeployData value)
required .DeployData deploy = 2;
-
setDeploy
public WireFormats.PropsData.Builder setDeploy(WireFormats.DeployData.Builder builderForValue)
required .DeployData deploy = 2;
-
mergeDeploy
public WireFormats.PropsData.Builder mergeDeploy(WireFormats.DeployData value)
required .DeployData deploy = 2;
-
clearDeploy
public WireFormats.PropsData.Builder clearDeploy()
required .DeployData deploy = 2;
-
getDeployBuilder
public WireFormats.DeployData.Builder getDeployBuilder()
required .DeployData deploy = 2;
-
getDeployOrBuilder
public WireFormats.DeployDataOrBuilder getDeployOrBuilder()
required .DeployData deploy = 2;
- Specified by:
getDeployOrBuilder
in interfaceWireFormats.PropsDataOrBuilder
-
hasClazz
public boolean hasClazz()
required string clazz = 3;
- Specified by:
hasClazz
in interfaceWireFormats.PropsDataOrBuilder
- Returns:
- Whether the clazz field is set.
-
getClazz
public java.lang.String getClazz()
required string clazz = 3;
- Specified by:
getClazz
in interfaceWireFormats.PropsDataOrBuilder
- Returns:
- The clazz.
-
getClazzBytes
public org.apache.pekko.protobufv3.internal.ByteString getClazzBytes()
required string clazz = 3;
- Specified by:
getClazzBytes
in interfaceWireFormats.PropsDataOrBuilder
- Returns:
- The bytes for clazz.
-
setClazz
public WireFormats.PropsData.Builder setClazz(java.lang.String value)
required string clazz = 3;
- Parameters:
value
- The clazz to set.- Returns:
- This builder for chaining.
-
clearClazz
public WireFormats.PropsData.Builder clearClazz()
required string clazz = 3;
- Returns:
- This builder for chaining.
-
setClazzBytes
public WireFormats.PropsData.Builder setClazzBytes(org.apache.pekko.protobufv3.internal.ByteString value)
required string clazz = 3;
- Parameters:
value
- The bytes for clazz to set.- Returns:
- This builder for chaining.
-
getArgsList
public java.util.List<org.apache.pekko.protobufv3.internal.ByteString> getArgsList()
repeated bytes args = 4;
- Specified by:
getArgsList
in interfaceWireFormats.PropsDataOrBuilder
- Returns:
- A list containing the args.
-
getArgsCount
public int getArgsCount()
repeated bytes args = 4;
- Specified by:
getArgsCount
in interfaceWireFormats.PropsDataOrBuilder
- Returns:
- The count of args.
-
getArgs
public org.apache.pekko.protobufv3.internal.ByteString getArgs(int index)
repeated bytes args = 4;
- Specified by:
getArgs
in interfaceWireFormats.PropsDataOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The args at the given index.
-
setArgs
public WireFormats.PropsData.Builder setArgs(int index, org.apache.pekko.protobufv3.internal.ByteString value)
repeated bytes args = 4;
- Parameters:
index
- The index to set the value at.value
- The args to set.- Returns:
- This builder for chaining.
-
addArgs
public WireFormats.PropsData.Builder addArgs(org.apache.pekko.protobufv3.internal.ByteString value)
repeated bytes args = 4;
- Parameters:
value
- The args to add.- Returns:
- This builder for chaining.
-
addAllArgs
public WireFormats.PropsData.Builder addAllArgs(java.lang.Iterable<? extends org.apache.pekko.protobufv3.internal.ByteString> values)
repeated bytes args = 4;
- Parameters:
values
- The args to add.- Returns:
- This builder for chaining.
-
clearArgs
public WireFormats.PropsData.Builder clearArgs()
repeated bytes args = 4;
- Returns:
- This builder for chaining.
-
getManifestsList
public org.apache.pekko.protobufv3.internal.ProtocolStringList getManifestsList()
serialized props parameters older wire protocol: contains class name for each arg newer wire protocol: contains string manifest for each arg
repeated string manifests = 5;
- Specified by:
getManifestsList
in interfaceWireFormats.PropsDataOrBuilder
- Returns:
- A list containing the manifests.
-
getManifestsCount
public int getManifestsCount()
serialized props parameters older wire protocol: contains class name for each arg newer wire protocol: contains string manifest for each arg
repeated string manifests = 5;
- Specified by:
getManifestsCount
in interfaceWireFormats.PropsDataOrBuilder
- Returns:
- The count of manifests.
-
getManifests
public java.lang.String getManifests(int index)
serialized props parameters older wire protocol: contains class name for each arg newer wire protocol: contains string manifest for each arg
repeated string manifests = 5;
- Specified by:
getManifests
in interfaceWireFormats.PropsDataOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The manifests at the given index.
-
getManifestsBytes
public org.apache.pekko.protobufv3.internal.ByteString getManifestsBytes(int index)
serialized props parameters older wire protocol: contains class name for each arg newer wire protocol: contains string manifest for each arg
repeated string manifests = 5;
- Specified by:
getManifestsBytes
in interfaceWireFormats.PropsDataOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the manifests at the given index.
-
setManifests
public WireFormats.PropsData.Builder setManifests(int index, java.lang.String value)
serialized props parameters older wire protocol: contains class name for each arg newer wire protocol: contains string manifest for each arg
repeated string manifests = 5;
- Parameters:
index
- The index to set the value at.value
- The manifests to set.- Returns:
- This builder for chaining.
-
addManifests
public WireFormats.PropsData.Builder addManifests(java.lang.String value)
serialized props parameters older wire protocol: contains class name for each arg newer wire protocol: contains string manifest for each arg
repeated string manifests = 5;
- Parameters:
value
- The manifests to add.- Returns:
- This builder for chaining.
-
addAllManifests
public WireFormats.PropsData.Builder addAllManifests(java.lang.Iterable<java.lang.String> values)
serialized props parameters older wire protocol: contains class name for each arg newer wire protocol: contains string manifest for each arg
repeated string manifests = 5;
- Parameters:
values
- The manifests to add.- Returns:
- This builder for chaining.
-
clearManifests
public WireFormats.PropsData.Builder clearManifests()
serialized props parameters older wire protocol: contains class name for each arg newer wire protocol: contains string manifest for each arg
repeated string manifests = 5;
- Returns:
- This builder for chaining.
-
addManifestsBytes
public WireFormats.PropsData.Builder addManifestsBytes(org.apache.pekko.protobufv3.internal.ByteString value)
serialized props parameters older wire protocol: contains class name for each arg newer wire protocol: contains string manifest for each arg
repeated string manifests = 5;
- Parameters:
value
- The bytes of the manifests to add.- Returns:
- This builder for chaining.
-
getSerializerIdsList
public java.util.List<java.lang.Integer> getSerializerIdsList()
newer wire protocol: serializer id for each arg
repeated int32 serializerIds = 6;
- Specified by:
getSerializerIdsList
in interfaceWireFormats.PropsDataOrBuilder
- Returns:
- A list containing the serializerIds.
-
getSerializerIdsCount
public int getSerializerIdsCount()
newer wire protocol: serializer id for each arg
repeated int32 serializerIds = 6;
- Specified by:
getSerializerIdsCount
in interfaceWireFormats.PropsDataOrBuilder
- Returns:
- The count of serializerIds.
-
getSerializerIds
public int getSerializerIds(int index)
newer wire protocol: serializer id for each arg
repeated int32 serializerIds = 6;
- Specified by:
getSerializerIds
in interfaceWireFormats.PropsDataOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The serializerIds at the given index.
-
setSerializerIds
public WireFormats.PropsData.Builder setSerializerIds(int index, int value)
newer wire protocol: serializer id for each arg
repeated int32 serializerIds = 6;
- Parameters:
index
- The index to set the value at.value
- The serializerIds to set.- Returns:
- This builder for chaining.
-
addSerializerIds
public WireFormats.PropsData.Builder addSerializerIds(int value)
newer wire protocol: serializer id for each arg
repeated int32 serializerIds = 6;
- Parameters:
value
- The serializerIds to add.- Returns:
- This builder for chaining.
-
addAllSerializerIds
public WireFormats.PropsData.Builder addAllSerializerIds(java.lang.Iterable<? extends java.lang.Integer> values)
newer wire protocol: serializer id for each arg
repeated int32 serializerIds = 6;
- Parameters:
values
- The serializerIds to add.- Returns:
- This builder for chaining.
-
clearSerializerIds
public WireFormats.PropsData.Builder clearSerializerIds()
newer wire protocol: serializer id for each arg
repeated int32 serializerIds = 6;
- Returns:
- This builder for chaining.
-
getHasManifestList
public java.util.List<java.lang.Boolean> getHasManifestList()
additionally a flag per position to indicate if it was serialized with manifest or not
repeated bool hasManifest = 7;
- Specified by:
getHasManifestList
in interfaceWireFormats.PropsDataOrBuilder
- Returns:
- A list containing the hasManifest.
-
getHasManifestCount
public int getHasManifestCount()
additionally a flag per position to indicate if it was serialized with manifest or not
repeated bool hasManifest = 7;
- Specified by:
getHasManifestCount
in interfaceWireFormats.PropsDataOrBuilder
- Returns:
- The count of hasManifest.
-
getHasManifest
public boolean getHasManifest(int index)
additionally a flag per position to indicate if it was serialized with manifest or not
repeated bool hasManifest = 7;
- Specified by:
getHasManifest
in interfaceWireFormats.PropsDataOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The hasManifest at the given index.
-
setHasManifest
public WireFormats.PropsData.Builder setHasManifest(int index, boolean value)
additionally a flag per position to indicate if it was serialized with manifest or not
repeated bool hasManifest = 7;
- Parameters:
index
- The index to set the value at.value
- The hasManifest to set.- Returns:
- This builder for chaining.
-
addHasManifest
public WireFormats.PropsData.Builder addHasManifest(boolean value)
additionally a flag per position to indicate if it was serialized with manifest or not
repeated bool hasManifest = 7;
- Parameters:
value
- The hasManifest to add.- Returns:
- This builder for chaining.
-
addAllHasManifest
public WireFormats.PropsData.Builder addAllHasManifest(java.lang.Iterable<? extends java.lang.Boolean> values)
additionally a flag per position to indicate if it was serialized with manifest or not
repeated bool hasManifest = 7;
- Parameters:
values
- The hasManifest to add.- Returns:
- This builder for chaining.
-
clearHasManifest
public WireFormats.PropsData.Builder clearHasManifest()
additionally a flag per position to indicate if it was serialized with manifest or not
repeated bool hasManifest = 7;
- Returns:
- This builder for chaining.
-
-