Package io.kubernetes.client.proto
Class V1Authentication.UserInfo.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<V1Authentication.UserInfo.Builder>
io.kubernetes.client.proto.V1Authentication.UserInfo.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,V1Authentication.UserInfoOrBuilder,Cloneable
- Enclosing class:
- V1Authentication.UserInfo
public static final class V1Authentication.UserInfo.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<V1Authentication.UserInfo.Builder>
implements V1Authentication.UserInfoOrBuilder
UserInfo holds the information about the user needed to implement the user.Info interface.Protobuf type
k8s.io.api.authentication.v1.UserInfo-
Method Summary
Modifier and TypeMethodDescriptionaddAllGroups(Iterable<String> values) The names of groups this user is a part of.The names of groups this user is a part of.addGroupsBytes(com.google.protobuf.ByteString value) The names of groups this user is a part of.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()clearField(com.google.protobuf.Descriptors.FieldDescriptor field) The names of groups this user is a part of.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) clearUid()A unique value that identifies this user across time.The name that uniquely identifies this user among all active users.clone()booleancontainsExtra(String key) Any additional information provided by the authenticator.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetExtra()Deprecated.intAny additional information provided by the authenticator.Any additional information provided by the authenticator.getExtraOrDefault(String key, V1Authentication.ExtraValue defaultValue) Any additional information provided by the authenticator.getExtraOrThrow(String key) Any additional information provided by the authenticator.getGroups(int index) The names of groups this user is a part of.com.google.protobuf.ByteStringgetGroupsBytes(int index) The names of groups this user is a part of.intThe names of groups this user is a part of.com.google.protobuf.ProtocolStringListThe names of groups this user is a part of.Deprecated.getUid()A unique value that identifies this user across time.com.google.protobuf.ByteStringA unique value that identifies this user across time.The name that uniquely identifies this user among all active users.com.google.protobuf.ByteStringThe name that uniquely identifies this user among all active users.booleanhasUid()A unique value that identifies this user across time.booleanThe name that uniquely identifies this user among all active users.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableprotected com.google.protobuf.MapFieldinternalGetMapField(int number) protected com.google.protobuf.MapFieldinternalGetMutableMapField(int number) final booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) putAllExtra(Map<String, V1Authentication.ExtraValue> values) Any additional information provided by the authenticator.putExtra(String key, V1Authentication.ExtraValue value) Any additional information provided by the authenticator.removeExtra(String key) Any additional information provided by the authenticator.The names of groups this user is a part of.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) A unique value that identifies this user across time.setUidBytes(com.google.protobuf.ByteString value) A unique value that identifies this user across time.setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setUsername(String value) The name that uniquely identifies this user among all active users.setUsernameBytes(com.google.protobuf.ByteString value) The name that uniquely identifies this user among all active users.Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number) - Overrides:
internalGetMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<V1Authentication.UserInfo.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number) - Overrides:
internalGetMutableMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<V1Authentication.UserInfo.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<V1Authentication.UserInfo.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<V1Authentication.UserInfo.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<V1Authentication.UserInfo.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<V1Authentication.UserInfo.Builder>
-
setField
public V1Authentication.UserInfo.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<V1Authentication.UserInfo.Builder>
-
clearField
public V1Authentication.UserInfo.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<V1Authentication.UserInfo.Builder>
-
clearOneof
public V1Authentication.UserInfo.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<V1Authentication.UserInfo.Builder>
-
setRepeatedField
public V1Authentication.UserInfo.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<V1Authentication.UserInfo.Builder>
-
addRepeatedField
public V1Authentication.UserInfo.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<V1Authentication.UserInfo.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<V1Authentication.UserInfo.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<V1Authentication.UserInfo.Builder>
-
mergeFrom
public V1Authentication.UserInfo.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<V1Authentication.UserInfo.Builder>- Throws:
IOException
-
hasUsername
public boolean hasUsername()The name that uniquely identifies this user among all active users. +optional
optional string username = 1;- Specified by:
hasUsernamein interfaceV1Authentication.UserInfoOrBuilder
-
getUsername
The name that uniquely identifies this user among all active users. +optional
optional string username = 1;- Specified by:
getUsernamein interfaceV1Authentication.UserInfoOrBuilder
-
getUsernameBytes
public com.google.protobuf.ByteString getUsernameBytes()The name that uniquely identifies this user among all active users. +optional
optional string username = 1;- Specified by:
getUsernameBytesin interfaceV1Authentication.UserInfoOrBuilder
-
setUsername
The name that uniquely identifies this user among all active users. +optional
optional string username = 1; -
clearUsername
The name that uniquely identifies this user among all active users. +optional
optional string username = 1; -
setUsernameBytes
The name that uniquely identifies this user among all active users. +optional
optional string username = 1; -
hasUid
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;- Specified by:
hasUidin interfaceV1Authentication.UserInfoOrBuilder
-
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;- Specified by:
getUidin interfaceV1Authentication.UserInfoOrBuilder
-
getUidBytes
public 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;- Specified by:
getUidBytesin interfaceV1Authentication.UserInfoOrBuilder
-
setUid
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; -
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; -
setUidBytes
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; -
getGroupsList
public com.google.protobuf.ProtocolStringList getGroupsList()The names of groups this user is a part of. +optional
repeated string groups = 3;- Specified by:
getGroupsListin interfaceV1Authentication.UserInfoOrBuilder
-
getGroupsCount
public int getGroupsCount()The names of groups this user is a part of. +optional
repeated string groups = 3;- Specified by:
getGroupsCountin interfaceV1Authentication.UserInfoOrBuilder
-
getGroups
The names of groups this user is a part of. +optional
repeated string groups = 3;- Specified by:
getGroupsin interfaceV1Authentication.UserInfoOrBuilder
-
getGroupsBytes
public com.google.protobuf.ByteString getGroupsBytes(int index) The names of groups this user is a part of. +optional
repeated string groups = 3;- Specified by:
getGroupsBytesin interfaceV1Authentication.UserInfoOrBuilder
-
setGroups
The names of groups this user is a part of. +optional
repeated string groups = 3; -
addGroups
The names of groups this user is a part of. +optional
repeated string groups = 3; -
addAllGroups
The names of groups this user is a part of. +optional
repeated string groups = 3; -
clearGroups
The names of groups this user is a part of. +optional
repeated string groups = 3; -
addGroupsBytes
The names of groups this user is a part of. +optional
repeated string groups = 3; -
getExtraCount
public int getExtraCount()Description copied from interface:V1Authentication.UserInfoOrBuilderAny additional information provided by the authenticator. +optional
map<string, .k8s.io.api.authentication.v1.ExtraValue> extra = 4;- Specified by:
getExtraCountin interfaceV1Authentication.UserInfoOrBuilder
-
containsExtra
Any additional information provided by the authenticator. +optional
map<string, .k8s.io.api.authentication.v1.ExtraValue> extra = 4;- Specified by:
containsExtrain interfaceV1Authentication.UserInfoOrBuilder
-
getExtra
Deprecated.UsegetExtraMap()instead.- Specified by:
getExtrain interfaceV1Authentication.UserInfoOrBuilder
-
getExtraMap
Any additional information provided by the authenticator. +optional
map<string, .k8s.io.api.authentication.v1.ExtraValue> extra = 4;- Specified by:
getExtraMapin interfaceV1Authentication.UserInfoOrBuilder
-
getExtraOrDefault
public V1Authentication.ExtraValue getExtraOrDefault(String key, V1Authentication.ExtraValue defaultValue) Any additional information provided by the authenticator. +optional
map<string, .k8s.io.api.authentication.v1.ExtraValue> extra = 4;- Specified by:
getExtraOrDefaultin interfaceV1Authentication.UserInfoOrBuilder
-
getExtraOrThrow
Any additional information provided by the authenticator. +optional
map<string, .k8s.io.api.authentication.v1.ExtraValue> extra = 4;- Specified by:
getExtraOrThrowin interfaceV1Authentication.UserInfoOrBuilder
-
clearExtra
-
removeExtra
Any additional information provided by the authenticator. +optional
map<string, .k8s.io.api.authentication.v1.ExtraValue> extra = 4; -
getMutableExtra
Deprecated.Use alternate mutation accessors instead. -
putExtra
Any additional information provided by the authenticator. +optional
map<string, .k8s.io.api.authentication.v1.ExtraValue> extra = 4; -
putAllExtra
public V1Authentication.UserInfo.Builder putAllExtra(Map<String, V1Authentication.ExtraValue> values) Any additional information provided by the authenticator. +optional
map<string, .k8s.io.api.authentication.v1.ExtraValue> extra = 4; -
setUnknownFields
public final V1Authentication.UserInfo.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<V1Authentication.UserInfo.Builder>
-
mergeUnknownFields
public final V1Authentication.UserInfo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<V1Authentication.UserInfo.Builder>
-