public static final class Coprocessor.BatchRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Coprocessor.BatchRequest.Builder> implements Coprocessor.BatchRequestOrBuilder
coprocessor.BatchRequest
Modifier and Type | Method and Description |
---|---|
Coprocessor.BatchRequest.Builder |
addAllRegions(Iterable<? extends Coprocessor.RegionInfo> values)
repeated .coprocessor.RegionInfo regions = 4; |
Coprocessor.BatchRequest.Builder |
addAllTableRegions(Iterable<? extends Coprocessor.TableRegions> values)
Used for partition table scan
|
Coprocessor.BatchRequest.Builder |
addRegions(Coprocessor.RegionInfo.Builder builderForValue)
repeated .coprocessor.RegionInfo regions = 4; |
Coprocessor.BatchRequest.Builder |
addRegions(Coprocessor.RegionInfo value)
repeated .coprocessor.RegionInfo regions = 4; |
Coprocessor.BatchRequest.Builder |
addRegions(int index,
Coprocessor.RegionInfo.Builder builderForValue)
repeated .coprocessor.RegionInfo regions = 4; |
Coprocessor.BatchRequest.Builder |
addRegions(int index,
Coprocessor.RegionInfo value)
repeated .coprocessor.RegionInfo regions = 4; |
Coprocessor.RegionInfo.Builder |
addRegionsBuilder()
repeated .coprocessor.RegionInfo regions = 4; |
Coprocessor.RegionInfo.Builder |
addRegionsBuilder(int index)
repeated .coprocessor.RegionInfo regions = 4; |
Coprocessor.BatchRequest.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Coprocessor.BatchRequest.Builder |
addTableRegions(Coprocessor.TableRegions.Builder builderForValue)
Used for partition table scan
|
Coprocessor.BatchRequest.Builder |
addTableRegions(Coprocessor.TableRegions value)
Used for partition table scan
|
Coprocessor.BatchRequest.Builder |
addTableRegions(int index,
Coprocessor.TableRegions.Builder builderForValue)
Used for partition table scan
|
Coprocessor.BatchRequest.Builder |
addTableRegions(int index,
Coprocessor.TableRegions value)
Used for partition table scan
|
Coprocessor.TableRegions.Builder |
addTableRegionsBuilder()
Used for partition table scan
|
Coprocessor.TableRegions.Builder |
addTableRegionsBuilder(int index)
Used for partition table scan
|
Coprocessor.BatchRequest |
build() |
Coprocessor.BatchRequest |
buildPartial() |
Coprocessor.BatchRequest.Builder |
clear() |
Coprocessor.BatchRequest.Builder |
clearContext()
.kvrpcpb.Context context = 1; |
Coprocessor.BatchRequest.Builder |
clearData()
bytes data = 3; |
Coprocessor.BatchRequest.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Coprocessor.BatchRequest.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Coprocessor.BatchRequest.Builder |
clearRegions()
repeated .coprocessor.RegionInfo regions = 4; |
Coprocessor.BatchRequest.Builder |
clearSchemaVer()
Any schema-ful storage to validate schema correctness if necessary.
|
Coprocessor.BatchRequest.Builder |
clearStartTs()
uint64 start_ts = 5; |
Coprocessor.BatchRequest.Builder |
clearTableRegions()
Used for partition table scan
|
Coprocessor.BatchRequest.Builder |
clearTp()
int64 tp = 2; |
Coprocessor.BatchRequest.Builder |
clone() |
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.BatchRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Coprocessor.RegionInfo |
getRegions(int index)
repeated .coprocessor.RegionInfo regions = 4; |
Coprocessor.RegionInfo.Builder |
getRegionsBuilder(int index)
repeated .coprocessor.RegionInfo regions = 4; |
List<Coprocessor.RegionInfo.Builder> |
getRegionsBuilderList()
repeated .coprocessor.RegionInfo regions = 4; |
int |
getRegionsCount()
repeated .coprocessor.RegionInfo regions = 4; |
List<Coprocessor.RegionInfo> |
getRegionsList()
repeated .coprocessor.RegionInfo regions = 4; |
Coprocessor.RegionInfoOrBuilder |
getRegionsOrBuilder(int index)
repeated .coprocessor.RegionInfo regions = 4; |
List<? extends Coprocessor.RegionInfoOrBuilder> |
getRegionsOrBuilderList()
repeated .coprocessor.RegionInfo regions = 4; |
long |
getSchemaVer()
Any schema-ful storage to validate schema correctness if necessary.
|
long |
getStartTs()
uint64 start_ts = 5; |
Coprocessor.TableRegions |
getTableRegions(int index)
Used for partition table scan
|
Coprocessor.TableRegions.Builder |
getTableRegionsBuilder(int index)
Used for partition table scan
|
List<Coprocessor.TableRegions.Builder> |
getTableRegionsBuilderList()
Used for partition table scan
|
int |
getTableRegionsCount()
Used for partition table scan
|
List<Coprocessor.TableRegions> |
getTableRegionsList()
Used for partition table scan
|
Coprocessor.TableRegionsOrBuilder |
getTableRegionsOrBuilder(int index)
Used for partition table scan
|
List<? extends Coprocessor.TableRegionsOrBuilder> |
getTableRegionsOrBuilderList()
Used for partition table scan
|
long |
getTp()
int64 tp = 2; |
boolean |
hasContext()
.kvrpcpb.Context context = 1; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Coprocessor.BatchRequest.Builder |
mergeContext(Kvrpcpb.Context value)
.kvrpcpb.Context context = 1; |
Coprocessor.BatchRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Coprocessor.BatchRequest.Builder |
mergeFrom(Coprocessor.BatchRequest other) |
Coprocessor.BatchRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
Coprocessor.BatchRequest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Coprocessor.BatchRequest.Builder |
removeRegions(int index)
repeated .coprocessor.RegionInfo regions = 4; |
Coprocessor.BatchRequest.Builder |
removeTableRegions(int index)
Used for partition table scan
|
Coprocessor.BatchRequest.Builder |
setContext(Kvrpcpb.Context.Builder builderForValue)
.kvrpcpb.Context context = 1; |
Coprocessor.BatchRequest.Builder |
setContext(Kvrpcpb.Context value)
.kvrpcpb.Context context = 1; |
Coprocessor.BatchRequest.Builder |
setData(com.google.protobuf.ByteString value)
bytes data = 3; |
Coprocessor.BatchRequest.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Coprocessor.BatchRequest.Builder |
setRegions(int index,
Coprocessor.RegionInfo.Builder builderForValue)
repeated .coprocessor.RegionInfo regions = 4; |
Coprocessor.BatchRequest.Builder |
setRegions(int index,
Coprocessor.RegionInfo value)
repeated .coprocessor.RegionInfo regions = 4; |
Coprocessor.BatchRequest.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Coprocessor.BatchRequest.Builder |
setSchemaVer(long value)
Any schema-ful storage to validate schema correctness if necessary.
|
Coprocessor.BatchRequest.Builder |
setStartTs(long value)
uint64 start_ts = 5; |
Coprocessor.BatchRequest.Builder |
setTableRegions(int index,
Coprocessor.TableRegions.Builder builderForValue)
Used for partition table scan
|
Coprocessor.BatchRequest.Builder |
setTableRegions(int index,
Coprocessor.TableRegions value)
Used for partition table scan
|
Coprocessor.BatchRequest.Builder |
setTp(long value)
int64 tp = 2; |
Coprocessor.BatchRequest.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.BatchRequest.Builder>
public Coprocessor.BatchRequest.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.BatchRequest.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.BatchRequest.Builder>
public Coprocessor.BatchRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public Coprocessor.BatchRequest build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public Coprocessor.BatchRequest buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public Coprocessor.BatchRequest.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.BatchRequest.Builder>
public Coprocessor.BatchRequest.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.BatchRequest.Builder>
public Coprocessor.BatchRequest.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.BatchRequest.Builder>
public Coprocessor.BatchRequest.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.BatchRequest.Builder>
public Coprocessor.BatchRequest.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.BatchRequest.Builder>
public Coprocessor.BatchRequest.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.BatchRequest.Builder>
public Coprocessor.BatchRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Coprocessor.BatchRequest.Builder>
public Coprocessor.BatchRequest.Builder mergeFrom(Coprocessor.BatchRequest other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<Coprocessor.BatchRequest.Builder>
public Coprocessor.BatchRequest.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.BatchRequest.Builder>
IOException
public boolean hasContext()
.kvrpcpb.Context context = 1;
hasContext
in interface Coprocessor.BatchRequestOrBuilder
public Kvrpcpb.Context getContext()
.kvrpcpb.Context context = 1;
getContext
in interface Coprocessor.BatchRequestOrBuilder
public Coprocessor.BatchRequest.Builder setContext(Kvrpcpb.Context value)
.kvrpcpb.Context context = 1;
public Coprocessor.BatchRequest.Builder setContext(Kvrpcpb.Context.Builder builderForValue)
.kvrpcpb.Context context = 1;
public Coprocessor.BatchRequest.Builder mergeContext(Kvrpcpb.Context value)
.kvrpcpb.Context context = 1;
public Coprocessor.BatchRequest.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.BatchRequestOrBuilder
public long getTp()
int64 tp = 2;
getTp
in interface Coprocessor.BatchRequestOrBuilder
public Coprocessor.BatchRequest.Builder setTp(long value)
int64 tp = 2;
value
- The tp to set.public Coprocessor.BatchRequest.Builder clearTp()
int64 tp = 2;
public com.google.protobuf.ByteString getData()
bytes data = 3;
getData
in interface Coprocessor.BatchRequestOrBuilder
public Coprocessor.BatchRequest.Builder setData(com.google.protobuf.ByteString value)
bytes data = 3;
value
- The data to set.public Coprocessor.BatchRequest.Builder clearData()
bytes data = 3;
public List<Coprocessor.RegionInfo> getRegionsList()
repeated .coprocessor.RegionInfo regions = 4;
getRegionsList
in interface Coprocessor.BatchRequestOrBuilder
public int getRegionsCount()
repeated .coprocessor.RegionInfo regions = 4;
getRegionsCount
in interface Coprocessor.BatchRequestOrBuilder
public Coprocessor.RegionInfo getRegions(int index)
repeated .coprocessor.RegionInfo regions = 4;
getRegions
in interface Coprocessor.BatchRequestOrBuilder
public Coprocessor.BatchRequest.Builder setRegions(int index, Coprocessor.RegionInfo value)
repeated .coprocessor.RegionInfo regions = 4;
public Coprocessor.BatchRequest.Builder setRegions(int index, Coprocessor.RegionInfo.Builder builderForValue)
repeated .coprocessor.RegionInfo regions = 4;
public Coprocessor.BatchRequest.Builder addRegions(Coprocessor.RegionInfo value)
repeated .coprocessor.RegionInfo regions = 4;
public Coprocessor.BatchRequest.Builder addRegions(int index, Coprocessor.RegionInfo value)
repeated .coprocessor.RegionInfo regions = 4;
public Coprocessor.BatchRequest.Builder addRegions(Coprocessor.RegionInfo.Builder builderForValue)
repeated .coprocessor.RegionInfo regions = 4;
public Coprocessor.BatchRequest.Builder addRegions(int index, Coprocessor.RegionInfo.Builder builderForValue)
repeated .coprocessor.RegionInfo regions = 4;
public Coprocessor.BatchRequest.Builder addAllRegions(Iterable<? extends Coprocessor.RegionInfo> values)
repeated .coprocessor.RegionInfo regions = 4;
public Coprocessor.BatchRequest.Builder clearRegions()
repeated .coprocessor.RegionInfo regions = 4;
public Coprocessor.BatchRequest.Builder removeRegions(int index)
repeated .coprocessor.RegionInfo regions = 4;
public Coprocessor.RegionInfo.Builder getRegionsBuilder(int index)
repeated .coprocessor.RegionInfo regions = 4;
public Coprocessor.RegionInfoOrBuilder getRegionsOrBuilder(int index)
repeated .coprocessor.RegionInfo regions = 4;
getRegionsOrBuilder
in interface Coprocessor.BatchRequestOrBuilder
public List<? extends Coprocessor.RegionInfoOrBuilder> getRegionsOrBuilderList()
repeated .coprocessor.RegionInfo regions = 4;
getRegionsOrBuilderList
in interface Coprocessor.BatchRequestOrBuilder
public Coprocessor.RegionInfo.Builder addRegionsBuilder()
repeated .coprocessor.RegionInfo regions = 4;
public Coprocessor.RegionInfo.Builder addRegionsBuilder(int index)
repeated .coprocessor.RegionInfo regions = 4;
public List<Coprocessor.RegionInfo.Builder> getRegionsBuilderList()
repeated .coprocessor.RegionInfo regions = 4;
public long getStartTs()
uint64 start_ts = 5;
getStartTs
in interface Coprocessor.BatchRequestOrBuilder
public Coprocessor.BatchRequest.Builder setStartTs(long value)
uint64 start_ts = 5;
value
- The startTs to set.public Coprocessor.BatchRequest.Builder clearStartTs()
uint64 start_ts = 5;
public long getSchemaVer()
Any schema-ful storage to validate schema correctness if necessary.
int64 schema_ver = 6;
getSchemaVer
in interface Coprocessor.BatchRequestOrBuilder
public Coprocessor.BatchRequest.Builder setSchemaVer(long value)
Any schema-ful storage to validate schema correctness if necessary.
int64 schema_ver = 6;
value
- The schemaVer to set.public Coprocessor.BatchRequest.Builder clearSchemaVer()
Any schema-ful storage to validate schema correctness if necessary.
int64 schema_ver = 6;
public List<Coprocessor.TableRegions> getTableRegionsList()
Used for partition table scan
repeated .coprocessor.TableRegions table_regions = 7;
getTableRegionsList
in interface Coprocessor.BatchRequestOrBuilder
public int getTableRegionsCount()
Used for partition table scan
repeated .coprocessor.TableRegions table_regions = 7;
getTableRegionsCount
in interface Coprocessor.BatchRequestOrBuilder
public Coprocessor.TableRegions getTableRegions(int index)
Used for partition table scan
repeated .coprocessor.TableRegions table_regions = 7;
getTableRegions
in interface Coprocessor.BatchRequestOrBuilder
public Coprocessor.BatchRequest.Builder setTableRegions(int index, Coprocessor.TableRegions value)
Used for partition table scan
repeated .coprocessor.TableRegions table_regions = 7;
public Coprocessor.BatchRequest.Builder setTableRegions(int index, Coprocessor.TableRegions.Builder builderForValue)
Used for partition table scan
repeated .coprocessor.TableRegions table_regions = 7;
public Coprocessor.BatchRequest.Builder addTableRegions(Coprocessor.TableRegions value)
Used for partition table scan
repeated .coprocessor.TableRegions table_regions = 7;
public Coprocessor.BatchRequest.Builder addTableRegions(int index, Coprocessor.TableRegions value)
Used for partition table scan
repeated .coprocessor.TableRegions table_regions = 7;
public Coprocessor.BatchRequest.Builder addTableRegions(Coprocessor.TableRegions.Builder builderForValue)
Used for partition table scan
repeated .coprocessor.TableRegions table_regions = 7;
public Coprocessor.BatchRequest.Builder addTableRegions(int index, Coprocessor.TableRegions.Builder builderForValue)
Used for partition table scan
repeated .coprocessor.TableRegions table_regions = 7;
public Coprocessor.BatchRequest.Builder addAllTableRegions(Iterable<? extends Coprocessor.TableRegions> values)
Used for partition table scan
repeated .coprocessor.TableRegions table_regions = 7;
public Coprocessor.BatchRequest.Builder clearTableRegions()
Used for partition table scan
repeated .coprocessor.TableRegions table_regions = 7;
public Coprocessor.BatchRequest.Builder removeTableRegions(int index)
Used for partition table scan
repeated .coprocessor.TableRegions table_regions = 7;
public Coprocessor.TableRegions.Builder getTableRegionsBuilder(int index)
Used for partition table scan
repeated .coprocessor.TableRegions table_regions = 7;
public Coprocessor.TableRegionsOrBuilder getTableRegionsOrBuilder(int index)
Used for partition table scan
repeated .coprocessor.TableRegions table_regions = 7;
getTableRegionsOrBuilder
in interface Coprocessor.BatchRequestOrBuilder
public List<? extends Coprocessor.TableRegionsOrBuilder> getTableRegionsOrBuilderList()
Used for partition table scan
repeated .coprocessor.TableRegions table_regions = 7;
getTableRegionsOrBuilderList
in interface Coprocessor.BatchRequestOrBuilder
public Coprocessor.TableRegions.Builder addTableRegionsBuilder()
Used for partition table scan
repeated .coprocessor.TableRegions table_regions = 7;
public Coprocessor.TableRegions.Builder addTableRegionsBuilder(int index)
Used for partition table scan
repeated .coprocessor.TableRegions table_regions = 7;
public List<Coprocessor.TableRegions.Builder> getTableRegionsBuilderList()
Used for partition table scan
repeated .coprocessor.TableRegions table_regions = 7;
public final Coprocessor.BatchRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Coprocessor.BatchRequest.Builder>
public final Coprocessor.BatchRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Coprocessor.BatchRequest.Builder>
Copyright © 2024 PingCAP. All rights reserved.