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:
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.PropsProtobuf type
PropsData-
Method Summary
Modifier and TypeMethodDescriptionaddAllArgs(Iterable<? extends org.apache.pekko.protobufv3.internal.ByteString> values) repeated bytes args = 4;addAllHasManifest(Iterable<? extends Boolean> values) additionally a flag per position to indicate if it was serialized with manifest or notaddAllManifests(Iterable<String> values) serialized props parameters older wire protocol: contains class name for each arg newer wire protocol: contains string manifest for each argaddAllSerializerIds(Iterable<? extends Integer> values) newer wire protocol: serializer id for each argaddArgs(org.apache.pekko.protobufv3.internal.ByteString value) repeated bytes args = 4;addHasManifest(boolean value) additionally a flag per position to indicate if it was serialized with manifest or notaddManifests(String value) serialized props parameters older wire protocol: contains class name for each arg newer wire protocol: contains string manifest for each argaddManifestsBytes(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 argaddSerializerIds(int value) newer wire protocol: serializer id for each argbuild()clear()repeated bytes args = 4;required string clazz = 3;required .DeployData deploy = 2;additionally a flag per position to indicate if it was serialized with manifest or notserialized props parameters older wire protocol: contains class name for each arg newer wire protocol: contains string manifest for each argnewer wire protocol: serializer id for each argorg.apache.pekko.protobufv3.internal.ByteStringgetArgs(int index) repeated bytes args = 4;intrepeated bytes args = 4;List<org.apache.pekko.protobufv3.internal.ByteString>repeated bytes args = 4;getClazz()required string clazz = 3;org.apache.pekko.protobufv3.internal.ByteStringrequired string clazz = 3;required .DeployData deploy = 2;required .DeployData deploy = 2;required .DeployData deploy = 2;static final org.apache.pekko.protobufv3.internal.Descriptors.Descriptororg.apache.pekko.protobufv3.internal.Descriptors.DescriptorbooleangetHasManifest(int index) additionally a flag per position to indicate if it was serialized with manifest or notintadditionally a flag per position to indicate if it was serialized with manifest or notadditionally a flag per position to indicate if it was serialized with manifest or notgetManifests(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.ByteStringgetManifestsBytes(int index) serialized props parameters older wire protocol: contains class name for each arg newer wire protocol: contains string manifest for each argintserialized props parameters older wire protocol: contains class name for each arg newer wire protocol: contains string manifest for each argorg.apache.pekko.protobufv3.internal.ProtocolStringListserialized props parameters older wire protocol: contains class name for each arg newer wire protocol: contains string manifest for each argintgetSerializerIds(int index) newer wire protocol: serializer id for each argintnewer wire protocol: serializer id for each argnewer wire protocol: serializer id for each argbooleanhasClazz()required string clazz = 3;booleanrequired .DeployData deploy = 2;protected org.apache.pekko.protobufv3.internal.GeneratedMessage.FieldAccessorTablefinal booleanrequired .DeployData deploy = 2;mergeFrom(org.apache.pekko.protobufv3.internal.CodedInputStream input, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry) mergeFrom(org.apache.pekko.protobufv3.internal.Message other) mergeFrom(WireFormats.PropsData other) setArgs(int index, org.apache.pekko.protobufv3.internal.ByteString value) repeated bytes args = 4;required string clazz = 3;setClazzBytes(org.apache.pekko.protobufv3.internal.ByteString value) required string clazz = 3;setDeploy(WireFormats.DeployData value) required .DeployData deploy = 2;setDeploy(WireFormats.DeployData.Builder builderForValue) required .DeployData deploy = 2;setHasManifest(int index, boolean value) additionally a flag per position to indicate if it was serialized with manifest or notsetManifests(int index, String value) serialized props parameters older wire protocol: contains class name for each arg newer wire protocol: contains string manifest for each argsetSerializerIds(int index, int value) newer wire protocol: serializer id for each argMethods 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, setUnknownFieldsProto3Methods inherited from class org.apache.pekko.protobufv3.internal.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class org.apache.pekko.protobufv3.internal.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.pekko.protobufv3.internal.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface org.apache.pekko.protobufv3.internal.MessageLite.Builder
mergeFromMethods inherited from interface org.apache.pekko.protobufv3.internal.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final org.apache.pekko.protobufv3.internal.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected org.apache.pekko.protobufv3.internal.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classorg.apache.pekko.protobufv3.internal.GeneratedMessage.Builder<WireFormats.PropsData.Builder>
-
clear
- Specified by:
clearin interfaceorg.apache.pekko.protobufv3.internal.Message.Builder- Specified by:
clearin interfaceorg.apache.pekko.protobufv3.internal.MessageLite.Builder- Overrides:
clearin classorg.apache.pekko.protobufv3.internal.GeneratedMessage.Builder<WireFormats.PropsData.Builder>
-
getDescriptorForType
public org.apache.pekko.protobufv3.internal.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfaceorg.apache.pekko.protobufv3.internal.Message.Builder- Specified by:
getDescriptorForTypein interfaceorg.apache.pekko.protobufv3.internal.MessageOrBuilder- Overrides:
getDescriptorForTypein classorg.apache.pekko.protobufv3.internal.GeneratedMessage.Builder<WireFormats.PropsData.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfaceorg.apache.pekko.protobufv3.internal.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfaceorg.apache.pekko.protobufv3.internal.MessageOrBuilder
-
build
- Specified by:
buildin interfaceorg.apache.pekko.protobufv3.internal.Message.Builder- Specified by:
buildin interfaceorg.apache.pekko.protobufv3.internal.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfaceorg.apache.pekko.protobufv3.internal.Message.Builder- Specified by:
buildPartialin interfaceorg.apache.pekko.protobufv3.internal.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfaceorg.apache.pekko.protobufv3.internal.Message.Builder- Overrides:
mergeFromin classorg.apache.pekko.protobufv3.internal.AbstractMessage.Builder<WireFormats.PropsData.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfaceorg.apache.pekko.protobufv3.internal.MessageLiteOrBuilder- Overrides:
isInitializedin 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 IOException - Specified by:
mergeFromin interfaceorg.apache.pekko.protobufv3.internal.Message.Builder- Specified by:
mergeFromin interfaceorg.apache.pekko.protobufv3.internal.MessageLite.Builder- Overrides:
mergeFromin classorg.apache.pekko.protobufv3.internal.AbstractMessage.Builder<WireFormats.PropsData.Builder>- Throws:
IOException
-
hasDeploy
public boolean hasDeploy()required .DeployData deploy = 2;- Specified by:
hasDeployin interfaceWireFormats.PropsDataOrBuilder- Returns:
- Whether the deploy field is set.
-
getDeploy
required .DeployData deploy = 2;- Specified by:
getDeployin interfaceWireFormats.PropsDataOrBuilder- Returns:
- The deploy.
-
setDeploy
required .DeployData deploy = 2; -
setDeploy
required .DeployData deploy = 2; -
mergeDeploy
required .DeployData deploy = 2; -
clearDeploy
required .DeployData deploy = 2; -
getDeployBuilder
required .DeployData deploy = 2; -
getDeployOrBuilder
required .DeployData deploy = 2;- Specified by:
getDeployOrBuilderin interfaceWireFormats.PropsDataOrBuilder
-
hasClazz
public boolean hasClazz()required string clazz = 3;- Specified by:
hasClazzin interfaceWireFormats.PropsDataOrBuilder- Returns:
- Whether the clazz field is set.
-
getClazz
required string clazz = 3;- Specified by:
getClazzin interfaceWireFormats.PropsDataOrBuilder- Returns:
- The clazz.
-
getClazzBytes
public org.apache.pekko.protobufv3.internal.ByteString getClazzBytes()required string clazz = 3;- Specified by:
getClazzBytesin interfaceWireFormats.PropsDataOrBuilder- Returns:
- The bytes for clazz.
-
setClazz
required string clazz = 3;- Parameters:
value- The clazz to set.- Returns:
- This builder for chaining.
-
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
repeated bytes args = 4;- Specified by:
getArgsListin interfaceWireFormats.PropsDataOrBuilder- Returns:
- A list containing the args.
-
getArgsCount
public int getArgsCount()repeated bytes args = 4;- Specified by:
getArgsCountin interfaceWireFormats.PropsDataOrBuilder- Returns:
- The count of args.
-
getArgs
public org.apache.pekko.protobufv3.internal.ByteString getArgs(int index) repeated bytes args = 4;- Specified by:
getArgsin 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
repeated bytes args = 4;- Parameters:
value- The args to add.- Returns:
- This builder for chaining.
-
addAllArgs
public WireFormats.PropsData.Builder addAllArgs(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
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:
getManifestsListin 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:
getManifestsCountin interfaceWireFormats.PropsDataOrBuilder- Returns:
- The count of manifests.
-
getManifests
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:
getManifestsin 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:
getManifestsBytesin interfaceWireFormats.PropsDataOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the manifests at the given index.
-
setManifests
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
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
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
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
newer wire protocol: serializer id for each arg
repeated int32 serializerIds = 6;- Specified by:
getSerializerIdsListin 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:
getSerializerIdsCountin 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:
getSerializerIdsin interfaceWireFormats.PropsDataOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The serializerIds at the given index.
-
setSerializerIds
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
newer wire protocol: serializer id for each arg
repeated int32 serializerIds = 6;- Parameters:
value- The serializerIds to add.- Returns:
- This builder for chaining.
-
addAllSerializerIds
newer wire protocol: serializer id for each arg
repeated int32 serializerIds = 6;- Parameters:
values- The serializerIds to add.- Returns:
- This builder for chaining.
-
clearSerializerIds
newer wire protocol: serializer id for each arg
repeated int32 serializerIds = 6;- Returns:
- This builder for chaining.
-
getHasManifestList
additionally a flag per position to indicate if it was serialized with manifest or not
repeated bool hasManifest = 7;- Specified by:
getHasManifestListin 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:
getHasManifestCountin 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:
getHasManifestin interfaceWireFormats.PropsDataOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The hasManifest at the given index.
-
setHasManifest
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
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
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
additionally a flag per position to indicate if it was serialized with manifest or not
repeated bool hasManifest = 7;- Returns:
- This builder for chaining.
-