org.apache.hadoop.ipc.protobuf
Class IpcConnectionContextProtos.UserInformationProto.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<IpcConnectionContextProtos.UserInformationProto.Builder>
              extended by org.apache.hadoop.ipc.protobuf.IpcConnectionContextProtos.UserInformationProto.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable, IpcConnectionContextProtos.UserInformationProtoOrBuilder
Enclosing class:
IpcConnectionContextProtos.UserInformationProto

public static final class IpcConnectionContextProtos.UserInformationProto.Builder
extends com.google.protobuf.GeneratedMessage.Builder<IpcConnectionContextProtos.UserInformationProto.Builder>
implements IpcConnectionContextProtos.UserInformationProtoOrBuilder

Protobuf type hadoop.common.UserInformationProto


 Spec for UserInformationProto is specified in ProtoUtil#makeIpcConnectionContext
 


Method Summary
 IpcConnectionContextProtos.UserInformationProto build()
           
 IpcConnectionContextProtos.UserInformationProto buildPartial()
           
 IpcConnectionContextProtos.UserInformationProto.Builder clear()
           
 IpcConnectionContextProtos.UserInformationProto.Builder clearEffectiveUser()
          optional string effectiveUser = 1;
 IpcConnectionContextProtos.UserInformationProto.Builder clearRealUser()
          optional string realUser = 2;
 IpcConnectionContextProtos.UserInformationProto.Builder clone()
           
 IpcConnectionContextProtos.UserInformationProto getDefaultInstanceForType()
           
static com.google.protobuf.Descriptors.Descriptor getDescriptor()
           
 com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
           
 String getEffectiveUser()
          optional string effectiveUser = 1;
 com.google.protobuf.ByteString getEffectiveUserBytes()
          optional string effectiveUser = 1;
 String getRealUser()
          optional string realUser = 2;
 com.google.protobuf.ByteString getRealUserBytes()
          optional string realUser = 2;
 boolean hasEffectiveUser()
          optional string effectiveUser = 1;
 boolean hasRealUser()
          optional string realUser = 2;
protected  com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
           
 boolean isInitialized()
           
 IpcConnectionContextProtos.UserInformationProto.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
 IpcConnectionContextProtos.UserInformationProto.Builder mergeFrom(IpcConnectionContextProtos.UserInformationProto other)
           
 IpcConnectionContextProtos.UserInformationProto.Builder mergeFrom(com.google.protobuf.Message other)
           
 IpcConnectionContextProtos.UserInformationProto.Builder setEffectiveUser(String value)
          optional string effectiveUser = 1;
 IpcConnectionContextProtos.UserInformationProto.Builder setEffectiveUserBytes(com.google.protobuf.ByteString value)
          optional string effectiveUser = 1;
 IpcConnectionContextProtos.UserInformationProto.Builder setRealUser(String value)
          optional string realUser = 2;
 IpcConnectionContextProtos.UserInformationProto.Builder setRealUserBytes(com.google.protobuf.ByteString value)
          optional string realUser = 2;
 
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<IpcConnectionContextProtos.UserInformationProto.Builder>

clear

public IpcConnectionContextProtos.UserInformationProto.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<IpcConnectionContextProtos.UserInformationProto.Builder>

clone

public IpcConnectionContextProtos.UserInformationProto.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<IpcConnectionContextProtos.UserInformationProto.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<IpcConnectionContextProtos.UserInformationProto.Builder>

getDefaultInstanceForType

public IpcConnectionContextProtos.UserInformationProto getDefaultInstanceForType()
Specified by:
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
Specified by:
getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder

build

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

buildPartial

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

mergeFrom

public IpcConnectionContextProtos.UserInformationProto.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<IpcConnectionContextProtos.UserInformationProto.Builder>

mergeFrom

public IpcConnectionContextProtos.UserInformationProto.Builder mergeFrom(IpcConnectionContextProtos.UserInformationProto other)

isInitialized

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

mergeFrom

public IpcConnectionContextProtos.UserInformationProto.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<IpcConnectionContextProtos.UserInformationProto.Builder>
Throws:
IOException

hasEffectiveUser

public boolean hasEffectiveUser()
optional string effectiveUser = 1;

Specified by:
hasEffectiveUser in interface IpcConnectionContextProtos.UserInformationProtoOrBuilder

getEffectiveUser

public String getEffectiveUser()
optional string effectiveUser = 1;

Specified by:
getEffectiveUser in interface IpcConnectionContextProtos.UserInformationProtoOrBuilder

getEffectiveUserBytes

public com.google.protobuf.ByteString getEffectiveUserBytes()
optional string effectiveUser = 1;

Specified by:
getEffectiveUserBytes in interface IpcConnectionContextProtos.UserInformationProtoOrBuilder

setEffectiveUser

public IpcConnectionContextProtos.UserInformationProto.Builder setEffectiveUser(String value)
optional string effectiveUser = 1;


clearEffectiveUser

public IpcConnectionContextProtos.UserInformationProto.Builder clearEffectiveUser()
optional string effectiveUser = 1;


setEffectiveUserBytes

public IpcConnectionContextProtos.UserInformationProto.Builder setEffectiveUserBytes(com.google.protobuf.ByteString value)
optional string effectiveUser = 1;


hasRealUser

public boolean hasRealUser()
optional string realUser = 2;

Specified by:
hasRealUser in interface IpcConnectionContextProtos.UserInformationProtoOrBuilder

getRealUser

public String getRealUser()
optional string realUser = 2;

Specified by:
getRealUser in interface IpcConnectionContextProtos.UserInformationProtoOrBuilder

getRealUserBytes

public com.google.protobuf.ByteString getRealUserBytes()
optional string realUser = 2;

Specified by:
getRealUserBytes in interface IpcConnectionContextProtos.UserInformationProtoOrBuilder

setRealUser

public IpcConnectionContextProtos.UserInformationProto.Builder setRealUser(String value)
optional string realUser = 2;


clearRealUser

public IpcConnectionContextProtos.UserInformationProto.Builder clearRealUser()
optional string realUser = 2;


setRealUserBytes

public IpcConnectionContextProtos.UserInformationProto.Builder setRealUserBytes(com.google.protobuf.ByteString value)
optional string realUser = 2;



Copyright © 2014 Apache Software Foundation. All Rights Reserved.