Package io.dingodb.common
Class Common.Document.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<Common.Document.Builder>
io.dingodb.common.Common.Document.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Common.DocumentOrBuilder,Cloneable
- Enclosing class:
- Common.Document
public static final class Common.Document.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<Common.Document.Builder>
implements Common.DocumentOrBuilder
Protobuf type
dingodb.pb.common.Document-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()clearField(com.google.protobuf.Descriptors.FieldDescriptor field) clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) table data of this document, only SQL can use this fieldclone()booleanscalar data of this document, key: scalar key, value: scalar value data.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorDeprecated.intscalar data of this document, key: scalar key, value: scalar value data.scalar data of this document, key: scalar key, value: scalar value data.getDocumentDataOrDefault(String key, Common.DocumentValue defaultValue) scalar data of this document, key: scalar key, value: scalar value data.scalar data of this document, key: scalar key, value: scalar value data.Deprecated.table data of this document, only SQL can use this fieldtable data of this document, only SQL can use this fieldtable data of this document, only SQL can use this fieldbooleantable data of this document, only SQL can use this fieldprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int number) final booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(Common.Document other) mergeTableData(Common.TableData value) table data of this document, only SQL can use this fieldfinal Common.Document.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) putAllDocumentData(Map<String, Common.DocumentValue> values) scalar data of this document, key: scalar key, value: scalar value data.putDocumentData(String key, Common.DocumentValue value) scalar data of this document, key: scalar key, value: scalar value data.scalar data of this document, key: scalar key, value: scalar value data.removeDocumentData(String key) scalar data of this document, key: scalar key, value: scalar value data.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setTableData(Common.TableData value) table data of this document, only SQL can use this fieldsetTableData(Common.TableData.Builder builderForValue) table data of this document, only SQL can use this fieldfinal Common.Document.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.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, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessageV3.Builder<Common.Document.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessageV3.Builder<Common.Document.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<Common.Document.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<Common.Document.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<Common.Document.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<Common.Document.Builder>
-
setField
public Common.Document.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Common.Document.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Common.Document.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Common.Document.Builder>
-
setRepeatedField
public Common.Document.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Common.Document.Builder>
-
addRepeatedField
public Common.Document.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Common.Document.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Common.Document.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Common.Document.Builder>
-
mergeFrom
public Common.Document.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Common.Document.Builder>- Throws:
IOException
-
getDocumentDataCount
public int getDocumentDataCount()Description copied from interface:Common.DocumentOrBuilderscalar data of this document, key: scalar key, value: scalar value data.
map<string, .dingodb.pb.common.DocumentValue> document_data = 1;- Specified by:
getDocumentDataCountin interfaceCommon.DocumentOrBuilder
-
containsDocumentData
scalar data of this document, key: scalar key, value: scalar value data.
map<string, .dingodb.pb.common.DocumentValue> document_data = 1;- Specified by:
containsDocumentDatain interfaceCommon.DocumentOrBuilder
-
getDocumentData
Deprecated.UsegetDocumentDataMap()instead.- Specified by:
getDocumentDatain interfaceCommon.DocumentOrBuilder
-
getDocumentDataMap
scalar data of this document, key: scalar key, value: scalar value data.
map<string, .dingodb.pb.common.DocumentValue> document_data = 1;- Specified by:
getDocumentDataMapin interfaceCommon.DocumentOrBuilder
-
getDocumentDataOrDefault
scalar data of this document, key: scalar key, value: scalar value data.
map<string, .dingodb.pb.common.DocumentValue> document_data = 1;- Specified by:
getDocumentDataOrDefaultin interfaceCommon.DocumentOrBuilder
-
getDocumentDataOrThrow
scalar data of this document, key: scalar key, value: scalar value data.
map<string, .dingodb.pb.common.DocumentValue> document_data = 1;- Specified by:
getDocumentDataOrThrowin interfaceCommon.DocumentOrBuilder
-
clearDocumentData
-
removeDocumentData
scalar data of this document, key: scalar key, value: scalar value data.
map<string, .dingodb.pb.common.DocumentValue> document_data = 1; -
getMutableDocumentData
Deprecated.Use alternate mutation accessors instead. -
putDocumentData
scalar data of this document, key: scalar key, value: scalar value data.
map<string, .dingodb.pb.common.DocumentValue> document_data = 1; -
putAllDocumentData
scalar data of this document, key: scalar key, value: scalar value data.
map<string, .dingodb.pb.common.DocumentValue> document_data = 1; -
putDocumentDataBuilderIfAbsent
scalar data of this document, key: scalar key, value: scalar value data.
map<string, .dingodb.pb.common.DocumentValue> document_data = 1; -
hasTableData
public boolean hasTableData()table data of this document, only SQL can use this field
.dingodb.pb.common.TableData table_data = 2;- Specified by:
hasTableDatain interfaceCommon.DocumentOrBuilder- Returns:
- Whether the tableData field is set.
-
getTableData
table data of this document, only SQL can use this field
.dingodb.pb.common.TableData table_data = 2;- Specified by:
getTableDatain interfaceCommon.DocumentOrBuilder- Returns:
- The tableData.
-
setTableData
table data of this document, only SQL can use this field
.dingodb.pb.common.TableData table_data = 2; -
setTableData
table data of this document, only SQL can use this field
.dingodb.pb.common.TableData table_data = 2; -
mergeTableData
table data of this document, only SQL can use this field
.dingodb.pb.common.TableData table_data = 2; -
clearTableData
table data of this document, only SQL can use this field
.dingodb.pb.common.TableData table_data = 2; -
getTableDataBuilder
table data of this document, only SQL can use this field
.dingodb.pb.common.TableData table_data = 2; -
getTableDataOrBuilder
table data of this document, only SQL can use this field
.dingodb.pb.common.TableData table_data = 2;- Specified by:
getTableDataOrBuilderin interfaceCommon.DocumentOrBuilder
-
setUnknownFields
public final Common.Document.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Common.Document.Builder>
-
mergeUnknownFields
public final Common.Document.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Common.Document.Builder>
-