public static final class RPCProtos.UserInformation.Builder extends com.google.protobuf.GeneratedMessage.Builder<RPCProtos.UserInformation.Builder> implements RPCProtos.UserInformationOrBuilder
UserInformation
User Information proto. Included in ConnectionHeader on connection setup
Modifier and Type | Method and Description |
---|---|
RPCProtos.UserInformation |
build() |
RPCProtos.UserInformation |
buildPartial() |
RPCProtos.UserInformation.Builder |
clear() |
RPCProtos.UserInformation.Builder |
clearEffectiveUser()
required string effective_user = 1; |
RPCProtos.UserInformation.Builder |
clearRealUser()
optional string real_user = 2; |
RPCProtos.UserInformation.Builder |
clone() |
RPCProtos.UserInformation |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getEffectiveUser()
required string effective_user = 1; |
com.google.protobuf.ByteString |
getEffectiveUserBytes()
required string effective_user = 1; |
String |
getRealUser()
optional string real_user = 2; |
com.google.protobuf.ByteString |
getRealUserBytes()
optional string real_user = 2; |
boolean |
hasEffectiveUser()
required string effective_user = 1; |
boolean |
hasRealUser()
optional string real_user = 2; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
RPCProtos.UserInformation.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
RPCProtos.UserInformation.Builder |
mergeFrom(com.google.protobuf.Message other) |
RPCProtos.UserInformation.Builder |
mergeFrom(RPCProtos.UserInformation other) |
RPCProtos.UserInformation.Builder |
setEffectiveUser(String value)
required string effective_user = 1; |
RPCProtos.UserInformation.Builder |
setEffectiveUserBytes(com.google.protobuf.ByteString value)
required string effective_user = 1; |
RPCProtos.UserInformation.Builder |
setRealUser(String value)
optional string real_user = 2; |
RPCProtos.UserInformation.Builder |
setRealUserBytes(com.google.protobuf.ByteString value)
optional string real_user = 2; |
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<RPCProtos.UserInformation.Builder>
public RPCProtos.UserInformation.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<RPCProtos.UserInformation.Builder>
public RPCProtos.UserInformation.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<RPCProtos.UserInformation.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<RPCProtos.UserInformation.Builder>
public RPCProtos.UserInformation getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public RPCProtos.UserInformation build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public RPCProtos.UserInformation buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public RPCProtos.UserInformation.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<RPCProtos.UserInformation.Builder>
public RPCProtos.UserInformation.Builder mergeFrom(RPCProtos.UserInformation other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage.Builder<RPCProtos.UserInformation.Builder>
public RPCProtos.UserInformation.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<RPCProtos.UserInformation.Builder>
IOException
public boolean hasEffectiveUser()
required string effective_user = 1;
hasEffectiveUser
in interface RPCProtos.UserInformationOrBuilder
public String getEffectiveUser()
required string effective_user = 1;
getEffectiveUser
in interface RPCProtos.UserInformationOrBuilder
public com.google.protobuf.ByteString getEffectiveUserBytes()
required string effective_user = 1;
getEffectiveUserBytes
in interface RPCProtos.UserInformationOrBuilder
public RPCProtos.UserInformation.Builder setEffectiveUser(String value)
required string effective_user = 1;
public RPCProtos.UserInformation.Builder clearEffectiveUser()
required string effective_user = 1;
public RPCProtos.UserInformation.Builder setEffectiveUserBytes(com.google.protobuf.ByteString value)
required string effective_user = 1;
public boolean hasRealUser()
optional string real_user = 2;
hasRealUser
in interface RPCProtos.UserInformationOrBuilder
public String getRealUser()
optional string real_user = 2;
getRealUser
in interface RPCProtos.UserInformationOrBuilder
public com.google.protobuf.ByteString getRealUserBytes()
optional string real_user = 2;
getRealUserBytes
in interface RPCProtos.UserInformationOrBuilder
public RPCProtos.UserInformation.Builder setRealUser(String value)
optional string real_user = 2;
public RPCProtos.UserInformation.Builder clearRealUser()
optional string real_user = 2;
public RPCProtos.UserInformation.Builder setRealUserBytes(com.google.protobuf.ByteString value)
optional string real_user = 2;
Copyright © 2007-2016 The Apache Software Foundation. All Rights Reserved.