@InterfaceAudience.Private @InterfaceStability.Unstable public class ProtoUtils extends Object
Constructor and Description |
---|
ProtoUtils() |
public static YarnProtos.ContainerStateProto convertToProtoFormat(ContainerState e)
public static ContainerState convertFromProtoFormat(YarnProtos.ContainerStateProto e)
public static YarnProtos.NodeStateProto convertToProtoFormat(NodeState e)
public static NodeState convertFromProtoFormat(YarnProtos.NodeStateProto e)
public static YarnProtos.NodeIdProto convertToProtoFormat(NodeId e)
public static NodeId convertFromProtoFormat(YarnProtos.NodeIdProto e)
public static YarnProtos.YarnApplicationStateProto convertToProtoFormat(YarnApplicationState e)
public static YarnApplicationState convertFromProtoFormat(YarnProtos.YarnApplicationStateProto e)
public static YarnProtos.ApplicationResourceUsageReportProto convertToProtoFormat(ApplicationResourceUsageReport e)
public static ApplicationResourceUsageReport convertFromProtoFormat(YarnProtos.ApplicationResourceUsageReportProto e)
public static YarnProtos.FinalApplicationStatusProto convertToProtoFormat(FinalApplicationStatus e)
public static FinalApplicationStatus convertFromProtoFormat(YarnProtos.FinalApplicationStatusProto e)
public static YarnProtos.LocalResourceTypeProto convertToProtoFormat(LocalResourceType e)
public static LocalResourceType convertFromProtoFormat(YarnProtos.LocalResourceTypeProto e)
public static YarnProtos.LocalResourceVisibilityProto convertToProtoFormat(LocalResourceVisibility e)
public static LocalResourceVisibility convertFromProtoFormat(YarnProtos.LocalResourceVisibilityProto e)
public static YarnProtos.AMCommandProto convertToProtoFormat(AMCommand e)
public static AMCommand convertFromProtoFormat(YarnProtos.AMCommandProto e)
public static ByteBuffer convertFromProtoFormat(com.google.protobuf.ByteString byteString)
public static com.google.protobuf.ByteString convertToProtoFormat(ByteBuffer byteBuffer)
public static YarnProtos.QueueStateProto convertToProtoFormat(QueueState e)
public static QueueState convertFromProtoFormat(YarnProtos.QueueStateProto e)
public static YarnProtos.QueueACLProto convertToProtoFormat(QueueACL e)
public static QueueACL convertFromProtoFormat(YarnProtos.QueueACLProto e)
public static YarnProtos.ApplicationAccessTypeProto convertToProtoFormat(ApplicationAccessType e)
public static ApplicationAccessType convertFromProtoFormat(YarnProtos.ApplicationAccessTypeProto e)
Copyright © 2013 Apache Software Foundation. All rights reserved.