@InterfaceAudience.Private @InterfaceStability.Unstable public class ProtoUtils extends Object
Constructor and Description |
---|
ProtoUtils() |
Modifier and Type | Method and Description |
---|---|
static ByteBuffer |
convertFromProtoFormat(com.google.protobuf.ByteString byteString) |
static org.apache.hadoop.yarn.api.records.AMCommand |
convertFromProtoFormat(org.apache.hadoop.yarn.proto.YarnProtos.AMCommandProto e) |
static org.apache.hadoop.yarn.api.records.ApplicationAccessType |
convertFromProtoFormat(org.apache.hadoop.yarn.proto.YarnProtos.ApplicationAccessTypeProto e) |
static org.apache.hadoop.yarn.api.records.ApplicationResourceUsageReport |
convertFromProtoFormat(org.apache.hadoop.yarn.proto.YarnProtos.ApplicationResourceUsageReportProto e) |
static org.apache.hadoop.yarn.api.records.ContainerState |
convertFromProtoFormat(org.apache.hadoop.yarn.proto.YarnProtos.ContainerStateProto e) |
static org.apache.hadoop.yarn.api.records.FinalApplicationStatus |
convertFromProtoFormat(org.apache.hadoop.yarn.proto.YarnProtos.FinalApplicationStatusProto e) |
static org.apache.hadoop.yarn.api.records.LocalResourceType |
convertFromProtoFormat(org.apache.hadoop.yarn.proto.YarnProtos.LocalResourceTypeProto e) |
static org.apache.hadoop.yarn.api.records.LocalResourceVisibility |
convertFromProtoFormat(org.apache.hadoop.yarn.proto.YarnProtos.LocalResourceVisibilityProto e) |
static org.apache.hadoop.yarn.api.records.NodeId |
convertFromProtoFormat(org.apache.hadoop.yarn.proto.YarnProtos.NodeIdProto e) |
static org.apache.hadoop.yarn.api.records.NodeState |
convertFromProtoFormat(org.apache.hadoop.yarn.proto.YarnProtos.NodeStateProto e) |
static org.apache.hadoop.yarn.api.records.QueueACL |
convertFromProtoFormat(org.apache.hadoop.yarn.proto.YarnProtos.QueueACLProto e) |
static org.apache.hadoop.yarn.api.records.QueueState |
convertFromProtoFormat(org.apache.hadoop.yarn.proto.YarnProtos.QueueStateProto e) |
static org.apache.hadoop.yarn.api.records.ReservationRequestInterpreter |
convertFromProtoFormat(org.apache.hadoop.yarn.proto.YarnProtos.ReservationRequestInterpreterProto e) |
static org.apache.hadoop.yarn.api.records.YarnApplicationAttemptState |
convertFromProtoFormat(org.apache.hadoop.yarn.proto.YarnProtos.YarnApplicationAttemptStateProto e) |
static org.apache.hadoop.yarn.api.records.YarnApplicationState |
convertFromProtoFormat(org.apache.hadoop.yarn.proto.YarnProtos.YarnApplicationStateProto e) |
static org.apache.hadoop.yarn.api.protocolrecords.ApplicationsRequestScope |
convertFromProtoFormat(org.apache.hadoop.yarn.proto.YarnServiceProtos.ApplicationsRequestScopeProto e) |
static org.apache.hadoop.yarn.proto.YarnProtos.AMCommandProto |
convertToProtoFormat(org.apache.hadoop.yarn.api.records.AMCommand e) |
static org.apache.hadoop.yarn.proto.YarnProtos.ApplicationAccessTypeProto |
convertToProtoFormat(org.apache.hadoop.yarn.api.records.ApplicationAccessType e) |
static org.apache.hadoop.yarn.proto.YarnProtos.ApplicationResourceUsageReportProto |
convertToProtoFormat(org.apache.hadoop.yarn.api.records.ApplicationResourceUsageReport e) |
static org.apache.hadoop.yarn.proto.YarnServiceProtos.ApplicationsRequestScopeProto |
convertToProtoFormat(org.apache.hadoop.yarn.api.protocolrecords.ApplicationsRequestScope e) |
static com.google.protobuf.ByteString |
convertToProtoFormat(ByteBuffer byteBuffer) |
static org.apache.hadoop.yarn.proto.YarnProtos.ContainerStateProto |
convertToProtoFormat(org.apache.hadoop.yarn.api.records.ContainerState e) |
static org.apache.hadoop.yarn.proto.YarnProtos.FinalApplicationStatusProto |
convertToProtoFormat(org.apache.hadoop.yarn.api.records.FinalApplicationStatus e) |
static org.apache.hadoop.yarn.proto.YarnProtos.LocalResourceTypeProto |
convertToProtoFormat(org.apache.hadoop.yarn.api.records.LocalResourceType e) |
static org.apache.hadoop.yarn.proto.YarnProtos.LocalResourceVisibilityProto |
convertToProtoFormat(org.apache.hadoop.yarn.api.records.LocalResourceVisibility e) |
static org.apache.hadoop.yarn.proto.YarnProtos.NodeIdProto |
convertToProtoFormat(org.apache.hadoop.yarn.api.records.NodeId e) |
static org.apache.hadoop.yarn.proto.YarnProtos.NodeStateProto |
convertToProtoFormat(org.apache.hadoop.yarn.api.records.NodeState e) |
static org.apache.hadoop.yarn.proto.YarnProtos.QueueACLProto |
convertToProtoFormat(org.apache.hadoop.yarn.api.records.QueueACL e) |
static org.apache.hadoop.yarn.proto.YarnProtos.QueueStateProto |
convertToProtoFormat(org.apache.hadoop.yarn.api.records.QueueState e) |
static org.apache.hadoop.yarn.proto.YarnProtos.ReservationRequestInterpreterProto |
convertToProtoFormat(org.apache.hadoop.yarn.api.records.ReservationRequestInterpreter e) |
static org.apache.hadoop.yarn.proto.YarnProtos.YarnApplicationAttemptStateProto |
convertToProtoFormat(org.apache.hadoop.yarn.api.records.YarnApplicationAttemptState e) |
static org.apache.hadoop.yarn.proto.YarnProtos.YarnApplicationStateProto |
convertToProtoFormat(org.apache.hadoop.yarn.api.records.YarnApplicationState e) |
public static org.apache.hadoop.yarn.proto.YarnProtos.ContainerStateProto convertToProtoFormat(org.apache.hadoop.yarn.api.records.ContainerState e)
public static org.apache.hadoop.yarn.api.records.ContainerState convertFromProtoFormat(org.apache.hadoop.yarn.proto.YarnProtos.ContainerStateProto e)
public static org.apache.hadoop.yarn.proto.YarnProtos.NodeStateProto convertToProtoFormat(org.apache.hadoop.yarn.api.records.NodeState e)
public static org.apache.hadoop.yarn.api.records.NodeState convertFromProtoFormat(org.apache.hadoop.yarn.proto.YarnProtos.NodeStateProto e)
public static org.apache.hadoop.yarn.proto.YarnProtos.NodeIdProto convertToProtoFormat(org.apache.hadoop.yarn.api.records.NodeId e)
public static org.apache.hadoop.yarn.api.records.NodeId convertFromProtoFormat(org.apache.hadoop.yarn.proto.YarnProtos.NodeIdProto e)
public static org.apache.hadoop.yarn.proto.YarnProtos.YarnApplicationStateProto convertToProtoFormat(org.apache.hadoop.yarn.api.records.YarnApplicationState e)
public static org.apache.hadoop.yarn.api.records.YarnApplicationState convertFromProtoFormat(org.apache.hadoop.yarn.proto.YarnProtos.YarnApplicationStateProto e)
public static org.apache.hadoop.yarn.proto.YarnProtos.YarnApplicationAttemptStateProto convertToProtoFormat(org.apache.hadoop.yarn.api.records.YarnApplicationAttemptState e)
public static org.apache.hadoop.yarn.api.records.YarnApplicationAttemptState convertFromProtoFormat(org.apache.hadoop.yarn.proto.YarnProtos.YarnApplicationAttemptStateProto e)
public static org.apache.hadoop.yarn.proto.YarnServiceProtos.ApplicationsRequestScopeProto convertToProtoFormat(org.apache.hadoop.yarn.api.protocolrecords.ApplicationsRequestScope e)
public static org.apache.hadoop.yarn.api.protocolrecords.ApplicationsRequestScope convertFromProtoFormat(org.apache.hadoop.yarn.proto.YarnServiceProtos.ApplicationsRequestScopeProto e)
public static org.apache.hadoop.yarn.proto.YarnProtos.ApplicationResourceUsageReportProto convertToProtoFormat(org.apache.hadoop.yarn.api.records.ApplicationResourceUsageReport e)
public static org.apache.hadoop.yarn.api.records.ApplicationResourceUsageReport convertFromProtoFormat(org.apache.hadoop.yarn.proto.YarnProtos.ApplicationResourceUsageReportProto e)
public static org.apache.hadoop.yarn.proto.YarnProtos.FinalApplicationStatusProto convertToProtoFormat(org.apache.hadoop.yarn.api.records.FinalApplicationStatus e)
public static org.apache.hadoop.yarn.api.records.FinalApplicationStatus convertFromProtoFormat(org.apache.hadoop.yarn.proto.YarnProtos.FinalApplicationStatusProto e)
public static org.apache.hadoop.yarn.proto.YarnProtos.LocalResourceTypeProto convertToProtoFormat(org.apache.hadoop.yarn.api.records.LocalResourceType e)
public static org.apache.hadoop.yarn.api.records.LocalResourceType convertFromProtoFormat(org.apache.hadoop.yarn.proto.YarnProtos.LocalResourceTypeProto e)
public static org.apache.hadoop.yarn.proto.YarnProtos.LocalResourceVisibilityProto convertToProtoFormat(org.apache.hadoop.yarn.api.records.LocalResourceVisibility e)
public static org.apache.hadoop.yarn.api.records.LocalResourceVisibility convertFromProtoFormat(org.apache.hadoop.yarn.proto.YarnProtos.LocalResourceVisibilityProto e)
public static org.apache.hadoop.yarn.proto.YarnProtos.AMCommandProto convertToProtoFormat(org.apache.hadoop.yarn.api.records.AMCommand e)
public static org.apache.hadoop.yarn.api.records.AMCommand convertFromProtoFormat(org.apache.hadoop.yarn.proto.YarnProtos.AMCommandProto e)
public static ByteBuffer convertFromProtoFormat(com.google.protobuf.ByteString byteString)
public static com.google.protobuf.ByteString convertToProtoFormat(ByteBuffer byteBuffer)
public static org.apache.hadoop.yarn.proto.YarnProtos.QueueStateProto convertToProtoFormat(org.apache.hadoop.yarn.api.records.QueueState e)
public static org.apache.hadoop.yarn.api.records.QueueState convertFromProtoFormat(org.apache.hadoop.yarn.proto.YarnProtos.QueueStateProto e)
public static org.apache.hadoop.yarn.proto.YarnProtos.QueueACLProto convertToProtoFormat(org.apache.hadoop.yarn.api.records.QueueACL e)
public static org.apache.hadoop.yarn.api.records.QueueACL convertFromProtoFormat(org.apache.hadoop.yarn.proto.YarnProtos.QueueACLProto e)
public static org.apache.hadoop.yarn.proto.YarnProtos.ApplicationAccessTypeProto convertToProtoFormat(org.apache.hadoop.yarn.api.records.ApplicationAccessType e)
public static org.apache.hadoop.yarn.api.records.ApplicationAccessType convertFromProtoFormat(org.apache.hadoop.yarn.proto.YarnProtos.ApplicationAccessTypeProto e)
public static org.apache.hadoop.yarn.proto.YarnProtos.ReservationRequestInterpreterProto convertToProtoFormat(org.apache.hadoop.yarn.api.records.ReservationRequestInterpreter e)
public static org.apache.hadoop.yarn.api.records.ReservationRequestInterpreter convertFromProtoFormat(org.apache.hadoop.yarn.proto.YarnProtos.ReservationRequestInterpreterProto e)
Copyright © 2017 Apache Software Foundation. All Rights Reserved.