Package org.apache.pekko.stream
Class StreamRefMessages.Payload.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<StreamRefMessages.Payload.Builder>
-
- org.apache.pekko.stream.StreamRefMessages.Payload.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
,StreamRefMessages.PayloadOrBuilder
- Enclosing class:
- StreamRefMessages.Payload
public static final class StreamRefMessages.Payload.Builder extends org.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder<StreamRefMessages.Payload.Builder> implements StreamRefMessages.PayloadOrBuilder
Protobuf typePayload
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StreamRefMessages.Payload.Builder
addRepeatedField(org.apache.pekko.protobufv3.internal.Descriptors.FieldDescriptor field, java.lang.Object value)
StreamRefMessages.Payload
build()
StreamRefMessages.Payload
buildPartial()
StreamRefMessages.Payload.Builder
clear()
StreamRefMessages.Payload.Builder
clearEnclosedMessage()
required bytes enclosedMessage = 1;
StreamRefMessages.Payload.Builder
clearField(org.apache.pekko.protobufv3.internal.Descriptors.FieldDescriptor field)
StreamRefMessages.Payload.Builder
clearMessageManifest()
optional bytes messageManifest = 3;
StreamRefMessages.Payload.Builder
clearOneof(org.apache.pekko.protobufv3.internal.Descriptors.OneofDescriptor oneof)
StreamRefMessages.Payload.Builder
clearSerializerId()
required int32 serializerId = 2;
StreamRefMessages.Payload.Builder
clone()
StreamRefMessages.Payload
getDefaultInstanceForType()
static org.apache.pekko.protobufv3.internal.Descriptors.Descriptor
getDescriptor()
org.apache.pekko.protobufv3.internal.Descriptors.Descriptor
getDescriptorForType()
org.apache.pekko.protobufv3.internal.ByteString
getEnclosedMessage()
required bytes enclosedMessage = 1;
org.apache.pekko.protobufv3.internal.ByteString
getMessageManifest()
optional bytes messageManifest = 3;
int
getSerializerId()
required int32 serializerId = 2;
boolean
hasEnclosedMessage()
required bytes enclosedMessage = 1;
boolean
hasMessageManifest()
optional bytes messageManifest = 3;
boolean
hasSerializerId()
required int32 serializerId = 2;
protected org.apache.pekko.protobufv3.internal.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
StreamRefMessages.Payload.Builder
mergeFrom(org.apache.pekko.protobufv3.internal.CodedInputStream input, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
StreamRefMessages.Payload.Builder
mergeFrom(org.apache.pekko.protobufv3.internal.Message other)
StreamRefMessages.Payload.Builder
mergeFrom(StreamRefMessages.Payload other)
StreamRefMessages.Payload.Builder
mergeUnknownFields(org.apache.pekko.protobufv3.internal.UnknownFieldSet unknownFields)
StreamRefMessages.Payload.Builder
setEnclosedMessage(org.apache.pekko.protobufv3.internal.ByteString value)
required bytes enclosedMessage = 1;
StreamRefMessages.Payload.Builder
setField(org.apache.pekko.protobufv3.internal.Descriptors.FieldDescriptor field, java.lang.Object value)
StreamRefMessages.Payload.Builder
setMessageManifest(org.apache.pekko.protobufv3.internal.ByteString value)
optional bytes messageManifest = 3;
StreamRefMessages.Payload.Builder
setRepeatedField(org.apache.pekko.protobufv3.internal.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
StreamRefMessages.Payload.Builder
setSerializerId(int value)
required int32 serializerId = 2;
StreamRefMessages.Payload.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<StreamRefMessages.Payload.Builder>
-
clear
public StreamRefMessages.Payload.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<StreamRefMessages.Payload.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<StreamRefMessages.Payload.Builder>
-
getDefaultInstanceForType
public StreamRefMessages.Payload getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfaceorg.apache.pekko.protobufv3.internal.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfaceorg.apache.pekko.protobufv3.internal.MessageOrBuilder
-
build
public StreamRefMessages.Payload 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 StreamRefMessages.Payload 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 StreamRefMessages.Payload.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<StreamRefMessages.Payload.Builder>
-
setField
public StreamRefMessages.Payload.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<StreamRefMessages.Payload.Builder>
-
clearField
public StreamRefMessages.Payload.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<StreamRefMessages.Payload.Builder>
-
clearOneof
public StreamRefMessages.Payload.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<StreamRefMessages.Payload.Builder>
-
setRepeatedField
public StreamRefMessages.Payload.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<StreamRefMessages.Payload.Builder>
-
addRepeatedField
public StreamRefMessages.Payload.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<StreamRefMessages.Payload.Builder>
-
mergeFrom
public StreamRefMessages.Payload.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<StreamRefMessages.Payload.Builder>
-
mergeFrom
public StreamRefMessages.Payload.Builder mergeFrom(StreamRefMessages.Payload 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<StreamRefMessages.Payload.Builder>
-
mergeFrom
public StreamRefMessages.Payload.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<StreamRefMessages.Payload.Builder>
- Throws:
java.io.IOException
-
hasEnclosedMessage
public boolean hasEnclosedMessage()
required bytes enclosedMessage = 1;
- Specified by:
hasEnclosedMessage
in interfaceStreamRefMessages.PayloadOrBuilder
- Returns:
- Whether the enclosedMessage field is set.
-
getEnclosedMessage
public org.apache.pekko.protobufv3.internal.ByteString getEnclosedMessage()
required bytes enclosedMessage = 1;
- Specified by:
getEnclosedMessage
in interfaceStreamRefMessages.PayloadOrBuilder
- Returns:
- The enclosedMessage.
-
setEnclosedMessage
public StreamRefMessages.Payload.Builder setEnclosedMessage(org.apache.pekko.protobufv3.internal.ByteString value)
required bytes enclosedMessage = 1;
- Parameters:
value
- The enclosedMessage to set.- Returns:
- This builder for chaining.
-
clearEnclosedMessage
public StreamRefMessages.Payload.Builder clearEnclosedMessage()
required bytes enclosedMessage = 1;
- Returns:
- This builder for chaining.
-
hasSerializerId
public boolean hasSerializerId()
required int32 serializerId = 2;
- Specified by:
hasSerializerId
in interfaceStreamRefMessages.PayloadOrBuilder
- Returns:
- Whether the serializerId field is set.
-
getSerializerId
public int getSerializerId()
required int32 serializerId = 2;
- Specified by:
getSerializerId
in interfaceStreamRefMessages.PayloadOrBuilder
- Returns:
- The serializerId.
-
setSerializerId
public StreamRefMessages.Payload.Builder setSerializerId(int value)
required int32 serializerId = 2;
- Parameters:
value
- The serializerId to set.- Returns:
- This builder for chaining.
-
clearSerializerId
public StreamRefMessages.Payload.Builder clearSerializerId()
required int32 serializerId = 2;
- Returns:
- This builder for chaining.
-
hasMessageManifest
public boolean hasMessageManifest()
optional bytes messageManifest = 3;
- Specified by:
hasMessageManifest
in interfaceStreamRefMessages.PayloadOrBuilder
- Returns:
- Whether the messageManifest field is set.
-
getMessageManifest
public org.apache.pekko.protobufv3.internal.ByteString getMessageManifest()
optional bytes messageManifest = 3;
- Specified by:
getMessageManifest
in interfaceStreamRefMessages.PayloadOrBuilder
- Returns:
- The messageManifest.
-
setMessageManifest
public StreamRefMessages.Payload.Builder setMessageManifest(org.apache.pekko.protobufv3.internal.ByteString value)
optional bytes messageManifest = 3;
- Parameters:
value
- The messageManifest to set.- Returns:
- This builder for chaining.
-
clearMessageManifest
public StreamRefMessages.Payload.Builder clearMessageManifest()
optional bytes messageManifest = 3;
- Returns:
- This builder for chaining.
-
setUnknownFields
public final StreamRefMessages.Payload.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<StreamRefMessages.Payload.Builder>
-
mergeUnknownFields
public final StreamRefMessages.Payload.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<StreamRefMessages.Payload.Builder>
-
-