Class TokenPBImpl
java.lang.Object
org.apache.hadoop.yarn.api.records.Token
org.apache.hadoop.yarn.api.records.impl.pb.TokenPBImpl
@Private
@Unstable
public class TokenPBImpl
extends org.apache.hadoop.yarn.api.records.Token
-
Constructor Summary
ConstructorsConstructorDescriptionTokenPBImpl(org.apache.hadoop.security.proto.SecurityProtos.TokenProto proto) -
Method Summary
Modifier and TypeMethodDescriptionprotected final ByteBufferconvertFromProtoFormat(org.apache.hadoop.thirdparty.protobuf.ByteString byteString) protected final org.apache.hadoop.thirdparty.protobuf.ByteStringconvertToProtoFormat(ByteBuffer byteBuffer) booleangetKind()org.apache.hadoop.security.proto.SecurityProtos.TokenProtogetProto()inthashCode()voidsetIdentifier(ByteBuffer identifier) voidvoidsetPassword(ByteBuffer password) voidsetService(String service) toString()Methods inherited from class org.apache.hadoop.yarn.api.records.Token
newInstance
-
Constructor Details
-
TokenPBImpl
public TokenPBImpl() -
TokenPBImpl
public TokenPBImpl(org.apache.hadoop.security.proto.SecurityProtos.TokenProto proto)
-
-
Method Details
-
getProto
public org.apache.hadoop.security.proto.SecurityProtos.TokenProto getProto() -
hashCode
public int hashCode() -
equals
-
convertFromProtoFormat
protected final ByteBuffer convertFromProtoFormat(org.apache.hadoop.thirdparty.protobuf.ByteString byteString) -
convertToProtoFormat
protected final org.apache.hadoop.thirdparty.protobuf.ByteString convertToProtoFormat(ByteBuffer byteBuffer) -
getIdentifier
- Specified by:
getIdentifierin classorg.apache.hadoop.yarn.api.records.Token
-
setIdentifier
- Specified by:
setIdentifierin classorg.apache.hadoop.yarn.api.records.Token
-
getPassword
- Specified by:
getPasswordin classorg.apache.hadoop.yarn.api.records.Token
-
setPassword
- Specified by:
setPasswordin classorg.apache.hadoop.yarn.api.records.Token
-
getKind
- Specified by:
getKindin classorg.apache.hadoop.yarn.api.records.Token
-
setKind
- Specified by:
setKindin classorg.apache.hadoop.yarn.api.records.Token
-
getService
- Specified by:
getServicein classorg.apache.hadoop.yarn.api.records.Token
-
setService
- Specified by:
setServicein classorg.apache.hadoop.yarn.api.records.Token
-
toString
-