public static final class SerializedObject.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<SerializedObject.Builder> implements SerializedObjectOrBuilder
Describes a serialized objectProtobuf type
io.axoniq.axonserver.grpc.SerializedObject
Modifier and Type | Method and Description |
---|---|
SerializedObject.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
SerializedObject |
build() |
SerializedObject |
buildPartial() |
SerializedObject.Builder |
clear() |
SerializedObject.Builder |
clearData()
The actual data representing the object in serialized form.
|
SerializedObject.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
SerializedObject.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
SerializedObject.Builder |
clearRevision()
The revision of the serialized form of the given type.
|
SerializedObject.Builder |
clearType()
The type identifier of the serialized object.
|
SerializedObject.Builder |
clone() |
com.google.protobuf.ByteString |
getData()
The actual data representing the object in serialized form.
|
SerializedObject |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getRevision()
The revision of the serialized form of the given type.
|
com.google.protobuf.ByteString |
getRevisionBytes()
The revision of the serialized form of the given type.
|
String |
getType()
The type identifier of the serialized object.
|
com.google.protobuf.ByteString |
getTypeBytes()
The type identifier of the serialized object.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
SerializedObject.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
SerializedObject.Builder |
mergeFrom(com.google.protobuf.Message other) |
SerializedObject.Builder |
mergeFrom(SerializedObject other) |
SerializedObject.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
SerializedObject.Builder |
setData(com.google.protobuf.ByteString value)
The actual data representing the object in serialized form.
|
SerializedObject.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
SerializedObject.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
SerializedObject.Builder |
setRevision(String value)
The revision of the serialized form of the given type.
|
SerializedObject.Builder |
setRevisionBytes(com.google.protobuf.ByteString value)
The revision of the serialized form of the given type.
|
SerializedObject.Builder |
setType(String value)
The type identifier of the serialized object.
|
SerializedObject.Builder |
setTypeBytes(com.google.protobuf.ByteString value)
The type identifier of the serialized object.
|
SerializedObject.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.Builder<SerializedObject.Builder>
public SerializedObject.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<SerializedObject.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<SerializedObject.Builder>
public SerializedObject getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public SerializedObject build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public SerializedObject buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public SerializedObject.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessageV3.Builder<SerializedObject.Builder>
public SerializedObject.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField
in interface com.google.protobuf.Message.Builder
setField
in class com.google.protobuf.GeneratedMessageV3.Builder<SerializedObject.Builder>
public SerializedObject.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<SerializedObject.Builder>
public SerializedObject.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<SerializedObject.Builder>
public SerializedObject.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface com.google.protobuf.Message.Builder
setRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<SerializedObject.Builder>
public SerializedObject.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface com.google.protobuf.Message.Builder
addRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<SerializedObject.Builder>
public SerializedObject.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<SerializedObject.Builder>
public SerializedObject.Builder mergeFrom(SerializedObject other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<SerializedObject.Builder>
public SerializedObject.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<SerializedObject.Builder>
IOException
public String getType()
The type identifier of the serialized object.
string type = 1;
getType
in interface SerializedObjectOrBuilder
public com.google.protobuf.ByteString getTypeBytes()
The type identifier of the serialized object.
string type = 1;
getTypeBytes
in interface SerializedObjectOrBuilder
public SerializedObject.Builder setType(String value)
The type identifier of the serialized object.
string type = 1;
public SerializedObject.Builder clearType()
The type identifier of the serialized object.
string type = 1;
public SerializedObject.Builder setTypeBytes(com.google.protobuf.ByteString value)
The type identifier of the serialized object.
string type = 1;
public String getRevision()
The revision of the serialized form of the given type.
string revision = 2;
getRevision
in interface SerializedObjectOrBuilder
public com.google.protobuf.ByteString getRevisionBytes()
The revision of the serialized form of the given type.
string revision = 2;
getRevisionBytes
in interface SerializedObjectOrBuilder
public SerializedObject.Builder setRevision(String value)
The revision of the serialized form of the given type.
string revision = 2;
public SerializedObject.Builder clearRevision()
The revision of the serialized form of the given type.
string revision = 2;
public SerializedObject.Builder setRevisionBytes(com.google.protobuf.ByteString value)
The revision of the serialized form of the given type.
string revision = 2;
public com.google.protobuf.ByteString getData()
The actual data representing the object in serialized form.
bytes data = 3;
getData
in interface SerializedObjectOrBuilder
public SerializedObject.Builder setData(com.google.protobuf.ByteString value)
The actual data representing the object in serialized form.
bytes data = 3;
public SerializedObject.Builder clearData()
The actual data representing the object in serialized form.
bytes data = 3;
public final SerializedObject.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<SerializedObject.Builder>
public final SerializedObject.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<SerializedObject.Builder>
Copyright © 2010–2020. All rights reserved.