/** * <code>optional .exec.shared.SaslStatus status = 3;</code> */ public Builder setStatus(org.apache.drill.exec.proto.UserBitShared.SaslStatus value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; status_ = value; onChanged(); return this; } /**
/** * <code>optional bytes data = 2;</code> */ public Builder setData(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; data_ = value; onChanged(); return this; } /**
/** * <code>optional string mechanism = 1;</code> */ public Builder setMechanismBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; mechanism_ = value; onChanged(); return this; }
public Builder mergeFrom(org.apache.drill.exec.proto.UserBitShared.SaslMessage other) { if (other == org.apache.drill.exec.proto.UserBitShared.SaslMessage.getDefaultInstance()) return this; if (other.hasMechanism()) { bitField0_ |= 0x00000001; mechanism_ = other.mechanism_; onChanged(); } if (other.hasData()) { setData(other.getData()); } if (other.hasStatus()) { setStatus(other.getStatus()); } this.mergeUnknownFields(other.getUnknownFields()); return this; }
/** * <code>optional string mechanism = 1;</code> */ public Builder setMechanism( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; mechanism_ = value; onChanged(); return this; } /**
/** * <code>optional .exec.shared.SaslStatus status = 3;</code> */ public Builder setStatus(org.apache.drill.exec.proto.UserBitShared.SaslStatus value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; status_ = value; onChanged(); return this; } /**
/** * <code>optional string mechanism = 1;</code> */ public Builder setMechanismBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; mechanism_ = value; onChanged(); return this; }
/** * <code>optional bytes data = 2;</code> */ public Builder setData(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; data_ = value; onChanged(); return this; } /**
/** * <code>optional .exec.shared.SaslStatus status = 3;</code> */ public Builder clearStatus() { bitField0_ = (bitField0_ & ~0x00000004); status_ = org.apache.drill.exec.proto.UserBitShared.SaslStatus.SASL_UNKNOWN; onChanged(); return this; }
/** * <code>optional bytes data = 2;</code> */ public Builder clearData() { bitField0_ = (bitField0_ & ~0x00000002); data_ = getDefaultInstance().getData(); onChanged(); return this; }
/** * <code>optional string mechanism = 1;</code> */ public Builder clearMechanism() { bitField0_ = (bitField0_ & ~0x00000001); mechanism_ = getDefaultInstance().getMechanism(); onChanged(); return this; } /**
public Builder mergeFrom(org.apache.drill.exec.proto.UserBitShared.SaslMessage other) { if (other == org.apache.drill.exec.proto.UserBitShared.SaslMessage.getDefaultInstance()) return this; if (other.hasMechanism()) { bitField0_ |= 0x00000001; mechanism_ = other.mechanism_; onChanged(); } if (other.hasData()) { setData(other.getData()); } if (other.hasStatus()) { setStatus(other.getStatus()); } this.mergeUnknownFields(other.getUnknownFields()); return this; }
/** * <code>optional string mechanism = 1;</code> */ public Builder setMechanism( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; mechanism_ = value; onChanged(); return this; } /**
/** * <code>optional string mechanism = 1;</code> */ public Builder clearMechanism() { bitField0_ = (bitField0_ & ~0x00000001); mechanism_ = getDefaultInstance().getMechanism(); onChanged(); return this; } /**
/** * <code>optional .exec.shared.SaslStatus status = 3;</code> */ public Builder clearStatus() { bitField0_ = (bitField0_ & ~0x00000004); status_ = org.apache.drill.exec.proto.UserBitShared.SaslStatus.SASL_UNKNOWN; onChanged(); return this; }
/** * <code>optional bytes data = 2;</code> */ public Builder clearData() { bitField0_ = (bitField0_ & ~0x00000002); data_ = getDefaultInstance().getData(); onChanged(); return this; }