Package io.kubernetes.client.proto
Class V1beta1Authentication.UserInfo.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Authentication.UserInfo.Builder>
io.kubernetes.client.proto.V1beta1Authentication.UserInfo.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,V1beta1Authentication.UserInfoOrBuilder
,Cloneable
- Enclosing class:
- V1beta1Authentication.UserInfo
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
-
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()
boolean
containsExtra
(String key) Any additional information provided by the authenticator.static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
getExtra()
Deprecated.int
Any additional information provided by the authenticator.Any additional information provided by the authenticator.getExtraOrDefault
(String key, V1beta1Authentication.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.ByteString
getGroupsBytes
(int index) The names of groups this user is a part of.int
The names of groups this user is a part of.com.google.protobuf.ProtocolStringList
The names of groups this user is a part of.Deprecated.getUid()
A unique value that identifies this user across time.com.google.protobuf.ByteString
A unique value that identifies this user across time.The name that uniquely identifies this user among all active users.com.google.protobuf.ByteString
The name that uniquely identifies this user among all active users.boolean
hasUid()
A unique value that identifies this user across time.boolean
The name that uniquely identifies this user among all active users.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
protected com.google.protobuf.MapField
internalGetMapField
(int number) protected com.google.protobuf.MapField
internalGetMutableMapField
(int number) final boolean
mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) Any additional information provided by the authenticator.putExtra
(String key, V1beta1Authentication.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, setUnknownFieldsProto3
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods 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:
internalGetMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1beta1Authentication.UserInfo.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number) - Overrides:
internalGetMutableMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1beta1Authentication.UserInfo.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1beta1Authentication.UserInfo.Builder>
-
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1beta1Authentication.UserInfo.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1beta1Authentication.UserInfo.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1beta1Authentication.UserInfo.Builder>
-
setField
public V1beta1Authentication.UserInfo.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1beta1Authentication.UserInfo.Builder>
-
clearField
public V1beta1Authentication.UserInfo.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1beta1Authentication.UserInfo.Builder>
-
clearOneof
public V1beta1Authentication.UserInfo.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1beta1Authentication.UserInfo.Builder>
-
setRepeatedField
public V1beta1Authentication.UserInfo.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1beta1Authentication.UserInfo.Builder>
-
addRepeatedField
public V1beta1Authentication.UserInfo.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1beta1Authentication.UserInfo.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<V1beta1Authentication.UserInfo.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1beta1Authentication.UserInfo.Builder>
-
mergeFrom
public V1beta1Authentication.UserInfo.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<V1beta1Authentication.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:
hasUsername
in interfaceV1beta1Authentication.UserInfoOrBuilder
-
getUsername
The name that uniquely identifies this user among all active users. +optional
optional string username = 1;
- Specified by:
getUsername
in interfaceV1beta1Authentication.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:
getUsernameBytes
in interfaceV1beta1Authentication.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
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;
-
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:
hasUid
in interfaceV1beta1Authentication.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:
getUid
in interfaceV1beta1Authentication.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:
getUidBytes
in interfaceV1beta1Authentication.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:
getGroupsList
in interfaceV1beta1Authentication.UserInfoOrBuilder
-
getGroupsCount
public int getGroupsCount()The names of groups this user is a part of. +optional
repeated string groups = 3;
- Specified by:
getGroupsCount
in interfaceV1beta1Authentication.UserInfoOrBuilder
-
getGroups
The names of groups this user is a part of. +optional
repeated string groups = 3;
- Specified by:
getGroups
in interfaceV1beta1Authentication.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:
getGroupsBytes
in interfaceV1beta1Authentication.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:V1beta1Authentication.UserInfoOrBuilder
Any additional information provided by the authenticator. +optional
map<string, .k8s.io.api.authentication.v1beta1.ExtraValue> extra = 4;
- Specified by:
getExtraCount
in interfaceV1beta1Authentication.UserInfoOrBuilder
-
containsExtra
Any additional information provided by the authenticator. +optional
map<string, .k8s.io.api.authentication.v1beta1.ExtraValue> extra = 4;
- Specified by:
containsExtra
in interfaceV1beta1Authentication.UserInfoOrBuilder
-
getExtra
Deprecated.UsegetExtraMap()
instead.- Specified by:
getExtra
in interfaceV1beta1Authentication.UserInfoOrBuilder
-
getExtraMap
Any additional information provided by the authenticator. +optional
map<string, .k8s.io.api.authentication.v1beta1.ExtraValue> extra = 4;
- Specified by:
getExtraMap
in interfaceV1beta1Authentication.UserInfoOrBuilder
-
getExtraOrDefault
public 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;
- Specified by:
getExtraOrDefault
in interfaceV1beta1Authentication.UserInfoOrBuilder
-
getExtraOrThrow
Any additional information provided by the authenticator. +optional
map<string, .k8s.io.api.authentication.v1beta1.ExtraValue> extra = 4;
- Specified by:
getExtraOrThrow
in interfaceV1beta1Authentication.UserInfoOrBuilder
-
clearExtra
-
removeExtra
Any additional information provided by the authenticator. +optional
map<string, .k8s.io.api.authentication.v1beta1.ExtraValue> extra = 4;
-
getMutableExtra
Deprecated.Use alternate mutation accessors instead. -
putExtra
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;
-
putAllExtra
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;
-
setUnknownFields
public final V1beta1Authentication.UserInfo.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1beta1Authentication.UserInfo.Builder>
-
mergeUnknownFields
public final V1beta1Authentication.UserInfo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1beta1Authentication.UserInfo.Builder>
-