public final com.google.protobuf.Message getRequestPrototype( com.google.protobuf.Descriptors.MethodDescriptor method) { if (method.getService() != getDescriptor()) { throw new java.lang.IllegalArgumentException( "Service.getRequestPrototype() given method " + "descriptor for wrong service type."); } switch(method.getIndex()) { case 0: return org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.RegisterDagRequestProto.getDefaultInstance(); case 1: return org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.SubmitWorkRequestProto.getDefaultInstance(); case 2: return org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.SourceStateUpdatedRequestProto.getDefaultInstance(); case 3: return org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.QueryCompleteRequestProto.getDefaultInstance(); case 4: return org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.TerminateFragmentRequestProto.getDefaultInstance(); case 5: return org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.UpdateFragmentRequestProto.getDefaultInstance(); default: throw new java.lang.AssertionError("Can't get here."); } }
public final com.google.protobuf.Message getRequestPrototype( com.google.protobuf.Descriptors.MethodDescriptor method) { if (method.getService() != getDescriptor()) { throw new java.lang.IllegalArgumentException( "Service.getRequestPrototype() given method " + "descriptor for wrong service type."); } switch(method.getIndex()) { case 0: return org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.RegisterDagRequestProto.getDefaultInstance(); case 1: return org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.SubmitWorkRequestProto.getDefaultInstance(); case 2: return org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.SourceStateUpdatedRequestProto.getDefaultInstance(); case 3: return org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.QueryCompleteRequestProto.getDefaultInstance(); case 4: return org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.TerminateFragmentRequestProto.getDefaultInstance(); case 5: return org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.UpdateFragmentRequestProto.getDefaultInstance(); default: throw new java.lang.AssertionError("Can't get here."); } }
public Builder mergeFrom(org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.SubmitWorkRequestProto other) { if (other == org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.SubmitWorkRequestProto.getDefaultInstance()) return this; if (other.hasWorkSpec()) { mergeWorkSpec(other.getWorkSpec());
public org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.SubmitWorkRequestProto getDefaultInstanceForType() { return org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.SubmitWorkRequestProto.getDefaultInstance(); }
/** * <code>optional bytes initial_event_bytes = 10;</code> * * <pre> * Serialized (and signed) NotTezEvent; used only for external clients for now. * </pre> */ public Builder clearInitialEventBytes() { bitField0_ = (bitField0_ & ~0x00000200); initialEventBytes_ = getDefaultInstance().getInitialEventBytes(); onChanged(); return this; }
/** * <code>optional bytes credentials_binary = 8;</code> * * <pre> * Credentials are not signed - the client can add e.g. his own HDFS tokens. * </pre> */ public Builder clearCredentialsBinary() { bitField0_ = (bitField0_ & ~0x00000080); credentialsBinary_ = getDefaultInstance().getCredentialsBinary(); onChanged(); return this; }
/** * <code>optional string am_host = 6;</code> */ public Builder clearAmHost() { bitField0_ = (bitField0_ & ~0x00000020); amHost_ = getDefaultInstance().getAmHost(); onChanged(); return this; } /**
/** * <code>optional string container_id_string = 5;</code> */ public Builder clearContainerIdString() { bitField0_ = (bitField0_ & ~0x00000010); containerIdString_ = getDefaultInstance().getContainerIdString(); onChanged(); return this; } /**
/** * <code>optional bytes work_spec_signature = 2;</code> */ public Builder clearWorkSpecSignature() { bitField0_ = (bitField0_ & ~0x00000002); workSpecSignature_ = getDefaultInstance().getWorkSpecSignature(); onChanged(); return this; }
/** * <code>optional bytes initial_event_signature = 11;</code> */ public Builder clearInitialEventSignature() { bitField0_ = (bitField0_ & ~0x00000400); initialEventSignature_ = getDefaultInstance().getInitialEventSignature(); onChanged(); return this; }