public static final class V1beta1Authentication.UserInfo.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Authentication.UserInfo.Builder> implements V1beta1Authentication.UserInfoOrBuilder
UserInfo holds the information about the user needed to implement the user.Info interface.Protobuf type
k8s.io.api.authentication.v1beta1.UserInfo| Modifier and Type | Method and Description |
|---|---|
V1beta1Authentication.UserInfo.Builder |
addAllGroups(Iterable<String> values)
The names of groups this user is a part of.
|
V1beta1Authentication.UserInfo.Builder |
addGroups(String value)
The names of groups this user is a part of.
|
V1beta1Authentication.UserInfo.Builder |
addGroupsBytes(com.google.protobuf.ByteString value)
The names of groups this user is a part of.
|
V1beta1Authentication.UserInfo.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V1beta1Authentication.UserInfo |
build() |
V1beta1Authentication.UserInfo |
buildPartial() |
V1beta1Authentication.UserInfo.Builder |
clear() |
V1beta1Authentication.UserInfo.Builder |
clearExtra() |
V1beta1Authentication.UserInfo.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
V1beta1Authentication.UserInfo.Builder |
clearGroups()
The names of groups this user is a part of.
|
V1beta1Authentication.UserInfo.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
V1beta1Authentication.UserInfo.Builder |
clearUid()
A unique value that identifies this user across time.
|
V1beta1Authentication.UserInfo.Builder |
clearUsername()
The name that uniquely identifies this user among all active users.
|
V1beta1Authentication.UserInfo.Builder |
clone() |
boolean |
containsExtra(String key)
Any additional information provided by the authenticator.
|
V1beta1Authentication.UserInfo |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Map<String,V1beta1Authentication.ExtraValue> |
getExtra()
Deprecated.
|
int |
getExtraCount()
Any additional information provided by the authenticator.
|
Map<String,V1beta1Authentication.ExtraValue> |
getExtraMap()
Any additional information provided by the authenticator.
|
V1beta1Authentication.ExtraValue |
getExtraOrDefault(String key,
V1beta1Authentication.ExtraValue defaultValue)
Any additional information provided by the authenticator.
|
V1beta1Authentication.ExtraValue |
getExtraOrThrow(String key)
Any additional information provided by the authenticator.
|
String |
getGroups(int index)
The names of groups this user is a part of.
|
com.google.protobuf.ByteString |
getGroupsBytes(int index)
The names of groups this user is a part of.
|
int |
getGroupsCount()
The names of groups this user is a part of.
|
com.google.protobuf.ProtocolStringList |
getGroupsList()
The names of groups this user is a part of.
|
Map<String,V1beta1Authentication.ExtraValue> |
getMutableExtra()
Deprecated.
|
String |
getUid()
A unique value that identifies this user across time.
|
com.google.protobuf.ByteString |
getUidBytes()
A unique value that identifies this user across time.
|
String |
getUsername()
The name that uniquely identifies this user among all active users.
|
com.google.protobuf.ByteString |
getUsernameBytes()
The name that uniquely identifies this user among all active users.
|
boolean |
hasUid()
A unique value that identifies this user across time.
|
boolean |
hasUsername()
The name that uniquely identifies this user among all active users.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
protected com.google.protobuf.MapField |
internalGetMutableMapField(int number) |
boolean |
isInitialized() |
V1beta1Authentication.UserInfo.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
V1beta1Authentication.UserInfo.Builder |
mergeFrom(com.google.protobuf.Message other) |
V1beta1Authentication.UserInfo.Builder |
mergeFrom(V1beta1Authentication.UserInfo other) |
V1beta1Authentication.UserInfo.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
V1beta1Authentication.UserInfo.Builder |
putAllExtra(Map<String,V1beta1Authentication.ExtraValue> values)
Any additional information provided by the authenticator.
|
V1beta1Authentication.UserInfo.Builder |
putExtra(String key,
V1beta1Authentication.ExtraValue value)
Any additional information provided by the authenticator.
|
V1beta1Authentication.UserInfo.Builder |
removeExtra(String key)
Any additional information provided by the authenticator.
|
V1beta1Authentication.UserInfo.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V1beta1Authentication.UserInfo.Builder |
setGroups(int index,
String value)
The names of groups this user is a part of.
|
V1beta1Authentication.UserInfo.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
V1beta1Authentication.UserInfo.Builder |
setUid(String value)
A unique value that identifies this user across time.
|
V1beta1Authentication.UserInfo.Builder |
setUidBytes(com.google.protobuf.ByteString value)
A unique value that identifies this user across time.
|
V1beta1Authentication.UserInfo.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
V1beta1Authentication.UserInfo.Builder |
setUsername(String value)
The name that uniquely identifies this user among all active users.
|
V1beta1Authentication.UserInfo.Builder |
setUsernameBytes(com.google.protobuf.ByteString value)
The name that uniquely identifies this user among all active users.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Authentication.UserInfo.Builder>protected com.google.protobuf.MapField internalGetMutableMapField(int number)
internalGetMutableMapField in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Authentication.UserInfo.Builder>protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Authentication.UserInfo.Builder>public V1beta1Authentication.UserInfo.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Authentication.UserInfo.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.GeneratedMessageV3.Builder<V1beta1Authentication.UserInfo.Builder>public V1beta1Authentication.UserInfo getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic V1beta1Authentication.UserInfo build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic V1beta1Authentication.UserInfo buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic V1beta1Authentication.UserInfo.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Authentication.UserInfo.Builder>public V1beta1Authentication.UserInfo.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Authentication.UserInfo.Builder>public V1beta1Authentication.UserInfo.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Authentication.UserInfo.Builder>public V1beta1Authentication.UserInfo.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Authentication.UserInfo.Builder>public V1beta1Authentication.UserInfo.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Authentication.UserInfo.Builder>public V1beta1Authentication.UserInfo.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Authentication.UserInfo.Builder>public V1beta1Authentication.UserInfo.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<V1beta1Authentication.UserInfo.Builder>public V1beta1Authentication.UserInfo.Builder mergeFrom(V1beta1Authentication.UserInfo other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Authentication.UserInfo.Builder>public V1beta1Authentication.UserInfo.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<V1beta1Authentication.UserInfo.Builder>IOExceptionpublic boolean hasUsername()
The name that uniquely identifies this user among all active users. +optional
optional string username = 1;hasUsername in interface V1beta1Authentication.UserInfoOrBuilderpublic String getUsername()
The name that uniquely identifies this user among all active users. +optional
optional string username = 1;getUsername in interface V1beta1Authentication.UserInfoOrBuilderpublic com.google.protobuf.ByteString getUsernameBytes()
The name that uniquely identifies this user among all active users. +optional
optional string username = 1;getUsernameBytes in interface V1beta1Authentication.UserInfoOrBuilderpublic V1beta1Authentication.UserInfo.Builder setUsername(String value)
The name that uniquely identifies this user among all active users. +optional
optional string username = 1;public V1beta1Authentication.UserInfo.Builder clearUsername()
The name that uniquely identifies this user among all active users. +optional
optional string username = 1;public V1beta1Authentication.UserInfo.Builder setUsernameBytes(com.google.protobuf.ByteString value)
The name that uniquely identifies this user among all active users. +optional
optional string username = 1;public boolean hasUid()
A unique value that identifies this user across time. If this user is deleted and another user by the same name is added, they will have different UIDs. +optional
optional string uid = 2;hasUid in interface V1beta1Authentication.UserInfoOrBuilderpublic String getUid()
A unique value that identifies this user across time. If this user is deleted and another user by the same name is added, they will have different UIDs. +optional
optional string uid = 2;getUid in interface V1beta1Authentication.UserInfoOrBuilderpublic com.google.protobuf.ByteString getUidBytes()
A unique value that identifies this user across time. If this user is deleted and another user by the same name is added, they will have different UIDs. +optional
optional string uid = 2;getUidBytes in interface V1beta1Authentication.UserInfoOrBuilderpublic V1beta1Authentication.UserInfo.Builder setUid(String value)
A unique value that identifies this user across time. If this user is deleted and another user by the same name is added, they will have different UIDs. +optional
optional string uid = 2;public V1beta1Authentication.UserInfo.Builder clearUid()
A unique value that identifies this user across time. If this user is deleted and another user by the same name is added, they will have different UIDs. +optional
optional string uid = 2;public V1beta1Authentication.UserInfo.Builder setUidBytes(com.google.protobuf.ByteString value)
A unique value that identifies this user across time. If this user is deleted and another user by the same name is added, they will have different UIDs. +optional
optional string uid = 2;public com.google.protobuf.ProtocolStringList getGroupsList()
The names of groups this user is a part of. +optional
repeated string groups = 3;getGroupsList in interface V1beta1Authentication.UserInfoOrBuilderpublic int getGroupsCount()
The names of groups this user is a part of. +optional
repeated string groups = 3;getGroupsCount in interface V1beta1Authentication.UserInfoOrBuilderpublic String getGroups(int index)
The names of groups this user is a part of. +optional
repeated string groups = 3;getGroups in interface V1beta1Authentication.UserInfoOrBuilderpublic com.google.protobuf.ByteString getGroupsBytes(int index)
The names of groups this user is a part of. +optional
repeated string groups = 3;getGroupsBytes in interface V1beta1Authentication.UserInfoOrBuilderpublic V1beta1Authentication.UserInfo.Builder setGroups(int index, String value)
The names of groups this user is a part of. +optional
repeated string groups = 3;public V1beta1Authentication.UserInfo.Builder addGroups(String value)
The names of groups this user is a part of. +optional
repeated string groups = 3;public V1beta1Authentication.UserInfo.Builder addAllGroups(Iterable<String> values)
The names of groups this user is a part of. +optional
repeated string groups = 3;public V1beta1Authentication.UserInfo.Builder clearGroups()
The names of groups this user is a part of. +optional
repeated string groups = 3;public V1beta1Authentication.UserInfo.Builder addGroupsBytes(com.google.protobuf.ByteString value)
The names of groups this user is a part of. +optional
repeated string groups = 3;public int getExtraCount()
V1beta1Authentication.UserInfoOrBuilderAny additional information provided by the authenticator. +optional
map<string, .k8s.io.api.authentication.v1beta1.ExtraValue> extra = 4;getExtraCount in interface V1beta1Authentication.UserInfoOrBuilderpublic boolean containsExtra(String key)
Any additional information provided by the authenticator. +optional
map<string, .k8s.io.api.authentication.v1beta1.ExtraValue> extra = 4;containsExtra in interface V1beta1Authentication.UserInfoOrBuilder@Deprecated public Map<String,V1beta1Authentication.ExtraValue> getExtra()
getExtraMap() instead.getExtra in interface V1beta1Authentication.UserInfoOrBuilderpublic Map<String,V1beta1Authentication.ExtraValue> getExtraMap()
Any additional information provided by the authenticator. +optional
map<string, .k8s.io.api.authentication.v1beta1.ExtraValue> extra = 4;getExtraMap in interface V1beta1Authentication.UserInfoOrBuilderpublic V1beta1Authentication.ExtraValue getExtraOrDefault(String key, V1beta1Authentication.ExtraValue defaultValue)
Any additional information provided by the authenticator. +optional
map<string, .k8s.io.api.authentication.v1beta1.ExtraValue> extra = 4;getExtraOrDefault in interface V1beta1Authentication.UserInfoOrBuilderpublic V1beta1Authentication.ExtraValue getExtraOrThrow(String key)
Any additional information provided by the authenticator. +optional
map<string, .k8s.io.api.authentication.v1beta1.ExtraValue> extra = 4;getExtraOrThrow in interface V1beta1Authentication.UserInfoOrBuilderpublic V1beta1Authentication.UserInfo.Builder clearExtra()
public V1beta1Authentication.UserInfo.Builder removeExtra(String key)
Any additional information provided by the authenticator. +optional
map<string, .k8s.io.api.authentication.v1beta1.ExtraValue> extra = 4;@Deprecated public Map<String,V1beta1Authentication.ExtraValue> getMutableExtra()
public V1beta1Authentication.UserInfo.Builder putExtra(String key, V1beta1Authentication.ExtraValue value)
Any additional information provided by the authenticator. +optional
map<string, .k8s.io.api.authentication.v1beta1.ExtraValue> extra = 4;public V1beta1Authentication.UserInfo.Builder putAllExtra(Map<String,V1beta1Authentication.ExtraValue> values)
Any additional information provided by the authenticator. +optional
map<string, .k8s.io.api.authentication.v1beta1.ExtraValue> extra = 4;public final V1beta1Authentication.UserInfo.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Authentication.UserInfo.Builder>public final V1beta1Authentication.UserInfo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Authentication.UserInfo.Builder>Copyright © 2018. All rights reserved.