public static final class Mpp.TaskMeta.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Mpp.TaskMeta.Builder> implements Mpp.TaskMetaOrBuilder
TaskMeta contains meta of a mpp plan, including query's ts and task address.Protobuf type
mpp.TaskMeta
Modifier and Type | Method and Description |
---|---|
Mpp.TaskMeta.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Mpp.TaskMeta |
build() |
Mpp.TaskMeta |
buildPartial() |
Mpp.TaskMeta.Builder |
clear() |
Mpp.TaskMeta.Builder |
clearAddress()
target address of this task.
|
Mpp.TaskMeta.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Mpp.TaskMeta.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Mpp.TaskMeta.Builder |
clearPartitionId()
Only used for hash partition
|
Mpp.TaskMeta.Builder |
clearStartTs()
start ts of a query
|
Mpp.TaskMeta.Builder |
clearTaskId()
if task id is -1 , it indicates a tidb task.
|
Mpp.TaskMeta.Builder |
clone() |
String |
getAddress()
target address of this task.
|
com.google.protobuf.ByteString |
getAddressBytes()
target address of this task.
|
Mpp.TaskMeta |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
long |
getPartitionId()
Only used for hash partition
|
long |
getStartTs()
start ts of a query
|
long |
getTaskId()
if task id is -1 , it indicates a tidb task.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Mpp.TaskMeta.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Mpp.TaskMeta.Builder |
mergeFrom(com.google.protobuf.Message other) |
Mpp.TaskMeta.Builder |
mergeFrom(Mpp.TaskMeta other) |
Mpp.TaskMeta.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Mpp.TaskMeta.Builder |
setAddress(String value)
target address of this task.
|
Mpp.TaskMeta.Builder |
setAddressBytes(com.google.protobuf.ByteString value)
target address of this task.
|
Mpp.TaskMeta.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Mpp.TaskMeta.Builder |
setPartitionId(long value)
Only used for hash partition
|
Mpp.TaskMeta.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Mpp.TaskMeta.Builder |
setStartTs(long value)
start ts of a query
|
Mpp.TaskMeta.Builder |
setTaskId(long value)
if task id is -1 , it indicates a tidb task.
|
Mpp.TaskMeta.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.TaskMeta.Builder>
public Mpp.TaskMeta.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.TaskMeta.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.TaskMeta.Builder>
public Mpp.TaskMeta getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public Mpp.TaskMeta build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public Mpp.TaskMeta buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public Mpp.TaskMeta.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.TaskMeta.Builder>
public Mpp.TaskMeta.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.TaskMeta.Builder>
public Mpp.TaskMeta.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.TaskMeta.Builder>
public Mpp.TaskMeta.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.TaskMeta.Builder>
public Mpp.TaskMeta.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.TaskMeta.Builder>
public Mpp.TaskMeta.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.TaskMeta.Builder>
public Mpp.TaskMeta.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Mpp.TaskMeta.Builder>
public Mpp.TaskMeta.Builder mergeFrom(Mpp.TaskMeta other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<Mpp.TaskMeta.Builder>
public Mpp.TaskMeta.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.TaskMeta.Builder>
IOException
public long getStartTs()
start ts of a query
uint64 start_ts = 1;
getStartTs
in interface Mpp.TaskMetaOrBuilder
public Mpp.TaskMeta.Builder setStartTs(long value)
start ts of a query
uint64 start_ts = 1;
value
- The startTs to set.public Mpp.TaskMeta.Builder clearStartTs()
start ts of a query
uint64 start_ts = 1;
public long getTaskId()
if task id is -1 , it indicates a tidb task.
int64 task_id = 2;
getTaskId
in interface Mpp.TaskMetaOrBuilder
public Mpp.TaskMeta.Builder setTaskId(long value)
if task id is -1 , it indicates a tidb task.
int64 task_id = 2;
value
- The taskId to set.public Mpp.TaskMeta.Builder clearTaskId()
if task id is -1 , it indicates a tidb task.
int64 task_id = 2;
public long getPartitionId()
Only used for hash partition
int64 partition_id = 3;
getPartitionId
in interface Mpp.TaskMetaOrBuilder
public Mpp.TaskMeta.Builder setPartitionId(long value)
Only used for hash partition
int64 partition_id = 3;
value
- The partitionId to set.public Mpp.TaskMeta.Builder clearPartitionId()
Only used for hash partition
int64 partition_id = 3;
public String getAddress()
target address of this task.
string address = 4;
getAddress
in interface Mpp.TaskMetaOrBuilder
public com.google.protobuf.ByteString getAddressBytes()
target address of this task.
string address = 4;
getAddressBytes
in interface Mpp.TaskMetaOrBuilder
public Mpp.TaskMeta.Builder setAddress(String value)
target address of this task.
string address = 4;
value
- The address to set.public Mpp.TaskMeta.Builder clearAddress()
target address of this task.
string address = 4;
public Mpp.TaskMeta.Builder setAddressBytes(com.google.protobuf.ByteString value)
target address of this task.
string address = 4;
value
- The bytes for address to set.public final Mpp.TaskMeta.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Mpp.TaskMeta.Builder>
public final Mpp.TaskMeta.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Mpp.TaskMeta.Builder>
Copyright © 2024 PingCAP. All rights reserved.