org.apache.hadoop.hbase.protobuf.generated
Class AuthenticationProtos.Token.Builder

java.lang.Object
  extended by com.google.protobuf.AbstractMessageLite.Builder<BuilderType>
      extended by com.google.protobuf.AbstractMessage.Builder<BuilderType>
          extended by com.google.protobuf.GeneratedMessage.Builder<AuthenticationProtos.Token.Builder>
              extended by org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.Token.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable, AuthenticationProtos.TokenOrBuilder
Enclosing class:
AuthenticationProtos.Token

public static final class AuthenticationProtos.Token.Builder
extends com.google.protobuf.GeneratedMessage.Builder<AuthenticationProtos.Token.Builder>
implements AuthenticationProtos.TokenOrBuilder

Protobuf type Token

 Serialization of the org.apache.hadoop.security.token.Token class
 Note that this is a Hadoop class, so fields may change!
 


Method Summary
 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;
 
Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, getAllFields, getField, getFieldBuilder, getParentForChildren, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, isClean, markClean, mergeUnknownFields, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields
 
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
 
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, newUninitializedMessageException
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField
 

Method Detail

getDescriptor

public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()

internalGetFieldAccessorTable

protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Specified by:
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<AuthenticationProtos.Token.Builder>

clear

public AuthenticationProtos.Token.Builder clear()
Specified by:
clear in interface com.google.protobuf.Message.Builder
Specified by:
clear in interface com.google.protobuf.MessageLite.Builder
Overrides:
clear in class com.google.protobuf.GeneratedMessage.Builder<AuthenticationProtos.Token.Builder>

clone

public AuthenticationProtos.Token.Builder clone()
Specified by:
clone in interface com.google.protobuf.Message.Builder
Specified by:
clone in interface com.google.protobuf.MessageLite.Builder
Overrides:
clone in class com.google.protobuf.GeneratedMessage.Builder<AuthenticationProtos.Token.Builder>

getDescriptorForType

public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
Specified by:
getDescriptorForType in interface com.google.protobuf.Message.Builder
Specified by:
getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
Overrides:
getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<AuthenticationProtos.Token.Builder>

getDefaultInstanceForType

public AuthenticationProtos.Token getDefaultInstanceForType()
Specified by:
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
Specified by:
getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder

build

public AuthenticationProtos.Token build()
Specified by:
build in interface com.google.protobuf.Message.Builder
Specified by:
build in interface com.google.protobuf.MessageLite.Builder

buildPartial

public AuthenticationProtos.Token buildPartial()
Specified by:
buildPartial in interface com.google.protobuf.Message.Builder
Specified by:
buildPartial in interface com.google.protobuf.MessageLite.Builder

mergeFrom

public AuthenticationProtos.Token.Builder mergeFrom(com.google.protobuf.Message other)
Specified by:
mergeFrom in interface com.google.protobuf.Message.Builder
Overrides:
mergeFrom in class com.google.protobuf.AbstractMessage.Builder<AuthenticationProtos.Token.Builder>

mergeFrom

public AuthenticationProtos.Token.Builder mergeFrom(AuthenticationProtos.Token other)

isInitialized

public final boolean isInitialized()
Specified by:
isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
Overrides:
isInitialized in class com.google.protobuf.GeneratedMessage.Builder<AuthenticationProtos.Token.Builder>

mergeFrom

public AuthenticationProtos.Token.Builder mergeFrom(com.google.protobuf.CodedInputStream input,
                                                    com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                             throws IOException
Specified by:
mergeFrom in interface com.google.protobuf.Message.Builder
Specified by:
mergeFrom in interface com.google.protobuf.MessageLite.Builder
Overrides:
mergeFrom in class com.google.protobuf.AbstractMessage.Builder<AuthenticationProtos.Token.Builder>
Throws:
IOException

hasIdentifier

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
 

Specified by:
hasIdentifier in interface AuthenticationProtos.TokenOrBuilder

getIdentifier

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
 

Specified by:
getIdentifier in interface AuthenticationProtos.TokenOrBuilder

setIdentifier

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
 


clearIdentifier

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
 


hasPassword

public boolean hasPassword()
optional bytes password = 2;

Specified by:
hasPassword in interface AuthenticationProtos.TokenOrBuilder

getPassword

public com.google.protobuf.ByteString getPassword()
optional bytes password = 2;

Specified by:
getPassword in interface AuthenticationProtos.TokenOrBuilder

setPassword

public AuthenticationProtos.Token.Builder setPassword(com.google.protobuf.ByteString value)
optional bytes password = 2;


clearPassword

public AuthenticationProtos.Token.Builder clearPassword()
optional bytes password = 2;


hasService

public boolean hasService()
optional bytes service = 3;

Specified by:
hasService in interface AuthenticationProtos.TokenOrBuilder

getService

public com.google.protobuf.ByteString getService()
optional bytes service = 3;

Specified by:
getService in interface AuthenticationProtos.TokenOrBuilder

setService

public AuthenticationProtos.Token.Builder setService(com.google.protobuf.ByteString value)
optional bytes service = 3;


clearService

public AuthenticationProtos.Token.Builder clearService()
optional bytes service = 3;



Copyright © 2013 The Apache Software Foundation. All Rights Reserved.