Package akka.remote
Class WireFormats.SerializedMessage.Builder
- java.lang.Object
-
- akka.protobufv3.internal.AbstractMessageLite.Builder
-
- akka.protobufv3.internal.AbstractMessage.Builder<BuilderType>
-
- akka.protobufv3.internal.GeneratedMessageV3.Builder<WireFormats.SerializedMessage.Builder>
-
- akka.remote.WireFormats.SerializedMessage.Builder
-
- All Implemented Interfaces:
akka.protobufv3.internal.Message.Builder
,akka.protobufv3.internal.MessageLite.Builder
,akka.protobufv3.internal.MessageLiteOrBuilder
,akka.protobufv3.internal.MessageOrBuilder
,WireFormats.SerializedMessageOrBuilder
,java.lang.Cloneable
- Enclosing class:
- WireFormats.SerializedMessage
public static final class WireFormats.SerializedMessage.Builder extends akka.protobufv3.internal.GeneratedMessageV3.Builder<WireFormats.SerializedMessage.Builder> implements WireFormats.SerializedMessageOrBuilder
Defines a message.
Protobuf typeSerializedMessage
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description WireFormats.SerializedMessage.Builder
addRepeatedField(akka.protobufv3.internal.Descriptors.FieldDescriptor field, java.lang.Object value)
WireFormats.SerializedMessage
build()
WireFormats.SerializedMessage
buildPartial()
WireFormats.SerializedMessage.Builder
clear()
WireFormats.SerializedMessage.Builder
clearField(akka.protobufv3.internal.Descriptors.FieldDescriptor field)
WireFormats.SerializedMessage.Builder
clearMessage()
required bytes message = 1;
WireFormats.SerializedMessage.Builder
clearMessageManifest()
optional bytes messageManifest = 3;
WireFormats.SerializedMessage.Builder
clearOneof(akka.protobufv3.internal.Descriptors.OneofDescriptor oneof)
WireFormats.SerializedMessage.Builder
clearSerializerId()
required int32 serializerId = 2;
WireFormats.SerializedMessage.Builder
clone()
WireFormats.SerializedMessage
getDefaultInstanceForType()
static akka.protobufv3.internal.Descriptors.Descriptor
getDescriptor()
akka.protobufv3.internal.Descriptors.Descriptor
getDescriptorForType()
akka.protobufv3.internal.ByteString
getMessage()
required bytes message = 1;
akka.protobufv3.internal.ByteString
getMessageManifest()
optional bytes messageManifest = 3;
int
getSerializerId()
required int32 serializerId = 2;
boolean
hasMessage()
required bytes message = 1;
boolean
hasMessageManifest()
optional bytes messageManifest = 3;
boolean
hasSerializerId()
required int32 serializerId = 2;
protected akka.protobufv3.internal.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
WireFormats.SerializedMessage.Builder
mergeFrom(akka.protobufv3.internal.CodedInputStream input, akka.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
WireFormats.SerializedMessage.Builder
mergeFrom(akka.protobufv3.internal.Message other)
WireFormats.SerializedMessage.Builder
mergeFrom(WireFormats.SerializedMessage other)
WireFormats.SerializedMessage.Builder
mergeUnknownFields(akka.protobufv3.internal.UnknownFieldSet unknownFields)
WireFormats.SerializedMessage.Builder
setField(akka.protobufv3.internal.Descriptors.FieldDescriptor field, java.lang.Object value)
WireFormats.SerializedMessage.Builder
setMessage(akka.protobufv3.internal.ByteString value)
required bytes message = 1;
WireFormats.SerializedMessage.Builder
setMessageManifest(akka.protobufv3.internal.ByteString value)
optional bytes messageManifest = 3;
WireFormats.SerializedMessage.Builder
setRepeatedField(akka.protobufv3.internal.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
WireFormats.SerializedMessage.Builder
setSerializerId(int value)
required int32 serializerId = 2;
WireFormats.SerializedMessage.Builder
setUnknownFields(akka.protobufv3.internal.UnknownFieldSet unknownFields)
-
Methods inherited from class akka.protobufv3.internal.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class akka.protobufv3.internal.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class akka.protobufv3.internal.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
-
-
-
-
Method Detail
-
getDescriptor
public static final akka.protobufv3.internal.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected akka.protobufv3.internal.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classakka.protobufv3.internal.GeneratedMessageV3.Builder<WireFormats.SerializedMessage.Builder>
-
clear
public WireFormats.SerializedMessage.Builder clear()
- Specified by:
clear
in interfaceakka.protobufv3.internal.Message.Builder
- Specified by:
clear
in interfaceakka.protobufv3.internal.MessageLite.Builder
- Overrides:
clear
in classakka.protobufv3.internal.GeneratedMessageV3.Builder<WireFormats.SerializedMessage.Builder>
-
getDescriptorForType
public akka.protobufv3.internal.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfaceakka.protobufv3.internal.Message.Builder
- Specified by:
getDescriptorForType
in interfaceakka.protobufv3.internal.MessageOrBuilder
- Overrides:
getDescriptorForType
in classakka.protobufv3.internal.GeneratedMessageV3.Builder<WireFormats.SerializedMessage.Builder>
-
getDefaultInstanceForType
public WireFormats.SerializedMessage getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfaceakka.protobufv3.internal.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfaceakka.protobufv3.internal.MessageOrBuilder
-
build
public WireFormats.SerializedMessage build()
- Specified by:
build
in interfaceakka.protobufv3.internal.Message.Builder
- Specified by:
build
in interfaceakka.protobufv3.internal.MessageLite.Builder
-
buildPartial
public WireFormats.SerializedMessage buildPartial()
- Specified by:
buildPartial
in interfaceakka.protobufv3.internal.Message.Builder
- Specified by:
buildPartial
in interfaceakka.protobufv3.internal.MessageLite.Builder
-
clone
public WireFormats.SerializedMessage.Builder clone()
- Specified by:
clone
in interfaceakka.protobufv3.internal.Message.Builder
- Specified by:
clone
in interfaceakka.protobufv3.internal.MessageLite.Builder
- Overrides:
clone
in classakka.protobufv3.internal.GeneratedMessageV3.Builder<WireFormats.SerializedMessage.Builder>
-
setField
public WireFormats.SerializedMessage.Builder setField(akka.protobufv3.internal.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setField
in interfaceakka.protobufv3.internal.Message.Builder
- Overrides:
setField
in classakka.protobufv3.internal.GeneratedMessageV3.Builder<WireFormats.SerializedMessage.Builder>
-
clearField
public WireFormats.SerializedMessage.Builder clearField(akka.protobufv3.internal.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfaceakka.protobufv3.internal.Message.Builder
- Overrides:
clearField
in classakka.protobufv3.internal.GeneratedMessageV3.Builder<WireFormats.SerializedMessage.Builder>
-
clearOneof
public WireFormats.SerializedMessage.Builder clearOneof(akka.protobufv3.internal.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfaceakka.protobufv3.internal.Message.Builder
- Overrides:
clearOneof
in classakka.protobufv3.internal.GeneratedMessageV3.Builder<WireFormats.SerializedMessage.Builder>
-
setRepeatedField
public WireFormats.SerializedMessage.Builder setRepeatedField(akka.protobufv3.internal.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedField
in interfaceakka.protobufv3.internal.Message.Builder
- Overrides:
setRepeatedField
in classakka.protobufv3.internal.GeneratedMessageV3.Builder<WireFormats.SerializedMessage.Builder>
-
addRepeatedField
public WireFormats.SerializedMessage.Builder addRepeatedField(akka.protobufv3.internal.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedField
in interfaceakka.protobufv3.internal.Message.Builder
- Overrides:
addRepeatedField
in classakka.protobufv3.internal.GeneratedMessageV3.Builder<WireFormats.SerializedMessage.Builder>
-
mergeFrom
public WireFormats.SerializedMessage.Builder mergeFrom(akka.protobufv3.internal.Message other)
- Specified by:
mergeFrom
in interfaceakka.protobufv3.internal.Message.Builder
- Overrides:
mergeFrom
in classakka.protobufv3.internal.AbstractMessage.Builder<WireFormats.SerializedMessage.Builder>
-
mergeFrom
public WireFormats.SerializedMessage.Builder mergeFrom(WireFormats.SerializedMessage other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfaceakka.protobufv3.internal.MessageLiteOrBuilder
- Overrides:
isInitialized
in classakka.protobufv3.internal.GeneratedMessageV3.Builder<WireFormats.SerializedMessage.Builder>
-
mergeFrom
public WireFormats.SerializedMessage.Builder mergeFrom(akka.protobufv3.internal.CodedInputStream input, akka.protobufv3.internal.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFrom
in interfaceakka.protobufv3.internal.Message.Builder
- Specified by:
mergeFrom
in interfaceakka.protobufv3.internal.MessageLite.Builder
- Overrides:
mergeFrom
in classakka.protobufv3.internal.AbstractMessage.Builder<WireFormats.SerializedMessage.Builder>
- Throws:
java.io.IOException
-
hasMessage
public boolean hasMessage()
required bytes message = 1;
- Specified by:
hasMessage
in interfaceWireFormats.SerializedMessageOrBuilder
- Returns:
- Whether the message field is set.
-
getMessage
public akka.protobufv3.internal.ByteString getMessage()
required bytes message = 1;
- Specified by:
getMessage
in interfaceWireFormats.SerializedMessageOrBuilder
- Returns:
- The message.
-
setMessage
public WireFormats.SerializedMessage.Builder setMessage(akka.protobufv3.internal.ByteString value)
required bytes message = 1;
- Parameters:
value
- The message to set.- Returns:
- This builder for chaining.
-
clearMessage
public WireFormats.SerializedMessage.Builder clearMessage()
required bytes message = 1;
- Returns:
- This builder for chaining.
-
hasSerializerId
public boolean hasSerializerId()
required int32 serializerId = 2;
- Specified by:
hasSerializerId
in interfaceWireFormats.SerializedMessageOrBuilder
- Returns:
- Whether the serializerId field is set.
-
getSerializerId
public int getSerializerId()
required int32 serializerId = 2;
- Specified by:
getSerializerId
in interfaceWireFormats.SerializedMessageOrBuilder
- Returns:
- The serializerId.
-
setSerializerId
public WireFormats.SerializedMessage.Builder setSerializerId(int value)
required int32 serializerId = 2;
- Parameters:
value
- The serializerId to set.- Returns:
- This builder for chaining.
-
clearSerializerId
public WireFormats.SerializedMessage.Builder clearSerializerId()
required int32 serializerId = 2;
- Returns:
- This builder for chaining.
-
hasMessageManifest
public boolean hasMessageManifest()
optional bytes messageManifest = 3;
- Specified by:
hasMessageManifest
in interfaceWireFormats.SerializedMessageOrBuilder
- Returns:
- Whether the messageManifest field is set.
-
getMessageManifest
public akka.protobufv3.internal.ByteString getMessageManifest()
optional bytes messageManifest = 3;
- Specified by:
getMessageManifest
in interfaceWireFormats.SerializedMessageOrBuilder
- Returns:
- The messageManifest.
-
setMessageManifest
public WireFormats.SerializedMessage.Builder setMessageManifest(akka.protobufv3.internal.ByteString value)
optional bytes messageManifest = 3;
- Parameters:
value
- The messageManifest to set.- Returns:
- This builder for chaining.
-
clearMessageManifest
public WireFormats.SerializedMessage.Builder clearMessageManifest()
optional bytes messageManifest = 3;
- Returns:
- This builder for chaining.
-
setUnknownFields
public final WireFormats.SerializedMessage.Builder setUnknownFields(akka.protobufv3.internal.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfaceakka.protobufv3.internal.Message.Builder
- Overrides:
setUnknownFields
in classakka.protobufv3.internal.GeneratedMessageV3.Builder<WireFormats.SerializedMessage.Builder>
-
mergeUnknownFields
public final WireFormats.SerializedMessage.Builder mergeUnknownFields(akka.protobufv3.internal.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfaceakka.protobufv3.internal.Message.Builder
- Overrides:
mergeUnknownFields
in classakka.protobufv3.internal.GeneratedMessageV3.Builder<WireFormats.SerializedMessage.Builder>
-
-