org.apache.hadoop.yarn.api.records.impl.pb

## Class ProtoUtils

- java.lang.Object
- - org.apache.hadoop.yarn.api.records.impl.pb.ProtoUtils

-     @InterfaceAudience.Private
       @InterfaceStability.Unstable
      public class ProtoUtils
      extends Object

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ProtoUtils()`

  - ### Method Summary

    All Methods Static Methods Concrete Methods
    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.ApplicationTimeoutType` | `convertFromProtoFormat(org.apache.hadoop.yarn.proto.YarnProtos.ApplicationTimeoutTypeProto e)`
    `static ContainerIdPBImpl` | `convertFromProtoFormat(org.apache.hadoop.yarn.proto.YarnProtos.ContainerIdProto p)`
    `static ContainerPBImpl` | `convertFromProtoFormat(org.apache.hadoop.yarn.proto.YarnProtos.ContainerProto t)`
    `static org.apache.hadoop.yarn.api.records.ContainerRetryPolicy` | `convertFromProtoFormat(org.apache.hadoop.yarn.proto.YarnProtos.ContainerRetryPolicyProto e)`
    `static org.apache.hadoop.yarn.api.records.ContainerState` | `convertFromProtoFormat(org.apache.hadoop.yarn.proto.YarnProtos.ContainerStateProto e)`
    `static ContainerStatusPBImpl` | `convertFromProtoFormat(org.apache.hadoop.yarn.proto.YarnProtos.ContainerStatusProto p)`
    `static org.apache.hadoop.yarn.api.records.ContainerSubState` | `convertFromProtoFormat(org.apache.hadoop.yarn.proto.YarnProtos.ContainerSubStateProto e)`
    `static org.apache.hadoop.yarn.server.api.ContainerType` | `convertFromProtoFormat(org.apache.hadoop.yarn.proto.YarnProtos.ContainerTypeProto e)`
    `static org.apache.hadoop.yarn.api.records.ExecutionType` | `convertFromProtoFormat(org.apache.hadoop.yarn.proto.YarnProtos.ExecutionTypeProto e)`
    `static org.apache.hadoop.yarn.api.records.ExecutionTypeRequest` | `convertFromProtoFormat(org.apache.hadoop.yarn.proto.YarnProtos.ExecutionTypeRequestProto 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.LogAggregationStatus` | `convertFromProtoFormat(org.apache.hadoop.yarn.proto.YarnProtos.LogAggregationStatusProto 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.NodeUpdateType` | `convertFromProtoFormat(org.apache.hadoop.yarn.proto.YarnProtos.NodeUpdateTypeProto e)`
    `static org.apache.hadoop.yarn.api.resource.PlacementConstraint.TargetExpression.TargetType` | `convertFromProtoFormat(org.apache.hadoop.yarn.proto.YarnProtos.PlacementConstraintTargetProto.TargetType t)`
    `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.RejectionReason` | `convertFromProtoFormat(org.apache.hadoop.yarn.proto.YarnProtos.RejectionReasonProto 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.Resource` | `convertFromProtoFormat(org.apache.hadoop.yarn.proto.YarnProtos.ResourceProto resource)`
    `static org.apache.hadoop.yarn.api.protocolrecords.ResourceTypes` | `convertFromProtoFormat(org.apache.hadoop.yarn.proto.YarnProtos.ResourceTypesProto e)`
    `static org.apache.hadoop.yarn.api.resource.PlacementConstraint.TimedPlacementConstraint.DelayUnit` | `convertFromProtoFormat(org.apache.hadoop.yarn.proto.YarnProtos.TimedPlacementConstraintProto.DelayUnit u)`
    `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.api.records.ContainerUpdateType` | `convertFromProtoFormat(org.apache.hadoop.yarn.proto.YarnServiceProtos.ContainerUpdateTypeProto e)`
    `static UpdateContainerErrorPBImpl` | `convertFromProtoFormat(org.apache.hadoop.yarn.proto.YarnServiceProtos.UpdateContainerErrorProto p)`
    `static UpdateContainerRequestPBImpl` | `convertFromProtoFormat(org.apache.hadoop.yarn.proto.YarnServiceProtos.UpdateContainerRequestProto p)`
    `static List<org.apache.hadoop.yarn.proto.YarnProtos.StringLongMapProto>` | `convertMapToStringLongMapProtoList(Map<String,Long> map)`
    `static org.apache.hadoop.yarn.proto.YarnProtos.ResourceTypesProto` | `converToProtoFormat(org.apache.hadoop.yarn.api.protocolrecords.ResourceTypes e)`
    `static Map<String,Long>` | `convertStringLongMapProtoListToMap(List<org.apache.hadoop.yarn.proto.YarnProtos.StringLongMapProto> pList)`
    `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 org.apache.hadoop.yarn.proto.YarnProtos.ApplicationTimeoutTypeProto` | `convertToProtoFormat(org.apache.hadoop.yarn.api.records.ApplicationTimeoutType e)`
    `static com.google.protobuf.ByteString` | `convertToProtoFormat(ByteBuffer byteBuffer)`
    `static org.apache.hadoop.yarn.proto.YarnProtos.ContainerProto` | `convertToProtoFormat(org.apache.hadoop.yarn.api.records.Container t)`
    `static org.apache.hadoop.yarn.proto.YarnProtos.ContainerIdProto` | `convertToProtoFormat(org.apache.hadoop.yarn.api.records.ContainerId t)`
    `static org.apache.hadoop.yarn.proto.YarnProtos.ContainerRetryPolicyProto` | `convertToProtoFormat(org.apache.hadoop.yarn.api.records.ContainerRetryPolicy e)`
    `static org.apache.hadoop.yarn.proto.YarnProtos.ContainerStateProto` | `convertToProtoFormat(org.apache.hadoop.yarn.api.records.ContainerState e)`
    `static org.apache.hadoop.yarn.proto.YarnProtos.ContainerSubStateProto` | `convertToProtoFormat(org.apache.hadoop.yarn.api.records.ContainerSubState e)`
    `static org.apache.hadoop.yarn.proto.YarnProtos.ContainerTypeProto` | `convertToProtoFormat(org.apache.hadoop.yarn.server.api.ContainerType e)`
    `static org.apache.hadoop.yarn.proto.YarnServiceProtos.ContainerUpdateTypeProto` | `convertToProtoFormat(org.apache.hadoop.yarn.api.records.ContainerUpdateType e)`
    `static org.apache.hadoop.yarn.proto.YarnProtos.ExecutionTypeProto` | `convertToProtoFormat(org.apache.hadoop.yarn.api.records.ExecutionType e)`
    `static org.apache.hadoop.yarn.proto.YarnProtos.ExecutionTypeRequestProto` | `convertToProtoFormat(org.apache.hadoop.yarn.api.records.ExecutionTypeRequest 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.LogAggregationStatusProto` | `convertToProtoFormat(org.apache.hadoop.yarn.api.records.LogAggregationStatus 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.NodeUpdateTypeProto` | `convertToProtoFormat(org.apache.hadoop.yarn.api.records.NodeUpdateType e)`
    `static org.apache.hadoop.yarn.proto.YarnProtos.PlacementConstraintTargetProto.TargetType` | `convertToProtoFormat(org.apache.hadoop.yarn.api.resource.PlacementConstraint.TargetExpression.TargetType t)`
    `static org.apache.hadoop.yarn.proto.YarnProtos.TimedPlacementConstraintProto.DelayUnit` | `convertToProtoFormat(org.apache.hadoop.yarn.api.resource.PlacementConstraint.TimedPlacementConstraint.DelayUnit u)`
    `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.RejectionReasonProto` | `convertToProtoFormat(org.apache.hadoop.yarn.api.records.RejectionReason 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.ResourceProto` | `convertToProtoFormat(org.apache.hadoop.yarn.api.records.Resource r)`
    `static org.apache.hadoop.yarn.proto.YarnServiceProtos.UpdateContainerErrorProto` | `convertToProtoFormat(org.apache.hadoop.yarn.api.records.UpdateContainerError t)`
    `static org.apache.hadoop.yarn.proto.YarnServiceProtos.UpdateContainerRequestProto` | `convertToProtoFormat(org.apache.hadoop.yarn.api.records.UpdateContainerRequest t)`
    `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)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### ProtoUtils

          public ProtoUtils()

  - ### Method Detail

    - #### convertToProtoFormat

          public static org.apache.hadoop.yarn.proto.YarnProtos.ContainerStateProto convertToProtoFormat(org.apache.hadoop.yarn.api.records.ContainerState e)

    - #### convertFromProtoFormat

          public static org.apache.hadoop.yarn.api.records.ContainerState convertFromProtoFormat(org.apache.hadoop.yarn.proto.YarnProtos.ContainerStateProto e)

    - #### convertToProtoFormat

          public static org.apache.hadoop.yarn.proto.YarnProtos.ContainerSubStateProto convertToProtoFormat(org.apache.hadoop.yarn.api.records.ContainerSubState e)

    - #### convertFromProtoFormat

          public static org.apache.hadoop.yarn.api.records.ContainerSubState convertFromProtoFormat(org.apache.hadoop.yarn.proto.YarnProtos.ContainerSubStateProto e)

    - #### convertToProtoFormat

          public static org.apache.hadoop.yarn.proto.YarnProtos.NodeStateProto convertToProtoFormat(org.apache.hadoop.yarn.api.records.NodeState e)

    - #### convertFromProtoFormat

          public static org.apache.hadoop.yarn.api.records.NodeState convertFromProtoFormat(org.apache.hadoop.yarn.proto.YarnProtos.NodeStateProto e)

    - #### convertToProtoFormat

          public static org.apache.hadoop.yarn.proto.YarnProtos.NodeIdProto convertToProtoFormat(org.apache.hadoop.yarn.api.records.NodeId e)

    - #### convertFromProtoFormat

          public static org.apache.hadoop.yarn.api.records.NodeId convertFromProtoFormat(org.apache.hadoop.yarn.proto.YarnProtos.NodeIdProto e)

    - #### convertToProtoFormat

          public static org.apache.hadoop.yarn.proto.YarnProtos.YarnApplicationStateProto convertToProtoFormat(org.apache.hadoop.yarn.api.records.YarnApplicationState e)

    - #### convertFromProtoFormat

          public static org.apache.hadoop.yarn.api.records.YarnApplicationState convertFromProtoFormat(org.apache.hadoop.yarn.proto.YarnProtos.YarnApplicationStateProto e)

    - #### convertToProtoFormat

          public static org.apache.hadoop.yarn.proto.YarnProtos.YarnApplicationAttemptStateProto convertToProtoFormat(org.apache.hadoop.yarn.api.records.YarnApplicationAttemptState e)

    - #### convertFromProtoFormat

          public static org.apache.hadoop.yarn.api.records.YarnApplicationAttemptState convertFromProtoFormat(org.apache.hadoop.yarn.proto.YarnProtos.YarnApplicationAttemptStateProto e)

    - #### convertToProtoFormat

          public static org.apache.hadoop.yarn.proto.YarnServiceProtos.ApplicationsRequestScopeProto convertToProtoFormat(org.apache.hadoop.yarn.api.protocolrecords.ApplicationsRequestScope e)

    - #### convertFromProtoFormat

          public static org.apache.hadoop.yarn.api.protocolrecords.ApplicationsRequestScope convertFromProtoFormat(org.apache.hadoop.yarn.proto.YarnServiceProtos.ApplicationsRequestScopeProto e)

    - #### convertToProtoFormat

          public static org.apache.hadoop.yarn.proto.YarnProtos.ApplicationResourceUsageReportProto convertToProtoFormat(org.apache.hadoop.yarn.api.records.ApplicationResourceUsageReport e)

    - #### convertFromProtoFormat

          public static org.apache.hadoop.yarn.api.records.ApplicationResourceUsageReport convertFromProtoFormat(org.apache.hadoop.yarn.proto.YarnProtos.ApplicationResourceUsageReportProto e)

    - #### convertToProtoFormat

          public static org.apache.hadoop.yarn.proto.YarnProtos.FinalApplicationStatusProto convertToProtoFormat(org.apache.hadoop.yarn.api.records.FinalApplicationStatus e)

    - #### convertFromProtoFormat

          public static org.apache.hadoop.yarn.api.records.FinalApplicationStatus convertFromProtoFormat(org.apache.hadoop.yarn.proto.YarnProtos.FinalApplicationStatusProto e)

    - #### convertToProtoFormat

          public static org.apache.hadoop.yarn.proto.YarnProtos.LocalResourceTypeProto convertToProtoFormat(org.apache.hadoop.yarn.api.records.LocalResourceType e)

    - #### convertFromProtoFormat

          public static org.apache.hadoop.yarn.api.records.LocalResourceType convertFromProtoFormat(org.apache.hadoop.yarn.proto.YarnProtos.LocalResourceTypeProto e)

    - #### convertToProtoFormat

          public static org.apache.hadoop.yarn.proto.YarnProtos.LocalResourceVisibilityProto convertToProtoFormat(org.apache.hadoop.yarn.api.records.LocalResourceVisibility e)

    - #### convertFromProtoFormat

          public static org.apache.hadoop.yarn.api.records.LocalResourceVisibility convertFromProtoFormat(org.apache.hadoop.yarn.proto.YarnProtos.LocalResourceVisibilityProto e)

    - #### convertToProtoFormat

          public static org.apache.hadoop.yarn.proto.YarnProtos.AMCommandProto convertToProtoFormat(org.apache.hadoop.yarn.api.records.AMCommand e)

    - #### convertFromProtoFormat

          public static org.apache.hadoop.yarn.api.records.AMCommand convertFromProtoFormat(org.apache.hadoop.yarn.proto.YarnProtos.AMCommandProto e)

    - #### convertToProtoFormat

          public static org.apache.hadoop.yarn.proto.YarnProtos.RejectionReasonProto convertToProtoFormat(org.apache.hadoop.yarn.api.records.RejectionReason e)

    - #### convertFromProtoFormat

          public static org.apache.hadoop.yarn.api.records.RejectionReason convertFromProtoFormat(org.apache.hadoop.yarn.proto.YarnProtos.RejectionReasonProto e)

    - #### convertFromProtoFormat

          public static ByteBuffer convertFromProtoFormat(com.google.protobuf.ByteString byteString)

    - #### convertToProtoFormat

          public static com.google.protobuf.ByteString convertToProtoFormat(ByteBuffer byteBuffer)

    - #### convertToProtoFormat

          public static org.apache.hadoop.yarn.proto.YarnProtos.QueueStateProto convertToProtoFormat(org.apache.hadoop.yarn.api.records.QueueState e)

    - #### convertFromProtoFormat

          public static org.apache.hadoop.yarn.api.records.QueueState convertFromProtoFormat(org.apache.hadoop.yarn.proto.YarnProtos.QueueStateProto e)

    - #### convertToProtoFormat

          public static org.apache.hadoop.yarn.proto.YarnProtos.QueueACLProto convertToProtoFormat(org.apache.hadoop.yarn.api.records.QueueACL e)

    - #### convertFromProtoFormat

          public static org.apache.hadoop.yarn.api.records.QueueACL convertFromProtoFormat(org.apache.hadoop.yarn.proto.YarnProtos.QueueACLProto e)

    - #### convertToProtoFormat

          public static org.apache.hadoop.yarn.proto.YarnProtos.ApplicationAccessTypeProto convertToProtoFormat(org.apache.hadoop.yarn.api.records.ApplicationAccessType e)

    - #### convertFromProtoFormat

          public static org.apache.hadoop.yarn.api.records.ApplicationAccessType convertFromProtoFormat(org.apache.hadoop.yarn.proto.YarnProtos.ApplicationAccessTypeProto e)

    - #### convertToProtoFormat

          public static org.apache.hadoop.yarn.proto.YarnProtos.ApplicationTimeoutTypeProto convertToProtoFormat(org.apache.hadoop.yarn.api.records.ApplicationTimeoutType e)

    - #### convertFromProtoFormat

          public static org.apache.hadoop.yarn.api.records.ApplicationTimeoutType convertFromProtoFormat(org.apache.hadoop.yarn.proto.YarnProtos.ApplicationTimeoutTypeProto e)

    - #### convertToProtoFormat

          public static org.apache.hadoop.yarn.proto.YarnProtos.ReservationRequestInterpreterProto convertToProtoFormat(org.apache.hadoop.yarn.api.records.ReservationRequestInterpreter e)

    - #### convertFromProtoFormat

          public static org.apache.hadoop.yarn.api.records.ReservationRequestInterpreter convertFromProtoFormat(org.apache.hadoop.yarn.proto.YarnProtos.ReservationRequestInterpreterProto e)

    - #### convertToProtoFormat

          public static org.apache.hadoop.yarn.proto.YarnProtos.LogAggregationStatusProto convertToProtoFormat(org.apache.hadoop.yarn.api.records.LogAggregationStatus e)

    - #### convertFromProtoFormat

          public static org.apache.hadoop.yarn.api.records.LogAggregationStatus convertFromProtoFormat(org.apache.hadoop.yarn.proto.YarnProtos.LogAggregationStatusProto e)

    - #### convertToProtoFormat

          public static org.apache.hadoop.yarn.proto.YarnProtos.ContainerTypeProto convertToProtoFormat(org.apache.hadoop.yarn.server.api.ContainerType e)

    - #### convertFromProtoFormat

          public static org.apache.hadoop.yarn.server.api.ContainerType convertFromProtoFormat(org.apache.hadoop.yarn.proto.YarnProtos.ContainerTypeProto e)

    - #### convertToProtoFormat

          public static org.apache.hadoop.yarn.proto.YarnProtos.NodeUpdateTypeProto convertToProtoFormat(org.apache.hadoop.yarn.api.records.NodeUpdateType e)

    - #### convertFromProtoFormat

          public static org.apache.hadoop.yarn.api.records.NodeUpdateType convertFromProtoFormat(org.apache.hadoop.yarn.proto.YarnProtos.NodeUpdateTypeProto e)

    - #### convertToProtoFormat

          public static org.apache.hadoop.yarn.proto.YarnProtos.ExecutionTypeProto convertToProtoFormat(org.apache.hadoop.yarn.api.records.ExecutionType e)

    - #### convertFromProtoFormat

          public static org.apache.hadoop.yarn.api.records.ExecutionType convertFromProtoFormat(org.apache.hadoop.yarn.proto.YarnProtos.ExecutionTypeProto e)

    - #### convertToProtoFormat

          public static org.apache.hadoop.yarn.proto.YarnServiceProtos.ContainerUpdateTypeProto convertToProtoFormat(org.apache.hadoop.yarn.api.records.ContainerUpdateType e)

    - #### convertFromProtoFormat

          public static org.apache.hadoop.yarn.api.records.ContainerUpdateType convertFromProtoFormat(org.apache.hadoop.yarn.proto.YarnServiceProtos.ContainerUpdateTypeProto e)

    - #### convertToProtoFormat

          public static org.apache.hadoop.yarn.proto.YarnProtos.ResourceProto convertToProtoFormat(org.apache.hadoop.yarn.api.records.Resource r)

    - #### convertFromProtoFormat

          public static org.apache.hadoop.yarn.api.records.Resource convertFromProtoFormat(org.apache.hadoop.yarn.proto.YarnProtos.ResourceProto resource)

    - #### convertToProtoFormat

          public static org.apache.hadoop.yarn.proto.YarnProtos.ContainerRetryPolicyProto convertToProtoFormat(org.apache.hadoop.yarn.api.records.ContainerRetryPolicy e)

    - #### convertFromProtoFormat

          public static org.apache.hadoop.yarn.api.records.ContainerRetryPolicy convertFromProtoFormat(org.apache.hadoop.yarn.proto.YarnProtos.ContainerRetryPolicyProto e)

    - #### convertToProtoFormat

          public static org.apache.hadoop.yarn.proto.YarnProtos.ExecutionTypeRequestProto convertToProtoFormat(org.apache.hadoop.yarn.api.records.ExecutionTypeRequest e)

    - #### convertFromProtoFormat

          public static org.apache.hadoop.yarn.api.records.ExecutionTypeRequest convertFromProtoFormat(org.apache.hadoop.yarn.proto.YarnProtos.ExecutionTypeRequestProto e)

    - #### convertToProtoFormat

          public static org.apache.hadoop.yarn.proto.YarnProtos.ContainerProto convertToProtoFormat(org.apache.hadoop.yarn.api.records.Container t)

    - #### convertFromProtoFormat

          public static ContainerPBImpl convertFromProtoFormat(org.apache.hadoop.yarn.proto.YarnProtos.ContainerProto t)

    - #### convertFromProtoFormat

          public static ContainerStatusPBImpl convertFromProtoFormat(org.apache.hadoop.yarn.proto.YarnProtos.ContainerStatusProto p)

    - #### convertFromProtoFormat

          public static ContainerIdPBImpl convertFromProtoFormat(org.apache.hadoop.yarn.proto.YarnProtos.ContainerIdProto p)

    - #### convertToProtoFormat

          public static org.apache.hadoop.yarn.proto.YarnProtos.ContainerIdProto convertToProtoFormat(org.apache.hadoop.yarn.api.records.ContainerId t)

    - #### convertFromProtoFormat

          public static UpdateContainerRequestPBImpl convertFromProtoFormat(org.apache.hadoop.yarn.proto.YarnServiceProtos.UpdateContainerRequestProto p)

    - #### convertToProtoFormat

          public static org.apache.hadoop.yarn.proto.YarnServiceProtos.UpdateContainerRequestProto convertToProtoFormat(org.apache.hadoop.yarn.api.records.UpdateContainerRequest t)

    - #### convertFromProtoFormat

          public static UpdateContainerErrorPBImpl convertFromProtoFormat(org.apache.hadoop.yarn.proto.YarnServiceProtos.UpdateContainerErrorProto p)

    - #### convertToProtoFormat

          public static org.apache.hadoop.yarn.proto.YarnServiceProtos.UpdateContainerErrorProto convertToProtoFormat(org.apache.hadoop.yarn.api.records.UpdateContainerError t)

    - #### converToProtoFormat

          public static org.apache.hadoop.yarn.proto.YarnProtos.ResourceTypesProto converToProtoFormat(org.apache.hadoop.yarn.api.protocolrecords.ResourceTypes e)

    - #### convertFromProtoFormat

          public static org.apache.hadoop.yarn.api.protocolrecords.ResourceTypes convertFromProtoFormat(org.apache.hadoop.yarn.proto.YarnProtos.ResourceTypesProto e)

    - #### convertStringLongMapProtoListToMap

          public static Map<String,Long> convertStringLongMapProtoListToMap(List<org.apache.hadoop.yarn.proto.YarnProtos.StringLongMapProto> pList)

    - #### convertMapToStringLongMapProtoList

          public static List<org.apache.hadoop.yarn.proto.YarnProtos.StringLongMapProto> convertMapToStringLongMapProtoList(Map<String,Long> map)

    - #### convertToProtoFormat

          public static org.apache.hadoop.yarn.proto.YarnProtos.PlacementConstraintTargetProto.TargetType convertToProtoFormat(org.apache.hadoop.yarn.api.resource.PlacementConstraint.TargetExpression.TargetType t)

    - #### convertFromProtoFormat

          public static org.apache.hadoop.yarn.api.resource.PlacementConstraint.TargetExpression.TargetType convertFromProtoFormat(org.apache.hadoop.yarn.proto.YarnProtos.PlacementConstraintTargetProto.TargetType t)

    - #### convertToProtoFormat

          public static org.apache.hadoop.yarn.proto.YarnProtos.TimedPlacementConstraintProto.DelayUnit convertToProtoFormat(org.apache.hadoop.yarn.api.resource.PlacementConstraint.TimedPlacementConstraint.DelayUnit u)

    - #### convertFromProtoFormat

          public static org.apache.hadoop.yarn.api.resource.PlacementConstraint.TimedPlacementConstraint.DelayUnit convertFromProtoFormat(org.apache.hadoop.yarn.proto.YarnProtos.TimedPlacementConstraintProto.DelayUnit u)

Copyright © 2008–2022 Apache Software Foundation. All rights reserved.