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.Props
 
Protobuf type PropsData
  • 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:
      internalGetFieldAccessorTable in class org.apache.pekko.protobufv3.internal.GeneratedMessage.Builder<WireFormats.PropsData.Builder>
    • clear

      Specified by:
      clear in interface org.apache.pekko.protobufv3.internal.Message.Builder
      Specified by:
      clear in interface org.apache.pekko.protobufv3.internal.MessageLite.Builder
      Overrides:
      clear in class org.apache.pekko.protobufv3.internal.GeneratedMessage.Builder<WireFormats.PropsData.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<WireFormats.PropsData.Builder>
    • getDefaultInstanceForType

      public WireFormats.PropsData 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 WireFormats.PropsData 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 WireFormats.PropsData 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
    • mergeFrom

      public WireFormats.PropsData.Builder mergeFrom(org.apache.pekko.protobufv3.internal.Message other)
      Specified by:
      mergeFrom in interface org.apache.pekko.protobufv3.internal.Message.Builder
      Overrides:
      mergeFrom in class org.apache.pekko.protobufv3.internal.AbstractMessage.Builder<WireFormats.PropsData.Builder>
    • mergeFrom

    • 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<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:
      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<WireFormats.PropsData.Builder>
      Throws:
      IOException
    • hasDeploy

      public boolean hasDeploy()
      required .DeployData deploy = 2;
      Specified by:
      hasDeploy in interface WireFormats.PropsDataOrBuilder
      Returns:
      Whether the deploy field is set.
    • getDeploy

      public WireFormats.DeployData getDeploy()
      required .DeployData deploy = 2;
      Specified by:
      getDeploy in interface WireFormats.PropsDataOrBuilder
      Returns:
      The deploy.
    • setDeploy

      required .DeployData deploy = 2;
    • setDeploy

      required .DeployData deploy = 2;
    • mergeDeploy

      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 interface WireFormats.PropsDataOrBuilder
    • hasClazz

      public boolean hasClazz()
      required string clazz = 3;
      Specified by:
      hasClazz in interface WireFormats.PropsDataOrBuilder
      Returns:
      Whether the clazz field is set.
    • getClazz

      public String getClazz()
      required string clazz = 3;
      Specified by:
      getClazz in interface WireFormats.PropsDataOrBuilder
      Returns:
      The clazz.
    • getClazzBytes

      public org.apache.pekko.protobufv3.internal.ByteString getClazzBytes()
      required string clazz = 3;
      Specified by:
      getClazzBytes in interface WireFormats.PropsDataOrBuilder
      Returns:
      The bytes for clazz.
    • setClazz

      public WireFormats.PropsData.Builder setClazz(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 List<org.apache.pekko.protobufv3.internal.ByteString> getArgsList()
      repeated bytes args = 4;
      Specified by:
      getArgsList in interface WireFormats.PropsDataOrBuilder
      Returns:
      A list containing the args.
    • getArgsCount

      public int getArgsCount()
      repeated bytes args = 4;
      Specified by:
      getArgsCount in interface WireFormats.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 interface WireFormats.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(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 interface WireFormats.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 interface WireFormats.PropsDataOrBuilder
      Returns:
      The count of manifests.
    • getManifests

      public 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 interface WireFormats.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 interface WireFormats.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, 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(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(Iterable<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 List<Integer> getSerializerIdsList()
       newer wire protocol: serializer id for each arg
       
      repeated int32 serializerIds = 6;
      Specified by:
      getSerializerIdsList in interface WireFormats.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 interface WireFormats.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 interface WireFormats.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(Iterable<? extends 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 List<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 interface WireFormats.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 interface WireFormats.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 interface WireFormats.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(Iterable<? extends 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.