/** * <code>.MetaDataOperation op = 3;</code> */ public Builder setOp(org.apache.calcite.avatica.proto.Common.MetaDataOperation value) { if (value == null) { throw new NullPointerException(); } op_ = value.getNumber(); onChanged(); return this; } /**
/** * <code>.StateType type = 1;</code> */ public Builder setType(org.apache.calcite.avatica.proto.Common.StateType value) { if (value == null) { throw new NullPointerException(); } type_ = value.getNumber(); onChanged(); return this; } /**
/** * <code>optional .StateType type = 1;</code> */ public Builder setType(org.apache.calcite.avatica.proto.Common.StateType value) { if (value == null) { throw new NullPointerException(); } type_ = value.getNumber(); onChanged(); return this; } /**
/** * <code>optional string sql = 2;</code> */ public Builder clearSql() { sql_ = getDefaultInstance().getSql(); onChanged(); return this; } /**
/** * <code>bool has_op = 7;</code> */ public Builder clearHasOp() { hasOp_ = false; onChanged(); return this; } @java.lang.Override
/** * <code>bool has_sql = 6;</code> */ public Builder clearHasSql() { hasSql_ = false; onChanged(); return this; }
/** * <code>bool has_sql = 6;</code> */ public Builder setHasSql(boolean value) { hasSql_ = value; onChanged(); return this; } /**
/** * <code>.StateType type = 1;</code> */ public Builder setTypeValue(int value) { type_ = value; onChanged(); return this; } /**
/** * <code>bool has_op = 7;</code> */ public Builder setHasOp(boolean value) { hasOp_ = value; onChanged(); return this; } /**
/** * <code>.StateType type = 1;</code> */ public Builder setType(org.apache.calcite.avatica.proto.Common.StateType value) { if (value == null) { throw new NullPointerException(); } type_ = value.getNumber(); onChanged(); return this; } /**
/** * <code>.StateType type = 1;</code> */ public Builder setTypeValue(int value) { type_ = value; onChanged(); return this; } /**
/** * <code>bool has_sql = 6;</code> */ public Builder clearHasSql() { hasSql_ = false; onChanged(); return this; }
/** * <code>.StateType type = 1;</code> */ public Builder clearType() { type_ = 0; onChanged(); return this; }
/** * <code>optional bool has_op = 7;</code> */ public Builder clearHasOp() { hasOp_ = false; onChanged(); return this; } public final Builder setUnknownFields(
/** * <code>optional bool has_op = 7;</code> */ public Builder setHasOp(boolean value) { hasOp_ = value; onChanged(); return this; } /**
/** * <code>optional bool has_sql = 6;</code> */ public Builder clearHasSql() { hasSql_ = false; onChanged(); return this; }
/** * <code>optional bool has_sql = 6;</code> */ public Builder setHasSql(boolean value) { hasSql_ = value; onChanged(); return this; } /**
/** * <code>optional .StateType type = 1;</code> */ public Builder setTypeValue(int value) { type_ = value; onChanged(); return this; } /**
/** * <code>bool has_op = 7;</code> */ public Builder setHasOp(boolean value) { hasOp_ = value; onChanged(); return this; } /**
/** * <code>.StateType type = 1;</code> */ public Builder clearType() { type_ = 0; onChanged(); return this; }