Package io.dingodb.raft
Class Raft.DocumentBatchAddRequest
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.dingodb.raft.Raft.DocumentBatchAddRequest
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Raft.DocumentBatchAddRequestOrBuilder,Serializable
- Enclosing class:
- Raft
public static final class Raft.DocumentBatchAddRequest
extends com.google.protobuf.GeneratedMessageV3
implements Raft.DocumentBatchAddRequestOrBuilder
Protobuf type
dingodb.pb.raft.DocumentBatchAddRequest- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classProtobuf typedingodb.pb.raft.DocumentBatchAddRequestNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanstring cf_name = 1;com.google.protobuf.ByteStringstring cf_name = 1;static Raft.DocumentBatchAddRequestlonggetDeleteDocumentIds(int index) repeated int64 delete_document_ids = 3;intrepeated int64 delete_document_ids = 3;repeated int64 delete_document_ids = 3;static final com.google.protobuf.Descriptors.DescriptorgetDocuments(int index) repeated .dingodb.pb.common.DocumentWithId documents = 2;intrepeated .dingodb.pb.common.DocumentWithId documents = 2;repeated .dingodb.pb.common.DocumentWithId documents = 2;getDocumentsOrBuilder(int index) repeated .dingodb.pb.common.DocumentWithId documents = 2;List<? extends Common.DocumentWithIdOrBuilder>repeated .dingodb.pb.common.DocumentWithId documents = 2;booleanbool is_update = 4;getKvs(int index) repeated .dingodb.pb.common.KeyValue kvs = 5;intrepeated .dingodb.pb.common.KeyValue kvs = 5;repeated .dingodb.pb.common.KeyValue kvs = 5;getKvsOrBuilder(int index) repeated .dingodb.pb.common.KeyValue kvs = 5;List<? extends Common.KeyValueOrBuilder>repeated .dingodb.pb.common.KeyValue kvs = 5;com.google.protobuf.Parser<Raft.DocumentBatchAddRequest>intinthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleannewBuilder(Raft.DocumentBatchAddRequest prototype) protected Raft.DocumentBatchAddRequest.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static Raft.DocumentBatchAddRequestparseDelimitedFrom(InputStream input) static Raft.DocumentBatchAddRequestparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Raft.DocumentBatchAddRequestparseFrom(byte[] data) static Raft.DocumentBatchAddRequestparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Raft.DocumentBatchAddRequestparseFrom(com.google.protobuf.ByteString data) static Raft.DocumentBatchAddRequestparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Raft.DocumentBatchAddRequestparseFrom(com.google.protobuf.CodedInputStream input) static Raft.DocumentBatchAddRequestparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Raft.DocumentBatchAddRequestparseFrom(InputStream input) static Raft.DocumentBatchAddRequestparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Raft.DocumentBatchAddRequestparseFrom(ByteBuffer data) static Raft.DocumentBatchAddRequestparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Raft.DocumentBatchAddRequest>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
CF_NAME_FIELD_NUMBER
public static final int CF_NAME_FIELD_NUMBER- See Also:
-
DOCUMENTS_FIELD_NUMBER
public static final int DOCUMENTS_FIELD_NUMBER- See Also:
-
DELETE_DOCUMENT_IDS_FIELD_NUMBER
public static final int DELETE_DOCUMENT_IDS_FIELD_NUMBER- See Also:
-
IS_UPDATE_FIELD_NUMBER
public static final int IS_UPDATE_FIELD_NUMBER- See Also:
-
KVS_FIELD_NUMBER
public static final int KVS_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getCfName
string cf_name = 1;- Specified by:
getCfNamein interfaceRaft.DocumentBatchAddRequestOrBuilder- Returns:
- The cfName.
-
getCfNameBytes
public com.google.protobuf.ByteString getCfNameBytes()string cf_name = 1;- Specified by:
getCfNameBytesin interfaceRaft.DocumentBatchAddRequestOrBuilder- Returns:
- The bytes for cfName.
-
getDocumentsList
repeated .dingodb.pb.common.DocumentWithId documents = 2;- Specified by:
getDocumentsListin interfaceRaft.DocumentBatchAddRequestOrBuilder
-
getDocumentsOrBuilderList
repeated .dingodb.pb.common.DocumentWithId documents = 2;- Specified by:
getDocumentsOrBuilderListin interfaceRaft.DocumentBatchAddRequestOrBuilder
-
getDocumentsCount
public int getDocumentsCount()repeated .dingodb.pb.common.DocumentWithId documents = 2;- Specified by:
getDocumentsCountin interfaceRaft.DocumentBatchAddRequestOrBuilder
-
getDocuments
repeated .dingodb.pb.common.DocumentWithId documents = 2;- Specified by:
getDocumentsin interfaceRaft.DocumentBatchAddRequestOrBuilder
-
getDocumentsOrBuilder
repeated .dingodb.pb.common.DocumentWithId documents = 2;- Specified by:
getDocumentsOrBuilderin interfaceRaft.DocumentBatchAddRequestOrBuilder
-
getDeleteDocumentIdsList
repeated int64 delete_document_ids = 3;- Specified by:
getDeleteDocumentIdsListin interfaceRaft.DocumentBatchAddRequestOrBuilder- Returns:
- A list containing the deleteDocumentIds.
-
getDeleteDocumentIdsCount
public int getDeleteDocumentIdsCount()repeated int64 delete_document_ids = 3;- Specified by:
getDeleteDocumentIdsCountin interfaceRaft.DocumentBatchAddRequestOrBuilder- Returns:
- The count of deleteDocumentIds.
-
getDeleteDocumentIds
public long getDeleteDocumentIds(int index) repeated int64 delete_document_ids = 3;- Specified by:
getDeleteDocumentIdsin interfaceRaft.DocumentBatchAddRequestOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The deleteDocumentIds at the given index.
-
getIsUpdate
public boolean getIsUpdate()bool is_update = 4;- Specified by:
getIsUpdatein interfaceRaft.DocumentBatchAddRequestOrBuilder- Returns:
- The isUpdate.
-
getKvsList
repeated .dingodb.pb.common.KeyValue kvs = 5;- Specified by:
getKvsListin interfaceRaft.DocumentBatchAddRequestOrBuilder
-
getKvsOrBuilderList
repeated .dingodb.pb.common.KeyValue kvs = 5;- Specified by:
getKvsOrBuilderListin interfaceRaft.DocumentBatchAddRequestOrBuilder
-
getKvsCount
public int getKvsCount()repeated .dingodb.pb.common.KeyValue kvs = 5;- Specified by:
getKvsCountin interfaceRaft.DocumentBatchAddRequestOrBuilder
-
getKvs
repeated .dingodb.pb.common.KeyValue kvs = 5;- Specified by:
getKvsin interfaceRaft.DocumentBatchAddRequestOrBuilder
-
getKvsOrBuilder
repeated .dingodb.pb.common.KeyValue kvs = 5;- Specified by:
getKvsOrBuilderin interfaceRaft.DocumentBatchAddRequestOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Raft.DocumentBatchAddRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Raft.DocumentBatchAddRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Raft.DocumentBatchAddRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Raft.DocumentBatchAddRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Raft.DocumentBatchAddRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Raft.DocumentBatchAddRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Raft.DocumentBatchAddRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Raft.DocumentBatchAddRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static Raft.DocumentBatchAddRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static Raft.DocumentBatchAddRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
public static Raft.DocumentBatchAddRequest.Builder newBuilder(Raft.DocumentBatchAddRequest prototype) -
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Raft.DocumentBatchAddRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-