public static final class AuthenticationProtos.Token.Builder extends com.google.protobuf.GeneratedMessage.Builder<AuthenticationProtos.Token.Builder> 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(AuthenticationProtos.Token other) |
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; |
addRepeatedField, clearField, getAllFields, getField, getFieldBuilder, getParentForChildren, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, isClean, markClean, mergeUnknownFields, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFieldsfindInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageExceptionaddAll, newUninitializedMessageExceptionpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<AuthenticationProtos.Token.Builder>public AuthenticationProtos.Token.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<AuthenticationProtos.Token.Builder>public AuthenticationProtos.Token.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessage.Builder<AuthenticationProtos.Token.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<AuthenticationProtos.Token.Builder>public AuthenticationProtos.Token getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic AuthenticationProtos.Token build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic AuthenticationProtos.Token buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic AuthenticationProtos.Token.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<AuthenticationProtos.Token.Builder>public AuthenticationProtos.Token.Builder mergeFrom(AuthenticationProtos.Token other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<AuthenticationProtos.Token.Builder>public AuthenticationProtos.Token.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<AuthenticationProtos.Token.Builder>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;Copyright © 2014 The Apache Software Foundation. All rights reserved.