public static final class AuthenticationProtos.Token.Builder extends <any> implements AuthenticationProtos.TokenOrBuilder
Token
 Serialization of the org.apache.hadoop.security.token.Token class Note that this is a Hadoop class, so fields may change!
| Modifier and Type | Method and Description | 
|---|---|
AuthenticationProtos.Token | 
build()  | 
AuthenticationProtos.Token | 
buildPartial()  | 
AuthenticationProtos.Token.Builder | 
clear()  | 
AuthenticationProtos.Token.Builder | 
clearIdentifier()
optional bytes identifier = 1; | 
AuthenticationProtos.Token.Builder | 
clearPassword()
optional bytes password = 2; | 
AuthenticationProtos.Token.Builder | 
clearService()
optional bytes service = 3; | 
AuthenticationProtos.Token.Builder | 
clone()  | 
AuthenticationProtos.Token | 
getDefaultInstanceForType()  | 
static com.google.protobuf.Descriptors.Descriptor | 
getDescriptor()  | 
com.google.protobuf.Descriptors.Descriptor | 
getDescriptorForType()  | 
com.google.protobuf.ByteString | 
getIdentifier()
optional bytes identifier = 1; | 
com.google.protobuf.ByteString | 
getPassword()
optional bytes password = 2; | 
com.google.protobuf.ByteString | 
getService()
optional bytes service = 3; | 
boolean | 
hasIdentifier()
optional bytes identifier = 1; | 
boolean | 
hasPassword()
optional bytes password = 2; | 
boolean | 
hasService()
optional bytes service = 3; | 
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable | 
internalGetFieldAccessorTable()  | 
boolean | 
isInitialized()  | 
AuthenticationProtos.Token.Builder | 
mergeFrom(com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)  | 
AuthenticationProtos.Token.Builder | 
mergeFrom(com.google.protobuf.Message other)  | 
AuthenticationProtos.Token.Builder | 
setIdentifier(com.google.protobuf.ByteString value)
optional bytes identifier = 1; | 
AuthenticationProtos.Token.Builder | 
setPassword(com.google.protobuf.ByteString value)
optional bytes password = 2; | 
AuthenticationProtos.Token.Builder | 
setService(com.google.protobuf.ByteString value)
optional bytes service = 3; | 
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
public AuthenticationProtos.Token.Builder clear()
public AuthenticationProtos.Token.Builder clone()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
public AuthenticationProtos.Token getDefaultInstanceForType()
public AuthenticationProtos.Token build()
public AuthenticationProtos.Token buildPartial()
public AuthenticationProtos.Token.Builder mergeFrom(com.google.protobuf.Message other)
public final boolean isInitialized()
public AuthenticationProtos.Token.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic boolean hasIdentifier()
optional bytes identifier = 1;
 the TokenIdentifier in serialized form Note: we can't use the protobuf directly because the Hadoop Token class only stores the serialized bytes
hasIdentifier in interface AuthenticationProtos.TokenOrBuilderpublic com.google.protobuf.ByteString getIdentifier()
optional bytes identifier = 1;
 the TokenIdentifier in serialized form Note: we can't use the protobuf directly because the Hadoop Token class only stores the serialized bytes
getIdentifier in interface AuthenticationProtos.TokenOrBuilderpublic AuthenticationProtos.Token.Builder setIdentifier(com.google.protobuf.ByteString value)
optional bytes identifier = 1;
 the TokenIdentifier in serialized form Note: we can't use the protobuf directly because the Hadoop Token class only stores the serialized bytes
public AuthenticationProtos.Token.Builder clearIdentifier()
optional bytes identifier = 1;
 the TokenIdentifier in serialized form Note: we can't use the protobuf directly because the Hadoop Token class only stores the serialized bytes
public boolean hasPassword()
optional bytes password = 2;hasPassword in interface AuthenticationProtos.TokenOrBuilderpublic com.google.protobuf.ByteString getPassword()
optional bytes password = 2;getPassword in interface AuthenticationProtos.TokenOrBuilderpublic AuthenticationProtos.Token.Builder setPassword(com.google.protobuf.ByteString value)
optional bytes password = 2;public AuthenticationProtos.Token.Builder clearPassword()
optional bytes password = 2;public boolean hasService()
optional bytes service = 3;hasService in interface AuthenticationProtos.TokenOrBuilderpublic com.google.protobuf.ByteString getService()
optional bytes service = 3;getService in interface AuthenticationProtos.TokenOrBuilderpublic AuthenticationProtos.Token.Builder setService(com.google.protobuf.ByteString value)
optional bytes service = 3;public AuthenticationProtos.Token.Builder clearService()
optional bytes service = 3;