public Builder clear() { super.clear(); if (userInfoBuilder_ == null) { userInfo_ = org.apache.hadoop.ipc.protobuf.IpcConnectionContextProtos.UserInformationProto.getDefaultInstance(); } else { userInfoBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); protocol_ = ""; bitField0_ = (bitField0_ & ~0x00000002); return this; }
/** * <code>optional .hadoop.common.UserInformationProto userInfo = 2;</code> * * <pre> * UserInfo beyond what is determined as part of security handshake * at connection time (kerberos, tokens etc). * </pre> */ public Builder clearUserInfo() { if (userInfoBuilder_ == null) { userInfo_ = org.apache.hadoop.ipc.protobuf.IpcConnectionContextProtos.UserInformationProto.getDefaultInstance(); onChanged(); } else { userInfoBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); return this; } /**
/** * <code>optional .hadoop.common.UserInformationProto userInfo = 2;</code> * * <pre> * UserInfo beyond what is determined as part of security handshake * at connection time (kerberos, tokens etc). * </pre> */ public Builder mergeUserInfo(org.apache.hadoop.ipc.protobuf.IpcConnectionContextProtos.UserInformationProto value) { if (userInfoBuilder_ == null) { if (((bitField0_ & 0x00000001) == 0x00000001) && userInfo_ != org.apache.hadoop.ipc.protobuf.IpcConnectionContextProtos.UserInformationProto.getDefaultInstance()) { userInfo_ = org.apache.hadoop.ipc.protobuf.IpcConnectionContextProtos.UserInformationProto.newBuilder(userInfo_).mergeFrom(value).buildPartial(); } else { userInfo_ = value; } onChanged(); } else { userInfoBuilder_.mergeFrom(value); } bitField0_ |= 0x00000001; return this; } /**
/** * <code>optional string realUser = 2;</code> */ public Builder clearRealUser() { bitField0_ = (bitField0_ & ~0x00000002); realUser_ = getDefaultInstance().getRealUser(); onChanged(); return this; } /**
private void initFields() { userInfo_ = org.apache.hadoop.ipc.protobuf.IpcConnectionContextProtos.UserInformationProto.getDefaultInstance(); protocol_ = ""; } private byte memoizedIsInitialized = -1;
public Builder clear() { super.clear(); if (userInfoBuilder_ == null) { userInfo_ = org.apache.hadoop.ipc.protobuf.IpcConnectionContextProtos.UserInformationProto.getDefaultInstance(); } else { userInfoBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); protocol_ = ""; bitField0_ = (bitField0_ & ~0x00000002); return this; }
private void initFields() { userInfo_ = org.apache.hadoop.ipc.protobuf.IpcConnectionContextProtos.UserInformationProto.getDefaultInstance(); protocol_ = ""; } private byte memoizedIsInitialized = -1;
/** * <code>optional string realUser = 2;</code> */ public Builder clearRealUser() { bitField0_ = (bitField0_ & ~0x00000002); realUser_ = getDefaultInstance().getRealUser(); onChanged(); return this; } /**
/** * <code>optional string effectiveUser = 1;</code> */ public Builder clearEffectiveUser() { bitField0_ = (bitField0_ & ~0x00000001); effectiveUser_ = getDefaultInstance().getEffectiveUser(); onChanged(); return this; } /**
/** * <code>optional string effectiveUser = 1;</code> */ public Builder clearEffectiveUser() { bitField0_ = (bitField0_ & ~0x00000001); effectiveUser_ = getDefaultInstance().getEffectiveUser(); onChanged(); return this; } /**
public Builder clear() { super.clear(); if (userInfoBuilder_ == null) { userInfo_ = org.apache.hadoop.ipc.protobuf.IpcConnectionContextProtos.UserInformationProto.getDefaultInstance(); } else { userInfoBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); protocol_ = ""; bitField0_ = (bitField0_ & ~0x00000002); return this; }
public Builder clear() { super.clear(); if (userInfoBuilder_ == null) { userInfo_ = org.apache.hadoop.ipc.protobuf.IpcConnectionContextProtos.UserInformationProto.getDefaultInstance(); } else { userInfoBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); protocol_ = ""; bitField0_ = (bitField0_ & ~0x00000002); return this; }
private void initFields() { userInfo_ = org.apache.hadoop.ipc.protobuf.IpcConnectionContextProtos.UserInformationProto.getDefaultInstance(); protocol_ = ""; } private byte memoizedIsInitialized = -1;
public Builder clear() { super.clear(); if (userInfoBuilder_ == null) { userInfo_ = org.apache.hadoop.ipc.protobuf.IpcConnectionContextProtos.UserInformationProto.getDefaultInstance(); } else { userInfoBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); protocol_ = ""; bitField0_ = (bitField0_ & ~0x00000002); return this; }
/** * <code>optional string effectiveUser = 1;</code> */ public Builder clearEffectiveUser() { bitField0_ = (bitField0_ & ~0x00000001); effectiveUser_ = getDefaultInstance().getEffectiveUser(); onChanged(); return this; } /**
public Builder mergeFrom(org.apache.hadoop.ipc.protobuf.IpcConnectionContextProtos.UserInformationProto other) { if (other == org.apache.hadoop.ipc.protobuf.IpcConnectionContextProtos.UserInformationProto.getDefaultInstance()) return this; if (other.hasEffectiveUser()) { bitField0_ |= 0x00000001; effectiveUser_ = other.effectiveUser_; onChanged(); } if (other.hasRealUser()) { bitField0_ |= 0x00000002; realUser_ = other.realUser_; onChanged(); } this.mergeUnknownFields(other.getUnknownFields()); return this; }
public org.apache.hadoop.ipc.protobuf.IpcConnectionContextProtos.UserInformationProto getDefaultInstanceForType() { return org.apache.hadoop.ipc.protobuf.IpcConnectionContextProtos.UserInformationProto.getDefaultInstance(); }
private void initFields() { userInfo_ = org.apache.hadoop.ipc.protobuf.IpcConnectionContextProtos.UserInformationProto.getDefaultInstance(); protocol_ = ""; } private byte memoizedIsInitialized = -1;
/** * <code>optional string effectiveUser = 1;</code> */ public Builder clearEffectiveUser() { bitField0_ = (bitField0_ & ~0x00000001); effectiveUser_ = getDefaultInstance().getEffectiveUser(); onChanged(); return this; } /**
/** * <code>optional string realUser = 2;</code> */ public Builder clearRealUser() { bitField0_ = (bitField0_ & ~0x00000002); realUser_ = getDefaultInstance().getRealUser(); onChanged(); return this; } /**