/** * Extract the queue name from the jobSubmissionProto or return default if none is set. * <p/> * TODO: Revisit this. We also have a named parameter for the queue in YarnClientConfiguration. */ private final String getQueue(final ClientRuntimeProtocol.JobSubmissionProto jobSubmissionProto, final String defaultQueue) { return jobSubmissionProto.hasQueue() && !jobSubmissionProto.getQueue().isEmpty() ? jobSubmissionProto.getQueue() : defaultQueue; }
hash = (53 * hash) + getQueue().hashCode();
/** * <code>optional string queue = 10;</code> */ public Builder clearQueue() { bitField0_ = (bitField0_ & ~0x00000040); queue_ = getDefaultInstance().getQueue(); onChanged(); return this; } /**