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, setUnknownFields
findInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
addAll, newUninitializedMessageException
public 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.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessage.Builder<AuthenticationProtos.Token.Builder>
public AuthenticationProtos.Token.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessage.Builder<AuthenticationProtos.Token.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessage.Builder<AuthenticationProtos.Token.Builder>
public AuthenticationProtos.Token getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public AuthenticationProtos.Token build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public AuthenticationProtos.Token buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public AuthenticationProtos.Token.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
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.MessageLiteOrBuilder
isInitialized
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.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<AuthenticationProtos.Token.Builder>
IOException
public 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.TokenOrBuilder
public 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.TokenOrBuilder
public 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.TokenOrBuilder
public com.google.protobuf.ByteString getPassword()
optional bytes password = 2;
getPassword
in interface AuthenticationProtos.TokenOrBuilder
public 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.TokenOrBuilder
public com.google.protobuf.ByteString getService()
optional bytes service = 3;
getService
in interface AuthenticationProtos.TokenOrBuilder
public AuthenticationProtos.Token.Builder setService(com.google.protobuf.ByteString value)
optional bytes service = 3;
public AuthenticationProtos.Token.Builder clearService()
optional bytes service = 3;
Copyright © 2007-2016 The Apache Software Foundation. All Rights Reserved.