@InterfaceAudience.Private @InterfaceStability.Unstable public abstract class ProtoBase<T extends org.apache.hadoop.thirdparty.protobuf.Message> extends Object
Constructor and Description |
---|
ProtoBase() |
Modifier and Type | Method and Description |
---|---|
protected ByteBuffer |
convertFromProtoFormat(org.apache.hadoop.thirdparty.protobuf.ByteString byteString) |
protected org.apache.hadoop.thirdparty.protobuf.ByteString |
convertToProtoFormat(ByteBuffer byteBuffer) |
boolean |
equals(Object other) |
abstract T |
getProto() |
int |
hashCode() |
String |
toString() |
public abstract T getProto()
protected final ByteBuffer convertFromProtoFormat(org.apache.hadoop.thirdparty.protobuf.ByteString byteString)
protected final org.apache.hadoop.thirdparty.protobuf.ByteString convertToProtoFormat(ByteBuffer byteBuffer)
Copyright © 2008–2022 Apache Software Foundation. All rights reserved.