/** * <code>optional string protocol = 3;</code> */ public Builder setProtocolBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; protocol_ = value; onChanged(); return this; }
/** * <code>required string method = 1;</code> */ public Builder setMethodBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; method_ = value; onChanged(); return this; }
/** * <code>required string mechanism = 2;</code> */ public Builder setMechanismBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; mechanism_ = value; onChanged(); return this; }
/** * <code>optional string serverId = 4;</code> */ public Builder clearServerId() { bitField0_ = (bitField0_ & ~0x00000008); serverId_ = getDefaultInstance().getServerId(); onChanged(); return this; } /**
/** * <code>required string mechanism = 2;</code> */ public Builder clearMechanism() { bitField0_ = (bitField0_ & ~0x00000002); mechanism_ = getDefaultInstance().getMechanism(); onChanged(); return this; } /**
/** * <code>optional bytes challenge = 5;</code> */ public Builder clearChallenge() { bitField0_ = (bitField0_ & ~0x00000010); challenge_ = getDefaultInstance().getChallenge(); onChanged(); return this; }
/** * <code>optional bytes challenge = 5;</code> */ public Builder clearChallenge() { bitField0_ = (bitField0_ & ~0x00000010); challenge_ = getDefaultInstance().getChallenge(); onChanged(); return this; }
/** * <code>optional string serverId = 4;</code> */ public Builder clearServerId() { bitField0_ = (bitField0_ & ~0x00000008); serverId_ = getDefaultInstance().getServerId(); onChanged(); return this; } /**
public Builder mergeFrom(org.apache.hadoop.ipc.protobuf.RpcHeaderProtos.RpcSaslProto.SaslAuth other) { if (other == org.apache.hadoop.ipc.protobuf.RpcHeaderProtos.RpcSaslProto.SaslAuth.getDefaultInstance()) return this; if (other.hasMethod()) { bitField0_ |= 0x00000001; method_ = other.method_; onChanged(); } if (other.hasMechanism()) { bitField0_ |= 0x00000002; mechanism_ = other.mechanism_; onChanged(); } if (other.hasProtocol()) { bitField0_ |= 0x00000004; protocol_ = other.protocol_; onChanged(); } if (other.hasServerId()) { bitField0_ |= 0x00000008; serverId_ = other.serverId_; onChanged(); } if (other.hasChallenge()) { setChallenge(other.getChallenge()); } this.mergeUnknownFields(other.getUnknownFields()); return this; }
/** * <code>required string mechanism = 2;</code> */ public Builder setMechanism( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; mechanism_ = value; onChanged(); return this; } /**
/** * <code>required string method = 1;</code> */ public Builder setMethod( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; method_ = value; onChanged(); return this; } /**
/** * <code>optional string protocol = 3;</code> */ public Builder setProtocol( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; protocol_ = value; onChanged(); return this; } /**
/** * <code>optional string serverId = 4;</code> */ public Builder setServerId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; serverId_ = value; onChanged(); return this; } /**
/** * <code>optional bytes challenge = 5;</code> */ public Builder setChallenge(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000010; challenge_ = value; onChanged(); return this; } /**
/** * <code>optional string serverId = 4;</code> */ public Builder setServerIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; serverId_ = value; onChanged(); return this; }
/** * <code>optional string serverId = 4;</code> */ public Builder clearServerId() { bitField0_ = (bitField0_ & ~0x00000008); serverId_ = getDefaultInstance().getServerId(); onChanged(); return this; } /**
/** * <code>required string mechanism = 2;</code> */ public Builder clearMechanism() { bitField0_ = (bitField0_ & ~0x00000002); mechanism_ = getDefaultInstance().getMechanism(); onChanged(); return this; } /**
/** * <code>required string method = 1;</code> */ public Builder clearMethod() { bitField0_ = (bitField0_ & ~0x00000001); method_ = getDefaultInstance().getMethod(); onChanged(); return this; } /**
/** * <code>optional string protocol = 3;</code> */ public Builder clearProtocol() { bitField0_ = (bitField0_ & ~0x00000004); protocol_ = getDefaultInstance().getProtocol(); onChanged(); return this; } /**
/** * <code>optional bytes challenge = 5;</code> */ public Builder clearChallenge() { bitField0_ = (bitField0_ & ~0x00000010); challenge_ = getDefaultInstance().getChallenge(); onChanged(); return this; }