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
ProtoTranslatorconvertTo in interface ProtoTranslator<org.apache.hadoop.yarn.api.protocolrecords.GetPluginInfoResponse,csi.v0.Csi.GetPluginInfoResponse>org.apache.hadoop.yarn.exceptions.YarnExceptionpublic org.apache.hadoop.yarn.api.protocolrecords.GetPluginInfoResponse convertFrom(csi.v0.Csi.GetPluginInfoResponse messageB)
throws org.apache.hadoop.yarn.exceptions.YarnException
ProtoTranslatorconvertFrom in interface ProtoTranslator<org.apache.hadoop.yarn.api.protocolrecords.GetPluginInfoResponse,csi.v0.Csi.GetPluginInfoResponse>org.apache.hadoop.yarn.exceptions.YarnExceptionCopyright © 2008–2023 Apache Software Foundation. All rights reserved.