public static final class Mpp.DispatchTaskRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Mpp.DispatchTaskRequest.Builder> implements Mpp.DispatchTaskRequestOrBuilder
Dipsatch the task request to different tiflash servers.Protobuf type
mpp.DispatchTaskRequest
Modifier and Type | Method and Description |
---|---|
Mpp.DispatchTaskRequest.Builder |
addAllRegions(Iterable<? extends Coprocessor.RegionInfo> values)
repeated .coprocessor.RegionInfo regions = 4; |
Mpp.DispatchTaskRequest.Builder |
addAllTableRegions(Iterable<? extends Coprocessor.TableRegions> values)
Used for partition table scan
|
Mpp.DispatchTaskRequest.Builder |
addRegions(Coprocessor.RegionInfo.Builder builderForValue)
repeated .coprocessor.RegionInfo regions = 4; |
Mpp.DispatchTaskRequest.Builder |
addRegions(Coprocessor.RegionInfo value)
repeated .coprocessor.RegionInfo regions = 4; |
Mpp.DispatchTaskRequest.Builder |
addRegions(int index,
Coprocessor.RegionInfo.Builder builderForValue)
repeated .coprocessor.RegionInfo regions = 4; |
Mpp.DispatchTaskRequest.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; |
Mpp.DispatchTaskRequest.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Mpp.DispatchTaskRequest.Builder |
addTableRegions(Coprocessor.TableRegions.Builder builderForValue)
Used for partition table scan
|
Mpp.DispatchTaskRequest.Builder |
addTableRegions(Coprocessor.TableRegions value)
Used for partition table scan
|
Mpp.DispatchTaskRequest.Builder |
addTableRegions(int index,
Coprocessor.TableRegions.Builder builderForValue)
Used for partition table scan
|
Mpp.DispatchTaskRequest.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
|
Mpp.DispatchTaskRequest |
build() |
Mpp.DispatchTaskRequest |
buildPartial() |
Mpp.DispatchTaskRequest.Builder |
clear() |
Mpp.DispatchTaskRequest.Builder |
clearEncodedPlan()
bytes encoded_plan = 2; |
Mpp.DispatchTaskRequest.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Mpp.DispatchTaskRequest.Builder |
clearMeta()
.mpp.TaskMeta meta = 1; |
Mpp.DispatchTaskRequest.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Mpp.DispatchTaskRequest.Builder |
clearRegions()
repeated .coprocessor.RegionInfo regions = 4; |
Mpp.DispatchTaskRequest.Builder |
clearSchemaVer()
If this task contains table scan, we still need their region info.
|
Mpp.DispatchTaskRequest.Builder |
clearTableRegions()
Used for partition table scan
|
Mpp.DispatchTaskRequest.Builder |
clearTimeout()
int64 timeout = 3; |
Mpp.DispatchTaskRequest.Builder |
clone() |
Mpp.DispatchTaskRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
com.google.protobuf.ByteString |
getEncodedPlan()
bytes encoded_plan = 2; |
Mpp.TaskMeta |
getMeta()
.mpp.TaskMeta meta = 1; |
Mpp.TaskMeta.Builder |
getMetaBuilder()
.mpp.TaskMeta meta = 1; |
Mpp.TaskMetaOrBuilder |
getMetaOrBuilder()
.mpp.TaskMeta meta = 1; |
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()
If this task contains table scan, we still need their region info.
|
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 |
getTimeout()
int64 timeout = 3; |
boolean |
hasMeta()
.mpp.TaskMeta meta = 1; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Mpp.DispatchTaskRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Mpp.DispatchTaskRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
Mpp.DispatchTaskRequest.Builder |
mergeFrom(Mpp.DispatchTaskRequest other) |
Mpp.DispatchTaskRequest.Builder |
mergeMeta(Mpp.TaskMeta value)
.mpp.TaskMeta meta = 1; |
Mpp.DispatchTaskRequest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Mpp.DispatchTaskRequest.Builder |
removeRegions(int index)
repeated .coprocessor.RegionInfo regions = 4; |
Mpp.DispatchTaskRequest.Builder |
removeTableRegions(int index)
Used for partition table scan
|
Mpp.DispatchTaskRequest.Builder |
setEncodedPlan(com.google.protobuf.ByteString value)
bytes encoded_plan = 2; |
Mpp.DispatchTaskRequest.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Mpp.DispatchTaskRequest.Builder |
setMeta(Mpp.TaskMeta.Builder builderForValue)
.mpp.TaskMeta meta = 1; |
Mpp.DispatchTaskRequest.Builder |
setMeta(Mpp.TaskMeta value)
.mpp.TaskMeta meta = 1; |
Mpp.DispatchTaskRequest.Builder |
setRegions(int index,
Coprocessor.RegionInfo.Builder builderForValue)
repeated .coprocessor.RegionInfo regions = 4; |
Mpp.DispatchTaskRequest.Builder |
setRegions(int index,
Coprocessor.RegionInfo value)
repeated .coprocessor.RegionInfo regions = 4; |
Mpp.DispatchTaskRequest.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Mpp.DispatchTaskRequest.Builder |
setSchemaVer(long value)
If this task contains table scan, we still need their region info.
|
Mpp.DispatchTaskRequest.Builder |
setTableRegions(int index,
Coprocessor.TableRegions.Builder builderForValue)
Used for partition table scan
|
Mpp.DispatchTaskRequest.Builder |
setTableRegions(int index,
Coprocessor.TableRegions value)
Used for partition table scan
|
Mpp.DispatchTaskRequest.Builder |
setTimeout(long value)
int64 timeout = 3; |
Mpp.DispatchTaskRequest.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<Mpp.DispatchTaskRequest.Builder>
public Mpp.DispatchTaskRequest.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<Mpp.DispatchTaskRequest.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<Mpp.DispatchTaskRequest.Builder>
public Mpp.DispatchTaskRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public Mpp.DispatchTaskRequest build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public Mpp.DispatchTaskRequest buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public Mpp.DispatchTaskRequest.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<Mpp.DispatchTaskRequest.Builder>
public Mpp.DispatchTaskRequest.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<Mpp.DispatchTaskRequest.Builder>
public Mpp.DispatchTaskRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<Mpp.DispatchTaskRequest.Builder>
public Mpp.DispatchTaskRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<Mpp.DispatchTaskRequest.Builder>
public Mpp.DispatchTaskRequest.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<Mpp.DispatchTaskRequest.Builder>
public Mpp.DispatchTaskRequest.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<Mpp.DispatchTaskRequest.Builder>
public Mpp.DispatchTaskRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Mpp.DispatchTaskRequest.Builder>
public Mpp.DispatchTaskRequest.Builder mergeFrom(Mpp.DispatchTaskRequest other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<Mpp.DispatchTaskRequest.Builder>
public Mpp.DispatchTaskRequest.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<Mpp.DispatchTaskRequest.Builder>
IOException
public boolean hasMeta()
.mpp.TaskMeta meta = 1;
hasMeta
in interface Mpp.DispatchTaskRequestOrBuilder
public Mpp.TaskMeta getMeta()
.mpp.TaskMeta meta = 1;
getMeta
in interface Mpp.DispatchTaskRequestOrBuilder
public Mpp.DispatchTaskRequest.Builder setMeta(Mpp.TaskMeta value)
.mpp.TaskMeta meta = 1;
public Mpp.DispatchTaskRequest.Builder setMeta(Mpp.TaskMeta.Builder builderForValue)
.mpp.TaskMeta meta = 1;
public Mpp.DispatchTaskRequest.Builder mergeMeta(Mpp.TaskMeta value)
.mpp.TaskMeta meta = 1;
public Mpp.DispatchTaskRequest.Builder clearMeta()
.mpp.TaskMeta meta = 1;
public Mpp.TaskMeta.Builder getMetaBuilder()
.mpp.TaskMeta meta = 1;
public Mpp.TaskMetaOrBuilder getMetaOrBuilder()
.mpp.TaskMeta meta = 1;
getMetaOrBuilder
in interface Mpp.DispatchTaskRequestOrBuilder
public com.google.protobuf.ByteString getEncodedPlan()
bytes encoded_plan = 2;
getEncodedPlan
in interface Mpp.DispatchTaskRequestOrBuilder
public Mpp.DispatchTaskRequest.Builder setEncodedPlan(com.google.protobuf.ByteString value)
bytes encoded_plan = 2;
value
- The encodedPlan to set.public Mpp.DispatchTaskRequest.Builder clearEncodedPlan()
bytes encoded_plan = 2;
public long getTimeout()
int64 timeout = 3;
getTimeout
in interface Mpp.DispatchTaskRequestOrBuilder
public Mpp.DispatchTaskRequest.Builder setTimeout(long value)
int64 timeout = 3;
value
- The timeout to set.public Mpp.DispatchTaskRequest.Builder clearTimeout()
int64 timeout = 3;
public List<Coprocessor.RegionInfo> getRegionsList()
repeated .coprocessor.RegionInfo regions = 4;
getRegionsList
in interface Mpp.DispatchTaskRequestOrBuilder
public int getRegionsCount()
repeated .coprocessor.RegionInfo regions = 4;
getRegionsCount
in interface Mpp.DispatchTaskRequestOrBuilder
public Coprocessor.RegionInfo getRegions(int index)
repeated .coprocessor.RegionInfo regions = 4;
getRegions
in interface Mpp.DispatchTaskRequestOrBuilder
public Mpp.DispatchTaskRequest.Builder setRegions(int index, Coprocessor.RegionInfo value)
repeated .coprocessor.RegionInfo regions = 4;
public Mpp.DispatchTaskRequest.Builder setRegions(int index, Coprocessor.RegionInfo.Builder builderForValue)
repeated .coprocessor.RegionInfo regions = 4;
public Mpp.DispatchTaskRequest.Builder addRegions(Coprocessor.RegionInfo value)
repeated .coprocessor.RegionInfo regions = 4;
public Mpp.DispatchTaskRequest.Builder addRegions(int index, Coprocessor.RegionInfo value)
repeated .coprocessor.RegionInfo regions = 4;
public Mpp.DispatchTaskRequest.Builder addRegions(Coprocessor.RegionInfo.Builder builderForValue)
repeated .coprocessor.RegionInfo regions = 4;
public Mpp.DispatchTaskRequest.Builder addRegions(int index, Coprocessor.RegionInfo.Builder builderForValue)
repeated .coprocessor.RegionInfo regions = 4;
public Mpp.DispatchTaskRequest.Builder addAllRegions(Iterable<? extends Coprocessor.RegionInfo> values)
repeated .coprocessor.RegionInfo regions = 4;
public Mpp.DispatchTaskRequest.Builder clearRegions()
repeated .coprocessor.RegionInfo regions = 4;
public Mpp.DispatchTaskRequest.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 Mpp.DispatchTaskRequestOrBuilder
public List<? extends Coprocessor.RegionInfoOrBuilder> getRegionsOrBuilderList()
repeated .coprocessor.RegionInfo regions = 4;
getRegionsOrBuilderList
in interface Mpp.DispatchTaskRequestOrBuilder
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 getSchemaVer()
If this task contains table scan, we still need their region info.
int64 schema_ver = 5;
getSchemaVer
in interface Mpp.DispatchTaskRequestOrBuilder
public Mpp.DispatchTaskRequest.Builder setSchemaVer(long value)
If this task contains table scan, we still need their region info.
int64 schema_ver = 5;
value
- The schemaVer to set.public Mpp.DispatchTaskRequest.Builder clearSchemaVer()
If this task contains table scan, we still need their region info.
int64 schema_ver = 5;
public List<Coprocessor.TableRegions> getTableRegionsList()
Used for partition table scan
repeated .coprocessor.TableRegions table_regions = 6;
getTableRegionsList
in interface Mpp.DispatchTaskRequestOrBuilder
public int getTableRegionsCount()
Used for partition table scan
repeated .coprocessor.TableRegions table_regions = 6;
getTableRegionsCount
in interface Mpp.DispatchTaskRequestOrBuilder
public Coprocessor.TableRegions getTableRegions(int index)
Used for partition table scan
repeated .coprocessor.TableRegions table_regions = 6;
getTableRegions
in interface Mpp.DispatchTaskRequestOrBuilder
public Mpp.DispatchTaskRequest.Builder setTableRegions(int index, Coprocessor.TableRegions value)
Used for partition table scan
repeated .coprocessor.TableRegions table_regions = 6;
public Mpp.DispatchTaskRequest.Builder setTableRegions(int index, Coprocessor.TableRegions.Builder builderForValue)
Used for partition table scan
repeated .coprocessor.TableRegions table_regions = 6;
public Mpp.DispatchTaskRequest.Builder addTableRegions(Coprocessor.TableRegions value)
Used for partition table scan
repeated .coprocessor.TableRegions table_regions = 6;
public Mpp.DispatchTaskRequest.Builder addTableRegions(int index, Coprocessor.TableRegions value)
Used for partition table scan
repeated .coprocessor.TableRegions table_regions = 6;
public Mpp.DispatchTaskRequest.Builder addTableRegions(Coprocessor.TableRegions.Builder builderForValue)
Used for partition table scan
repeated .coprocessor.TableRegions table_regions = 6;
public Mpp.DispatchTaskRequest.Builder addTableRegions(int index, Coprocessor.TableRegions.Builder builderForValue)
Used for partition table scan
repeated .coprocessor.TableRegions table_regions = 6;
public Mpp.DispatchTaskRequest.Builder addAllTableRegions(Iterable<? extends Coprocessor.TableRegions> values)
Used for partition table scan
repeated .coprocessor.TableRegions table_regions = 6;
public Mpp.DispatchTaskRequest.Builder clearTableRegions()
Used for partition table scan
repeated .coprocessor.TableRegions table_regions = 6;
public Mpp.DispatchTaskRequest.Builder removeTableRegions(int index)
Used for partition table scan
repeated .coprocessor.TableRegions table_regions = 6;
public Coprocessor.TableRegions.Builder getTableRegionsBuilder(int index)
Used for partition table scan
repeated .coprocessor.TableRegions table_regions = 6;
public Coprocessor.TableRegionsOrBuilder getTableRegionsOrBuilder(int index)
Used for partition table scan
repeated .coprocessor.TableRegions table_regions = 6;
getTableRegionsOrBuilder
in interface Mpp.DispatchTaskRequestOrBuilder
public List<? extends Coprocessor.TableRegionsOrBuilder> getTableRegionsOrBuilderList()
Used for partition table scan
repeated .coprocessor.TableRegions table_regions = 6;
getTableRegionsOrBuilderList
in interface Mpp.DispatchTaskRequestOrBuilder
public Coprocessor.TableRegions.Builder addTableRegionsBuilder()
Used for partition table scan
repeated .coprocessor.TableRegions table_regions = 6;
public Coprocessor.TableRegions.Builder addTableRegionsBuilder(int index)
Used for partition table scan
repeated .coprocessor.TableRegions table_regions = 6;
public List<Coprocessor.TableRegions.Builder> getTableRegionsBuilderList()
Used for partition table scan
repeated .coprocessor.TableRegions table_regions = 6;
public final Mpp.DispatchTaskRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Mpp.DispatchTaskRequest.Builder>
public final Mpp.DispatchTaskRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Mpp.DispatchTaskRequest.Builder>
Copyright © 2024 PingCAP. All rights reserved.