Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
org.apache.hadoop.yarn.proto.ContainerManagementProtocol Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: containermanagement_protocol.proto
package org.apache.hadoop.yarn.proto;
public final class ContainerManagementProtocol {
private ContainerManagementProtocol() {}
public static void registerAllExtensions(
org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite registry) {
}
public static void registerAllExtensions(
org.apache.hadoop.thirdparty.protobuf.ExtensionRegistry registry) {
registerAllExtensions(
(org.apache.hadoop.thirdparty.protobuf.ExtensionRegistryLite) registry);
}
/**
* Protobuf service {@code hadoop.yarn.ContainerManagementProtocolService}
*/
public static abstract class ContainerManagementProtocolService
implements org.apache.hadoop.thirdparty.protobuf.Service {
protected ContainerManagementProtocolService() {}
public interface Interface {
/**
* rpc startContainers(.hadoop.yarn.StartContainersRequestProto) returns (.hadoop.yarn.StartContainersResponseProto);
*/
public abstract void startContainers(
org.apache.hadoop.thirdparty.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnServiceProtos.StartContainersRequestProto request,
org.apache.hadoop.thirdparty.protobuf.RpcCallback done);
/**
* rpc stopContainers(.hadoop.yarn.StopContainersRequestProto) returns (.hadoop.yarn.StopContainersResponseProto);
*/
public abstract void stopContainers(
org.apache.hadoop.thirdparty.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnServiceProtos.StopContainersRequestProto request,
org.apache.hadoop.thirdparty.protobuf.RpcCallback done);
/**
* rpc getContainerStatuses(.hadoop.yarn.GetContainerStatusesRequestProto) returns (.hadoop.yarn.GetContainerStatusesResponseProto);
*/
public abstract void getContainerStatuses(
org.apache.hadoop.thirdparty.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnServiceProtos.GetContainerStatusesRequestProto request,
org.apache.hadoop.thirdparty.protobuf.RpcCallback done);
/**
* rpc increaseContainersResource(.hadoop.yarn.IncreaseContainersResourceRequestProto) returns (.hadoop.yarn.IncreaseContainersResourceResponseProto);
*/
public abstract void increaseContainersResource(
org.apache.hadoop.thirdparty.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnServiceProtos.IncreaseContainersResourceRequestProto request,
org.apache.hadoop.thirdparty.protobuf.RpcCallback done);
/**
* rpc updateContainer(.hadoop.yarn.ContainerUpdateRequestProto) returns (.hadoop.yarn.ContainerUpdateResponseProto);
*/
public abstract void updateContainer(
org.apache.hadoop.thirdparty.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnServiceProtos.ContainerUpdateRequestProto request,
org.apache.hadoop.thirdparty.protobuf.RpcCallback done);
/**
* rpc signalToContainer(.hadoop.yarn.SignalContainerRequestProto) returns (.hadoop.yarn.SignalContainerResponseProto);
*/
public abstract void signalToContainer(
org.apache.hadoop.thirdparty.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnServiceProtos.SignalContainerRequestProto request,
org.apache.hadoop.thirdparty.protobuf.RpcCallback done);
/**
* rpc localize(.hadoop.yarn.ResourceLocalizationRequestProto) returns (.hadoop.yarn.ResourceLocalizationResponseProto);
*/
public abstract void localize(
org.apache.hadoop.thirdparty.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnServiceProtos.ResourceLocalizationRequestProto request,
org.apache.hadoop.thirdparty.protobuf.RpcCallback done);
/**
* rpc reInitializeContainer(.hadoop.yarn.ReInitializeContainerRequestProto) returns (.hadoop.yarn.ReInitializeContainerResponseProto);
*/
public abstract void reInitializeContainer(
org.apache.hadoop.thirdparty.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnServiceProtos.ReInitializeContainerRequestProto request,
org.apache.hadoop.thirdparty.protobuf.RpcCallback done);
/**
* rpc restartContainer(.hadoop.yarn.ContainerIdProto) returns (.hadoop.yarn.RestartContainerResponseProto);
*/
public abstract void restartContainer(
org.apache.hadoop.thirdparty.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnProtos.ContainerIdProto request,
org.apache.hadoop.thirdparty.protobuf.RpcCallback done);
/**
* rpc rollbackLastReInitialization(.hadoop.yarn.ContainerIdProto) returns (.hadoop.yarn.RollbackResponseProto);
*/
public abstract void rollbackLastReInitialization(
org.apache.hadoop.thirdparty.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnProtos.ContainerIdProto request,
org.apache.hadoop.thirdparty.protobuf.RpcCallback done);
/**
* rpc commitLastReInitialization(.hadoop.yarn.ContainerIdProto) returns (.hadoop.yarn.CommitResponseProto);
*/
public abstract void commitLastReInitialization(
org.apache.hadoop.thirdparty.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnProtos.ContainerIdProto request,
org.apache.hadoop.thirdparty.protobuf.RpcCallback done);
/**
* rpc getLocalizationStatuses(.hadoop.yarn.GetLocalizationStatusesRequestProto) returns (.hadoop.yarn.GetLocalizationStatusesResponseProto);
*/
public abstract void getLocalizationStatuses(
org.apache.hadoop.thirdparty.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnServiceProtos.GetLocalizationStatusesRequestProto request,
org.apache.hadoop.thirdparty.protobuf.RpcCallback done);
}
public static org.apache.hadoop.thirdparty.protobuf.Service newReflectiveService(
final Interface impl) {
return new ContainerManagementProtocolService() {
@java.lang.Override
public void startContainers(
org.apache.hadoop.thirdparty.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnServiceProtos.StartContainersRequestProto request,
org.apache.hadoop.thirdparty.protobuf.RpcCallback done) {
impl.startContainers(controller, request, done);
}
@java.lang.Override
public void stopContainers(
org.apache.hadoop.thirdparty.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnServiceProtos.StopContainersRequestProto request,
org.apache.hadoop.thirdparty.protobuf.RpcCallback done) {
impl.stopContainers(controller, request, done);
}
@java.lang.Override
public void getContainerStatuses(
org.apache.hadoop.thirdparty.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnServiceProtos.GetContainerStatusesRequestProto request,
org.apache.hadoop.thirdparty.protobuf.RpcCallback done) {
impl.getContainerStatuses(controller, request, done);
}
@java.lang.Override
public void increaseContainersResource(
org.apache.hadoop.thirdparty.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnServiceProtos.IncreaseContainersResourceRequestProto request,
org.apache.hadoop.thirdparty.protobuf.RpcCallback done) {
impl.increaseContainersResource(controller, request, done);
}
@java.lang.Override
public void updateContainer(
org.apache.hadoop.thirdparty.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnServiceProtos.ContainerUpdateRequestProto request,
org.apache.hadoop.thirdparty.protobuf.RpcCallback done) {
impl.updateContainer(controller, request, done);
}
@java.lang.Override
public void signalToContainer(
org.apache.hadoop.thirdparty.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnServiceProtos.SignalContainerRequestProto request,
org.apache.hadoop.thirdparty.protobuf.RpcCallback done) {
impl.signalToContainer(controller, request, done);
}
@java.lang.Override
public void localize(
org.apache.hadoop.thirdparty.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnServiceProtos.ResourceLocalizationRequestProto request,
org.apache.hadoop.thirdparty.protobuf.RpcCallback done) {
impl.localize(controller, request, done);
}
@java.lang.Override
public void reInitializeContainer(
org.apache.hadoop.thirdparty.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnServiceProtos.ReInitializeContainerRequestProto request,
org.apache.hadoop.thirdparty.protobuf.RpcCallback done) {
impl.reInitializeContainer(controller, request, done);
}
@java.lang.Override
public void restartContainer(
org.apache.hadoop.thirdparty.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnProtos.ContainerIdProto request,
org.apache.hadoop.thirdparty.protobuf.RpcCallback done) {
impl.restartContainer(controller, request, done);
}
@java.lang.Override
public void rollbackLastReInitialization(
org.apache.hadoop.thirdparty.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnProtos.ContainerIdProto request,
org.apache.hadoop.thirdparty.protobuf.RpcCallback done) {
impl.rollbackLastReInitialization(controller, request, done);
}
@java.lang.Override
public void commitLastReInitialization(
org.apache.hadoop.thirdparty.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnProtos.ContainerIdProto request,
org.apache.hadoop.thirdparty.protobuf.RpcCallback done) {
impl.commitLastReInitialization(controller, request, done);
}
@java.lang.Override
public void getLocalizationStatuses(
org.apache.hadoop.thirdparty.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnServiceProtos.GetLocalizationStatusesRequestProto request,
org.apache.hadoop.thirdparty.protobuf.RpcCallback done) {
impl.getLocalizationStatuses(controller, request, done);
}
};
}
public static org.apache.hadoop.thirdparty.protobuf.BlockingService
newReflectiveBlockingService(final BlockingInterface impl) {
return new org.apache.hadoop.thirdparty.protobuf.BlockingService() {
public final org.apache.hadoop.thirdparty.protobuf.Descriptors.ServiceDescriptor
getDescriptorForType() {
return getDescriptor();
}
public final org.apache.hadoop.thirdparty.protobuf.Message callBlockingMethod(
org.apache.hadoop.thirdparty.protobuf.Descriptors.MethodDescriptor method,
org.apache.hadoop.thirdparty.protobuf.RpcController controller,
org.apache.hadoop.thirdparty.protobuf.Message request)
throws org.apache.hadoop.thirdparty.protobuf.ServiceException {
if (method.getService() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"Service.callBlockingMethod() given method descriptor for " +
"wrong service type.");
}
switch(method.getIndex()) {
case 0:
return impl.startContainers(controller, (org.apache.hadoop.yarn.proto.YarnServiceProtos.StartContainersRequestProto)request);
case 1:
return impl.stopContainers(controller, (org.apache.hadoop.yarn.proto.YarnServiceProtos.StopContainersRequestProto)request);
case 2:
return impl.getContainerStatuses(controller, (org.apache.hadoop.yarn.proto.YarnServiceProtos.GetContainerStatusesRequestProto)request);
case 3:
return impl.increaseContainersResource(controller, (org.apache.hadoop.yarn.proto.YarnServiceProtos.IncreaseContainersResourceRequestProto)request);
case 4:
return impl.updateContainer(controller, (org.apache.hadoop.yarn.proto.YarnServiceProtos.ContainerUpdateRequestProto)request);
case 5:
return impl.signalToContainer(controller, (org.apache.hadoop.yarn.proto.YarnServiceProtos.SignalContainerRequestProto)request);
case 6:
return impl.localize(controller, (org.apache.hadoop.yarn.proto.YarnServiceProtos.ResourceLocalizationRequestProto)request);
case 7:
return impl.reInitializeContainer(controller, (org.apache.hadoop.yarn.proto.YarnServiceProtos.ReInitializeContainerRequestProto)request);
case 8:
return impl.restartContainer(controller, (org.apache.hadoop.yarn.proto.YarnProtos.ContainerIdProto)request);
case 9:
return impl.rollbackLastReInitialization(controller, (org.apache.hadoop.yarn.proto.YarnProtos.ContainerIdProto)request);
case 10:
return impl.commitLastReInitialization(controller, (org.apache.hadoop.yarn.proto.YarnProtos.ContainerIdProto)request);
case 11:
return impl.getLocalizationStatuses(controller, (org.apache.hadoop.yarn.proto.YarnServiceProtos.GetLocalizationStatusesRequestProto)request);
default:
throw new java.lang.AssertionError("Can't get here.");
}
}
public final org.apache.hadoop.thirdparty.protobuf.Message
getRequestPrototype(
org.apache.hadoop.thirdparty.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.yarn.proto.YarnServiceProtos.StartContainersRequestProto.getDefaultInstance();
case 1:
return org.apache.hadoop.yarn.proto.YarnServiceProtos.StopContainersRequestProto.getDefaultInstance();
case 2:
return org.apache.hadoop.yarn.proto.YarnServiceProtos.GetContainerStatusesRequestProto.getDefaultInstance();
case 3:
return org.apache.hadoop.yarn.proto.YarnServiceProtos.IncreaseContainersResourceRequestProto.getDefaultInstance();
case 4:
return org.apache.hadoop.yarn.proto.YarnServiceProtos.ContainerUpdateRequestProto.getDefaultInstance();
case 5:
return org.apache.hadoop.yarn.proto.YarnServiceProtos.SignalContainerRequestProto.getDefaultInstance();
case 6:
return org.apache.hadoop.yarn.proto.YarnServiceProtos.ResourceLocalizationRequestProto.getDefaultInstance();
case 7:
return org.apache.hadoop.yarn.proto.YarnServiceProtos.ReInitializeContainerRequestProto.getDefaultInstance();
case 8:
return org.apache.hadoop.yarn.proto.YarnProtos.ContainerIdProto.getDefaultInstance();
case 9:
return org.apache.hadoop.yarn.proto.YarnProtos.ContainerIdProto.getDefaultInstance();
case 10:
return org.apache.hadoop.yarn.proto.YarnProtos.ContainerIdProto.getDefaultInstance();
case 11:
return org.apache.hadoop.yarn.proto.YarnServiceProtos.GetLocalizationStatusesRequestProto.getDefaultInstance();
default:
throw new java.lang.AssertionError("Can't get here.");
}
}
public final org.apache.hadoop.thirdparty.protobuf.Message
getResponsePrototype(
org.apache.hadoop.thirdparty.protobuf.Descriptors.MethodDescriptor method) {
if (method.getService() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"Service.getResponsePrototype() given method " +
"descriptor for wrong service type.");
}
switch(method.getIndex()) {
case 0:
return org.apache.hadoop.yarn.proto.YarnServiceProtos.StartContainersResponseProto.getDefaultInstance();
case 1:
return org.apache.hadoop.yarn.proto.YarnServiceProtos.StopContainersResponseProto.getDefaultInstance();
case 2:
return org.apache.hadoop.yarn.proto.YarnServiceProtos.GetContainerStatusesResponseProto.getDefaultInstance();
case 3:
return org.apache.hadoop.yarn.proto.YarnServiceProtos.IncreaseContainersResourceResponseProto.getDefaultInstance();
case 4:
return org.apache.hadoop.yarn.proto.YarnServiceProtos.ContainerUpdateResponseProto.getDefaultInstance();
case 5:
return org.apache.hadoop.yarn.proto.YarnServiceProtos.SignalContainerResponseProto.getDefaultInstance();
case 6:
return org.apache.hadoop.yarn.proto.YarnServiceProtos.ResourceLocalizationResponseProto.getDefaultInstance();
case 7:
return org.apache.hadoop.yarn.proto.YarnServiceProtos.ReInitializeContainerResponseProto.getDefaultInstance();
case 8:
return org.apache.hadoop.yarn.proto.YarnServiceProtos.RestartContainerResponseProto.getDefaultInstance();
case 9:
return org.apache.hadoop.yarn.proto.YarnServiceProtos.RollbackResponseProto.getDefaultInstance();
case 10:
return org.apache.hadoop.yarn.proto.YarnServiceProtos.CommitResponseProto.getDefaultInstance();
case 11:
return org.apache.hadoop.yarn.proto.YarnServiceProtos.GetLocalizationStatusesResponseProto.getDefaultInstance();
default:
throw new java.lang.AssertionError("Can't get here.");
}
}
};
}
/**
* rpc startContainers(.hadoop.yarn.StartContainersRequestProto) returns (.hadoop.yarn.StartContainersResponseProto);
*/
public abstract void startContainers(
org.apache.hadoop.thirdparty.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnServiceProtos.StartContainersRequestProto request,
org.apache.hadoop.thirdparty.protobuf.RpcCallback done);
/**
* rpc stopContainers(.hadoop.yarn.StopContainersRequestProto) returns (.hadoop.yarn.StopContainersResponseProto);
*/
public abstract void stopContainers(
org.apache.hadoop.thirdparty.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnServiceProtos.StopContainersRequestProto request,
org.apache.hadoop.thirdparty.protobuf.RpcCallback done);
/**
* rpc getContainerStatuses(.hadoop.yarn.GetContainerStatusesRequestProto) returns (.hadoop.yarn.GetContainerStatusesResponseProto);
*/
public abstract void getContainerStatuses(
org.apache.hadoop.thirdparty.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnServiceProtos.GetContainerStatusesRequestProto request,
org.apache.hadoop.thirdparty.protobuf.RpcCallback done);
/**
* rpc increaseContainersResource(.hadoop.yarn.IncreaseContainersResourceRequestProto) returns (.hadoop.yarn.IncreaseContainersResourceResponseProto);
*/
public abstract void increaseContainersResource(
org.apache.hadoop.thirdparty.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnServiceProtos.IncreaseContainersResourceRequestProto request,
org.apache.hadoop.thirdparty.protobuf.RpcCallback done);
/**
* rpc updateContainer(.hadoop.yarn.ContainerUpdateRequestProto) returns (.hadoop.yarn.ContainerUpdateResponseProto);
*/
public abstract void updateContainer(
org.apache.hadoop.thirdparty.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnServiceProtos.ContainerUpdateRequestProto request,
org.apache.hadoop.thirdparty.protobuf.RpcCallback done);
/**
* rpc signalToContainer(.hadoop.yarn.SignalContainerRequestProto) returns (.hadoop.yarn.SignalContainerResponseProto);
*/
public abstract void signalToContainer(
org.apache.hadoop.thirdparty.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnServiceProtos.SignalContainerRequestProto request,
org.apache.hadoop.thirdparty.protobuf.RpcCallback done);
/**
* rpc localize(.hadoop.yarn.ResourceLocalizationRequestProto) returns (.hadoop.yarn.ResourceLocalizationResponseProto);
*/
public abstract void localize(
org.apache.hadoop.thirdparty.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnServiceProtos.ResourceLocalizationRequestProto request,
org.apache.hadoop.thirdparty.protobuf.RpcCallback done);
/**
* rpc reInitializeContainer(.hadoop.yarn.ReInitializeContainerRequestProto) returns (.hadoop.yarn.ReInitializeContainerResponseProto);
*/
public abstract void reInitializeContainer(
org.apache.hadoop.thirdparty.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnServiceProtos.ReInitializeContainerRequestProto request,
org.apache.hadoop.thirdparty.protobuf.RpcCallback done);
/**
* rpc restartContainer(.hadoop.yarn.ContainerIdProto) returns (.hadoop.yarn.RestartContainerResponseProto);
*/
public abstract void restartContainer(
org.apache.hadoop.thirdparty.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnProtos.ContainerIdProto request,
org.apache.hadoop.thirdparty.protobuf.RpcCallback done);
/**
* rpc rollbackLastReInitialization(.hadoop.yarn.ContainerIdProto) returns (.hadoop.yarn.RollbackResponseProto);
*/
public abstract void rollbackLastReInitialization(
org.apache.hadoop.thirdparty.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnProtos.ContainerIdProto request,
org.apache.hadoop.thirdparty.protobuf.RpcCallback done);
/**
* rpc commitLastReInitialization(.hadoop.yarn.ContainerIdProto) returns (.hadoop.yarn.CommitResponseProto);
*/
public abstract void commitLastReInitialization(
org.apache.hadoop.thirdparty.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnProtos.ContainerIdProto request,
org.apache.hadoop.thirdparty.protobuf.RpcCallback done);
/**
* rpc getLocalizationStatuses(.hadoop.yarn.GetLocalizationStatusesRequestProto) returns (.hadoop.yarn.GetLocalizationStatusesResponseProto);
*/
public abstract void getLocalizationStatuses(
org.apache.hadoop.thirdparty.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnServiceProtos.GetLocalizationStatusesRequestProto request,
org.apache.hadoop.thirdparty.protobuf.RpcCallback done);
public static final
org.apache.hadoop.thirdparty.protobuf.Descriptors.ServiceDescriptor
getDescriptor() {
return org.apache.hadoop.yarn.proto.ContainerManagementProtocol.getDescriptor().getServices().get(0);
}
public final org.apache.hadoop.thirdparty.protobuf.Descriptors.ServiceDescriptor
getDescriptorForType() {
return getDescriptor();
}
public final void callMethod(
org.apache.hadoop.thirdparty.protobuf.Descriptors.MethodDescriptor method,
org.apache.hadoop.thirdparty.protobuf.RpcController controller,
org.apache.hadoop.thirdparty.protobuf.Message request,
org.apache.hadoop.thirdparty.protobuf.RpcCallback<
org.apache.hadoop.thirdparty.protobuf.Message> done) {
if (method.getService() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"Service.callMethod() given method descriptor for wrong " +
"service type.");
}
switch(method.getIndex()) {
case 0:
this.startContainers(controller, (org.apache.hadoop.yarn.proto.YarnServiceProtos.StartContainersRequestProto)request,
org.apache.hadoop.thirdparty.protobuf.RpcUtil.specializeCallback(
done));
return;
case 1:
this.stopContainers(controller, (org.apache.hadoop.yarn.proto.YarnServiceProtos.StopContainersRequestProto)request,
org.apache.hadoop.thirdparty.protobuf.RpcUtil.specializeCallback(
done));
return;
case 2:
this.getContainerStatuses(controller, (org.apache.hadoop.yarn.proto.YarnServiceProtos.GetContainerStatusesRequestProto)request,
org.apache.hadoop.thirdparty.protobuf.RpcUtil.specializeCallback(
done));
return;
case 3:
this.increaseContainersResource(controller, (org.apache.hadoop.yarn.proto.YarnServiceProtos.IncreaseContainersResourceRequestProto)request,
org.apache.hadoop.thirdparty.protobuf.RpcUtil.specializeCallback(
done));
return;
case 4:
this.updateContainer(controller, (org.apache.hadoop.yarn.proto.YarnServiceProtos.ContainerUpdateRequestProto)request,
org.apache.hadoop.thirdparty.protobuf.RpcUtil.specializeCallback(
done));
return;
case 5:
this.signalToContainer(controller, (org.apache.hadoop.yarn.proto.YarnServiceProtos.SignalContainerRequestProto)request,
org.apache.hadoop.thirdparty.protobuf.RpcUtil.specializeCallback(
done));
return;
case 6:
this.localize(controller, (org.apache.hadoop.yarn.proto.YarnServiceProtos.ResourceLocalizationRequestProto)request,
org.apache.hadoop.thirdparty.protobuf.RpcUtil.specializeCallback(
done));
return;
case 7:
this.reInitializeContainer(controller, (org.apache.hadoop.yarn.proto.YarnServiceProtos.ReInitializeContainerRequestProto)request,
org.apache.hadoop.thirdparty.protobuf.RpcUtil.specializeCallback(
done));
return;
case 8:
this.restartContainer(controller, (org.apache.hadoop.yarn.proto.YarnProtos.ContainerIdProto)request,
org.apache.hadoop.thirdparty.protobuf.RpcUtil.specializeCallback(
done));
return;
case 9:
this.rollbackLastReInitialization(controller, (org.apache.hadoop.yarn.proto.YarnProtos.ContainerIdProto)request,
org.apache.hadoop.thirdparty.protobuf.RpcUtil.specializeCallback(
done));
return;
case 10:
this.commitLastReInitialization(controller, (org.apache.hadoop.yarn.proto.YarnProtos.ContainerIdProto)request,
org.apache.hadoop.thirdparty.protobuf.RpcUtil.specializeCallback(
done));
return;
case 11:
this.getLocalizationStatuses(controller, (org.apache.hadoop.yarn.proto.YarnServiceProtos.GetLocalizationStatusesRequestProto)request,
org.apache.hadoop.thirdparty.protobuf.RpcUtil.specializeCallback(
done));
return;
default:
throw new java.lang.AssertionError("Can't get here.");
}
}
public final org.apache.hadoop.thirdparty.protobuf.Message
getRequestPrototype(
org.apache.hadoop.thirdparty.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.yarn.proto.YarnServiceProtos.StartContainersRequestProto.getDefaultInstance();
case 1:
return org.apache.hadoop.yarn.proto.YarnServiceProtos.StopContainersRequestProto.getDefaultInstance();
case 2:
return org.apache.hadoop.yarn.proto.YarnServiceProtos.GetContainerStatusesRequestProto.getDefaultInstance();
case 3:
return org.apache.hadoop.yarn.proto.YarnServiceProtos.IncreaseContainersResourceRequestProto.getDefaultInstance();
case 4:
return org.apache.hadoop.yarn.proto.YarnServiceProtos.ContainerUpdateRequestProto.getDefaultInstance();
case 5:
return org.apache.hadoop.yarn.proto.YarnServiceProtos.SignalContainerRequestProto.getDefaultInstance();
case 6:
return org.apache.hadoop.yarn.proto.YarnServiceProtos.ResourceLocalizationRequestProto.getDefaultInstance();
case 7:
return org.apache.hadoop.yarn.proto.YarnServiceProtos.ReInitializeContainerRequestProto.getDefaultInstance();
case 8:
return org.apache.hadoop.yarn.proto.YarnProtos.ContainerIdProto.getDefaultInstance();
case 9:
return org.apache.hadoop.yarn.proto.YarnProtos.ContainerIdProto.getDefaultInstance();
case 10:
return org.apache.hadoop.yarn.proto.YarnProtos.ContainerIdProto.getDefaultInstance();
case 11:
return org.apache.hadoop.yarn.proto.YarnServiceProtos.GetLocalizationStatusesRequestProto.getDefaultInstance();
default:
throw new java.lang.AssertionError("Can't get here.");
}
}
public final org.apache.hadoop.thirdparty.protobuf.Message
getResponsePrototype(
org.apache.hadoop.thirdparty.protobuf.Descriptors.MethodDescriptor method) {
if (method.getService() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"Service.getResponsePrototype() given method " +
"descriptor for wrong service type.");
}
switch(method.getIndex()) {
case 0:
return org.apache.hadoop.yarn.proto.YarnServiceProtos.StartContainersResponseProto.getDefaultInstance();
case 1:
return org.apache.hadoop.yarn.proto.YarnServiceProtos.StopContainersResponseProto.getDefaultInstance();
case 2:
return org.apache.hadoop.yarn.proto.YarnServiceProtos.GetContainerStatusesResponseProto.getDefaultInstance();
case 3:
return org.apache.hadoop.yarn.proto.YarnServiceProtos.IncreaseContainersResourceResponseProto.getDefaultInstance();
case 4:
return org.apache.hadoop.yarn.proto.YarnServiceProtos.ContainerUpdateResponseProto.getDefaultInstance();
case 5:
return org.apache.hadoop.yarn.proto.YarnServiceProtos.SignalContainerResponseProto.getDefaultInstance();
case 6:
return org.apache.hadoop.yarn.proto.YarnServiceProtos.ResourceLocalizationResponseProto.getDefaultInstance();
case 7:
return org.apache.hadoop.yarn.proto.YarnServiceProtos.ReInitializeContainerResponseProto.getDefaultInstance();
case 8:
return org.apache.hadoop.yarn.proto.YarnServiceProtos.RestartContainerResponseProto.getDefaultInstance();
case 9:
return org.apache.hadoop.yarn.proto.YarnServiceProtos.RollbackResponseProto.getDefaultInstance();
case 10:
return org.apache.hadoop.yarn.proto.YarnServiceProtos.CommitResponseProto.getDefaultInstance();
case 11:
return org.apache.hadoop.yarn.proto.YarnServiceProtos.GetLocalizationStatusesResponseProto.getDefaultInstance();
default:
throw new java.lang.AssertionError("Can't get here.");
}
}
public static Stub newStub(
org.apache.hadoop.thirdparty.protobuf.RpcChannel channel) {
return new Stub(channel);
}
public static final class Stub extends org.apache.hadoop.yarn.proto.ContainerManagementProtocol.ContainerManagementProtocolService implements Interface {
private Stub(org.apache.hadoop.thirdparty.protobuf.RpcChannel channel) {
this.channel = channel;
}
private final org.apache.hadoop.thirdparty.protobuf.RpcChannel channel;
public org.apache.hadoop.thirdparty.protobuf.RpcChannel getChannel() {
return channel;
}
public void startContainers(
org.apache.hadoop.thirdparty.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnServiceProtos.StartContainersRequestProto request,
org.apache.hadoop.thirdparty.protobuf.RpcCallback done) {
channel.callMethod(
getDescriptor().getMethods().get(0),
controller,
request,
org.apache.hadoop.yarn.proto.YarnServiceProtos.StartContainersResponseProto.getDefaultInstance(),
org.apache.hadoop.thirdparty.protobuf.RpcUtil.generalizeCallback(
done,
org.apache.hadoop.yarn.proto.YarnServiceProtos.StartContainersResponseProto.class,
org.apache.hadoop.yarn.proto.YarnServiceProtos.StartContainersResponseProto.getDefaultInstance()));
}
public void stopContainers(
org.apache.hadoop.thirdparty.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnServiceProtos.StopContainersRequestProto request,
org.apache.hadoop.thirdparty.protobuf.RpcCallback done) {
channel.callMethod(
getDescriptor().getMethods().get(1),
controller,
request,
org.apache.hadoop.yarn.proto.YarnServiceProtos.StopContainersResponseProto.getDefaultInstance(),
org.apache.hadoop.thirdparty.protobuf.RpcUtil.generalizeCallback(
done,
org.apache.hadoop.yarn.proto.YarnServiceProtos.StopContainersResponseProto.class,
org.apache.hadoop.yarn.proto.YarnServiceProtos.StopContainersResponseProto.getDefaultInstance()));
}
public void getContainerStatuses(
org.apache.hadoop.thirdparty.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnServiceProtos.GetContainerStatusesRequestProto request,
org.apache.hadoop.thirdparty.protobuf.RpcCallback done) {
channel.callMethod(
getDescriptor().getMethods().get(2),
controller,
request,
org.apache.hadoop.yarn.proto.YarnServiceProtos.GetContainerStatusesResponseProto.getDefaultInstance(),
org.apache.hadoop.thirdparty.protobuf.RpcUtil.generalizeCallback(
done,
org.apache.hadoop.yarn.proto.YarnServiceProtos.GetContainerStatusesResponseProto.class,
org.apache.hadoop.yarn.proto.YarnServiceProtos.GetContainerStatusesResponseProto.getDefaultInstance()));
}
public void increaseContainersResource(
org.apache.hadoop.thirdparty.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnServiceProtos.IncreaseContainersResourceRequestProto request,
org.apache.hadoop.thirdparty.protobuf.RpcCallback done) {
channel.callMethod(
getDescriptor().getMethods().get(3),
controller,
request,
org.apache.hadoop.yarn.proto.YarnServiceProtos.IncreaseContainersResourceResponseProto.getDefaultInstance(),
org.apache.hadoop.thirdparty.protobuf.RpcUtil.generalizeCallback(
done,
org.apache.hadoop.yarn.proto.YarnServiceProtos.IncreaseContainersResourceResponseProto.class,
org.apache.hadoop.yarn.proto.YarnServiceProtos.IncreaseContainersResourceResponseProto.getDefaultInstance()));
}
public void updateContainer(
org.apache.hadoop.thirdparty.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnServiceProtos.ContainerUpdateRequestProto request,
org.apache.hadoop.thirdparty.protobuf.RpcCallback done) {
channel.callMethod(
getDescriptor().getMethods().get(4),
controller,
request,
org.apache.hadoop.yarn.proto.YarnServiceProtos.ContainerUpdateResponseProto.getDefaultInstance(),
org.apache.hadoop.thirdparty.protobuf.RpcUtil.generalizeCallback(
done,
org.apache.hadoop.yarn.proto.YarnServiceProtos.ContainerUpdateResponseProto.class,
org.apache.hadoop.yarn.proto.YarnServiceProtos.ContainerUpdateResponseProto.getDefaultInstance()));
}
public void signalToContainer(
org.apache.hadoop.thirdparty.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnServiceProtos.SignalContainerRequestProto request,
org.apache.hadoop.thirdparty.protobuf.RpcCallback done) {
channel.callMethod(
getDescriptor().getMethods().get(5),
controller,
request,
org.apache.hadoop.yarn.proto.YarnServiceProtos.SignalContainerResponseProto.getDefaultInstance(),
org.apache.hadoop.thirdparty.protobuf.RpcUtil.generalizeCallback(
done,
org.apache.hadoop.yarn.proto.YarnServiceProtos.SignalContainerResponseProto.class,
org.apache.hadoop.yarn.proto.YarnServiceProtos.SignalContainerResponseProto.getDefaultInstance()));
}
public void localize(
org.apache.hadoop.thirdparty.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnServiceProtos.ResourceLocalizationRequestProto request,
org.apache.hadoop.thirdparty.protobuf.RpcCallback done) {
channel.callMethod(
getDescriptor().getMethods().get(6),
controller,
request,
org.apache.hadoop.yarn.proto.YarnServiceProtos.ResourceLocalizationResponseProto.getDefaultInstance(),
org.apache.hadoop.thirdparty.protobuf.RpcUtil.generalizeCallback(
done,
org.apache.hadoop.yarn.proto.YarnServiceProtos.ResourceLocalizationResponseProto.class,
org.apache.hadoop.yarn.proto.YarnServiceProtos.ResourceLocalizationResponseProto.getDefaultInstance()));
}
public void reInitializeContainer(
org.apache.hadoop.thirdparty.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnServiceProtos.ReInitializeContainerRequestProto request,
org.apache.hadoop.thirdparty.protobuf.RpcCallback done) {
channel.callMethod(
getDescriptor().getMethods().get(7),
controller,
request,
org.apache.hadoop.yarn.proto.YarnServiceProtos.ReInitializeContainerResponseProto.getDefaultInstance(),
org.apache.hadoop.thirdparty.protobuf.RpcUtil.generalizeCallback(
done,
org.apache.hadoop.yarn.proto.YarnServiceProtos.ReInitializeContainerResponseProto.class,
org.apache.hadoop.yarn.proto.YarnServiceProtos.ReInitializeContainerResponseProto.getDefaultInstance()));
}
public void restartContainer(
org.apache.hadoop.thirdparty.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnProtos.ContainerIdProto request,
org.apache.hadoop.thirdparty.protobuf.RpcCallback done) {
channel.callMethod(
getDescriptor().getMethods().get(8),
controller,
request,
org.apache.hadoop.yarn.proto.YarnServiceProtos.RestartContainerResponseProto.getDefaultInstance(),
org.apache.hadoop.thirdparty.protobuf.RpcUtil.generalizeCallback(
done,
org.apache.hadoop.yarn.proto.YarnServiceProtos.RestartContainerResponseProto.class,
org.apache.hadoop.yarn.proto.YarnServiceProtos.RestartContainerResponseProto.getDefaultInstance()));
}
public void rollbackLastReInitialization(
org.apache.hadoop.thirdparty.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnProtos.ContainerIdProto request,
org.apache.hadoop.thirdparty.protobuf.RpcCallback done) {
channel.callMethod(
getDescriptor().getMethods().get(9),
controller,
request,
org.apache.hadoop.yarn.proto.YarnServiceProtos.RollbackResponseProto.getDefaultInstance(),
org.apache.hadoop.thirdparty.protobuf.RpcUtil.generalizeCallback(
done,
org.apache.hadoop.yarn.proto.YarnServiceProtos.RollbackResponseProto.class,
org.apache.hadoop.yarn.proto.YarnServiceProtos.RollbackResponseProto.getDefaultInstance()));
}
public void commitLastReInitialization(
org.apache.hadoop.thirdparty.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnProtos.ContainerIdProto request,
org.apache.hadoop.thirdparty.protobuf.RpcCallback done) {
channel.callMethod(
getDescriptor().getMethods().get(10),
controller,
request,
org.apache.hadoop.yarn.proto.YarnServiceProtos.CommitResponseProto.getDefaultInstance(),
org.apache.hadoop.thirdparty.protobuf.RpcUtil.generalizeCallback(
done,
org.apache.hadoop.yarn.proto.YarnServiceProtos.CommitResponseProto.class,
org.apache.hadoop.yarn.proto.YarnServiceProtos.CommitResponseProto.getDefaultInstance()));
}
public void getLocalizationStatuses(
org.apache.hadoop.thirdparty.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnServiceProtos.GetLocalizationStatusesRequestProto request,
org.apache.hadoop.thirdparty.protobuf.RpcCallback done) {
channel.callMethod(
getDescriptor().getMethods().get(11),
controller,
request,
org.apache.hadoop.yarn.proto.YarnServiceProtos.GetLocalizationStatusesResponseProto.getDefaultInstance(),
org.apache.hadoop.thirdparty.protobuf.RpcUtil.generalizeCallback(
done,
org.apache.hadoop.yarn.proto.YarnServiceProtos.GetLocalizationStatusesResponseProto.class,
org.apache.hadoop.yarn.proto.YarnServiceProtos.GetLocalizationStatusesResponseProto.getDefaultInstance()));
}
}
public static BlockingInterface newBlockingStub(
org.apache.hadoop.thirdparty.protobuf.BlockingRpcChannel channel) {
return new BlockingStub(channel);
}
public interface BlockingInterface {
public org.apache.hadoop.yarn.proto.YarnServiceProtos.StartContainersResponseProto startContainers(
org.apache.hadoop.thirdparty.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnServiceProtos.StartContainersRequestProto request)
throws org.apache.hadoop.thirdparty.protobuf.ServiceException;
public org.apache.hadoop.yarn.proto.YarnServiceProtos.StopContainersResponseProto stopContainers(
org.apache.hadoop.thirdparty.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnServiceProtos.StopContainersRequestProto request)
throws org.apache.hadoop.thirdparty.protobuf.ServiceException;
public org.apache.hadoop.yarn.proto.YarnServiceProtos.GetContainerStatusesResponseProto getContainerStatuses(
org.apache.hadoop.thirdparty.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnServiceProtos.GetContainerStatusesRequestProto request)
throws org.apache.hadoop.thirdparty.protobuf.ServiceException;
public org.apache.hadoop.yarn.proto.YarnServiceProtos.IncreaseContainersResourceResponseProto increaseContainersResource(
org.apache.hadoop.thirdparty.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnServiceProtos.IncreaseContainersResourceRequestProto request)
throws org.apache.hadoop.thirdparty.protobuf.ServiceException;
public org.apache.hadoop.yarn.proto.YarnServiceProtos.ContainerUpdateResponseProto updateContainer(
org.apache.hadoop.thirdparty.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnServiceProtos.ContainerUpdateRequestProto request)
throws org.apache.hadoop.thirdparty.protobuf.ServiceException;
public org.apache.hadoop.yarn.proto.YarnServiceProtos.SignalContainerResponseProto signalToContainer(
org.apache.hadoop.thirdparty.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnServiceProtos.SignalContainerRequestProto request)
throws org.apache.hadoop.thirdparty.protobuf.ServiceException;
public org.apache.hadoop.yarn.proto.YarnServiceProtos.ResourceLocalizationResponseProto localize(
org.apache.hadoop.thirdparty.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnServiceProtos.ResourceLocalizationRequestProto request)
throws org.apache.hadoop.thirdparty.protobuf.ServiceException;
public org.apache.hadoop.yarn.proto.YarnServiceProtos.ReInitializeContainerResponseProto reInitializeContainer(
org.apache.hadoop.thirdparty.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnServiceProtos.ReInitializeContainerRequestProto request)
throws org.apache.hadoop.thirdparty.protobuf.ServiceException;
public org.apache.hadoop.yarn.proto.YarnServiceProtos.RestartContainerResponseProto restartContainer(
org.apache.hadoop.thirdparty.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnProtos.ContainerIdProto request)
throws org.apache.hadoop.thirdparty.protobuf.ServiceException;
public org.apache.hadoop.yarn.proto.YarnServiceProtos.RollbackResponseProto rollbackLastReInitialization(
org.apache.hadoop.thirdparty.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnProtos.ContainerIdProto request)
throws org.apache.hadoop.thirdparty.protobuf.ServiceException;
public org.apache.hadoop.yarn.proto.YarnServiceProtos.CommitResponseProto commitLastReInitialization(
org.apache.hadoop.thirdparty.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnProtos.ContainerIdProto request)
throws org.apache.hadoop.thirdparty.protobuf.ServiceException;
public org.apache.hadoop.yarn.proto.YarnServiceProtos.GetLocalizationStatusesResponseProto getLocalizationStatuses(
org.apache.hadoop.thirdparty.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnServiceProtos.GetLocalizationStatusesRequestProto request)
throws org.apache.hadoop.thirdparty.protobuf.ServiceException;
}
private static final class BlockingStub implements BlockingInterface {
private BlockingStub(org.apache.hadoop.thirdparty.protobuf.BlockingRpcChannel channel) {
this.channel = channel;
}
private final org.apache.hadoop.thirdparty.protobuf.BlockingRpcChannel channel;
public org.apache.hadoop.yarn.proto.YarnServiceProtos.StartContainersResponseProto startContainers(
org.apache.hadoop.thirdparty.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnServiceProtos.StartContainersRequestProto request)
throws org.apache.hadoop.thirdparty.protobuf.ServiceException {
return (org.apache.hadoop.yarn.proto.YarnServiceProtos.StartContainersResponseProto) channel.callBlockingMethod(
getDescriptor().getMethods().get(0),
controller,
request,
org.apache.hadoop.yarn.proto.YarnServiceProtos.StartContainersResponseProto.getDefaultInstance());
}
public org.apache.hadoop.yarn.proto.YarnServiceProtos.StopContainersResponseProto stopContainers(
org.apache.hadoop.thirdparty.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnServiceProtos.StopContainersRequestProto request)
throws org.apache.hadoop.thirdparty.protobuf.ServiceException {
return (org.apache.hadoop.yarn.proto.YarnServiceProtos.StopContainersResponseProto) channel.callBlockingMethod(
getDescriptor().getMethods().get(1),
controller,
request,
org.apache.hadoop.yarn.proto.YarnServiceProtos.StopContainersResponseProto.getDefaultInstance());
}
public org.apache.hadoop.yarn.proto.YarnServiceProtos.GetContainerStatusesResponseProto getContainerStatuses(
org.apache.hadoop.thirdparty.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnServiceProtos.GetContainerStatusesRequestProto request)
throws org.apache.hadoop.thirdparty.protobuf.ServiceException {
return (org.apache.hadoop.yarn.proto.YarnServiceProtos.GetContainerStatusesResponseProto) channel.callBlockingMethod(
getDescriptor().getMethods().get(2),
controller,
request,
org.apache.hadoop.yarn.proto.YarnServiceProtos.GetContainerStatusesResponseProto.getDefaultInstance());
}
public org.apache.hadoop.yarn.proto.YarnServiceProtos.IncreaseContainersResourceResponseProto increaseContainersResource(
org.apache.hadoop.thirdparty.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnServiceProtos.IncreaseContainersResourceRequestProto request)
throws org.apache.hadoop.thirdparty.protobuf.ServiceException {
return (org.apache.hadoop.yarn.proto.YarnServiceProtos.IncreaseContainersResourceResponseProto) channel.callBlockingMethod(
getDescriptor().getMethods().get(3),
controller,
request,
org.apache.hadoop.yarn.proto.YarnServiceProtos.IncreaseContainersResourceResponseProto.getDefaultInstance());
}
public org.apache.hadoop.yarn.proto.YarnServiceProtos.ContainerUpdateResponseProto updateContainer(
org.apache.hadoop.thirdparty.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnServiceProtos.ContainerUpdateRequestProto request)
throws org.apache.hadoop.thirdparty.protobuf.ServiceException {
return (org.apache.hadoop.yarn.proto.YarnServiceProtos.ContainerUpdateResponseProto) channel.callBlockingMethod(
getDescriptor().getMethods().get(4),
controller,
request,
org.apache.hadoop.yarn.proto.YarnServiceProtos.ContainerUpdateResponseProto.getDefaultInstance());
}
public org.apache.hadoop.yarn.proto.YarnServiceProtos.SignalContainerResponseProto signalToContainer(
org.apache.hadoop.thirdparty.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnServiceProtos.SignalContainerRequestProto request)
throws org.apache.hadoop.thirdparty.protobuf.ServiceException {
return (org.apache.hadoop.yarn.proto.YarnServiceProtos.SignalContainerResponseProto) channel.callBlockingMethod(
getDescriptor().getMethods().get(5),
controller,
request,
org.apache.hadoop.yarn.proto.YarnServiceProtos.SignalContainerResponseProto.getDefaultInstance());
}
public org.apache.hadoop.yarn.proto.YarnServiceProtos.ResourceLocalizationResponseProto localize(
org.apache.hadoop.thirdparty.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnServiceProtos.ResourceLocalizationRequestProto request)
throws org.apache.hadoop.thirdparty.protobuf.ServiceException {
return (org.apache.hadoop.yarn.proto.YarnServiceProtos.ResourceLocalizationResponseProto) channel.callBlockingMethod(
getDescriptor().getMethods().get(6),
controller,
request,
org.apache.hadoop.yarn.proto.YarnServiceProtos.ResourceLocalizationResponseProto.getDefaultInstance());
}
public org.apache.hadoop.yarn.proto.YarnServiceProtos.ReInitializeContainerResponseProto reInitializeContainer(
org.apache.hadoop.thirdparty.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnServiceProtos.ReInitializeContainerRequestProto request)
throws org.apache.hadoop.thirdparty.protobuf.ServiceException {
return (org.apache.hadoop.yarn.proto.YarnServiceProtos.ReInitializeContainerResponseProto) channel.callBlockingMethod(
getDescriptor().getMethods().get(7),
controller,
request,
org.apache.hadoop.yarn.proto.YarnServiceProtos.ReInitializeContainerResponseProto.getDefaultInstance());
}
public org.apache.hadoop.yarn.proto.YarnServiceProtos.RestartContainerResponseProto restartContainer(
org.apache.hadoop.thirdparty.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnProtos.ContainerIdProto request)
throws org.apache.hadoop.thirdparty.protobuf.ServiceException {
return (org.apache.hadoop.yarn.proto.YarnServiceProtos.RestartContainerResponseProto) channel.callBlockingMethod(
getDescriptor().getMethods().get(8),
controller,
request,
org.apache.hadoop.yarn.proto.YarnServiceProtos.RestartContainerResponseProto.getDefaultInstance());
}
public org.apache.hadoop.yarn.proto.YarnServiceProtos.RollbackResponseProto rollbackLastReInitialization(
org.apache.hadoop.thirdparty.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnProtos.ContainerIdProto request)
throws org.apache.hadoop.thirdparty.protobuf.ServiceException {
return (org.apache.hadoop.yarn.proto.YarnServiceProtos.RollbackResponseProto) channel.callBlockingMethod(
getDescriptor().getMethods().get(9),
controller,
request,
org.apache.hadoop.yarn.proto.YarnServiceProtos.RollbackResponseProto.getDefaultInstance());
}
public org.apache.hadoop.yarn.proto.YarnServiceProtos.CommitResponseProto commitLastReInitialization(
org.apache.hadoop.thirdparty.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnProtos.ContainerIdProto request)
throws org.apache.hadoop.thirdparty.protobuf.ServiceException {
return (org.apache.hadoop.yarn.proto.YarnServiceProtos.CommitResponseProto) channel.callBlockingMethod(
getDescriptor().getMethods().get(10),
controller,
request,
org.apache.hadoop.yarn.proto.YarnServiceProtos.CommitResponseProto.getDefaultInstance());
}
public org.apache.hadoop.yarn.proto.YarnServiceProtos.GetLocalizationStatusesResponseProto getLocalizationStatuses(
org.apache.hadoop.thirdparty.protobuf.RpcController controller,
org.apache.hadoop.yarn.proto.YarnServiceProtos.GetLocalizationStatusesRequestProto request)
throws org.apache.hadoop.thirdparty.protobuf.ServiceException {
return (org.apache.hadoop.yarn.proto.YarnServiceProtos.GetLocalizationStatusesResponseProto) channel.callBlockingMethod(
getDescriptor().getMethods().get(11),
controller,
request,
org.apache.hadoop.yarn.proto.YarnServiceProtos.GetLocalizationStatusesResponseProto.getDefaultInstance());
}
}
// @@protoc_insertion_point(class_scope:hadoop.yarn.ContainerManagementProtocolService)
}
public static org.apache.hadoop.thirdparty.protobuf.Descriptors.FileDescriptor
getDescriptor() {
return descriptor;
}
private static org.apache.hadoop.thirdparty.protobuf.Descriptors.FileDescriptor
descriptor;
static {
java.lang.String[] descriptorData = {
"\n\"containermanagement_protocol.proto\022\013ha" +
"doop.yarn\032\021yarn_protos.proto\032\031yarn_servi" +
"ce_protos.proto2\312\n\n\"ContainerManagementP" +
"rotocolService\022f\n\017startContainers\022(.hado" +
"op.yarn.StartContainersRequestProto\032).ha" +
"doop.yarn.StartContainersResponseProto\022c" +
"\n\016stopContainers\022\'.hadoop.yarn.StopConta" +
"inersRequestProto\032(.hadoop.yarn.StopCont" +
"ainersResponseProto\022u\n\024getContainerStatu" +
"ses\022-.hadoop.yarn.GetContainerStatusesRe" +
"questProto\032..hadoop.yarn.GetContainerSta" +
"tusesResponseProto\022\207\001\n\032increaseContainer" +
"sResource\0223.hadoop.yarn.IncreaseContaine" +
"rsResourceRequestProto\0324.hadoop.yarn.Inc" +
"reaseContainersResourceResponseProto\022f\n\017" +
"updateContainer\022(.hadoop.yarn.ContainerU" +
"pdateRequestProto\032).hadoop.yarn.Containe" +
"rUpdateResponseProto\022h\n\021signalToContaine" +
"r\022(.hadoop.yarn.SignalContainerRequestPr" +
"oto\032).hadoop.yarn.SignalContainerRespons" +
"eProto\022i\n\010localize\022-.hadoop.yarn.Resourc" +
"eLocalizationRequestProto\032..hadoop.yarn." +
"ResourceLocalizationResponseProto\022x\n\025reI" +
"nitializeContainer\022..hadoop.yarn.ReIniti" +
"alizeContainerRequestProto\032/.hadoop.yarn" +
".ReInitializeContainerResponseProto\022]\n\020r" +
"estartContainer\022\035.hadoop.yarn.ContainerI" +
"dProto\032*.hadoop.yarn.RestartContainerRes" +
"ponseProto\022a\n\034rollbackLastReInitializati" +
"on\022\035.hadoop.yarn.ContainerIdProto\032\".hado" +
"op.yarn.RollbackResponseProto\022]\n\032commitL" +
"astReInitialization\022\035.hadoop.yarn.Contai" +
"nerIdProto\032 .hadoop.yarn.CommitResponseP" +
"roto\022~\n\027getLocalizationStatuses\0220.hadoop" +
".yarn.GetLocalizationStatusesRequestProt" +
"o\0321.hadoop.yarn.GetLocalizationStatusesR" +
"esponseProtoBA\n\034org.apache.hadoop.yarn.p" +
"rotoB\033ContainerManagementProtocol\210\001\001\240\001\001"
};
org.apache.hadoop.thirdparty.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
new org.apache.hadoop.thirdparty.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() {
public org.apache.hadoop.thirdparty.protobuf.ExtensionRegistry assignDescriptors(
org.apache.hadoop.thirdparty.protobuf.Descriptors.FileDescriptor root) {
descriptor = root;
return null;
}
};
org.apache.hadoop.thirdparty.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new org.apache.hadoop.thirdparty.protobuf.Descriptors.FileDescriptor[] {
org.apache.hadoop.yarn.proto.YarnProtos.getDescriptor(),
org.apache.hadoop.yarn.proto.YarnServiceProtos.getDescriptor(),
}, assigner);
org.apache.hadoop.yarn.proto.YarnProtos.getDescriptor();
org.apache.hadoop.yarn.proto.YarnServiceProtos.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
}