Package io.dingodb.store
Class Store.KvScanBeginRequestV2.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<Store.KvScanBeginRequestV2.Builder>
io.dingodb.store.Store.KvScanBeginRequestV2.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Store.KvScanBeginRequestV2OrBuilder,Cloneable
- Enclosing class:
- Store.KvScanBeginRequestV2
public static final class Store.KvScanBeginRequestV2.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<Store.KvScanBeginRequestV2.Builder>
implements Store.KvScanBeginRequestV2OrBuilder
Protobuf type
dingodb.pb.store.KvScanBeginRequestV2-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()Region id.coprocessorWhether to automatically release resources after reading all the data, the default is false, and the default is automatically releasedclearField(com.google.protobuf.Descriptors.FieldDescriptor field) Is it just to get the keyThe maximum number of requests keys per request.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) Prefix start_key end_key with mode..dingodb.pb.common.RequestInfo request_info = 1;The client provides the equivalent of trace id, which is unique and cannot be repeated.clearTs()int64 ts = 21;clone()Region id.Region id.Region id.coprocessorcoprocessorcoprocessorstatic final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorbooleanWhether to automatically release resources after reading all the data, the default is false, and the default is automatically releasedbooleanIs it just to get the keylongThe maximum number of requests keys per request.getRange()Prefix start_key end_key with mode.Prefix start_key end_key with mode.Prefix start_key end_key with mode..dingodb.pb.common.RequestInfo request_info = 1;.dingodb.pb.common.RequestInfo request_info = 1;.dingodb.pb.common.RequestInfo request_info = 1;longThe client provides the equivalent of trace id, which is unique and cannot be repeated.longgetTs()int64 ts = 21;booleanRegion id.booleancoprocessorbooleanhasRange()Prefix start_key end_key with mode.boolean.dingodb.pb.common.RequestInfo request_info = 1;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeContext(Store.Context value) Region id.coprocessormergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Prefix start_key end_key with mode..dingodb.pb.common.RequestInfo request_info = 1;mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setContext(Store.Context value) Region id.setContext(Store.Context.Builder builderForValue) Region id.coprocessorsetCoprocessor(Common.CoprocessorV2.Builder builderForValue) coprocessorsetDisableAutoRelease(boolean value) Whether to automatically release resources after reading all the data, the default is false, and the default is automatically releasedsetKeyOnly(boolean value) Is it just to get the keysetMaxFetchCnt(long value) The maximum number of requests keys per request.setRange(Common.RangeWithOptions value) Prefix start_key end_key with mode.setRange(Common.RangeWithOptions.Builder builderForValue) Prefix start_key end_key with mode.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setRequestInfo(Common.RequestInfo value) .dingodb.pb.common.RequestInfo request_info = 1;setRequestInfo(Common.RequestInfo.Builder builderForValue) .dingodb.pb.common.RequestInfo request_info = 1;setScanId(long value) The client provides the equivalent of trace id, which is unique and cannot be repeated.setTs(long value) int64 ts = 21;setUnknownFields(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, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, 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() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<Store.KvScanBeginRequestV2.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<Store.KvScanBeginRequestV2.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<Store.KvScanBeginRequestV2.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<Store.KvScanBeginRequestV2.Builder>
-
setField
public Store.KvScanBeginRequestV2.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<Store.KvScanBeginRequestV2.Builder>
-
clearField
public Store.KvScanBeginRequestV2.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Store.KvScanBeginRequestV2.Builder>
-
clearOneof
public Store.KvScanBeginRequestV2.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Store.KvScanBeginRequestV2.Builder>
-
setRepeatedField
public Store.KvScanBeginRequestV2.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<Store.KvScanBeginRequestV2.Builder>
-
addRepeatedField
public Store.KvScanBeginRequestV2.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<Store.KvScanBeginRequestV2.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Store.KvScanBeginRequestV2.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Store.KvScanBeginRequestV2.Builder>
-
mergeFrom
public Store.KvScanBeginRequestV2.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<Store.KvScanBeginRequestV2.Builder>- Throws:
IOException
-
hasRequestInfo
public boolean hasRequestInfo().dingodb.pb.common.RequestInfo request_info = 1;- Specified by:
hasRequestInfoin interfaceStore.KvScanBeginRequestV2OrBuilder- Returns:
- Whether the requestInfo field is set.
-
getRequestInfo
.dingodb.pb.common.RequestInfo request_info = 1;- Specified by:
getRequestInfoin interfaceStore.KvScanBeginRequestV2OrBuilder- Returns:
- The requestInfo.
-
setRequestInfo
.dingodb.pb.common.RequestInfo request_info = 1; -
setRequestInfo
public Store.KvScanBeginRequestV2.Builder setRequestInfo(Common.RequestInfo.Builder builderForValue) .dingodb.pb.common.RequestInfo request_info = 1; -
mergeRequestInfo
.dingodb.pb.common.RequestInfo request_info = 1; -
clearRequestInfo
.dingodb.pb.common.RequestInfo request_info = 1; -
getRequestInfoBuilder
.dingodb.pb.common.RequestInfo request_info = 1; -
getRequestInfoOrBuilder
.dingodb.pb.common.RequestInfo request_info = 1;- Specified by:
getRequestInfoOrBuilderin interfaceStore.KvScanBeginRequestV2OrBuilder
-
getScanId
public long getScanId()The client provides the equivalent of trace id, which is unique and cannot be repeated.
int64 scan_id = 2;- Specified by:
getScanIdin interfaceStore.KvScanBeginRequestV2OrBuilder- Returns:
- The scanId.
-
setScanId
The client provides the equivalent of trace id, which is unique and cannot be repeated.
int64 scan_id = 2;- Parameters:
value- The scanId to set.- Returns:
- This builder for chaining.
-
clearScanId
The client provides the equivalent of trace id, which is unique and cannot be repeated.
int64 scan_id = 2;- Returns:
- This builder for chaining.
-
hasContext
public boolean hasContext()Region id.
.dingodb.pb.store.Context context = 3;- Specified by:
hasContextin interfaceStore.KvScanBeginRequestV2OrBuilder- Returns:
- Whether the context field is set.
-
getContext
Region id.
.dingodb.pb.store.Context context = 3;- Specified by:
getContextin interfaceStore.KvScanBeginRequestV2OrBuilder- Returns:
- The context.
-
setContext
Region id.
.dingodb.pb.store.Context context = 3; -
setContext
Region id.
.dingodb.pb.store.Context context = 3; -
mergeContext
Region id.
.dingodb.pb.store.Context context = 3; -
clearContext
Region id.
.dingodb.pb.store.Context context = 3; -
getContextBuilder
Region id.
.dingodb.pb.store.Context context = 3; -
getContextOrBuilder
Region id.
.dingodb.pb.store.Context context = 3;- Specified by:
getContextOrBuilderin interfaceStore.KvScanBeginRequestV2OrBuilder
-
hasRange
public boolean hasRange()Prefix start_key end_key with mode.
.dingodb.pb.common.RangeWithOptions range = 4;- Specified by:
hasRangein interfaceStore.KvScanBeginRequestV2OrBuilder- Returns:
- Whether the range field is set.
-
getRange
Prefix start_key end_key with mode.
.dingodb.pb.common.RangeWithOptions range = 4;- Specified by:
getRangein interfaceStore.KvScanBeginRequestV2OrBuilder- Returns:
- The range.
-
setRange
Prefix start_key end_key with mode.
.dingodb.pb.common.RangeWithOptions range = 4; -
setRange
Prefix start_key end_key with mode.
.dingodb.pb.common.RangeWithOptions range = 4; -
mergeRange
Prefix start_key end_key with mode.
.dingodb.pb.common.RangeWithOptions range = 4; -
clearRange
Prefix start_key end_key with mode.
.dingodb.pb.common.RangeWithOptions range = 4; -
getRangeBuilder
Prefix start_key end_key with mode.
.dingodb.pb.common.RangeWithOptions range = 4; -
getRangeOrBuilder
Prefix start_key end_key with mode.
.dingodb.pb.common.RangeWithOptions range = 4;- Specified by:
getRangeOrBuilderin interfaceStore.KvScanBeginRequestV2OrBuilder
-
getMaxFetchCnt
public long getMaxFetchCnt()The maximum number of requests keys per request. limit = 0 means only scan_id is returned and no data is returned. If max_fetch_cnt > 0, it means to return scan_id and data. Note that in this way, the return will be slower because the data needs to be prepared For example: max_fetch_cnt = 10000, which means that the maximum number of kv items in this request is 10000, which is just a suggested value. If the maximum number of kv items in the server is 1000, The data returned each time is only 1000 pieces of data. Note: only the maximum number of kv pairs per request.
int64 max_fetch_cnt = 5;- Specified by:
getMaxFetchCntin interfaceStore.KvScanBeginRequestV2OrBuilder- Returns:
- The maxFetchCnt.
-
setMaxFetchCnt
The maximum number of requests keys per request. limit = 0 means only scan_id is returned and no data is returned. If max_fetch_cnt > 0, it means to return scan_id and data. Note that in this way, the return will be slower because the data needs to be prepared For example: max_fetch_cnt = 10000, which means that the maximum number of kv items in this request is 10000, which is just a suggested value. If the maximum number of kv items in the server is 1000, The data returned each time is only 1000 pieces of data. Note: only the maximum number of kv pairs per request.
int64 max_fetch_cnt = 5;- Parameters:
value- The maxFetchCnt to set.- Returns:
- This builder for chaining.
-
clearMaxFetchCnt
The maximum number of requests keys per request. limit = 0 means only scan_id is returned and no data is returned. If max_fetch_cnt > 0, it means to return scan_id and data. Note that in this way, the return will be slower because the data needs to be prepared For example: max_fetch_cnt = 10000, which means that the maximum number of kv items in this request is 10000, which is just a suggested value. If the maximum number of kv items in the server is 1000, The data returned each time is only 1000 pieces of data. Note: only the maximum number of kv pairs per request.
int64 max_fetch_cnt = 5;- Returns:
- This builder for chaining.
-
getKeyOnly
public boolean getKeyOnly()Is it just to get the key
bool key_only = 6;- Specified by:
getKeyOnlyin interfaceStore.KvScanBeginRequestV2OrBuilder- Returns:
- The keyOnly.
-
setKeyOnly
Is it just to get the key
bool key_only = 6;- Parameters:
value- The keyOnly to set.- Returns:
- This builder for chaining.
-
clearKeyOnly
Is it just to get the key
bool key_only = 6;- Returns:
- This builder for chaining.
-
getDisableAutoRelease
public boolean getDisableAutoRelease()Whether to automatically release resources after reading all the data, the default is false, and the default is automatically released
bool disable_auto_release = 7;- Specified by:
getDisableAutoReleasein interfaceStore.KvScanBeginRequestV2OrBuilder- Returns:
- The disableAutoRelease.
-
setDisableAutoRelease
Whether to automatically release resources after reading all the data, the default is false, and the default is automatically released
bool disable_auto_release = 7;- Parameters:
value- The disableAutoRelease to set.- Returns:
- This builder for chaining.
-
clearDisableAutoRelease
Whether to automatically release resources after reading all the data, the default is false, and the default is automatically released
bool disable_auto_release = 7;- Returns:
- This builder for chaining.
-
hasCoprocessor
public boolean hasCoprocessor()coprocessor
.dingodb.pb.common.CoprocessorV2 coprocessor = 20;- Specified by:
hasCoprocessorin interfaceStore.KvScanBeginRequestV2OrBuilder- Returns:
- Whether the coprocessor field is set.
-
getCoprocessor
coprocessor
.dingodb.pb.common.CoprocessorV2 coprocessor = 20;- Specified by:
getCoprocessorin interfaceStore.KvScanBeginRequestV2OrBuilder- Returns:
- The coprocessor.
-
setCoprocessor
coprocessor
.dingodb.pb.common.CoprocessorV2 coprocessor = 20; -
setCoprocessor
public Store.KvScanBeginRequestV2.Builder setCoprocessor(Common.CoprocessorV2.Builder builderForValue) coprocessor
.dingodb.pb.common.CoprocessorV2 coprocessor = 20; -
mergeCoprocessor
coprocessor
.dingodb.pb.common.CoprocessorV2 coprocessor = 20; -
clearCoprocessor
coprocessor
.dingodb.pb.common.CoprocessorV2 coprocessor = 20; -
getCoprocessorBuilder
coprocessor
.dingodb.pb.common.CoprocessorV2 coprocessor = 20; -
getCoprocessorOrBuilder
coprocessor
.dingodb.pb.common.CoprocessorV2 coprocessor = 20;- Specified by:
getCoprocessorOrBuilderin interfaceStore.KvScanBeginRequestV2OrBuilder
-
getTs
public long getTs()int64 ts = 21;- Specified by:
getTsin interfaceStore.KvScanBeginRequestV2OrBuilder- Returns:
- The ts.
-
setTs
int64 ts = 21;- Parameters:
value- The ts to set.- Returns:
- This builder for chaining.
-
clearTs
int64 ts = 21;- Returns:
- This builder for chaining.
-
setUnknownFields
public final Store.KvScanBeginRequestV2.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Store.KvScanBeginRequestV2.Builder>
-
mergeUnknownFields
public final Store.KvScanBeginRequestV2.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Store.KvScanBeginRequestV2.Builder>
-