Class MessageFormats.PersistentPayload.Builder
- java.lang.Object
-
- org.apache.pekko.protobufv3.internal.AbstractMessageLite.Builder
-
- org.apache.pekko.protobufv3.internal.AbstractMessage.Builder<BuilderType>
-
- org.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder<MessageFormats.PersistentPayload.Builder>
-
- org.apache.pekko.persistence.serialization.MessageFormats.PersistentPayload.Builder
-
- All Implemented Interfaces:
java.lang.Cloneable
,MessageFormats.PersistentPayloadOrBuilder
,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
- Enclosing class:
- MessageFormats.PersistentPayload
public static final class MessageFormats.PersistentPayload.Builder extends org.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder<MessageFormats.PersistentPayload.Builder> implements MessageFormats.PersistentPayloadOrBuilder
Protobuf typePersistentPayload
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description MessageFormats.PersistentPayload.Builder
addRepeatedField(org.apache.pekko.protobufv3.internal.Descriptors.FieldDescriptor field, java.lang.Object value)
MessageFormats.PersistentPayload
build()
MessageFormats.PersistentPayload
buildPartial()
MessageFormats.PersistentPayload.Builder
clear()
MessageFormats.PersistentPayload.Builder
clearField(org.apache.pekko.protobufv3.internal.Descriptors.FieldDescriptor field)
MessageFormats.PersistentPayload.Builder
clearOneof(org.apache.pekko.protobufv3.internal.Descriptors.OneofDescriptor oneof)
MessageFormats.PersistentPayload.Builder
clearPayload()
required bytes payload = 2;
MessageFormats.PersistentPayload.Builder
clearPayloadManifest()
optional bytes payloadManifest = 3;
MessageFormats.PersistentPayload.Builder
clearSerializerId()
required int32 serializerId = 1;
MessageFormats.PersistentPayload.Builder
clone()
MessageFormats.PersistentPayload
getDefaultInstanceForType()
static org.apache.pekko.protobufv3.internal.Descriptors.Descriptor
getDescriptor()
org.apache.pekko.protobufv3.internal.Descriptors.Descriptor
getDescriptorForType()
org.apache.pekko.protobufv3.internal.ByteString
getPayload()
required bytes payload = 2;
org.apache.pekko.protobufv3.internal.ByteString
getPayloadManifest()
optional bytes payloadManifest = 3;
int
getSerializerId()
required int32 serializerId = 1;
boolean
hasPayload()
required bytes payload = 2;
boolean
hasPayloadManifest()
optional bytes payloadManifest = 3;
boolean
hasSerializerId()
required int32 serializerId = 1;
protected org.apache.pekko.protobufv3.internal.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
MessageFormats.PersistentPayload.Builder
mergeFrom(MessageFormats.PersistentPayload other)
MessageFormats.PersistentPayload.Builder
mergeFrom(org.apache.pekko.protobufv3.internal.CodedInputStream input, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
MessageFormats.PersistentPayload.Builder
mergeFrom(org.apache.pekko.protobufv3.internal.Message other)
MessageFormats.PersistentPayload.Builder
mergeUnknownFields(org.apache.pekko.protobufv3.internal.UnknownFieldSet unknownFields)
MessageFormats.PersistentPayload.Builder
setField(org.apache.pekko.protobufv3.internal.Descriptors.FieldDescriptor field, java.lang.Object value)
MessageFormats.PersistentPayload.Builder
setPayload(org.apache.pekko.protobufv3.internal.ByteString value)
required bytes payload = 2;
MessageFormats.PersistentPayload.Builder
setPayloadManifest(org.apache.pekko.protobufv3.internal.ByteString value)
optional bytes payloadManifest = 3;
MessageFormats.PersistentPayload.Builder
setRepeatedField(org.apache.pekko.protobufv3.internal.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
MessageFormats.PersistentPayload.Builder
setSerializerId(int value)
required int32 serializerId = 1;
MessageFormats.PersistentPayload.Builder
setUnknownFields(org.apache.pekko.protobufv3.internal.UnknownFieldSet unknownFields)
-
Methods inherited from class org.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class org.apache.pekko.protobufv3.internal.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class org.apache.pekko.protobufv3.internal.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
-
-
-
-
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 classorg.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder<MessageFormats.PersistentPayload.Builder>
-
clear
public MessageFormats.PersistentPayload.Builder clear()
- Specified by:
clear
in interfaceorg.apache.pekko.protobufv3.internal.Message.Builder
- Specified by:
clear
in interfaceorg.apache.pekko.protobufv3.internal.MessageLite.Builder
- Overrides:
clear
in classorg.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder<MessageFormats.PersistentPayload.Builder>
-
getDescriptorForType
public org.apache.pekko.protobufv3.internal.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfaceorg.apache.pekko.protobufv3.internal.Message.Builder
- Specified by:
getDescriptorForType
in interfaceorg.apache.pekko.protobufv3.internal.MessageOrBuilder
- Overrides:
getDescriptorForType
in classorg.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder<MessageFormats.PersistentPayload.Builder>
-
getDefaultInstanceForType
public MessageFormats.PersistentPayload getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfaceorg.apache.pekko.protobufv3.internal.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfaceorg.apache.pekko.protobufv3.internal.MessageOrBuilder
-
build
public MessageFormats.PersistentPayload build()
- Specified by:
build
in interfaceorg.apache.pekko.protobufv3.internal.Message.Builder
- Specified by:
build
in interfaceorg.apache.pekko.protobufv3.internal.MessageLite.Builder
-
buildPartial
public MessageFormats.PersistentPayload buildPartial()
- Specified by:
buildPartial
in interfaceorg.apache.pekko.protobufv3.internal.Message.Builder
- Specified by:
buildPartial
in interfaceorg.apache.pekko.protobufv3.internal.MessageLite.Builder
-
clone
public MessageFormats.PersistentPayload.Builder clone()
- Specified by:
clone
in interfaceorg.apache.pekko.protobufv3.internal.Message.Builder
- Specified by:
clone
in interfaceorg.apache.pekko.protobufv3.internal.MessageLite.Builder
- Overrides:
clone
in classorg.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder<MessageFormats.PersistentPayload.Builder>
-
setField
public MessageFormats.PersistentPayload.Builder setField(org.apache.pekko.protobufv3.internal.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setField
in interfaceorg.apache.pekko.protobufv3.internal.Message.Builder
- Overrides:
setField
in classorg.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder<MessageFormats.PersistentPayload.Builder>
-
clearField
public MessageFormats.PersistentPayload.Builder clearField(org.apache.pekko.protobufv3.internal.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfaceorg.apache.pekko.protobufv3.internal.Message.Builder
- Overrides:
clearField
in classorg.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder<MessageFormats.PersistentPayload.Builder>
-
clearOneof
public MessageFormats.PersistentPayload.Builder clearOneof(org.apache.pekko.protobufv3.internal.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfaceorg.apache.pekko.protobufv3.internal.Message.Builder
- Overrides:
clearOneof
in classorg.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder<MessageFormats.PersistentPayload.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 interfaceorg.apache.pekko.protobufv3.internal.Message.Builder
- Overrides:
setRepeatedField
in classorg.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 interfaceorg.apache.pekko.protobufv3.internal.Message.Builder
- Overrides:
addRepeatedField
in classorg.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder<MessageFormats.PersistentPayload.Builder>
-
mergeFrom
public MessageFormats.PersistentPayload.Builder mergeFrom(org.apache.pekko.protobufv3.internal.Message other)
- Specified by:
mergeFrom
in interfaceorg.apache.pekko.protobufv3.internal.Message.Builder
- Overrides:
mergeFrom
in classorg.apache.pekko.protobufv3.internal.AbstractMessage.Builder<MessageFormats.PersistentPayload.Builder>
-
mergeFrom
public MessageFormats.PersistentPayload.Builder mergeFrom(MessageFormats.PersistentPayload other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfaceorg.apache.pekko.protobufv3.internal.MessageLiteOrBuilder
- Overrides:
isInitialized
in classorg.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 interfaceorg.apache.pekko.protobufv3.internal.Message.Builder
- Specified by:
mergeFrom
in interfaceorg.apache.pekko.protobufv3.internal.MessageLite.Builder
- Overrides:
mergeFrom
in classorg.apache.pekko.protobufv3.internal.AbstractMessage.Builder<MessageFormats.PersistentPayload.Builder>
- Throws:
java.io.IOException
-
hasSerializerId
public boolean hasSerializerId()
required int32 serializerId = 1;
- Specified by:
hasSerializerId
in interfaceMessageFormats.PersistentPayloadOrBuilder
- Returns:
- Whether the serializerId field is set.
-
getSerializerId
public int getSerializerId()
required int32 serializerId = 1;
- Specified by:
getSerializerId
in interfaceMessageFormats.PersistentPayloadOrBuilder
- Returns:
- The serializerId.
-
setSerializerId
public MessageFormats.PersistentPayload.Builder setSerializerId(int value)
required int32 serializerId = 1;
- Parameters:
value
- The serializerId to set.- Returns:
- This builder for chaining.
-
clearSerializerId
public MessageFormats.PersistentPayload.Builder clearSerializerId()
required int32 serializerId = 1;
- Returns:
- This builder for chaining.
-
hasPayload
public boolean hasPayload()
required bytes payload = 2;
- Specified by:
hasPayload
in interfaceMessageFormats.PersistentPayloadOrBuilder
- Returns:
- Whether the payload field is set.
-
getPayload
public org.apache.pekko.protobufv3.internal.ByteString getPayload()
required bytes payload = 2;
- Specified by:
getPayload
in interfaceMessageFormats.PersistentPayloadOrBuilder
- Returns:
- The payload.
-
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.
-
clearPayload
public MessageFormats.PersistentPayload.Builder clearPayload()
required bytes payload = 2;
- Returns:
- This builder for chaining.
-
hasPayloadManifest
public boolean hasPayloadManifest()
optional bytes payloadManifest = 3;
- Specified by:
hasPayloadManifest
in interfaceMessageFormats.PersistentPayloadOrBuilder
- Returns:
- Whether the payloadManifest field is set.
-
getPayloadManifest
public org.apache.pekko.protobufv3.internal.ByteString getPayloadManifest()
optional bytes payloadManifest = 3;
- Specified by:
getPayloadManifest
in interfaceMessageFormats.PersistentPayloadOrBuilder
- Returns:
- The payloadManifest.
-
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.
-
clearPayloadManifest
public MessageFormats.PersistentPayload.Builder clearPayloadManifest()
optional bytes payloadManifest = 3;
- Returns:
- This builder for chaining.
-
setUnknownFields
public final MessageFormats.PersistentPayload.Builder setUnknownFields(org.apache.pekko.protobufv3.internal.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfaceorg.apache.pekko.protobufv3.internal.Message.Builder
- Overrides:
setUnknownFields
in classorg.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 interfaceorg.apache.pekko.protobufv3.internal.Message.Builder
- Overrides:
mergeUnknownFields
in classorg.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder<MessageFormats.PersistentPayload.Builder>
-
-