org.apache.hadoop.yarn.api.records.impl.pb
Class ProtoBase<T extends com.google.protobuf.Message>
java.lang.Object
org.apache.hadoop.yarn.api.records.impl.pb.ProtoBase<T>
@InterfaceAudience.Private
@InterfaceStability.Unstable
public abstract class ProtoBase<T extends com.google.protobuf.Message>
- extends Object
ProtoBase
public ProtoBase()
getProto
public abstract T getProto()
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
equals
public boolean equals(Object other)
- Overrides:
equals in class Object
toString
public String toString()
- Overrides:
toString in class Object
convertFromProtoFormat
protected final ByteBuffer convertFromProtoFormat(com.google.protobuf.ByteString byteString)
convertToProtoFormat
protected final com.google.protobuf.ByteString convertToProtoFormat(ByteBuffer byteBuffer)
Copyright © 2014 Apache Software Foundation. All Rights Reserved.