public class GetPluginInfoResponseProtoTranslator<A,B> extends Object implements ProtoTranslator<org.apache.hadoop.yarn.api.protocolrecords.GetPluginInfoResponse,csi.v0.Csi.GetPluginInfoResponse>
Constructor and Description |
---|
GetPluginInfoResponseProtoTranslator() |
Modifier and Type | Method and Description |
---|---|
org.apache.hadoop.yarn.api.protocolrecords.GetPluginInfoResponse |
convertFrom(csi.v0.Csi.GetPluginInfoResponse messageB)
Convert message from type B to type A.
|
csi.v0.Csi.GetPluginInfoResponse |
convertTo(org.apache.hadoop.yarn.api.protocolrecords.GetPluginInfoResponse messageA)
Convert message from type A to type B.
|
public GetPluginInfoResponseProtoTranslator()
public csi.v0.Csi.GetPluginInfoResponse convertTo(org.apache.hadoop.yarn.api.protocolrecords.GetPluginInfoResponse messageA) throws org.apache.hadoop.yarn.exceptions.YarnException
ProtoTranslator
convertTo
in interface ProtoTranslator<org.apache.hadoop.yarn.api.protocolrecords.GetPluginInfoResponse,csi.v0.Csi.GetPluginInfoResponse>
org.apache.hadoop.yarn.exceptions.YarnException
public org.apache.hadoop.yarn.api.protocolrecords.GetPluginInfoResponse convertFrom(csi.v0.Csi.GetPluginInfoResponse messageB) throws org.apache.hadoop.yarn.exceptions.YarnException
ProtoTranslator
convertFrom
in interface ProtoTranslator<org.apache.hadoop.yarn.api.protocolrecords.GetPluginInfoResponse,csi.v0.Csi.GetPluginInfoResponse>
org.apache.hadoop.yarn.exceptions.YarnException
Copyright © 2008–2021 Apache Software Foundation. All rights reserved.