org.apache.hadoop.yarn.util
Class ProtoUtils
java.lang.Object
org.apache.hadoop.yarn.util.ProtoUtils
public class ProtoUtils
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ProtoUtils
public ProtoUtils()
convertToProtoFormat
public static YarnProtos.ContainerStateProto convertToProtoFormat(ContainerState e)
convertFromProtoFormat
public static ContainerState convertFromProtoFormat(YarnProtos.ContainerStateProto e)
convertToProtoFormat
public static YarnProtos.YarnApplicationStateProto convertToProtoFormat(YarnApplicationState e)
convertFromProtoFormat
public static YarnApplicationState convertFromProtoFormat(YarnProtos.YarnApplicationStateProto e)
convertToProtoFormat
public static YarnProtos.ApplicationResourceUsageReportProto convertToProtoFormat(ApplicationResourceUsageReport e)
convertFromProtoFormat
public static ApplicationResourceUsageReport convertFromProtoFormat(YarnProtos.ApplicationResourceUsageReportProto e)
convertToProtoFormat
public static YarnProtos.FinalApplicationStatusProto convertToProtoFormat(FinalApplicationStatus e)
convertFromProtoFormat
public static FinalApplicationStatus convertFromProtoFormat(YarnProtos.FinalApplicationStatusProto e)
convertToProtoFormat
public static YarnProtos.LocalResourceTypeProto convertToProtoFormat(LocalResourceType e)
convertFromProtoFormat
public static LocalResourceType convertFromProtoFormat(YarnProtos.LocalResourceTypeProto e)
convertToProtoFormat
public static YarnProtos.LocalResourceVisibilityProto convertToProtoFormat(LocalResourceVisibility e)
convertFromProtoFormat
public static LocalResourceVisibility convertFromProtoFormat(YarnProtos.LocalResourceVisibilityProto e)
convertFromProtoFormat
public static ByteBuffer convertFromProtoFormat(com.google.protobuf.ByteString byteString)
convertToProtoFormat
public static com.google.protobuf.ByteString convertToProtoFormat(ByteBuffer byteBuffer)
convertToProtoFormat
public static YarnProtos.QueueStateProto convertToProtoFormat(QueueState e)
convertFromProtoFormat
public static QueueState convertFromProtoFormat(YarnProtos.QueueStateProto e)
convertToProtoFormat
public static YarnProtos.QueueACLProto convertToProtoFormat(QueueACL e)
convertFromProtoFormat
public static QueueACL convertFromProtoFormat(YarnProtos.QueueACLProto e)
convertToProtoFormat
public static YarnProtos.ApplicationAccessTypeProto convertToProtoFormat(ApplicationAccessType e)
convertFromProtoFormat
public static ApplicationAccessType convertFromProtoFormat(YarnProtos.ApplicationAccessTypeProto e)
Copyright © 2012 Apache Software Foundation. All Rights Reserved.