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.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class org.apache.pekko.protobufv3.internal.GeneratedMessage.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.GeneratedMessage.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
      • 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<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.