@InterfaceAudience.Private
@InterfaceStability.Unstable
public class TokenPBImpl
extends org.apache.hadoop.yarn.api.records.Token
| Constructor and Description |
|---|
TokenPBImpl() |
TokenPBImpl(org.apache.hadoop.security.proto.SecurityProtos.TokenProto proto) |
| Modifier and Type | Method and Description |
|---|---|
protected ByteBuffer |
convertFromProtoFormat(com.google.protobuf.ByteString byteString) |
protected com.google.protobuf.ByteString |
convertToProtoFormat(ByteBuffer byteBuffer) |
boolean |
equals(Object other) |
ByteBuffer |
getIdentifier() |
String |
getKind() |
ByteBuffer |
getPassword() |
org.apache.hadoop.security.proto.SecurityProtos.TokenProto |
getProto() |
String |
getService() |
int |
hashCode() |
void |
setIdentifier(ByteBuffer identifier) |
void |
setKind(String kind) |
void |
setPassword(ByteBuffer password) |
void |
setService(String service) |
String |
toString() |
public TokenPBImpl()
public TokenPBImpl(org.apache.hadoop.security.proto.SecurityProtos.TokenProto proto)
public org.apache.hadoop.security.proto.SecurityProtos.TokenProto getProto()
protected final ByteBuffer convertFromProtoFormat(com.google.protobuf.ByteString byteString)
protected final com.google.protobuf.ByteString convertToProtoFormat(ByteBuffer byteBuffer)
public ByteBuffer getIdentifier()
getIdentifier in class org.apache.hadoop.yarn.api.records.Tokenpublic void setIdentifier(ByteBuffer identifier)
setIdentifier in class org.apache.hadoop.yarn.api.records.Tokenpublic ByteBuffer getPassword()
getPassword in class org.apache.hadoop.yarn.api.records.Tokenpublic void setPassword(ByteBuffer password)
setPassword in class org.apache.hadoop.yarn.api.records.Tokenpublic String getKind()
getKind in class org.apache.hadoop.yarn.api.records.Tokenpublic void setKind(String kind)
setKind in class org.apache.hadoop.yarn.api.records.Tokenpublic String getService()
getService in class org.apache.hadoop.yarn.api.records.Tokenpublic void setService(String service)
setService in class org.apache.hadoop.yarn.api.records.TokenCopyright © 2008–2022 Apache Software Foundation. All rights reserved.