public static final class Coprocessor.Request.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Coprocessor.Request.Builder> implements Coprocessor.RequestOrBuilder
coprocessor.Request
Modifier and Type | Method and Description |
---|---|
Coprocessor.Request.Builder |
addAllRanges(Iterable<? extends Coprocessor.KeyRange> values)
repeated .coprocessor.KeyRange ranges = 4; |
Coprocessor.Request.Builder |
addRanges(Coprocessor.KeyRange.Builder builderForValue)
repeated .coprocessor.KeyRange ranges = 4; |
Coprocessor.Request.Builder |
addRanges(Coprocessor.KeyRange value)
repeated .coprocessor.KeyRange ranges = 4; |
Coprocessor.Request.Builder |
addRanges(int index,
Coprocessor.KeyRange.Builder builderForValue)
repeated .coprocessor.KeyRange ranges = 4; |
Coprocessor.Request.Builder |
addRanges(int index,
Coprocessor.KeyRange value)
repeated .coprocessor.KeyRange ranges = 4; |
Coprocessor.KeyRange.Builder |
addRangesBuilder()
repeated .coprocessor.KeyRange ranges = 4; |
Coprocessor.KeyRange.Builder |
addRangesBuilder(int index)
repeated .coprocessor.KeyRange ranges = 4; |
Coprocessor.Request.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Coprocessor.Request |
build() |
Coprocessor.Request |
buildPartial() |
Coprocessor.Request.Builder |
clear() |
Coprocessor.Request.Builder |
clearCacheIfMatchVersion()
uint64 cache_if_match_version = 6; |
Coprocessor.Request.Builder |
clearContext()
.kvrpcpb.Context context = 1; |
Coprocessor.Request.Builder |
clearData()
bytes data = 3; |
Coprocessor.Request.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Coprocessor.Request.Builder |
clearIsCacheEnabled()
If cache is enabled, TiKV returns cache hit instead of data if
its last version matches this `cache_if_match_version`.
|
Coprocessor.Request.Builder |
clearIsTraceEnabled()
bool is_trace_enabled = 9; |
Coprocessor.Request.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Coprocessor.Request.Builder |
clearPagingSize()
paging_size is 0 when it's disabled, otherwise, it should be a positive number.
|
Coprocessor.Request.Builder |
clearRanges()
repeated .coprocessor.KeyRange ranges = 4; |
Coprocessor.Request.Builder |
clearSchemaVer()
Any schema-ful storage to validate schema correctness if necessary.
|
Coprocessor.Request.Builder |
clearStartTs()
uint64 start_ts = 7; |
Coprocessor.Request.Builder |
clearTp()
int64 tp = 2; |
Coprocessor.Request.Builder |
clone() |
long |
getCacheIfMatchVersion()
uint64 cache_if_match_version = 6; |
Kvrpcpb.Context |
getContext()
.kvrpcpb.Context context = 1; |
Kvrpcpb.Context.Builder |
getContextBuilder()
.kvrpcpb.Context context = 1; |
Kvrpcpb.ContextOrBuilder |
getContextOrBuilder()
.kvrpcpb.Context context = 1; |
com.google.protobuf.ByteString |
getData()
bytes data = 3; |
Coprocessor.Request |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
boolean |
getIsCacheEnabled()
If cache is enabled, TiKV returns cache hit instead of data if
its last version matches this `cache_if_match_version`.
|
boolean |
getIsTraceEnabled()
bool is_trace_enabled = 9; |
long |
getPagingSize()
paging_size is 0 when it's disabled, otherwise, it should be a positive number.
|
Coprocessor.KeyRange |
getRanges(int index)
repeated .coprocessor.KeyRange ranges = 4; |
Coprocessor.KeyRange.Builder |
getRangesBuilder(int index)
repeated .coprocessor.KeyRange ranges = 4; |
List<Coprocessor.KeyRange.Builder> |
getRangesBuilderList()
repeated .coprocessor.KeyRange ranges = 4; |
int |
getRangesCount()
repeated .coprocessor.KeyRange ranges = 4; |
List<Coprocessor.KeyRange> |
getRangesList()
repeated .coprocessor.KeyRange ranges = 4; |
Coprocessor.KeyRangeOrBuilder |
getRangesOrBuilder(int index)
repeated .coprocessor.KeyRange ranges = 4; |
List<? extends Coprocessor.KeyRangeOrBuilder> |
getRangesOrBuilderList()
repeated .coprocessor.KeyRange ranges = 4; |
long |
getSchemaVer()
Any schema-ful storage to validate schema correctness if necessary.
|
long |
getStartTs()
uint64 start_ts = 7; |
long |
getTp()
int64 tp = 2; |
boolean |
hasContext()
.kvrpcpb.Context context = 1; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Coprocessor.Request.Builder |
mergeContext(Kvrpcpb.Context value)
.kvrpcpb.Context context = 1; |
Coprocessor.Request.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Coprocessor.Request.Builder |
mergeFrom(Coprocessor.Request other) |
Coprocessor.Request.Builder |
mergeFrom(com.google.protobuf.Message other) |
Coprocessor.Request.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Coprocessor.Request.Builder |
removeRanges(int index)
repeated .coprocessor.KeyRange ranges = 4; |
Coprocessor.Request.Builder |
setCacheIfMatchVersion(long value)
uint64 cache_if_match_version = 6; |
Coprocessor.Request.Builder |
setContext(Kvrpcpb.Context.Builder builderForValue)
.kvrpcpb.Context context = 1; |
Coprocessor.Request.Builder |
setContext(Kvrpcpb.Context value)
.kvrpcpb.Context context = 1; |
Coprocessor.Request.Builder |
setData(com.google.protobuf.ByteString value)
bytes data = 3; |
Coprocessor.Request.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Coprocessor.Request.Builder |
setIsCacheEnabled(boolean value)
If cache is enabled, TiKV returns cache hit instead of data if
its last version matches this `cache_if_match_version`.
|
Coprocessor.Request.Builder |
setIsTraceEnabled(boolean value)
bool is_trace_enabled = 9; |
Coprocessor.Request.Builder |
setPagingSize(long value)
paging_size is 0 when it's disabled, otherwise, it should be a positive number.
|
Coprocessor.Request.Builder |
setRanges(int index,
Coprocessor.KeyRange.Builder builderForValue)
repeated .coprocessor.KeyRange ranges = 4; |
Coprocessor.Request.Builder |
setRanges(int index,
Coprocessor.KeyRange value)
repeated .coprocessor.KeyRange ranges = 4; |
Coprocessor.Request.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Coprocessor.Request.Builder |
setSchemaVer(long value)
Any schema-ful storage to validate schema correctness if necessary.
|
Coprocessor.Request.Builder |
setStartTs(long value)
uint64 start_ts = 7; |
Coprocessor.Request.Builder |
setTp(long value)
int64 tp = 2; |
Coprocessor.Request.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, 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<Coprocessor.Request.Builder>
public Coprocessor.Request.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<Coprocessor.Request.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<Coprocessor.Request.Builder>
public Coprocessor.Request getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public Coprocessor.Request build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public Coprocessor.Request buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public Coprocessor.Request.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<Coprocessor.Request.Builder>
public Coprocessor.Request.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<Coprocessor.Request.Builder>
public Coprocessor.Request.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<Coprocessor.Request.Builder>
public Coprocessor.Request.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<Coprocessor.Request.Builder>
public Coprocessor.Request.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<Coprocessor.Request.Builder>
public Coprocessor.Request.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<Coprocessor.Request.Builder>
public Coprocessor.Request.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Coprocessor.Request.Builder>
public Coprocessor.Request.Builder mergeFrom(Coprocessor.Request other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<Coprocessor.Request.Builder>
public Coprocessor.Request.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<Coprocessor.Request.Builder>
IOException
public boolean hasContext()
.kvrpcpb.Context context = 1;
hasContext
in interface Coprocessor.RequestOrBuilder
public Kvrpcpb.Context getContext()
.kvrpcpb.Context context = 1;
getContext
in interface Coprocessor.RequestOrBuilder
public Coprocessor.Request.Builder setContext(Kvrpcpb.Context value)
.kvrpcpb.Context context = 1;
public Coprocessor.Request.Builder setContext(Kvrpcpb.Context.Builder builderForValue)
.kvrpcpb.Context context = 1;
public Coprocessor.Request.Builder mergeContext(Kvrpcpb.Context value)
.kvrpcpb.Context context = 1;
public Coprocessor.Request.Builder clearContext()
.kvrpcpb.Context context = 1;
public Kvrpcpb.Context.Builder getContextBuilder()
.kvrpcpb.Context context = 1;
public Kvrpcpb.ContextOrBuilder getContextOrBuilder()
.kvrpcpb.Context context = 1;
getContextOrBuilder
in interface Coprocessor.RequestOrBuilder
public long getTp()
int64 tp = 2;
getTp
in interface Coprocessor.RequestOrBuilder
public Coprocessor.Request.Builder setTp(long value)
int64 tp = 2;
value
- The tp to set.public Coprocessor.Request.Builder clearTp()
int64 tp = 2;
public com.google.protobuf.ByteString getData()
bytes data = 3;
getData
in interface Coprocessor.RequestOrBuilder
public Coprocessor.Request.Builder setData(com.google.protobuf.ByteString value)
bytes data = 3;
value
- The data to set.public Coprocessor.Request.Builder clearData()
bytes data = 3;
public long getStartTs()
uint64 start_ts = 7;
getStartTs
in interface Coprocessor.RequestOrBuilder
public Coprocessor.Request.Builder setStartTs(long value)
uint64 start_ts = 7;
value
- The startTs to set.public Coprocessor.Request.Builder clearStartTs()
uint64 start_ts = 7;
public List<Coprocessor.KeyRange> getRangesList()
repeated .coprocessor.KeyRange ranges = 4;
getRangesList
in interface Coprocessor.RequestOrBuilder
public int getRangesCount()
repeated .coprocessor.KeyRange ranges = 4;
getRangesCount
in interface Coprocessor.RequestOrBuilder
public Coprocessor.KeyRange getRanges(int index)
repeated .coprocessor.KeyRange ranges = 4;
getRanges
in interface Coprocessor.RequestOrBuilder
public Coprocessor.Request.Builder setRanges(int index, Coprocessor.KeyRange value)
repeated .coprocessor.KeyRange ranges = 4;
public Coprocessor.Request.Builder setRanges(int index, Coprocessor.KeyRange.Builder builderForValue)
repeated .coprocessor.KeyRange ranges = 4;
public Coprocessor.Request.Builder addRanges(Coprocessor.KeyRange value)
repeated .coprocessor.KeyRange ranges = 4;
public Coprocessor.Request.Builder addRanges(int index, Coprocessor.KeyRange value)
repeated .coprocessor.KeyRange ranges = 4;
public Coprocessor.Request.Builder addRanges(Coprocessor.KeyRange.Builder builderForValue)
repeated .coprocessor.KeyRange ranges = 4;
public Coprocessor.Request.Builder addRanges(int index, Coprocessor.KeyRange.Builder builderForValue)
repeated .coprocessor.KeyRange ranges = 4;
public Coprocessor.Request.Builder addAllRanges(Iterable<? extends Coprocessor.KeyRange> values)
repeated .coprocessor.KeyRange ranges = 4;
public Coprocessor.Request.Builder clearRanges()
repeated .coprocessor.KeyRange ranges = 4;
public Coprocessor.Request.Builder removeRanges(int index)
repeated .coprocessor.KeyRange ranges = 4;
public Coprocessor.KeyRange.Builder getRangesBuilder(int index)
repeated .coprocessor.KeyRange ranges = 4;
public Coprocessor.KeyRangeOrBuilder getRangesOrBuilder(int index)
repeated .coprocessor.KeyRange ranges = 4;
getRangesOrBuilder
in interface Coprocessor.RequestOrBuilder
public List<? extends Coprocessor.KeyRangeOrBuilder> getRangesOrBuilderList()
repeated .coprocessor.KeyRange ranges = 4;
getRangesOrBuilderList
in interface Coprocessor.RequestOrBuilder
public Coprocessor.KeyRange.Builder addRangesBuilder()
repeated .coprocessor.KeyRange ranges = 4;
public Coprocessor.KeyRange.Builder addRangesBuilder(int index)
repeated .coprocessor.KeyRange ranges = 4;
public List<Coprocessor.KeyRange.Builder> getRangesBuilderList()
repeated .coprocessor.KeyRange ranges = 4;
public boolean getIsCacheEnabled()
If cache is enabled, TiKV returns cache hit instead of data if its last version matches this `cache_if_match_version`.
bool is_cache_enabled = 5;
getIsCacheEnabled
in interface Coprocessor.RequestOrBuilder
public Coprocessor.Request.Builder setIsCacheEnabled(boolean value)
If cache is enabled, TiKV returns cache hit instead of data if its last version matches this `cache_if_match_version`.
bool is_cache_enabled = 5;
value
- The isCacheEnabled to set.public Coprocessor.Request.Builder clearIsCacheEnabled()
If cache is enabled, TiKV returns cache hit instead of data if its last version matches this `cache_if_match_version`.
bool is_cache_enabled = 5;
public long getCacheIfMatchVersion()
uint64 cache_if_match_version = 6;
getCacheIfMatchVersion
in interface Coprocessor.RequestOrBuilder
public Coprocessor.Request.Builder setCacheIfMatchVersion(long value)
uint64 cache_if_match_version = 6;
value
- The cacheIfMatchVersion to set.public Coprocessor.Request.Builder clearCacheIfMatchVersion()
uint64 cache_if_match_version = 6;
public long getSchemaVer()
Any schema-ful storage to validate schema correctness if necessary.
int64 schema_ver = 8;
getSchemaVer
in interface Coprocessor.RequestOrBuilder
public Coprocessor.Request.Builder setSchemaVer(long value)
Any schema-ful storage to validate schema correctness if necessary.
int64 schema_ver = 8;
value
- The schemaVer to set.public Coprocessor.Request.Builder clearSchemaVer()
Any schema-ful storage to validate schema correctness if necessary.
int64 schema_ver = 8;
public boolean getIsTraceEnabled()
bool is_trace_enabled = 9;
getIsTraceEnabled
in interface Coprocessor.RequestOrBuilder
public Coprocessor.Request.Builder setIsTraceEnabled(boolean value)
bool is_trace_enabled = 9;
value
- The isTraceEnabled to set.public Coprocessor.Request.Builder clearIsTraceEnabled()
bool is_trace_enabled = 9;
public long getPagingSize()
paging_size is 0 when it's disabled, otherwise, it should be a positive number.
uint64 paging_size = 10;
getPagingSize
in interface Coprocessor.RequestOrBuilder
public Coprocessor.Request.Builder setPagingSize(long value)
paging_size is 0 when it's disabled, otherwise, it should be a positive number.
uint64 paging_size = 10;
value
- The pagingSize to set.public Coprocessor.Request.Builder clearPagingSize()
paging_size is 0 when it's disabled, otherwise, it should be a positive number.
uint64 paging_size = 10;
public final Coprocessor.Request.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Coprocessor.Request.Builder>
public final Coprocessor.Request.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Coprocessor.Request.Builder>
Copyright © 2024 PingCAP. All rights reserved.