Class LiteralObject.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<LiteralObject.Builder>
com.apple.foundationdb.relational.continuation.LiteralObject.Builder
- All Implemented Interfaces:
LiteralObjectOrBuilder
,Message.Builder
,MessageLite.Builder
,MessageLiteOrBuilder
,MessageOrBuilder
,Cloneable
- Enclosing class:
- LiteralObject
public static final class LiteralObject.Builder
extends GeneratedMessageV3.Builder<LiteralObject.Builder>
implements LiteralObjectOrBuilder
Protobuf type
com.apple.foundationdb.relational.continuation.LiteralObject
-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField
(Descriptors.FieldDescriptor field, Object value) build()
clear()
optional .com.apple.foundationdb.relational.continuation.LiteralObject.Array array_object = 2;
optional bytes record_object = 3;
if none of these are set, we consider the object to be NULLclone()
optional .com.apple.foundationdb.relational.continuation.LiteralObject.Array array_object = 2;
optional .com.apple.foundationdb.relational.continuation.LiteralObject.Array array_object = 2;
optional .com.apple.foundationdb.relational.continuation.LiteralObject.Array array_object = 2;
static final Descriptors.Descriptor
optional bytes record_object = 3;
com.apple.foundationdb.record.planprotos.PComparableObject
if none of these are set, we consider the object to be NULLcom.apple.foundationdb.record.planprotos.PComparableObject.Builder
if none of these are set, we consider the object to be NULLcom.apple.foundationdb.record.planprotos.PComparableObjectOrBuilder
if none of these are set, we consider the object to be NULLboolean
optional .com.apple.foundationdb.relational.continuation.LiteralObject.Array array_object = 2;
boolean
optional bytes record_object = 3;
boolean
if none of these are set, we consider the object to be NULLprotected GeneratedMessageV3.FieldAccessorTable
final boolean
optional .com.apple.foundationdb.relational.continuation.LiteralObject.Array array_object = 2;
mergeFrom
(LiteralObject other) mergeFrom
(CodedInputStream input, ExtensionRegistryLite extensionRegistry) mergeScalarObject
(com.apple.foundationdb.record.planprotos.PComparableObject value) if none of these are set, we consider the object to be NULLfinal LiteralObject.Builder
mergeUnknownFields
(UnknownFieldSet unknownFields) optional .com.apple.foundationdb.relational.continuation.LiteralObject.Array array_object = 2;
setArrayObject
(LiteralObject.Array.Builder builderForValue) optional .com.apple.foundationdb.relational.continuation.LiteralObject.Array array_object = 2;
setField
(Descriptors.FieldDescriptor field, Object value) setRecordObject
(ByteString value) optional bytes record_object = 3;
setRepeatedField
(Descriptors.FieldDescriptor field, int index, Object value) setScalarObject
(com.apple.foundationdb.record.planprotos.PComparableObject value) if none of these are set, we consider the object to be NULLsetScalarObject
(com.apple.foundationdb.record.planprotos.PComparableObject.Builder builderForValue) if none of these are set, we consider the object to be NULLfinal LiteralObject.Builder
setUnknownFields
(UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
-
internalGetFieldAccessorTable
- Specified by:
internalGetFieldAccessorTable
in classGeneratedMessageV3.Builder<LiteralObject.Builder>
-
clear
- Specified by:
clear
in interfaceMessage.Builder
- Specified by:
clear
in interfaceMessageLite.Builder
- Overrides:
clear
in classGeneratedMessageV3.Builder<LiteralObject.Builder>
-
getDescriptorForType
- Specified by:
getDescriptorForType
in interfaceMessage.Builder
- Specified by:
getDescriptorForType
in interfaceMessageOrBuilder
- Overrides:
getDescriptorForType
in classGeneratedMessageV3.Builder<LiteralObject.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfaceMessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfaceMessageOrBuilder
-
build
- Specified by:
build
in interfaceMessage.Builder
- Specified by:
build
in interfaceMessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfaceMessage.Builder
- Specified by:
buildPartial
in interfaceMessageLite.Builder
-
clone
- Specified by:
clone
in interfaceMessage.Builder
- Specified by:
clone
in interfaceMessageLite.Builder
- Overrides:
clone
in classGeneratedMessageV3.Builder<LiteralObject.Builder>
-
setField
- Specified by:
setField
in interfaceMessage.Builder
- Overrides:
setField
in classGeneratedMessageV3.Builder<LiteralObject.Builder>
-
clearField
- Specified by:
clearField
in interfaceMessage.Builder
- Overrides:
clearField
in classGeneratedMessageV3.Builder<LiteralObject.Builder>
-
clearOneof
- Specified by:
clearOneof
in interfaceMessage.Builder
- Overrides:
clearOneof
in classGeneratedMessageV3.Builder<LiteralObject.Builder>
-
setRepeatedField
public LiteralObject.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedField
in interfaceMessage.Builder
- Overrides:
setRepeatedField
in classGeneratedMessageV3.Builder<LiteralObject.Builder>
-
addRepeatedField
- Specified by:
addRepeatedField
in interfaceMessage.Builder
- Overrides:
addRepeatedField
in classGeneratedMessageV3.Builder<LiteralObject.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfaceMessage.Builder
- Overrides:
mergeFrom
in classAbstractMessage.Builder<LiteralObject.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfaceMessageLiteOrBuilder
- Overrides:
isInitialized
in classGeneratedMessageV3.Builder<LiteralObject.Builder>
-
mergeFrom
public LiteralObject.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFrom
in interfaceMessage.Builder
- Specified by:
mergeFrom
in interfaceMessageLite.Builder
- Overrides:
mergeFrom
in classAbstractMessage.Builder<LiteralObject.Builder>
- Throws:
IOException
-
hasScalarObject
public boolean hasScalarObject()if none of these are set, we consider the object to be NULL
optional .com.apple.foundationdb.record.planprotos.PComparableObject scalar_object = 1;
- Specified by:
hasScalarObject
in interfaceLiteralObjectOrBuilder
- Returns:
- Whether the scalarObject field is set.
-
getScalarObject
public com.apple.foundationdb.record.planprotos.PComparableObject getScalarObject()if none of these are set, we consider the object to be NULL
optional .com.apple.foundationdb.record.planprotos.PComparableObject scalar_object = 1;
- Specified by:
getScalarObject
in interfaceLiteralObjectOrBuilder
- Returns:
- The scalarObject.
-
setScalarObject
public LiteralObject.Builder setScalarObject(com.apple.foundationdb.record.planprotos.PComparableObject value) if none of these are set, we consider the object to be NULL
optional .com.apple.foundationdb.record.planprotos.PComparableObject scalar_object = 1;
-
setScalarObject
public LiteralObject.Builder setScalarObject(com.apple.foundationdb.record.planprotos.PComparableObject.Builder builderForValue) if none of these are set, we consider the object to be NULL
optional .com.apple.foundationdb.record.planprotos.PComparableObject scalar_object = 1;
-
mergeScalarObject
public LiteralObject.Builder mergeScalarObject(com.apple.foundationdb.record.planprotos.PComparableObject value) if none of these are set, we consider the object to be NULL
optional .com.apple.foundationdb.record.planprotos.PComparableObject scalar_object = 1;
-
clearScalarObject
if none of these are set, we consider the object to be NULL
optional .com.apple.foundationdb.record.planprotos.PComparableObject scalar_object = 1;
-
getScalarObjectBuilder
public com.apple.foundationdb.record.planprotos.PComparableObject.Builder getScalarObjectBuilder()if none of these are set, we consider the object to be NULL
optional .com.apple.foundationdb.record.planprotos.PComparableObject scalar_object = 1;
-
getScalarObjectOrBuilder
public com.apple.foundationdb.record.planprotos.PComparableObjectOrBuilder getScalarObjectOrBuilder()if none of these are set, we consider the object to be NULL
optional .com.apple.foundationdb.record.planprotos.PComparableObject scalar_object = 1;
- Specified by:
getScalarObjectOrBuilder
in interfaceLiteralObjectOrBuilder
-
hasArrayObject
public boolean hasArrayObject()optional .com.apple.foundationdb.relational.continuation.LiteralObject.Array array_object = 2;
- Specified by:
hasArrayObject
in interfaceLiteralObjectOrBuilder
- Returns:
- Whether the arrayObject field is set.
-
getArrayObject
optional .com.apple.foundationdb.relational.continuation.LiteralObject.Array array_object = 2;
- Specified by:
getArrayObject
in interfaceLiteralObjectOrBuilder
- Returns:
- The arrayObject.
-
setArrayObject
optional .com.apple.foundationdb.relational.continuation.LiteralObject.Array array_object = 2;
-
setArrayObject
optional .com.apple.foundationdb.relational.continuation.LiteralObject.Array array_object = 2;
-
mergeArrayObject
optional .com.apple.foundationdb.relational.continuation.LiteralObject.Array array_object = 2;
-
clearArrayObject
optional .com.apple.foundationdb.relational.continuation.LiteralObject.Array array_object = 2;
-
getArrayObjectBuilder
optional .com.apple.foundationdb.relational.continuation.LiteralObject.Array array_object = 2;
-
getArrayObjectOrBuilder
optional .com.apple.foundationdb.relational.continuation.LiteralObject.Array array_object = 2;
- Specified by:
getArrayObjectOrBuilder
in interfaceLiteralObjectOrBuilder
-
hasRecordObject
public boolean hasRecordObject()optional bytes record_object = 3;
- Specified by:
hasRecordObject
in interfaceLiteralObjectOrBuilder
- Returns:
- Whether the recordObject field is set.
-
getRecordObject
optional bytes record_object = 3;
- Specified by:
getRecordObject
in interfaceLiteralObjectOrBuilder
- Returns:
- The recordObject.
-
setRecordObject
optional bytes record_object = 3;
- Parameters:
value
- The recordObject to set.- Returns:
- This builder for chaining.
-
clearRecordObject
optional bytes record_object = 3;
- Returns:
- This builder for chaining.
-
setUnknownFields
- Specified by:
setUnknownFields
in interfaceMessage.Builder
- Overrides:
setUnknownFields
in classGeneratedMessageV3.Builder<LiteralObject.Builder>
-
mergeUnknownFields
- Specified by:
mergeUnknownFields
in interfaceMessage.Builder
- Overrides:
mergeUnknownFields
in classGeneratedMessageV3.Builder<LiteralObject.Builder>
-