com.pingcap.tidb.tipb.Join Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: executor.proto
package com.pingcap.tidb.tipb;
/**
* Protobuf type {@code tipb.Join}
*/
public final class Join extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:tipb.Join)
JoinOrBuilder {
private static final long serialVersionUID = 0L;
// Use Join.newBuilder() to construct.
private Join(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private Join() {
joinType_ = 0;
joinExecType_ = 0;
children_ = java.util.Collections.emptyList();
innerIdx_ = 0L;
leftJoinKeys_ = java.util.Collections.emptyList();
rightJoinKeys_ = java.util.Collections.emptyList();
probeTypes_ = java.util.Collections.emptyList();
buildTypes_ = java.util.Collections.emptyList();
leftConditions_ = java.util.Collections.emptyList();
rightConditions_ = java.util.Collections.emptyList();
otherConditions_ = java.util.Collections.emptyList();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private Join(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
case 8: {
int rawValue = input.readEnum();
com.pingcap.tidb.tipb.JoinType value = com.pingcap.tidb.tipb.JoinType.valueOf(rawValue);
if (value == null) {
unknownFields.mergeVarintField(1, rawValue);
} else {
bitField0_ |= 0x00000001;
joinType_ = rawValue;
}
break;
}
case 16: {
int rawValue = input.readEnum();
com.pingcap.tidb.tipb.JoinExecType value = com.pingcap.tidb.tipb.JoinExecType.valueOf(rawValue);
if (value == null) {
unknownFields.mergeVarintField(2, rawValue);
} else {
bitField0_ |= 0x00000002;
joinExecType_ = rawValue;
}
break;
}
case 26: {
if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) {
children_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000004;
}
children_.add(
input.readMessage(com.pingcap.tidb.tipb.Executor.PARSER, extensionRegistry));
break;
}
case 32: {
bitField0_ |= 0x00000004;
innerIdx_ = input.readInt64();
break;
}
case 42: {
if (!((mutable_bitField0_ & 0x00000010) == 0x00000010)) {
leftJoinKeys_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000010;
}
leftJoinKeys_.add(
input.readMessage(com.pingcap.tidb.tipb.Expr.PARSER, extensionRegistry));
break;
}
case 50: {
if (!((mutable_bitField0_ & 0x00000020) == 0x00000020)) {
rightJoinKeys_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000020;
}
rightJoinKeys_.add(
input.readMessage(com.pingcap.tidb.tipb.Expr.PARSER, extensionRegistry));
break;
}
case 58: {
if (!((mutable_bitField0_ & 0x00000040) == 0x00000040)) {
probeTypes_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000040;
}
probeTypes_.add(
input.readMessage(com.pingcap.tidb.tipb.FieldType.PARSER, extensionRegistry));
break;
}
case 66: {
if (!((mutable_bitField0_ & 0x00000080) == 0x00000080)) {
buildTypes_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000080;
}
buildTypes_.add(
input.readMessage(com.pingcap.tidb.tipb.FieldType.PARSER, extensionRegistry));
break;
}
case 74: {
if (!((mutable_bitField0_ & 0x00000100) == 0x00000100)) {
leftConditions_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000100;
}
leftConditions_.add(
input.readMessage(com.pingcap.tidb.tipb.Expr.PARSER, extensionRegistry));
break;
}
case 82: {
if (!((mutable_bitField0_ & 0x00000200) == 0x00000200)) {
rightConditions_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000200;
}
rightConditions_.add(
input.readMessage(com.pingcap.tidb.tipb.Expr.PARSER, extensionRegistry));
break;
}
case 90: {
if (!((mutable_bitField0_ & 0x00000400) == 0x00000400)) {
otherConditions_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000400;
}
otherConditions_.add(
input.readMessage(com.pingcap.tidb.tipb.Expr.PARSER, extensionRegistry));
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000004) == 0x00000004)) {
children_ = java.util.Collections.unmodifiableList(children_);
}
if (((mutable_bitField0_ & 0x00000010) == 0x00000010)) {
leftJoinKeys_ = java.util.Collections.unmodifiableList(leftJoinKeys_);
}
if (((mutable_bitField0_ & 0x00000020) == 0x00000020)) {
rightJoinKeys_ = java.util.Collections.unmodifiableList(rightJoinKeys_);
}
if (((mutable_bitField0_ & 0x00000040) == 0x00000040)) {
probeTypes_ = java.util.Collections.unmodifiableList(probeTypes_);
}
if (((mutable_bitField0_ & 0x00000080) == 0x00000080)) {
buildTypes_ = java.util.Collections.unmodifiableList(buildTypes_);
}
if (((mutable_bitField0_ & 0x00000100) == 0x00000100)) {
leftConditions_ = java.util.Collections.unmodifiableList(leftConditions_);
}
if (((mutable_bitField0_ & 0x00000200) == 0x00000200)) {
rightConditions_ = java.util.Collections.unmodifiableList(rightConditions_);
}
if (((mutable_bitField0_ & 0x00000400) == 0x00000400)) {
otherConditions_ = java.util.Collections.unmodifiableList(otherConditions_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.pingcap.tidb.tipb.ExecutorOuterClass.internal_static_tipb_Join_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.pingcap.tidb.tipb.ExecutorOuterClass.internal_static_tipb_Join_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.pingcap.tidb.tipb.Join.class, com.pingcap.tidb.tipb.Join.Builder.class);
}
private int bitField0_;
public static final int JOIN_TYPE_FIELD_NUMBER = 1;
private int joinType_;
/**
* optional .tipb.JoinType join_type = 1 [(.gogoproto.nullable) = false];
*/
public boolean hasJoinType() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional .tipb.JoinType join_type = 1 [(.gogoproto.nullable) = false];
*/
public com.pingcap.tidb.tipb.JoinType getJoinType() {
com.pingcap.tidb.tipb.JoinType result = com.pingcap.tidb.tipb.JoinType.valueOf(joinType_);
return result == null ? com.pingcap.tidb.tipb.JoinType.TypeInnerJoin : result;
}
public static final int JOIN_EXEC_TYPE_FIELD_NUMBER = 2;
private int joinExecType_;
/**
* optional .tipb.JoinExecType join_exec_type = 2 [(.gogoproto.nullable) = false];
*/
public boolean hasJoinExecType() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional .tipb.JoinExecType join_exec_type = 2 [(.gogoproto.nullable) = false];
*/
public com.pingcap.tidb.tipb.JoinExecType getJoinExecType() {
com.pingcap.tidb.tipb.JoinExecType result = com.pingcap.tidb.tipb.JoinExecType.valueOf(joinExecType_);
return result == null ? com.pingcap.tidb.tipb.JoinExecType.TypeHashJoin : result;
}
public static final int CHILDREN_FIELD_NUMBER = 3;
private java.util.List children_;
/**
* repeated .tipb.Executor children = 3;
*/
public java.util.List getChildrenList() {
return children_;
}
/**
* repeated .tipb.Executor children = 3;
*/
public java.util.List extends com.pingcap.tidb.tipb.ExecutorOrBuilder>
getChildrenOrBuilderList() {
return children_;
}
/**
* repeated .tipb.Executor children = 3;
*/
public int getChildrenCount() {
return children_.size();
}
/**
* repeated .tipb.Executor children = 3;
*/
public com.pingcap.tidb.tipb.Executor getChildren(int index) {
return children_.get(index);
}
/**
* repeated .tipb.Executor children = 3;
*/
public com.pingcap.tidb.tipb.ExecutorOrBuilder getChildrenOrBuilder(
int index) {
return children_.get(index);
}
public static final int INNER_IDX_FIELD_NUMBER = 4;
private long innerIdx_;
/**
*
* 0 or 1
*
*
* optional int64 inner_idx = 4 [(.gogoproto.nullable) = false];
*/
public boolean hasInnerIdx() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
*
* 0 or 1
*
*
* optional int64 inner_idx = 4 [(.gogoproto.nullable) = false];
*/
public long getInnerIdx() {
return innerIdx_;
}
public static final int LEFT_JOIN_KEYS_FIELD_NUMBER = 5;
private java.util.List leftJoinKeys_;
/**
* repeated .tipb.Expr left_join_keys = 5;
*/
public java.util.List getLeftJoinKeysList() {
return leftJoinKeys_;
}
/**
* repeated .tipb.Expr left_join_keys = 5;
*/
public java.util.List extends com.pingcap.tidb.tipb.ExprOrBuilder>
getLeftJoinKeysOrBuilderList() {
return leftJoinKeys_;
}
/**
* repeated .tipb.Expr left_join_keys = 5;
*/
public int getLeftJoinKeysCount() {
return leftJoinKeys_.size();
}
/**
* repeated .tipb.Expr left_join_keys = 5;
*/
public com.pingcap.tidb.tipb.Expr getLeftJoinKeys(int index) {
return leftJoinKeys_.get(index);
}
/**
* repeated .tipb.Expr left_join_keys = 5;
*/
public com.pingcap.tidb.tipb.ExprOrBuilder getLeftJoinKeysOrBuilder(
int index) {
return leftJoinKeys_.get(index);
}
public static final int RIGHT_JOIN_KEYS_FIELD_NUMBER = 6;
private java.util.List rightJoinKeys_;
/**
* repeated .tipb.Expr right_join_keys = 6;
*/
public java.util.List getRightJoinKeysList() {
return rightJoinKeys_;
}
/**
* repeated .tipb.Expr right_join_keys = 6;
*/
public java.util.List extends com.pingcap.tidb.tipb.ExprOrBuilder>
getRightJoinKeysOrBuilderList() {
return rightJoinKeys_;
}
/**
* repeated .tipb.Expr right_join_keys = 6;
*/
public int getRightJoinKeysCount() {
return rightJoinKeys_.size();
}
/**
* repeated .tipb.Expr right_join_keys = 6;
*/
public com.pingcap.tidb.tipb.Expr getRightJoinKeys(int index) {
return rightJoinKeys_.get(index);
}
/**
* repeated .tipb.Expr right_join_keys = 6;
*/
public com.pingcap.tidb.tipb.ExprOrBuilder getRightJoinKeysOrBuilder(
int index) {
return rightJoinKeys_.get(index);
}
public static final int PROBE_TYPES_FIELD_NUMBER = 7;
private java.util.List probeTypes_;
/**
*
* used by TiFlash join when new collation is enabled.
*
*
* repeated .tipb.FieldType probe_types = 7;
*/
public java.util.List getProbeTypesList() {
return probeTypes_;
}
/**
*
* used by TiFlash join when new collation is enabled.
*
*
* repeated .tipb.FieldType probe_types = 7;
*/
public java.util.List extends com.pingcap.tidb.tipb.FieldTypeOrBuilder>
getProbeTypesOrBuilderList() {
return probeTypes_;
}
/**
*
* used by TiFlash join when new collation is enabled.
*
*
* repeated .tipb.FieldType probe_types = 7;
*/
public int getProbeTypesCount() {
return probeTypes_.size();
}
/**
*
* used by TiFlash join when new collation is enabled.
*
*
* repeated .tipb.FieldType probe_types = 7;
*/
public com.pingcap.tidb.tipb.FieldType getProbeTypes(int index) {
return probeTypes_.get(index);
}
/**
*
* used by TiFlash join when new collation is enabled.
*
*
* repeated .tipb.FieldType probe_types = 7;
*/
public com.pingcap.tidb.tipb.FieldTypeOrBuilder getProbeTypesOrBuilder(
int index) {
return probeTypes_.get(index);
}
public static final int BUILD_TYPES_FIELD_NUMBER = 8;
private java.util.List buildTypes_;
/**
* repeated .tipb.FieldType build_types = 8;
*/
public java.util.List getBuildTypesList() {
return buildTypes_;
}
/**
* repeated .tipb.FieldType build_types = 8;
*/
public java.util.List extends com.pingcap.tidb.tipb.FieldTypeOrBuilder>
getBuildTypesOrBuilderList() {
return buildTypes_;
}
/**
* repeated .tipb.FieldType build_types = 8;
*/
public int getBuildTypesCount() {
return buildTypes_.size();
}
/**
* repeated .tipb.FieldType build_types = 8;
*/
public com.pingcap.tidb.tipb.FieldType getBuildTypes(int index) {
return buildTypes_.get(index);
}
/**
* repeated .tipb.FieldType build_types = 8;
*/
public com.pingcap.tidb.tipb.FieldTypeOrBuilder getBuildTypesOrBuilder(
int index) {
return buildTypes_.get(index);
}
public static final int LEFT_CONDITIONS_FIELD_NUMBER = 9;
private java.util.List leftConditions_;
/**
* repeated .tipb.Expr left_conditions = 9;
*/
public java.util.List getLeftConditionsList() {
return leftConditions_;
}
/**
* repeated .tipb.Expr left_conditions = 9;
*/
public java.util.List extends com.pingcap.tidb.tipb.ExprOrBuilder>
getLeftConditionsOrBuilderList() {
return leftConditions_;
}
/**
* repeated .tipb.Expr left_conditions = 9;
*/
public int getLeftConditionsCount() {
return leftConditions_.size();
}
/**
* repeated .tipb.Expr left_conditions = 9;
*/
public com.pingcap.tidb.tipb.Expr getLeftConditions(int index) {
return leftConditions_.get(index);
}
/**
* repeated .tipb.Expr left_conditions = 9;
*/
public com.pingcap.tidb.tipb.ExprOrBuilder getLeftConditionsOrBuilder(
int index) {
return leftConditions_.get(index);
}
public static final int RIGHT_CONDITIONS_FIELD_NUMBER = 10;
private java.util.List rightConditions_;
/**
* repeated .tipb.Expr right_conditions = 10;
*/
public java.util.List getRightConditionsList() {
return rightConditions_;
}
/**
* repeated .tipb.Expr right_conditions = 10;
*/
public java.util.List extends com.pingcap.tidb.tipb.ExprOrBuilder>
getRightConditionsOrBuilderList() {
return rightConditions_;
}
/**
* repeated .tipb.Expr right_conditions = 10;
*/
public int getRightConditionsCount() {
return rightConditions_.size();
}
/**
* repeated .tipb.Expr right_conditions = 10;
*/
public com.pingcap.tidb.tipb.Expr getRightConditions(int index) {
return rightConditions_.get(index);
}
/**
* repeated .tipb.Expr right_conditions = 10;
*/
public com.pingcap.tidb.tipb.ExprOrBuilder getRightConditionsOrBuilder(
int index) {
return rightConditions_.get(index);
}
public static final int OTHER_CONDITIONS_FIELD_NUMBER = 11;
private java.util.List otherConditions_;
/**
* repeated .tipb.Expr other_conditions = 11;
*/
public java.util.List getOtherConditionsList() {
return otherConditions_;
}
/**
* repeated .tipb.Expr other_conditions = 11;
*/
public java.util.List extends com.pingcap.tidb.tipb.ExprOrBuilder>
getOtherConditionsOrBuilderList() {
return otherConditions_;
}
/**
* repeated .tipb.Expr other_conditions = 11;
*/
public int getOtherConditionsCount() {
return otherConditions_.size();
}
/**
* repeated .tipb.Expr other_conditions = 11;
*/
public com.pingcap.tidb.tipb.Expr getOtherConditions(int index) {
return otherConditions_.get(index);
}
/**
* repeated .tipb.Expr other_conditions = 11;
*/
public com.pingcap.tidb.tipb.ExprOrBuilder getOtherConditionsOrBuilder(
int index) {
return otherConditions_.get(index);
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeEnum(1, joinType_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeEnum(2, joinExecType_);
}
for (int i = 0; i < children_.size(); i++) {
output.writeMessage(3, children_.get(i));
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
output.writeInt64(4, innerIdx_);
}
for (int i = 0; i < leftJoinKeys_.size(); i++) {
output.writeMessage(5, leftJoinKeys_.get(i));
}
for (int i = 0; i < rightJoinKeys_.size(); i++) {
output.writeMessage(6, rightJoinKeys_.get(i));
}
for (int i = 0; i < probeTypes_.size(); i++) {
output.writeMessage(7, probeTypes_.get(i));
}
for (int i = 0; i < buildTypes_.size(); i++) {
output.writeMessage(8, buildTypes_.get(i));
}
for (int i = 0; i < leftConditions_.size(); i++) {
output.writeMessage(9, leftConditions_.get(i));
}
for (int i = 0; i < rightConditions_.size(); i++) {
output.writeMessage(10, rightConditions_.get(i));
}
for (int i = 0; i < otherConditions_.size(); i++) {
output.writeMessage(11, otherConditions_.get(i));
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(1, joinType_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(2, joinExecType_);
}
for (int i = 0; i < children_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, children_.get(i));
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(4, innerIdx_);
}
for (int i = 0; i < leftJoinKeys_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(5, leftJoinKeys_.get(i));
}
for (int i = 0; i < rightJoinKeys_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(6, rightJoinKeys_.get(i));
}
for (int i = 0; i < probeTypes_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(7, probeTypes_.get(i));
}
for (int i = 0; i < buildTypes_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(8, buildTypes_.get(i));
}
for (int i = 0; i < leftConditions_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(9, leftConditions_.get(i));
}
for (int i = 0; i < rightConditions_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(10, rightConditions_.get(i));
}
for (int i = 0; i < otherConditions_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(11, otherConditions_.get(i));
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.pingcap.tidb.tipb.Join)) {
return super.equals(obj);
}
com.pingcap.tidb.tipb.Join other = (com.pingcap.tidb.tipb.Join) obj;
boolean result = true;
result = result && (hasJoinType() == other.hasJoinType());
if (hasJoinType()) {
result = result && joinType_ == other.joinType_;
}
result = result && (hasJoinExecType() == other.hasJoinExecType());
if (hasJoinExecType()) {
result = result && joinExecType_ == other.joinExecType_;
}
result = result && getChildrenList()
.equals(other.getChildrenList());
result = result && (hasInnerIdx() == other.hasInnerIdx());
if (hasInnerIdx()) {
result = result && (getInnerIdx()
== other.getInnerIdx());
}
result = result && getLeftJoinKeysList()
.equals(other.getLeftJoinKeysList());
result = result && getRightJoinKeysList()
.equals(other.getRightJoinKeysList());
result = result && getProbeTypesList()
.equals(other.getProbeTypesList());
result = result && getBuildTypesList()
.equals(other.getBuildTypesList());
result = result && getLeftConditionsList()
.equals(other.getLeftConditionsList());
result = result && getRightConditionsList()
.equals(other.getRightConditionsList());
result = result && getOtherConditionsList()
.equals(other.getOtherConditionsList());
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasJoinType()) {
hash = (37 * hash) + JOIN_TYPE_FIELD_NUMBER;
hash = (53 * hash) + joinType_;
}
if (hasJoinExecType()) {
hash = (37 * hash) + JOIN_EXEC_TYPE_FIELD_NUMBER;
hash = (53 * hash) + joinExecType_;
}
if (getChildrenCount() > 0) {
hash = (37 * hash) + CHILDREN_FIELD_NUMBER;
hash = (53 * hash) + getChildrenList().hashCode();
}
if (hasInnerIdx()) {
hash = (37 * hash) + INNER_IDX_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getInnerIdx());
}
if (getLeftJoinKeysCount() > 0) {
hash = (37 * hash) + LEFT_JOIN_KEYS_FIELD_NUMBER;
hash = (53 * hash) + getLeftJoinKeysList().hashCode();
}
if (getRightJoinKeysCount() > 0) {
hash = (37 * hash) + RIGHT_JOIN_KEYS_FIELD_NUMBER;
hash = (53 * hash) + getRightJoinKeysList().hashCode();
}
if (getProbeTypesCount() > 0) {
hash = (37 * hash) + PROBE_TYPES_FIELD_NUMBER;
hash = (53 * hash) + getProbeTypesList().hashCode();
}
if (getBuildTypesCount() > 0) {
hash = (37 * hash) + BUILD_TYPES_FIELD_NUMBER;
hash = (53 * hash) + getBuildTypesList().hashCode();
}
if (getLeftConditionsCount() > 0) {
hash = (37 * hash) + LEFT_CONDITIONS_FIELD_NUMBER;
hash = (53 * hash) + getLeftConditionsList().hashCode();
}
if (getRightConditionsCount() > 0) {
hash = (37 * hash) + RIGHT_CONDITIONS_FIELD_NUMBER;
hash = (53 * hash) + getRightConditionsList().hashCode();
}
if (getOtherConditionsCount() > 0) {
hash = (37 * hash) + OTHER_CONDITIONS_FIELD_NUMBER;
hash = (53 * hash) + getOtherConditionsList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.pingcap.tidb.tipb.Join parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.pingcap.tidb.tipb.Join parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.pingcap.tidb.tipb.Join parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.pingcap.tidb.tipb.Join parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.pingcap.tidb.tipb.Join parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.pingcap.tidb.tipb.Join parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.pingcap.tidb.tipb.Join parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.pingcap.tidb.tipb.Join parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static com.pingcap.tidb.tipb.Join parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.pingcap.tidb.tipb.Join parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static com.pingcap.tidb.tipb.Join parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.pingcap.tidb.tipb.Join parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.pingcap.tidb.tipb.Join prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code tipb.Join}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:tipb.Join)
com.pingcap.tidb.tipb.JoinOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.pingcap.tidb.tipb.ExecutorOuterClass.internal_static_tipb_Join_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.pingcap.tidb.tipb.ExecutorOuterClass.internal_static_tipb_Join_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.pingcap.tidb.tipb.Join.class, com.pingcap.tidb.tipb.Join.Builder.class);
}
// Construct using com.pingcap.tidb.tipb.Join.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getChildrenFieldBuilder();
getLeftJoinKeysFieldBuilder();
getRightJoinKeysFieldBuilder();
getProbeTypesFieldBuilder();
getBuildTypesFieldBuilder();
getLeftConditionsFieldBuilder();
getRightConditionsFieldBuilder();
getOtherConditionsFieldBuilder();
}
}
public Builder clear() {
super.clear();
joinType_ = 0;
bitField0_ = (bitField0_ & ~0x00000001);
joinExecType_ = 0;
bitField0_ = (bitField0_ & ~0x00000002);
if (childrenBuilder_ == null) {
children_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000004);
} else {
childrenBuilder_.clear();
}
innerIdx_ = 0L;
bitField0_ = (bitField0_ & ~0x00000008);
if (leftJoinKeysBuilder_ == null) {
leftJoinKeys_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000010);
} else {
leftJoinKeysBuilder_.clear();
}
if (rightJoinKeysBuilder_ == null) {
rightJoinKeys_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000020);
} else {
rightJoinKeysBuilder_.clear();
}
if (probeTypesBuilder_ == null) {
probeTypes_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000040);
} else {
probeTypesBuilder_.clear();
}
if (buildTypesBuilder_ == null) {
buildTypes_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000080);
} else {
buildTypesBuilder_.clear();
}
if (leftConditionsBuilder_ == null) {
leftConditions_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000100);
} else {
leftConditionsBuilder_.clear();
}
if (rightConditionsBuilder_ == null) {
rightConditions_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000200);
} else {
rightConditionsBuilder_.clear();
}
if (otherConditionsBuilder_ == null) {
otherConditions_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000400);
} else {
otherConditionsBuilder_.clear();
}
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.pingcap.tidb.tipb.ExecutorOuterClass.internal_static_tipb_Join_descriptor;
}
public com.pingcap.tidb.tipb.Join getDefaultInstanceForType() {
return com.pingcap.tidb.tipb.Join.getDefaultInstance();
}
public com.pingcap.tidb.tipb.Join build() {
com.pingcap.tidb.tipb.Join result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.pingcap.tidb.tipb.Join buildPartial() {
com.pingcap.tidb.tipb.Join result = new com.pingcap.tidb.tipb.Join(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.joinType_ = joinType_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.joinExecType_ = joinExecType_;
if (childrenBuilder_ == null) {
if (((bitField0_ & 0x00000004) == 0x00000004)) {
children_ = java.util.Collections.unmodifiableList(children_);
bitField0_ = (bitField0_ & ~0x00000004);
}
result.children_ = children_;
} else {
result.children_ = childrenBuilder_.build();
}
if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
to_bitField0_ |= 0x00000004;
}
result.innerIdx_ = innerIdx_;
if (leftJoinKeysBuilder_ == null) {
if (((bitField0_ & 0x00000010) == 0x00000010)) {
leftJoinKeys_ = java.util.Collections.unmodifiableList(leftJoinKeys_);
bitField0_ = (bitField0_ & ~0x00000010);
}
result.leftJoinKeys_ = leftJoinKeys_;
} else {
result.leftJoinKeys_ = leftJoinKeysBuilder_.build();
}
if (rightJoinKeysBuilder_ == null) {
if (((bitField0_ & 0x00000020) == 0x00000020)) {
rightJoinKeys_ = java.util.Collections.unmodifiableList(rightJoinKeys_);
bitField0_ = (bitField0_ & ~0x00000020);
}
result.rightJoinKeys_ = rightJoinKeys_;
} else {
result.rightJoinKeys_ = rightJoinKeysBuilder_.build();
}
if (probeTypesBuilder_ == null) {
if (((bitField0_ & 0x00000040) == 0x00000040)) {
probeTypes_ = java.util.Collections.unmodifiableList(probeTypes_);
bitField0_ = (bitField0_ & ~0x00000040);
}
result.probeTypes_ = probeTypes_;
} else {
result.probeTypes_ = probeTypesBuilder_.build();
}
if (buildTypesBuilder_ == null) {
if (((bitField0_ & 0x00000080) == 0x00000080)) {
buildTypes_ = java.util.Collections.unmodifiableList(buildTypes_);
bitField0_ = (bitField0_ & ~0x00000080);
}
result.buildTypes_ = buildTypes_;
} else {
result.buildTypes_ = buildTypesBuilder_.build();
}
if (leftConditionsBuilder_ == null) {
if (((bitField0_ & 0x00000100) == 0x00000100)) {
leftConditions_ = java.util.Collections.unmodifiableList(leftConditions_);
bitField0_ = (bitField0_ & ~0x00000100);
}
result.leftConditions_ = leftConditions_;
} else {
result.leftConditions_ = leftConditionsBuilder_.build();
}
if (rightConditionsBuilder_ == null) {
if (((bitField0_ & 0x00000200) == 0x00000200)) {
rightConditions_ = java.util.Collections.unmodifiableList(rightConditions_);
bitField0_ = (bitField0_ & ~0x00000200);
}
result.rightConditions_ = rightConditions_;
} else {
result.rightConditions_ = rightConditionsBuilder_.build();
}
if (otherConditionsBuilder_ == null) {
if (((bitField0_ & 0x00000400) == 0x00000400)) {
otherConditions_ = java.util.Collections.unmodifiableList(otherConditions_);
bitField0_ = (bitField0_ & ~0x00000400);
}
result.otherConditions_ = otherConditions_;
} else {
result.otherConditions_ = otherConditionsBuilder_.build();
}
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder clone() {
return (Builder) super.clone();
}
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.setField(field, value);
}
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.pingcap.tidb.tipb.Join) {
return mergeFrom((com.pingcap.tidb.tipb.Join)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.pingcap.tidb.tipb.Join other) {
if (other == com.pingcap.tidb.tipb.Join.getDefaultInstance()) return this;
if (other.hasJoinType()) {
setJoinType(other.getJoinType());
}
if (other.hasJoinExecType()) {
setJoinExecType(other.getJoinExecType());
}
if (childrenBuilder_ == null) {
if (!other.children_.isEmpty()) {
if (children_.isEmpty()) {
children_ = other.children_;
bitField0_ = (bitField0_ & ~0x00000004);
} else {
ensureChildrenIsMutable();
children_.addAll(other.children_);
}
onChanged();
}
} else {
if (!other.children_.isEmpty()) {
if (childrenBuilder_.isEmpty()) {
childrenBuilder_.dispose();
childrenBuilder_ = null;
children_ = other.children_;
bitField0_ = (bitField0_ & ~0x00000004);
childrenBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getChildrenFieldBuilder() : null;
} else {
childrenBuilder_.addAllMessages(other.children_);
}
}
}
if (other.hasInnerIdx()) {
setInnerIdx(other.getInnerIdx());
}
if (leftJoinKeysBuilder_ == null) {
if (!other.leftJoinKeys_.isEmpty()) {
if (leftJoinKeys_.isEmpty()) {
leftJoinKeys_ = other.leftJoinKeys_;
bitField0_ = (bitField0_ & ~0x00000010);
} else {
ensureLeftJoinKeysIsMutable();
leftJoinKeys_.addAll(other.leftJoinKeys_);
}
onChanged();
}
} else {
if (!other.leftJoinKeys_.isEmpty()) {
if (leftJoinKeysBuilder_.isEmpty()) {
leftJoinKeysBuilder_.dispose();
leftJoinKeysBuilder_ = null;
leftJoinKeys_ = other.leftJoinKeys_;
bitField0_ = (bitField0_ & ~0x00000010);
leftJoinKeysBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getLeftJoinKeysFieldBuilder() : null;
} else {
leftJoinKeysBuilder_.addAllMessages(other.leftJoinKeys_);
}
}
}
if (rightJoinKeysBuilder_ == null) {
if (!other.rightJoinKeys_.isEmpty()) {
if (rightJoinKeys_.isEmpty()) {
rightJoinKeys_ = other.rightJoinKeys_;
bitField0_ = (bitField0_ & ~0x00000020);
} else {
ensureRightJoinKeysIsMutable();
rightJoinKeys_.addAll(other.rightJoinKeys_);
}
onChanged();
}
} else {
if (!other.rightJoinKeys_.isEmpty()) {
if (rightJoinKeysBuilder_.isEmpty()) {
rightJoinKeysBuilder_.dispose();
rightJoinKeysBuilder_ = null;
rightJoinKeys_ = other.rightJoinKeys_;
bitField0_ = (bitField0_ & ~0x00000020);
rightJoinKeysBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getRightJoinKeysFieldBuilder() : null;
} else {
rightJoinKeysBuilder_.addAllMessages(other.rightJoinKeys_);
}
}
}
if (probeTypesBuilder_ == null) {
if (!other.probeTypes_.isEmpty()) {
if (probeTypes_.isEmpty()) {
probeTypes_ = other.probeTypes_;
bitField0_ = (bitField0_ & ~0x00000040);
} else {
ensureProbeTypesIsMutable();
probeTypes_.addAll(other.probeTypes_);
}
onChanged();
}
} else {
if (!other.probeTypes_.isEmpty()) {
if (probeTypesBuilder_.isEmpty()) {
probeTypesBuilder_.dispose();
probeTypesBuilder_ = null;
probeTypes_ = other.probeTypes_;
bitField0_ = (bitField0_ & ~0x00000040);
probeTypesBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getProbeTypesFieldBuilder() : null;
} else {
probeTypesBuilder_.addAllMessages(other.probeTypes_);
}
}
}
if (buildTypesBuilder_ == null) {
if (!other.buildTypes_.isEmpty()) {
if (buildTypes_.isEmpty()) {
buildTypes_ = other.buildTypes_;
bitField0_ = (bitField0_ & ~0x00000080);
} else {
ensureBuildTypesIsMutable();
buildTypes_.addAll(other.buildTypes_);
}
onChanged();
}
} else {
if (!other.buildTypes_.isEmpty()) {
if (buildTypesBuilder_.isEmpty()) {
buildTypesBuilder_.dispose();
buildTypesBuilder_ = null;
buildTypes_ = other.buildTypes_;
bitField0_ = (bitField0_ & ~0x00000080);
buildTypesBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getBuildTypesFieldBuilder() : null;
} else {
buildTypesBuilder_.addAllMessages(other.buildTypes_);
}
}
}
if (leftConditionsBuilder_ == null) {
if (!other.leftConditions_.isEmpty()) {
if (leftConditions_.isEmpty()) {
leftConditions_ = other.leftConditions_;
bitField0_ = (bitField0_ & ~0x00000100);
} else {
ensureLeftConditionsIsMutable();
leftConditions_.addAll(other.leftConditions_);
}
onChanged();
}
} else {
if (!other.leftConditions_.isEmpty()) {
if (leftConditionsBuilder_.isEmpty()) {
leftConditionsBuilder_.dispose();
leftConditionsBuilder_ = null;
leftConditions_ = other.leftConditions_;
bitField0_ = (bitField0_ & ~0x00000100);
leftConditionsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getLeftConditionsFieldBuilder() : null;
} else {
leftConditionsBuilder_.addAllMessages(other.leftConditions_);
}
}
}
if (rightConditionsBuilder_ == null) {
if (!other.rightConditions_.isEmpty()) {
if (rightConditions_.isEmpty()) {
rightConditions_ = other.rightConditions_;
bitField0_ = (bitField0_ & ~0x00000200);
} else {
ensureRightConditionsIsMutable();
rightConditions_.addAll(other.rightConditions_);
}
onChanged();
}
} else {
if (!other.rightConditions_.isEmpty()) {
if (rightConditionsBuilder_.isEmpty()) {
rightConditionsBuilder_.dispose();
rightConditionsBuilder_ = null;
rightConditions_ = other.rightConditions_;
bitField0_ = (bitField0_ & ~0x00000200);
rightConditionsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getRightConditionsFieldBuilder() : null;
} else {
rightConditionsBuilder_.addAllMessages(other.rightConditions_);
}
}
}
if (otherConditionsBuilder_ == null) {
if (!other.otherConditions_.isEmpty()) {
if (otherConditions_.isEmpty()) {
otherConditions_ = other.otherConditions_;
bitField0_ = (bitField0_ & ~0x00000400);
} else {
ensureOtherConditionsIsMutable();
otherConditions_.addAll(other.otherConditions_);
}
onChanged();
}
} else {
if (!other.otherConditions_.isEmpty()) {
if (otherConditionsBuilder_.isEmpty()) {
otherConditionsBuilder_.dispose();
otherConditionsBuilder_ = null;
otherConditions_ = other.otherConditions_;
bitField0_ = (bitField0_ & ~0x00000400);
otherConditionsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getOtherConditionsFieldBuilder() : null;
} else {
otherConditionsBuilder_.addAllMessages(other.otherConditions_);
}
}
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.pingcap.tidb.tipb.Join parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.pingcap.tidb.tipb.Join) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private int joinType_ = 0;
/**
* optional .tipb.JoinType join_type = 1 [(.gogoproto.nullable) = false];
*/
public boolean hasJoinType() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional .tipb.JoinType join_type = 1 [(.gogoproto.nullable) = false];
*/
public com.pingcap.tidb.tipb.JoinType getJoinType() {
com.pingcap.tidb.tipb.JoinType result = com.pingcap.tidb.tipb.JoinType.valueOf(joinType_);
return result == null ? com.pingcap.tidb.tipb.JoinType.TypeInnerJoin : result;
}
/**
* optional .tipb.JoinType join_type = 1 [(.gogoproto.nullable) = false];
*/
public Builder setJoinType(com.pingcap.tidb.tipb.JoinType value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
joinType_ = value.getNumber();
onChanged();
return this;
}
/**
* optional .tipb.JoinType join_type = 1 [(.gogoproto.nullable) = false];
*/
public Builder clearJoinType() {
bitField0_ = (bitField0_ & ~0x00000001);
joinType_ = 0;
onChanged();
return this;
}
private int joinExecType_ = 0;
/**
* optional .tipb.JoinExecType join_exec_type = 2 [(.gogoproto.nullable) = false];
*/
public boolean hasJoinExecType() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional .tipb.JoinExecType join_exec_type = 2 [(.gogoproto.nullable) = false];
*/
public com.pingcap.tidb.tipb.JoinExecType getJoinExecType() {
com.pingcap.tidb.tipb.JoinExecType result = com.pingcap.tidb.tipb.JoinExecType.valueOf(joinExecType_);
return result == null ? com.pingcap.tidb.tipb.JoinExecType.TypeHashJoin : result;
}
/**
* optional .tipb.JoinExecType join_exec_type = 2 [(.gogoproto.nullable) = false];
*/
public Builder setJoinExecType(com.pingcap.tidb.tipb.JoinExecType value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
joinExecType_ = value.getNumber();
onChanged();
return this;
}
/**
* optional .tipb.JoinExecType join_exec_type = 2 [(.gogoproto.nullable) = false];
*/
public Builder clearJoinExecType() {
bitField0_ = (bitField0_ & ~0x00000002);
joinExecType_ = 0;
onChanged();
return this;
}
private java.util.List children_ =
java.util.Collections.emptyList();
private void ensureChildrenIsMutable() {
if (!((bitField0_ & 0x00000004) == 0x00000004)) {
children_ = new java.util.ArrayList(children_);
bitField0_ |= 0x00000004;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.pingcap.tidb.tipb.Executor, com.pingcap.tidb.tipb.Executor.Builder, com.pingcap.tidb.tipb.ExecutorOrBuilder> childrenBuilder_;
/**
* repeated .tipb.Executor children = 3;
*/
public java.util.List getChildrenList() {
if (childrenBuilder_ == null) {
return java.util.Collections.unmodifiableList(children_);
} else {
return childrenBuilder_.getMessageList();
}
}
/**
* repeated .tipb.Executor children = 3;
*/
public int getChildrenCount() {
if (childrenBuilder_ == null) {
return children_.size();
} else {
return childrenBuilder_.getCount();
}
}
/**
* repeated .tipb.Executor children = 3;
*/
public com.pingcap.tidb.tipb.Executor getChildren(int index) {
if (childrenBuilder_ == null) {
return children_.get(index);
} else {
return childrenBuilder_.getMessage(index);
}
}
/**
* repeated .tipb.Executor children = 3;
*/
public Builder setChildren(
int index, com.pingcap.tidb.tipb.Executor value) {
if (childrenBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureChildrenIsMutable();
children_.set(index, value);
onChanged();
} else {
childrenBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .tipb.Executor children = 3;
*/
public Builder setChildren(
int index, com.pingcap.tidb.tipb.Executor.Builder builderForValue) {
if (childrenBuilder_ == null) {
ensureChildrenIsMutable();
children_.set(index, builderForValue.build());
onChanged();
} else {
childrenBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .tipb.Executor children = 3;
*/
public Builder addChildren(com.pingcap.tidb.tipb.Executor value) {
if (childrenBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureChildrenIsMutable();
children_.add(value);
onChanged();
} else {
childrenBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .tipb.Executor children = 3;
*/
public Builder addChildren(
int index, com.pingcap.tidb.tipb.Executor value) {
if (childrenBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureChildrenIsMutable();
children_.add(index, value);
onChanged();
} else {
childrenBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .tipb.Executor children = 3;
*/
public Builder addChildren(
com.pingcap.tidb.tipb.Executor.Builder builderForValue) {
if (childrenBuilder_ == null) {
ensureChildrenIsMutable();
children_.add(builderForValue.build());
onChanged();
} else {
childrenBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .tipb.Executor children = 3;
*/
public Builder addChildren(
int index, com.pingcap.tidb.tipb.Executor.Builder builderForValue) {
if (childrenBuilder_ == null) {
ensureChildrenIsMutable();
children_.add(index, builderForValue.build());
onChanged();
} else {
childrenBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .tipb.Executor children = 3;
*/
public Builder addAllChildren(
java.lang.Iterable extends com.pingcap.tidb.tipb.Executor> values) {
if (childrenBuilder_ == null) {
ensureChildrenIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, children_);
onChanged();
} else {
childrenBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .tipb.Executor children = 3;
*/
public Builder clearChildren() {
if (childrenBuilder_ == null) {
children_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
} else {
childrenBuilder_.clear();
}
return this;
}
/**
* repeated .tipb.Executor children = 3;
*/
public Builder removeChildren(int index) {
if (childrenBuilder_ == null) {
ensureChildrenIsMutable();
children_.remove(index);
onChanged();
} else {
childrenBuilder_.remove(index);
}
return this;
}
/**
* repeated .tipb.Executor children = 3;
*/
public com.pingcap.tidb.tipb.Executor.Builder getChildrenBuilder(
int index) {
return getChildrenFieldBuilder().getBuilder(index);
}
/**
* repeated .tipb.Executor children = 3;
*/
public com.pingcap.tidb.tipb.ExecutorOrBuilder getChildrenOrBuilder(
int index) {
if (childrenBuilder_ == null) {
return children_.get(index); } else {
return childrenBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .tipb.Executor children = 3;
*/
public java.util.List extends com.pingcap.tidb.tipb.ExecutorOrBuilder>
getChildrenOrBuilderList() {
if (childrenBuilder_ != null) {
return childrenBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(children_);
}
}
/**
* repeated .tipb.Executor children = 3;
*/
public com.pingcap.tidb.tipb.Executor.Builder addChildrenBuilder() {
return getChildrenFieldBuilder().addBuilder(
com.pingcap.tidb.tipb.Executor.getDefaultInstance());
}
/**
* repeated .tipb.Executor children = 3;
*/
public com.pingcap.tidb.tipb.Executor.Builder addChildrenBuilder(
int index) {
return getChildrenFieldBuilder().addBuilder(
index, com.pingcap.tidb.tipb.Executor.getDefaultInstance());
}
/**
* repeated .tipb.Executor children = 3;
*/
public java.util.List
getChildrenBuilderList() {
return getChildrenFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.pingcap.tidb.tipb.Executor, com.pingcap.tidb.tipb.Executor.Builder, com.pingcap.tidb.tipb.ExecutorOrBuilder>
getChildrenFieldBuilder() {
if (childrenBuilder_ == null) {
childrenBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
com.pingcap.tidb.tipb.Executor, com.pingcap.tidb.tipb.Executor.Builder, com.pingcap.tidb.tipb.ExecutorOrBuilder>(
children_,
((bitField0_ & 0x00000004) == 0x00000004),
getParentForChildren(),
isClean());
children_ = null;
}
return childrenBuilder_;
}
private long innerIdx_ ;
/**
*
* 0 or 1
*
*
* optional int64 inner_idx = 4 [(.gogoproto.nullable) = false];
*/
public boolean hasInnerIdx() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
*
* 0 or 1
*
*
* optional int64 inner_idx = 4 [(.gogoproto.nullable) = false];
*/
public long getInnerIdx() {
return innerIdx_;
}
/**
*
* 0 or 1
*
*
* optional int64 inner_idx = 4 [(.gogoproto.nullable) = false];
*/
public Builder setInnerIdx(long value) {
bitField0_ |= 0x00000008;
innerIdx_ = value;
onChanged();
return this;
}
/**
*
* 0 or 1
*
*
* optional int64 inner_idx = 4 [(.gogoproto.nullable) = false];
*/
public Builder clearInnerIdx() {
bitField0_ = (bitField0_ & ~0x00000008);
innerIdx_ = 0L;
onChanged();
return this;
}
private java.util.List leftJoinKeys_ =
java.util.Collections.emptyList();
private void ensureLeftJoinKeysIsMutable() {
if (!((bitField0_ & 0x00000010) == 0x00000010)) {
leftJoinKeys_ = new java.util.ArrayList(leftJoinKeys_);
bitField0_ |= 0x00000010;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.pingcap.tidb.tipb.Expr, com.pingcap.tidb.tipb.Expr.Builder, com.pingcap.tidb.tipb.ExprOrBuilder> leftJoinKeysBuilder_;
/**
* repeated .tipb.Expr left_join_keys = 5;
*/
public java.util.List getLeftJoinKeysList() {
if (leftJoinKeysBuilder_ == null) {
return java.util.Collections.unmodifiableList(leftJoinKeys_);
} else {
return leftJoinKeysBuilder_.getMessageList();
}
}
/**
* repeated .tipb.Expr left_join_keys = 5;
*/
public int getLeftJoinKeysCount() {
if (leftJoinKeysBuilder_ == null) {
return leftJoinKeys_.size();
} else {
return leftJoinKeysBuilder_.getCount();
}
}
/**
* repeated .tipb.Expr left_join_keys = 5;
*/
public com.pingcap.tidb.tipb.Expr getLeftJoinKeys(int index) {
if (leftJoinKeysBuilder_ == null) {
return leftJoinKeys_.get(index);
} else {
return leftJoinKeysBuilder_.getMessage(index);
}
}
/**
* repeated .tipb.Expr left_join_keys = 5;
*/
public Builder setLeftJoinKeys(
int index, com.pingcap.tidb.tipb.Expr value) {
if (leftJoinKeysBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureLeftJoinKeysIsMutable();
leftJoinKeys_.set(index, value);
onChanged();
} else {
leftJoinKeysBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .tipb.Expr left_join_keys = 5;
*/
public Builder setLeftJoinKeys(
int index, com.pingcap.tidb.tipb.Expr.Builder builderForValue) {
if (leftJoinKeysBuilder_ == null) {
ensureLeftJoinKeysIsMutable();
leftJoinKeys_.set(index, builderForValue.build());
onChanged();
} else {
leftJoinKeysBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .tipb.Expr left_join_keys = 5;
*/
public Builder addLeftJoinKeys(com.pingcap.tidb.tipb.Expr value) {
if (leftJoinKeysBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureLeftJoinKeysIsMutable();
leftJoinKeys_.add(value);
onChanged();
} else {
leftJoinKeysBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .tipb.Expr left_join_keys = 5;
*/
public Builder addLeftJoinKeys(
int index, com.pingcap.tidb.tipb.Expr value) {
if (leftJoinKeysBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureLeftJoinKeysIsMutable();
leftJoinKeys_.add(index, value);
onChanged();
} else {
leftJoinKeysBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .tipb.Expr left_join_keys = 5;
*/
public Builder addLeftJoinKeys(
com.pingcap.tidb.tipb.Expr.Builder builderForValue) {
if (leftJoinKeysBuilder_ == null) {
ensureLeftJoinKeysIsMutable();
leftJoinKeys_.add(builderForValue.build());
onChanged();
} else {
leftJoinKeysBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .tipb.Expr left_join_keys = 5;
*/
public Builder addLeftJoinKeys(
int index, com.pingcap.tidb.tipb.Expr.Builder builderForValue) {
if (leftJoinKeysBuilder_ == null) {
ensureLeftJoinKeysIsMutable();
leftJoinKeys_.add(index, builderForValue.build());
onChanged();
} else {
leftJoinKeysBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .tipb.Expr left_join_keys = 5;
*/
public Builder addAllLeftJoinKeys(
java.lang.Iterable extends com.pingcap.tidb.tipb.Expr> values) {
if (leftJoinKeysBuilder_ == null) {
ensureLeftJoinKeysIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, leftJoinKeys_);
onChanged();
} else {
leftJoinKeysBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .tipb.Expr left_join_keys = 5;
*/
public Builder clearLeftJoinKeys() {
if (leftJoinKeysBuilder_ == null) {
leftJoinKeys_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000010);
onChanged();
} else {
leftJoinKeysBuilder_.clear();
}
return this;
}
/**
* repeated .tipb.Expr left_join_keys = 5;
*/
public Builder removeLeftJoinKeys(int index) {
if (leftJoinKeysBuilder_ == null) {
ensureLeftJoinKeysIsMutable();
leftJoinKeys_.remove(index);
onChanged();
} else {
leftJoinKeysBuilder_.remove(index);
}
return this;
}
/**
* repeated .tipb.Expr left_join_keys = 5;
*/
public com.pingcap.tidb.tipb.Expr.Builder getLeftJoinKeysBuilder(
int index) {
return getLeftJoinKeysFieldBuilder().getBuilder(index);
}
/**
* repeated .tipb.Expr left_join_keys = 5;
*/
public com.pingcap.tidb.tipb.ExprOrBuilder getLeftJoinKeysOrBuilder(
int index) {
if (leftJoinKeysBuilder_ == null) {
return leftJoinKeys_.get(index); } else {
return leftJoinKeysBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .tipb.Expr left_join_keys = 5;
*/
public java.util.List extends com.pingcap.tidb.tipb.ExprOrBuilder>
getLeftJoinKeysOrBuilderList() {
if (leftJoinKeysBuilder_ != null) {
return leftJoinKeysBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(leftJoinKeys_);
}
}
/**
* repeated .tipb.Expr left_join_keys = 5;
*/
public com.pingcap.tidb.tipb.Expr.Builder addLeftJoinKeysBuilder() {
return getLeftJoinKeysFieldBuilder().addBuilder(
com.pingcap.tidb.tipb.Expr.getDefaultInstance());
}
/**
* repeated .tipb.Expr left_join_keys = 5;
*/
public com.pingcap.tidb.tipb.Expr.Builder addLeftJoinKeysBuilder(
int index) {
return getLeftJoinKeysFieldBuilder().addBuilder(
index, com.pingcap.tidb.tipb.Expr.getDefaultInstance());
}
/**
* repeated .tipb.Expr left_join_keys = 5;
*/
public java.util.List
getLeftJoinKeysBuilderList() {
return getLeftJoinKeysFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.pingcap.tidb.tipb.Expr, com.pingcap.tidb.tipb.Expr.Builder, com.pingcap.tidb.tipb.ExprOrBuilder>
getLeftJoinKeysFieldBuilder() {
if (leftJoinKeysBuilder_ == null) {
leftJoinKeysBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
com.pingcap.tidb.tipb.Expr, com.pingcap.tidb.tipb.Expr.Builder, com.pingcap.tidb.tipb.ExprOrBuilder>(
leftJoinKeys_,
((bitField0_ & 0x00000010) == 0x00000010),
getParentForChildren(),
isClean());
leftJoinKeys_ = null;
}
return leftJoinKeysBuilder_;
}
private java.util.List rightJoinKeys_ =
java.util.Collections.emptyList();
private void ensureRightJoinKeysIsMutable() {
if (!((bitField0_ & 0x00000020) == 0x00000020)) {
rightJoinKeys_ = new java.util.ArrayList(rightJoinKeys_);
bitField0_ |= 0x00000020;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.pingcap.tidb.tipb.Expr, com.pingcap.tidb.tipb.Expr.Builder, com.pingcap.tidb.tipb.ExprOrBuilder> rightJoinKeysBuilder_;
/**
* repeated .tipb.Expr right_join_keys = 6;
*/
public java.util.List getRightJoinKeysList() {
if (rightJoinKeysBuilder_ == null) {
return java.util.Collections.unmodifiableList(rightJoinKeys_);
} else {
return rightJoinKeysBuilder_.getMessageList();
}
}
/**
* repeated .tipb.Expr right_join_keys = 6;
*/
public int getRightJoinKeysCount() {
if (rightJoinKeysBuilder_ == null) {
return rightJoinKeys_.size();
} else {
return rightJoinKeysBuilder_.getCount();
}
}
/**
* repeated .tipb.Expr right_join_keys = 6;
*/
public com.pingcap.tidb.tipb.Expr getRightJoinKeys(int index) {
if (rightJoinKeysBuilder_ == null) {
return rightJoinKeys_.get(index);
} else {
return rightJoinKeysBuilder_.getMessage(index);
}
}
/**
* repeated .tipb.Expr right_join_keys = 6;
*/
public Builder setRightJoinKeys(
int index, com.pingcap.tidb.tipb.Expr value) {
if (rightJoinKeysBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureRightJoinKeysIsMutable();
rightJoinKeys_.set(index, value);
onChanged();
} else {
rightJoinKeysBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .tipb.Expr right_join_keys = 6;
*/
public Builder setRightJoinKeys(
int index, com.pingcap.tidb.tipb.Expr.Builder builderForValue) {
if (rightJoinKeysBuilder_ == null) {
ensureRightJoinKeysIsMutable();
rightJoinKeys_.set(index, builderForValue.build());
onChanged();
} else {
rightJoinKeysBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .tipb.Expr right_join_keys = 6;
*/
public Builder addRightJoinKeys(com.pingcap.tidb.tipb.Expr value) {
if (rightJoinKeysBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureRightJoinKeysIsMutable();
rightJoinKeys_.add(value);
onChanged();
} else {
rightJoinKeysBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .tipb.Expr right_join_keys = 6;
*/
public Builder addRightJoinKeys(
int index, com.pingcap.tidb.tipb.Expr value) {
if (rightJoinKeysBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureRightJoinKeysIsMutable();
rightJoinKeys_.add(index, value);
onChanged();
} else {
rightJoinKeysBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .tipb.Expr right_join_keys = 6;
*/
public Builder addRightJoinKeys(
com.pingcap.tidb.tipb.Expr.Builder builderForValue) {
if (rightJoinKeysBuilder_ == null) {
ensureRightJoinKeysIsMutable();
rightJoinKeys_.add(builderForValue.build());
onChanged();
} else {
rightJoinKeysBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .tipb.Expr right_join_keys = 6;
*/
public Builder addRightJoinKeys(
int index, com.pingcap.tidb.tipb.Expr.Builder builderForValue) {
if (rightJoinKeysBuilder_ == null) {
ensureRightJoinKeysIsMutable();
rightJoinKeys_.add(index, builderForValue.build());
onChanged();
} else {
rightJoinKeysBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .tipb.Expr right_join_keys = 6;
*/
public Builder addAllRightJoinKeys(
java.lang.Iterable extends com.pingcap.tidb.tipb.Expr> values) {
if (rightJoinKeysBuilder_ == null) {
ensureRightJoinKeysIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, rightJoinKeys_);
onChanged();
} else {
rightJoinKeysBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .tipb.Expr right_join_keys = 6;
*/
public Builder clearRightJoinKeys() {
if (rightJoinKeysBuilder_ == null) {
rightJoinKeys_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000020);
onChanged();
} else {
rightJoinKeysBuilder_.clear();
}
return this;
}
/**
* repeated .tipb.Expr right_join_keys = 6;
*/
public Builder removeRightJoinKeys(int index) {
if (rightJoinKeysBuilder_ == null) {
ensureRightJoinKeysIsMutable();
rightJoinKeys_.remove(index);
onChanged();
} else {
rightJoinKeysBuilder_.remove(index);
}
return this;
}
/**
* repeated .tipb.Expr right_join_keys = 6;
*/
public com.pingcap.tidb.tipb.Expr.Builder getRightJoinKeysBuilder(
int index) {
return getRightJoinKeysFieldBuilder().getBuilder(index);
}
/**
* repeated .tipb.Expr right_join_keys = 6;
*/
public com.pingcap.tidb.tipb.ExprOrBuilder getRightJoinKeysOrBuilder(
int index) {
if (rightJoinKeysBuilder_ == null) {
return rightJoinKeys_.get(index); } else {
return rightJoinKeysBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .tipb.Expr right_join_keys = 6;
*/
public java.util.List extends com.pingcap.tidb.tipb.ExprOrBuilder>
getRightJoinKeysOrBuilderList() {
if (rightJoinKeysBuilder_ != null) {
return rightJoinKeysBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(rightJoinKeys_);
}
}
/**
* repeated .tipb.Expr right_join_keys = 6;
*/
public com.pingcap.tidb.tipb.Expr.Builder addRightJoinKeysBuilder() {
return getRightJoinKeysFieldBuilder().addBuilder(
com.pingcap.tidb.tipb.Expr.getDefaultInstance());
}
/**
* repeated .tipb.Expr right_join_keys = 6;
*/
public com.pingcap.tidb.tipb.Expr.Builder addRightJoinKeysBuilder(
int index) {
return getRightJoinKeysFieldBuilder().addBuilder(
index, com.pingcap.tidb.tipb.Expr.getDefaultInstance());
}
/**
* repeated .tipb.Expr right_join_keys = 6;
*/
public java.util.List
getRightJoinKeysBuilderList() {
return getRightJoinKeysFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.pingcap.tidb.tipb.Expr, com.pingcap.tidb.tipb.Expr.Builder, com.pingcap.tidb.tipb.ExprOrBuilder>
getRightJoinKeysFieldBuilder() {
if (rightJoinKeysBuilder_ == null) {
rightJoinKeysBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
com.pingcap.tidb.tipb.Expr, com.pingcap.tidb.tipb.Expr.Builder, com.pingcap.tidb.tipb.ExprOrBuilder>(
rightJoinKeys_,
((bitField0_ & 0x00000020) == 0x00000020),
getParentForChildren(),
isClean());
rightJoinKeys_ = null;
}
return rightJoinKeysBuilder_;
}
private java.util.List probeTypes_ =
java.util.Collections.emptyList();
private void ensureProbeTypesIsMutable() {
if (!((bitField0_ & 0x00000040) == 0x00000040)) {
probeTypes_ = new java.util.ArrayList(probeTypes_);
bitField0_ |= 0x00000040;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.pingcap.tidb.tipb.FieldType, com.pingcap.tidb.tipb.FieldType.Builder, com.pingcap.tidb.tipb.FieldTypeOrBuilder> probeTypesBuilder_;
/**
*
* used by TiFlash join when new collation is enabled.
*
*
* repeated .tipb.FieldType probe_types = 7;
*/
public java.util.List getProbeTypesList() {
if (probeTypesBuilder_ == null) {
return java.util.Collections.unmodifiableList(probeTypes_);
} else {
return probeTypesBuilder_.getMessageList();
}
}
/**
*
* used by TiFlash join when new collation is enabled.
*
*
* repeated .tipb.FieldType probe_types = 7;
*/
public int getProbeTypesCount() {
if (probeTypesBuilder_ == null) {
return probeTypes_.size();
} else {
return probeTypesBuilder_.getCount();
}
}
/**
*
* used by TiFlash join when new collation is enabled.
*
*
* repeated .tipb.FieldType probe_types = 7;
*/
public com.pingcap.tidb.tipb.FieldType getProbeTypes(int index) {
if (probeTypesBuilder_ == null) {
return probeTypes_.get(index);
} else {
return probeTypesBuilder_.getMessage(index);
}
}
/**
*
* used by TiFlash join when new collation is enabled.
*
*
* repeated .tipb.FieldType probe_types = 7;
*/
public Builder setProbeTypes(
int index, com.pingcap.tidb.tipb.FieldType value) {
if (probeTypesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureProbeTypesIsMutable();
probeTypes_.set(index, value);
onChanged();
} else {
probeTypesBuilder_.setMessage(index, value);
}
return this;
}
/**
*
* used by TiFlash join when new collation is enabled.
*
*
* repeated .tipb.FieldType probe_types = 7;
*/
public Builder setProbeTypes(
int index, com.pingcap.tidb.tipb.FieldType.Builder builderForValue) {
if (probeTypesBuilder_ == null) {
ensureProbeTypesIsMutable();
probeTypes_.set(index, builderForValue.build());
onChanged();
} else {
probeTypesBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
*
* used by TiFlash join when new collation is enabled.
*
*
* repeated .tipb.FieldType probe_types = 7;
*/
public Builder addProbeTypes(com.pingcap.tidb.tipb.FieldType value) {
if (probeTypesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureProbeTypesIsMutable();
probeTypes_.add(value);
onChanged();
} else {
probeTypesBuilder_.addMessage(value);
}
return this;
}
/**
*
* used by TiFlash join when new collation is enabled.
*
*
* repeated .tipb.FieldType probe_types = 7;
*/
public Builder addProbeTypes(
int index, com.pingcap.tidb.tipb.FieldType value) {
if (probeTypesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureProbeTypesIsMutable();
probeTypes_.add(index, value);
onChanged();
} else {
probeTypesBuilder_.addMessage(index, value);
}
return this;
}
/**
*
* used by TiFlash join when new collation is enabled.
*
*
* repeated .tipb.FieldType probe_types = 7;
*/
public Builder addProbeTypes(
com.pingcap.tidb.tipb.FieldType.Builder builderForValue) {
if (probeTypesBuilder_ == null) {
ensureProbeTypesIsMutable();
probeTypes_.add(builderForValue.build());
onChanged();
} else {
probeTypesBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
*
* used by TiFlash join when new collation is enabled.
*
*
* repeated .tipb.FieldType probe_types = 7;
*/
public Builder addProbeTypes(
int index, com.pingcap.tidb.tipb.FieldType.Builder builderForValue) {
if (probeTypesBuilder_ == null) {
ensureProbeTypesIsMutable();
probeTypes_.add(index, builderForValue.build());
onChanged();
} else {
probeTypesBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
*
* used by TiFlash join when new collation is enabled.
*
*
* repeated .tipb.FieldType probe_types = 7;
*/
public Builder addAllProbeTypes(
java.lang.Iterable extends com.pingcap.tidb.tipb.FieldType> values) {
if (probeTypesBuilder_ == null) {
ensureProbeTypesIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, probeTypes_);
onChanged();
} else {
probeTypesBuilder_.addAllMessages(values);
}
return this;
}
/**
*
* used by TiFlash join when new collation is enabled.
*
*
* repeated .tipb.FieldType probe_types = 7;
*/
public Builder clearProbeTypes() {
if (probeTypesBuilder_ == null) {
probeTypes_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000040);
onChanged();
} else {
probeTypesBuilder_.clear();
}
return this;
}
/**
*
* used by TiFlash join when new collation is enabled.
*
*
* repeated .tipb.FieldType probe_types = 7;
*/
public Builder removeProbeTypes(int index) {
if (probeTypesBuilder_ == null) {
ensureProbeTypesIsMutable();
probeTypes_.remove(index);
onChanged();
} else {
probeTypesBuilder_.remove(index);
}
return this;
}
/**
*
* used by TiFlash join when new collation is enabled.
*
*
* repeated .tipb.FieldType probe_types = 7;
*/
public com.pingcap.tidb.tipb.FieldType.Builder getProbeTypesBuilder(
int index) {
return getProbeTypesFieldBuilder().getBuilder(index);
}
/**
*
* used by TiFlash join when new collation is enabled.
*
*
* repeated .tipb.FieldType probe_types = 7;
*/
public com.pingcap.tidb.tipb.FieldTypeOrBuilder getProbeTypesOrBuilder(
int index) {
if (probeTypesBuilder_ == null) {
return probeTypes_.get(index); } else {
return probeTypesBuilder_.getMessageOrBuilder(index);
}
}
/**
*
* used by TiFlash join when new collation is enabled.
*
*
* repeated .tipb.FieldType probe_types = 7;
*/
public java.util.List extends com.pingcap.tidb.tipb.FieldTypeOrBuilder>
getProbeTypesOrBuilderList() {
if (probeTypesBuilder_ != null) {
return probeTypesBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(probeTypes_);
}
}
/**
*
* used by TiFlash join when new collation is enabled.
*
*
* repeated .tipb.FieldType probe_types = 7;
*/
public com.pingcap.tidb.tipb.FieldType.Builder addProbeTypesBuilder() {
return getProbeTypesFieldBuilder().addBuilder(
com.pingcap.tidb.tipb.FieldType.getDefaultInstance());
}
/**
*
* used by TiFlash join when new collation is enabled.
*
*
* repeated .tipb.FieldType probe_types = 7;
*/
public com.pingcap.tidb.tipb.FieldType.Builder addProbeTypesBuilder(
int index) {
return getProbeTypesFieldBuilder().addBuilder(
index, com.pingcap.tidb.tipb.FieldType.getDefaultInstance());
}
/**
*
* used by TiFlash join when new collation is enabled.
*
*
* repeated .tipb.FieldType probe_types = 7;
*/
public java.util.List
getProbeTypesBuilderList() {
return getProbeTypesFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.pingcap.tidb.tipb.FieldType, com.pingcap.tidb.tipb.FieldType.Builder, com.pingcap.tidb.tipb.FieldTypeOrBuilder>
getProbeTypesFieldBuilder() {
if (probeTypesBuilder_ == null) {
probeTypesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
com.pingcap.tidb.tipb.FieldType, com.pingcap.tidb.tipb.FieldType.Builder, com.pingcap.tidb.tipb.FieldTypeOrBuilder>(
probeTypes_,
((bitField0_ & 0x00000040) == 0x00000040),
getParentForChildren(),
isClean());
probeTypes_ = null;
}
return probeTypesBuilder_;
}
private java.util.List buildTypes_ =
java.util.Collections.emptyList();
private void ensureBuildTypesIsMutable() {
if (!((bitField0_ & 0x00000080) == 0x00000080)) {
buildTypes_ = new java.util.ArrayList(buildTypes_);
bitField0_ |= 0x00000080;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.pingcap.tidb.tipb.FieldType, com.pingcap.tidb.tipb.FieldType.Builder, com.pingcap.tidb.tipb.FieldTypeOrBuilder> buildTypesBuilder_;
/**
* repeated .tipb.FieldType build_types = 8;
*/
public java.util.List getBuildTypesList() {
if (buildTypesBuilder_ == null) {
return java.util.Collections.unmodifiableList(buildTypes_);
} else {
return buildTypesBuilder_.getMessageList();
}
}
/**
* repeated .tipb.FieldType build_types = 8;
*/
public int getBuildTypesCount() {
if (buildTypesBuilder_ == null) {
return buildTypes_.size();
} else {
return buildTypesBuilder_.getCount();
}
}
/**
* repeated .tipb.FieldType build_types = 8;
*/
public com.pingcap.tidb.tipb.FieldType getBuildTypes(int index) {
if (buildTypesBuilder_ == null) {
return buildTypes_.get(index);
} else {
return buildTypesBuilder_.getMessage(index);
}
}
/**
* repeated .tipb.FieldType build_types = 8;
*/
public Builder setBuildTypes(
int index, com.pingcap.tidb.tipb.FieldType value) {
if (buildTypesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureBuildTypesIsMutable();
buildTypes_.set(index, value);
onChanged();
} else {
buildTypesBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .tipb.FieldType build_types = 8;
*/
public Builder setBuildTypes(
int index, com.pingcap.tidb.tipb.FieldType.Builder builderForValue) {
if (buildTypesBuilder_ == null) {
ensureBuildTypesIsMutable();
buildTypes_.set(index, builderForValue.build());
onChanged();
} else {
buildTypesBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .tipb.FieldType build_types = 8;
*/
public Builder addBuildTypes(com.pingcap.tidb.tipb.FieldType value) {
if (buildTypesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureBuildTypesIsMutable();
buildTypes_.add(value);
onChanged();
} else {
buildTypesBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .tipb.FieldType build_types = 8;
*/
public Builder addBuildTypes(
int index, com.pingcap.tidb.tipb.FieldType value) {
if (buildTypesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureBuildTypesIsMutable();
buildTypes_.add(index, value);
onChanged();
} else {
buildTypesBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .tipb.FieldType build_types = 8;
*/
public Builder addBuildTypes(
com.pingcap.tidb.tipb.FieldType.Builder builderForValue) {
if (buildTypesBuilder_ == null) {
ensureBuildTypesIsMutable();
buildTypes_.add(builderForValue.build());
onChanged();
} else {
buildTypesBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .tipb.FieldType build_types = 8;
*/
public Builder addBuildTypes(
int index, com.pingcap.tidb.tipb.FieldType.Builder builderForValue) {
if (buildTypesBuilder_ == null) {
ensureBuildTypesIsMutable();
buildTypes_.add(index, builderForValue.build());
onChanged();
} else {
buildTypesBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .tipb.FieldType build_types = 8;
*/
public Builder addAllBuildTypes(
java.lang.Iterable extends com.pingcap.tidb.tipb.FieldType> values) {
if (buildTypesBuilder_ == null) {
ensureBuildTypesIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, buildTypes_);
onChanged();
} else {
buildTypesBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .tipb.FieldType build_types = 8;
*/
public Builder clearBuildTypes() {
if (buildTypesBuilder_ == null) {
buildTypes_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000080);
onChanged();
} else {
buildTypesBuilder_.clear();
}
return this;
}
/**
* repeated .tipb.FieldType build_types = 8;
*/
public Builder removeBuildTypes(int index) {
if (buildTypesBuilder_ == null) {
ensureBuildTypesIsMutable();
buildTypes_.remove(index);
onChanged();
} else {
buildTypesBuilder_.remove(index);
}
return this;
}
/**
* repeated .tipb.FieldType build_types = 8;
*/
public com.pingcap.tidb.tipb.FieldType.Builder getBuildTypesBuilder(
int index) {
return getBuildTypesFieldBuilder().getBuilder(index);
}
/**
* repeated .tipb.FieldType build_types = 8;
*/
public com.pingcap.tidb.tipb.FieldTypeOrBuilder getBuildTypesOrBuilder(
int index) {
if (buildTypesBuilder_ == null) {
return buildTypes_.get(index); } else {
return buildTypesBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .tipb.FieldType build_types = 8;
*/
public java.util.List extends com.pingcap.tidb.tipb.FieldTypeOrBuilder>
getBuildTypesOrBuilderList() {
if (buildTypesBuilder_ != null) {
return buildTypesBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(buildTypes_);
}
}
/**
* repeated .tipb.FieldType build_types = 8;
*/
public com.pingcap.tidb.tipb.FieldType.Builder addBuildTypesBuilder() {
return getBuildTypesFieldBuilder().addBuilder(
com.pingcap.tidb.tipb.FieldType.getDefaultInstance());
}
/**
* repeated .tipb.FieldType build_types = 8;
*/
public com.pingcap.tidb.tipb.FieldType.Builder addBuildTypesBuilder(
int index) {
return getBuildTypesFieldBuilder().addBuilder(
index, com.pingcap.tidb.tipb.FieldType.getDefaultInstance());
}
/**
* repeated .tipb.FieldType build_types = 8;
*/
public java.util.List
getBuildTypesBuilderList() {
return getBuildTypesFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.pingcap.tidb.tipb.FieldType, com.pingcap.tidb.tipb.FieldType.Builder, com.pingcap.tidb.tipb.FieldTypeOrBuilder>
getBuildTypesFieldBuilder() {
if (buildTypesBuilder_ == null) {
buildTypesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
com.pingcap.tidb.tipb.FieldType, com.pingcap.tidb.tipb.FieldType.Builder, com.pingcap.tidb.tipb.FieldTypeOrBuilder>(
buildTypes_,
((bitField0_ & 0x00000080) == 0x00000080),
getParentForChildren(),
isClean());
buildTypes_ = null;
}
return buildTypesBuilder_;
}
private java.util.List leftConditions_ =
java.util.Collections.emptyList();
private void ensureLeftConditionsIsMutable() {
if (!((bitField0_ & 0x00000100) == 0x00000100)) {
leftConditions_ = new java.util.ArrayList(leftConditions_);
bitField0_ |= 0x00000100;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.pingcap.tidb.tipb.Expr, com.pingcap.tidb.tipb.Expr.Builder, com.pingcap.tidb.tipb.ExprOrBuilder> leftConditionsBuilder_;
/**
* repeated .tipb.Expr left_conditions = 9;
*/
public java.util.List getLeftConditionsList() {
if (leftConditionsBuilder_ == null) {
return java.util.Collections.unmodifiableList(leftConditions_);
} else {
return leftConditionsBuilder_.getMessageList();
}
}
/**
* repeated .tipb.Expr left_conditions = 9;
*/
public int getLeftConditionsCount() {
if (leftConditionsBuilder_ == null) {
return leftConditions_.size();
} else {
return leftConditionsBuilder_.getCount();
}
}
/**
* repeated .tipb.Expr left_conditions = 9;
*/
public com.pingcap.tidb.tipb.Expr getLeftConditions(int index) {
if (leftConditionsBuilder_ == null) {
return leftConditions_.get(index);
} else {
return leftConditionsBuilder_.getMessage(index);
}
}
/**
* repeated .tipb.Expr left_conditions = 9;
*/
public Builder setLeftConditions(
int index, com.pingcap.tidb.tipb.Expr value) {
if (leftConditionsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureLeftConditionsIsMutable();
leftConditions_.set(index, value);
onChanged();
} else {
leftConditionsBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .tipb.Expr left_conditions = 9;
*/
public Builder setLeftConditions(
int index, com.pingcap.tidb.tipb.Expr.Builder builderForValue) {
if (leftConditionsBuilder_ == null) {
ensureLeftConditionsIsMutable();
leftConditions_.set(index, builderForValue.build());
onChanged();
} else {
leftConditionsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .tipb.Expr left_conditions = 9;
*/
public Builder addLeftConditions(com.pingcap.tidb.tipb.Expr value) {
if (leftConditionsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureLeftConditionsIsMutable();
leftConditions_.add(value);
onChanged();
} else {
leftConditionsBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .tipb.Expr left_conditions = 9;
*/
public Builder addLeftConditions(
int index, com.pingcap.tidb.tipb.Expr value) {
if (leftConditionsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureLeftConditionsIsMutable();
leftConditions_.add(index, value);
onChanged();
} else {
leftConditionsBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .tipb.Expr left_conditions = 9;
*/
public Builder addLeftConditions(
com.pingcap.tidb.tipb.Expr.Builder builderForValue) {
if (leftConditionsBuilder_ == null) {
ensureLeftConditionsIsMutable();
leftConditions_.add(builderForValue.build());
onChanged();
} else {
leftConditionsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .tipb.Expr left_conditions = 9;
*/
public Builder addLeftConditions(
int index, com.pingcap.tidb.tipb.Expr.Builder builderForValue) {
if (leftConditionsBuilder_ == null) {
ensureLeftConditionsIsMutable();
leftConditions_.add(index, builderForValue.build());
onChanged();
} else {
leftConditionsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .tipb.Expr left_conditions = 9;
*/
public Builder addAllLeftConditions(
java.lang.Iterable extends com.pingcap.tidb.tipb.Expr> values) {
if (leftConditionsBuilder_ == null) {
ensureLeftConditionsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, leftConditions_);
onChanged();
} else {
leftConditionsBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .tipb.Expr left_conditions = 9;
*/
public Builder clearLeftConditions() {
if (leftConditionsBuilder_ == null) {
leftConditions_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000100);
onChanged();
} else {
leftConditionsBuilder_.clear();
}
return this;
}
/**
* repeated .tipb.Expr left_conditions = 9;
*/
public Builder removeLeftConditions(int index) {
if (leftConditionsBuilder_ == null) {
ensureLeftConditionsIsMutable();
leftConditions_.remove(index);
onChanged();
} else {
leftConditionsBuilder_.remove(index);
}
return this;
}
/**
* repeated .tipb.Expr left_conditions = 9;
*/
public com.pingcap.tidb.tipb.Expr.Builder getLeftConditionsBuilder(
int index) {
return getLeftConditionsFieldBuilder().getBuilder(index);
}
/**
* repeated .tipb.Expr left_conditions = 9;
*/
public com.pingcap.tidb.tipb.ExprOrBuilder getLeftConditionsOrBuilder(
int index) {
if (leftConditionsBuilder_ == null) {
return leftConditions_.get(index); } else {
return leftConditionsBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .tipb.Expr left_conditions = 9;
*/
public java.util.List extends com.pingcap.tidb.tipb.ExprOrBuilder>
getLeftConditionsOrBuilderList() {
if (leftConditionsBuilder_ != null) {
return leftConditionsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(leftConditions_);
}
}
/**
* repeated .tipb.Expr left_conditions = 9;
*/
public com.pingcap.tidb.tipb.Expr.Builder addLeftConditionsBuilder() {
return getLeftConditionsFieldBuilder().addBuilder(
com.pingcap.tidb.tipb.Expr.getDefaultInstance());
}
/**
* repeated .tipb.Expr left_conditions = 9;
*/
public com.pingcap.tidb.tipb.Expr.Builder addLeftConditionsBuilder(
int index) {
return getLeftConditionsFieldBuilder().addBuilder(
index, com.pingcap.tidb.tipb.Expr.getDefaultInstance());
}
/**
* repeated .tipb.Expr left_conditions = 9;
*/
public java.util.List
getLeftConditionsBuilderList() {
return getLeftConditionsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.pingcap.tidb.tipb.Expr, com.pingcap.tidb.tipb.Expr.Builder, com.pingcap.tidb.tipb.ExprOrBuilder>
getLeftConditionsFieldBuilder() {
if (leftConditionsBuilder_ == null) {
leftConditionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
com.pingcap.tidb.tipb.Expr, com.pingcap.tidb.tipb.Expr.Builder, com.pingcap.tidb.tipb.ExprOrBuilder>(
leftConditions_,
((bitField0_ & 0x00000100) == 0x00000100),
getParentForChildren(),
isClean());
leftConditions_ = null;
}
return leftConditionsBuilder_;
}
private java.util.List rightConditions_ =
java.util.Collections.emptyList();
private void ensureRightConditionsIsMutable() {
if (!((bitField0_ & 0x00000200) == 0x00000200)) {
rightConditions_ = new java.util.ArrayList(rightConditions_);
bitField0_ |= 0x00000200;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.pingcap.tidb.tipb.Expr, com.pingcap.tidb.tipb.Expr.Builder, com.pingcap.tidb.tipb.ExprOrBuilder> rightConditionsBuilder_;
/**
* repeated .tipb.Expr right_conditions = 10;
*/
public java.util.List getRightConditionsList() {
if (rightConditionsBuilder_ == null) {
return java.util.Collections.unmodifiableList(rightConditions_);
} else {
return rightConditionsBuilder_.getMessageList();
}
}
/**
* repeated .tipb.Expr right_conditions = 10;
*/
public int getRightConditionsCount() {
if (rightConditionsBuilder_ == null) {
return rightConditions_.size();
} else {
return rightConditionsBuilder_.getCount();
}
}
/**
* repeated .tipb.Expr right_conditions = 10;
*/
public com.pingcap.tidb.tipb.Expr getRightConditions(int index) {
if (rightConditionsBuilder_ == null) {
return rightConditions_.get(index);
} else {
return rightConditionsBuilder_.getMessage(index);
}
}
/**
* repeated .tipb.Expr right_conditions = 10;
*/
public Builder setRightConditions(
int index, com.pingcap.tidb.tipb.Expr value) {
if (rightConditionsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureRightConditionsIsMutable();
rightConditions_.set(index, value);
onChanged();
} else {
rightConditionsBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .tipb.Expr right_conditions = 10;
*/
public Builder setRightConditions(
int index, com.pingcap.tidb.tipb.Expr.Builder builderForValue) {
if (rightConditionsBuilder_ == null) {
ensureRightConditionsIsMutable();
rightConditions_.set(index, builderForValue.build());
onChanged();
} else {
rightConditionsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .tipb.Expr right_conditions = 10;
*/
public Builder addRightConditions(com.pingcap.tidb.tipb.Expr value) {
if (rightConditionsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureRightConditionsIsMutable();
rightConditions_.add(value);
onChanged();
} else {
rightConditionsBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .tipb.Expr right_conditions = 10;
*/
public Builder addRightConditions(
int index, com.pingcap.tidb.tipb.Expr value) {
if (rightConditionsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureRightConditionsIsMutable();
rightConditions_.add(index, value);
onChanged();
} else {
rightConditionsBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .tipb.Expr right_conditions = 10;
*/
public Builder addRightConditions(
com.pingcap.tidb.tipb.Expr.Builder builderForValue) {
if (rightConditionsBuilder_ == null) {
ensureRightConditionsIsMutable();
rightConditions_.add(builderForValue.build());
onChanged();
} else {
rightConditionsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .tipb.Expr right_conditions = 10;
*/
public Builder addRightConditions(
int index, com.pingcap.tidb.tipb.Expr.Builder builderForValue) {
if (rightConditionsBuilder_ == null) {
ensureRightConditionsIsMutable();
rightConditions_.add(index, builderForValue.build());
onChanged();
} else {
rightConditionsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .tipb.Expr right_conditions = 10;
*/
public Builder addAllRightConditions(
java.lang.Iterable extends com.pingcap.tidb.tipb.Expr> values) {
if (rightConditionsBuilder_ == null) {
ensureRightConditionsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, rightConditions_);
onChanged();
} else {
rightConditionsBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .tipb.Expr right_conditions = 10;
*/
public Builder clearRightConditions() {
if (rightConditionsBuilder_ == null) {
rightConditions_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000200);
onChanged();
} else {
rightConditionsBuilder_.clear();
}
return this;
}
/**
* repeated .tipb.Expr right_conditions = 10;
*/
public Builder removeRightConditions(int index) {
if (rightConditionsBuilder_ == null) {
ensureRightConditionsIsMutable();
rightConditions_.remove(index);
onChanged();
} else {
rightConditionsBuilder_.remove(index);
}
return this;
}
/**
* repeated .tipb.Expr right_conditions = 10;
*/
public com.pingcap.tidb.tipb.Expr.Builder getRightConditionsBuilder(
int index) {
return getRightConditionsFieldBuilder().getBuilder(index);
}
/**
* repeated .tipb.Expr right_conditions = 10;
*/
public com.pingcap.tidb.tipb.ExprOrBuilder getRightConditionsOrBuilder(
int index) {
if (rightConditionsBuilder_ == null) {
return rightConditions_.get(index); } else {
return rightConditionsBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .tipb.Expr right_conditions = 10;
*/
public java.util.List extends com.pingcap.tidb.tipb.ExprOrBuilder>
getRightConditionsOrBuilderList() {
if (rightConditionsBuilder_ != null) {
return rightConditionsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(rightConditions_);
}
}
/**
* repeated .tipb.Expr right_conditions = 10;
*/
public com.pingcap.tidb.tipb.Expr.Builder addRightConditionsBuilder() {
return getRightConditionsFieldBuilder().addBuilder(
com.pingcap.tidb.tipb.Expr.getDefaultInstance());
}
/**
* repeated .tipb.Expr right_conditions = 10;
*/
public com.pingcap.tidb.tipb.Expr.Builder addRightConditionsBuilder(
int index) {
return getRightConditionsFieldBuilder().addBuilder(
index, com.pingcap.tidb.tipb.Expr.getDefaultInstance());
}
/**
* repeated .tipb.Expr right_conditions = 10;
*/
public java.util.List
getRightConditionsBuilderList() {
return getRightConditionsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.pingcap.tidb.tipb.Expr, com.pingcap.tidb.tipb.Expr.Builder, com.pingcap.tidb.tipb.ExprOrBuilder>
getRightConditionsFieldBuilder() {
if (rightConditionsBuilder_ == null) {
rightConditionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
com.pingcap.tidb.tipb.Expr, com.pingcap.tidb.tipb.Expr.Builder, com.pingcap.tidb.tipb.ExprOrBuilder>(
rightConditions_,
((bitField0_ & 0x00000200) == 0x00000200),
getParentForChildren(),
isClean());
rightConditions_ = null;
}
return rightConditionsBuilder_;
}
private java.util.List otherConditions_ =
java.util.Collections.emptyList();
private void ensureOtherConditionsIsMutable() {
if (!((bitField0_ & 0x00000400) == 0x00000400)) {
otherConditions_ = new java.util.ArrayList(otherConditions_);
bitField0_ |= 0x00000400;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.pingcap.tidb.tipb.Expr, com.pingcap.tidb.tipb.Expr.Builder, com.pingcap.tidb.tipb.ExprOrBuilder> otherConditionsBuilder_;
/**
* repeated .tipb.Expr other_conditions = 11;
*/
public java.util.List getOtherConditionsList() {
if (otherConditionsBuilder_ == null) {
return java.util.Collections.unmodifiableList(otherConditions_);
} else {
return otherConditionsBuilder_.getMessageList();
}
}
/**
* repeated .tipb.Expr other_conditions = 11;
*/
public int getOtherConditionsCount() {
if (otherConditionsBuilder_ == null) {
return otherConditions_.size();
} else {
return otherConditionsBuilder_.getCount();
}
}
/**
* repeated .tipb.Expr other_conditions = 11;
*/
public com.pingcap.tidb.tipb.Expr getOtherConditions(int index) {
if (otherConditionsBuilder_ == null) {
return otherConditions_.get(index);
} else {
return otherConditionsBuilder_.getMessage(index);
}
}
/**
* repeated .tipb.Expr other_conditions = 11;
*/
public Builder setOtherConditions(
int index, com.pingcap.tidb.tipb.Expr value) {
if (otherConditionsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureOtherConditionsIsMutable();
otherConditions_.set(index, value);
onChanged();
} else {
otherConditionsBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .tipb.Expr other_conditions = 11;
*/
public Builder setOtherConditions(
int index, com.pingcap.tidb.tipb.Expr.Builder builderForValue) {
if (otherConditionsBuilder_ == null) {
ensureOtherConditionsIsMutable();
otherConditions_.set(index, builderForValue.build());
onChanged();
} else {
otherConditionsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .tipb.Expr other_conditions = 11;
*/
public Builder addOtherConditions(com.pingcap.tidb.tipb.Expr value) {
if (otherConditionsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureOtherConditionsIsMutable();
otherConditions_.add(value);
onChanged();
} else {
otherConditionsBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .tipb.Expr other_conditions = 11;
*/
public Builder addOtherConditions(
int index, com.pingcap.tidb.tipb.Expr value) {
if (otherConditionsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureOtherConditionsIsMutable();
otherConditions_.add(index, value);
onChanged();
} else {
otherConditionsBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .tipb.Expr other_conditions = 11;
*/
public Builder addOtherConditions(
com.pingcap.tidb.tipb.Expr.Builder builderForValue) {
if (otherConditionsBuilder_ == null) {
ensureOtherConditionsIsMutable();
otherConditions_.add(builderForValue.build());
onChanged();
} else {
otherConditionsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .tipb.Expr other_conditions = 11;
*/
public Builder addOtherConditions(
int index, com.pingcap.tidb.tipb.Expr.Builder builderForValue) {
if (otherConditionsBuilder_ == null) {
ensureOtherConditionsIsMutable();
otherConditions_.add(index, builderForValue.build());
onChanged();
} else {
otherConditionsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .tipb.Expr other_conditions = 11;
*/
public Builder addAllOtherConditions(
java.lang.Iterable extends com.pingcap.tidb.tipb.Expr> values) {
if (otherConditionsBuilder_ == null) {
ensureOtherConditionsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, otherConditions_);
onChanged();
} else {
otherConditionsBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .tipb.Expr other_conditions = 11;
*/
public Builder clearOtherConditions() {
if (otherConditionsBuilder_ == null) {
otherConditions_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000400);
onChanged();
} else {
otherConditionsBuilder_.clear();
}
return this;
}
/**
* repeated .tipb.Expr other_conditions = 11;
*/
public Builder removeOtherConditions(int index) {
if (otherConditionsBuilder_ == null) {
ensureOtherConditionsIsMutable();
otherConditions_.remove(index);
onChanged();
} else {
otherConditionsBuilder_.remove(index);
}
return this;
}
/**
* repeated .tipb.Expr other_conditions = 11;
*/
public com.pingcap.tidb.tipb.Expr.Builder getOtherConditionsBuilder(
int index) {
return getOtherConditionsFieldBuilder().getBuilder(index);
}
/**
* repeated .tipb.Expr other_conditions = 11;
*/
public com.pingcap.tidb.tipb.ExprOrBuilder getOtherConditionsOrBuilder(
int index) {
if (otherConditionsBuilder_ == null) {
return otherConditions_.get(index); } else {
return otherConditionsBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .tipb.Expr other_conditions = 11;
*/
public java.util.List extends com.pingcap.tidb.tipb.ExprOrBuilder>
getOtherConditionsOrBuilderList() {
if (otherConditionsBuilder_ != null) {
return otherConditionsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(otherConditions_);
}
}
/**
* repeated .tipb.Expr other_conditions = 11;
*/
public com.pingcap.tidb.tipb.Expr.Builder addOtherConditionsBuilder() {
return getOtherConditionsFieldBuilder().addBuilder(
com.pingcap.tidb.tipb.Expr.getDefaultInstance());
}
/**
* repeated .tipb.Expr other_conditions = 11;
*/
public com.pingcap.tidb.tipb.Expr.Builder addOtherConditionsBuilder(
int index) {
return getOtherConditionsFieldBuilder().addBuilder(
index, com.pingcap.tidb.tipb.Expr.getDefaultInstance());
}
/**
* repeated .tipb.Expr other_conditions = 11;
*/
public java.util.List
getOtherConditionsBuilderList() {
return getOtherConditionsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.pingcap.tidb.tipb.Expr, com.pingcap.tidb.tipb.Expr.Builder, com.pingcap.tidb.tipb.ExprOrBuilder>
getOtherConditionsFieldBuilder() {
if (otherConditionsBuilder_ == null) {
otherConditionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
com.pingcap.tidb.tipb.Expr, com.pingcap.tidb.tipb.Expr.Builder, com.pingcap.tidb.tipb.ExprOrBuilder>(
otherConditions_,
((bitField0_ & 0x00000400) == 0x00000400),
getParentForChildren(),
isClean());
otherConditions_ = null;
}
return otherConditionsBuilder_;
}
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:tipb.Join)
}
// @@protoc_insertion_point(class_scope:tipb.Join)
private static final com.pingcap.tidb.tipb.Join DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.pingcap.tidb.tipb.Join();
}
public static com.pingcap.tidb.tipb.Join getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
public Join parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new Join(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public com.pingcap.tidb.tipb.Join getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy