/** * <code>optional .QueryIdentifierProto query_identifier = 1;</code> */ public Builder setQueryIdentifier(org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.QueryIdentifierProto value) { if (queryIdentifierBuilder_ == null) { if (value == null) { throw new NullPointerException(); } queryIdentifier_ = value; onChanged(); } else { queryIdentifierBuilder_.setMessage(value); } bitField0_ |= 0x00000001; return this; } /**
/** * <code>optional string fragment_identifier_string = 2;</code> */ public Builder setFragmentIdentifierStringBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; fragmentIdentifierString_ = value; onChanged(); return this; }
/** * <code>optional string fragment_identifier_string = 2;</code> */ public Builder setFragmentIdentifierString( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; fragmentIdentifierString_ = value; onChanged(); return this; } /**
/** * <code>optional .QueryIdentifierProto query_identifier = 1;</code> */ public Builder mergeQueryIdentifier(org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.QueryIdentifierProto value) { if (queryIdentifierBuilder_ == null) { if (((bitField0_ & 0x00000001) == 0x00000001) && queryIdentifier_ != org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.QueryIdentifierProto.getDefaultInstance()) { queryIdentifier_ = org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.QueryIdentifierProto.newBuilder(queryIdentifier_).mergeFrom(value).buildPartial(); } else { queryIdentifier_ = value; } onChanged(); } else { queryIdentifierBuilder_.mergeFrom(value); } bitField0_ |= 0x00000001; return this; } /**
/** * <code>optional .QueryIdentifierProto query_identifier = 1;</code> */ public Builder setQueryIdentifier( org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.QueryIdentifierProto.Builder builderForValue) { if (queryIdentifierBuilder_ == null) { queryIdentifier_ = builderForValue.build(); onChanged(); } else { queryIdentifierBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; return this; } /**
/** * <code>optional .QueryIdentifierProto query_identifier = 1;</code> */ public Builder clearQueryIdentifier() { if (queryIdentifierBuilder_ == null) { queryIdentifier_ = org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.QueryIdentifierProto.getDefaultInstance(); onChanged(); } else { queryIdentifierBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); return this; } /**
/** * <code>optional .QueryIdentifierProto query_identifier = 1;</code> */ public org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.QueryIdentifierProto.Builder getQueryIdentifierBuilder() { bitField0_ |= 0x00000001; onChanged(); return getQueryIdentifierFieldBuilder().getBuilder(); } /**
/** * <code>optional string fragment_identifier_string = 2;</code> */ public Builder clearFragmentIdentifierString() { bitField0_ = (bitField0_ & ~0x00000002); fragmentIdentifierString_ = getDefaultInstance().getFragmentIdentifierString(); onChanged(); return this; } /**
public Builder mergeFrom(org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.TerminateFragmentRequestProto other) { if (other == org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.TerminateFragmentRequestProto.getDefaultInstance()) return this; if (other.hasQueryIdentifier()) { mergeQueryIdentifier(other.getQueryIdentifier()); } if (other.hasFragmentIdentifierString()) { bitField0_ |= 0x00000002; fragmentIdentifierString_ = other.fragmentIdentifierString_; onChanged(); } this.mergeUnknownFields(other.getUnknownFields()); return this; }