/** * <code>optional .UserPayloadProto user_payload = 2;</code> */ public Builder setUserPayload(org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.UserPayloadProto value) { if (userPayloadBuilder_ == null) { if (value == null) { throw new NullPointerException(); } userPayload_ = value; onChanged(); } else { userPayloadBuilder_.setMessage(value); } bitField0_ |= 0x00000002; return this; } /**
/** * <code>optional bytes history_text = 3;</code> */ public Builder setHistoryText(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; historyText_ = value; onChanged(); return this; } /**
/** * <code>optional string class_name = 1;</code> */ public Builder setClassNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; className_ = value; onChanged(); return this; }
/** * <code>optional .UserPayloadProto user_payload = 2;</code> */ public Builder mergeUserPayload(org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.UserPayloadProto value) { if (userPayloadBuilder_ == null) { if (((bitField0_ & 0x00000002) == 0x00000002) && userPayload_ != org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.UserPayloadProto.getDefaultInstance()) { userPayload_ = org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.UserPayloadProto.newBuilder(userPayload_).mergeFrom(value).buildPartial(); } else { userPayload_ = value; } onChanged(); } else { userPayloadBuilder_.mergeFrom(value); } bitField0_ |= 0x00000002; return this; } /**
public Builder mergeFrom(org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.EntityDescriptorProto other) { if (other == org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.EntityDescriptorProto.getDefaultInstance()) return this; if (other.hasClassName()) { bitField0_ |= 0x00000001; className_ = other.className_; onChanged(); } if (other.hasUserPayload()) { mergeUserPayload(other.getUserPayload()); } if (other.hasHistoryText()) { setHistoryText(other.getHistoryText()); } this.mergeUnknownFields(other.getUnknownFields()); return this; }
/** * <code>optional .UserPayloadProto user_payload = 2;</code> */ public Builder setUserPayload( org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.UserPayloadProto.Builder builderForValue) { if (userPayloadBuilder_ == null) { userPayload_ = builderForValue.build(); onChanged(); } else { userPayloadBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000002; return this; } /**
/** * <code>optional string class_name = 1;</code> */ public Builder setClassName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; className_ = value; onChanged(); return this; } /**
/** * <code>optional .UserPayloadProto user_payload = 2;</code> */ public Builder clearUserPayload() { if (userPayloadBuilder_ == null) { userPayload_ = org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.UserPayloadProto.getDefaultInstance(); onChanged(); } else { userPayloadBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); return this; } /**
/** * <code>optional .UserPayloadProto user_payload = 2;</code> */ public org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.UserPayloadProto.Builder getUserPayloadBuilder() { bitField0_ |= 0x00000002; onChanged(); return getUserPayloadFieldBuilder().getBuilder(); } /**
/** * <code>optional string class_name = 1;</code> */ public Builder clearClassName() { bitField0_ = (bitField0_ & ~0x00000001); className_ = getDefaultInstance().getClassName(); onChanged(); return this; } /**
/** * <code>optional bytes history_text = 3;</code> */ public Builder clearHistoryText() { bitField0_ = (bitField0_ & ~0x00000004); historyText_ = getDefaultInstance().getHistoryText(); onChanged(); return this; }