Class ProtoBase<T extends org.apache.hadoop.thirdparty.protobuf.Message>
java.lang.Object
org.apache.hadoop.yarn.api.records.impl.pb.ProtoBase<T>
@Private
@Unstable
public abstract class ProtoBase<T extends org.apache.hadoop.thirdparty.protobuf.Message>
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected final ByteBufferconvertFromProtoFormat(org.apache.hadoop.thirdparty.protobuf.ByteString byteString) protected final org.apache.hadoop.thirdparty.protobuf.ByteStringconvertToProtoFormat(ByteBuffer byteBuffer) booleanabstract TgetProto()inthashCode()toString()
-
Constructor Details
-
ProtoBase
public ProtoBase()
-
-
Method Details
-
getProto
-
hashCode
public int hashCode() -
equals
-
toString
-
convertFromProtoFormat
protected final ByteBuffer convertFromProtoFormat(org.apache.hadoop.thirdparty.protobuf.ByteString byteString) -
convertToProtoFormat
protected final org.apache.hadoop.thirdparty.protobuf.ByteString convertToProtoFormat(ByteBuffer byteBuffer)
-