Class MessageFormats.PersistentPayload.Builder

    • 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<MessageFormats.PersistentPayload.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<MessageFormats.PersistentPayload.Builder>
      • getDefaultInstanceForType

        public MessageFormats.PersistentPayload 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 MessageFormats.PersistentPayload 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 MessageFormats.PersistentPayload 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
      • setRepeatedField

        public MessageFormats.PersistentPayload.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<MessageFormats.PersistentPayload.Builder>
      • addRepeatedField

        public MessageFormats.PersistentPayload.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<MessageFormats.PersistentPayload.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<MessageFormats.PersistentPayload.Builder>
      • mergeFrom

        public MessageFormats.PersistentPayload.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<MessageFormats.PersistentPayload.Builder>
        Throws:
        java.io.IOException
      • setSerializerId

        public MessageFormats.PersistentPayload.Builder setSerializerId​(int value)
        required int32 serializerId = 1;
        Parameters:
        value - The serializerId to set.
        Returns:
        This builder for chaining.
      • setPayload

        public MessageFormats.PersistentPayload.Builder setPayload​(org.apache.pekko.protobufv3.internal.ByteString value)
        required bytes payload = 2;
        Parameters:
        value - The payload to set.
        Returns:
        This builder for chaining.
      • setPayloadManifest

        public MessageFormats.PersistentPayload.Builder setPayloadManifest​(org.apache.pekko.protobufv3.internal.ByteString value)
        optional bytes payloadManifest = 3;
        Parameters:
        value - The payloadManifest to set.
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final MessageFormats.PersistentPayload.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<MessageFormats.PersistentPayload.Builder>
      • mergeUnknownFields

        public final MessageFormats.PersistentPayload.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<MessageFormats.PersistentPayload.Builder>