Class 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.GeneratedMessageV3.Builder<WireFormats.PropsData.Builder>
    implements WireFormats.PropsDataOrBuilder
    
     Serialization of org.apache.pekko.actor.Props
     
    Protobuf type PropsData
    • 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 class org.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder<WireFormats.PropsData.Builder>
      • clear

        public 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.GeneratedMessageV3.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.GeneratedMessageV3.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
      • clone

        public WireFormats.PropsData.Builder clone()
        Specified by:
        clone in interface org.apache.pekko.protobufv3.internal.Message.Builder
        Specified by:
        clone in interface org.apache.pekko.protobufv3.internal.MessageLite.Builder
        Overrides:
        clone in class org.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder<WireFormats.PropsData.Builder>
      • setField

        public WireFormats.PropsData.Builder setField​(org.apache.pekko.protobufv3.internal.Descriptors.FieldDescriptor field,
                                                      java.lang.Object value)
        Specified by:
        setField in interface org.apache.pekko.protobufv3.internal.Message.Builder
        Overrides:
        setField in class org.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder<WireFormats.PropsData.Builder>
      • clearField

        public WireFormats.PropsData.Builder clearField​(org.apache.pekko.protobufv3.internal.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface org.apache.pekko.protobufv3.internal.Message.Builder
        Overrides:
        clearField in class org.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder<WireFormats.PropsData.Builder>
      • clearOneof

        public WireFormats.PropsData.Builder clearOneof​(org.apache.pekko.protobufv3.internal.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface org.apache.pekko.protobufv3.internal.Message.Builder
        Overrides:
        clearOneof in class org.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder<WireFormats.PropsData.Builder>
      • setRepeatedField

        public WireFormats.PropsData.Builder setRepeatedField​(org.apache.pekko.protobufv3.internal.Descriptors.FieldDescriptor field,
                                                              int index,
                                                              java.lang.Object value)
        Specified by:
        setRepeatedField in interface org.apache.pekko.protobufv3.internal.Message.Builder
        Overrides:
        setRepeatedField in class org.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder<WireFormats.PropsData.Builder>
      • addRepeatedField

        public WireFormats.PropsData.Builder addRepeatedField​(org.apache.pekko.protobufv3.internal.Descriptors.FieldDescriptor field,
                                                              java.lang.Object value)
        Specified by:
        addRepeatedField in interface org.apache.pekko.protobufv3.internal.Message.Builder
        Overrides:
        addRepeatedField in class org.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder<WireFormats.PropsData.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>
      • 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.GeneratedMessageV3.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 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:
        java.io.IOException
      • 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​(java.lang.String value)
        required string clazz = 3;
        Parameters:
        value - The clazz to set.
        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 interface WireFormats.PropsDataOrBuilder
        Returns:
        A list containing the 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​(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.
      • 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 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 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,
                                                          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 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​(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 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​(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.
      • setUnknownFields

        public final WireFormats.PropsData.Builder setUnknownFields​(org.apache.pekko.protobufv3.internal.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface org.apache.pekko.protobufv3.internal.Message.Builder
        Overrides:
        setUnknownFields in class org.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder<WireFormats.PropsData.Builder>
      • mergeUnknownFields

        public final WireFormats.PropsData.Builder mergeUnknownFields​(org.apache.pekko.protobufv3.internal.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface org.apache.pekko.protobufv3.internal.Message.Builder
        Overrides:
        mergeUnknownFields in class org.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder<WireFormats.PropsData.Builder>