public static final class AttachedClustersAuthorization.Builder extends GeneratedMessageV3.Builder<AttachedClustersAuthorization.Builder> implements AttachedClustersAuthorizationOrBuilder
Configuration related to the cluster RBAC settings.
Protobuf type google.cloud.gkemulticloud.v1.AttachedClustersAuthorization
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addAdminUsers(AttachedClusterUser value)
public AttachedClustersAuthorization.Builder addAdminUsers(AttachedClusterUser value)
Required. Users that can perform operations as a cluster admin. A managed
ClusterRoleBinding will be created to grant the cluster-admin
ClusterRole
to the users. Up to ten admin users can be provided.
For more info on RBAC, see
https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
repeated .google.cloud.gkemulticloud.v1.AttachedClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED];
addAdminUsers(AttachedClusterUser.Builder builderForValue)
public AttachedClustersAuthorization.Builder addAdminUsers(AttachedClusterUser.Builder builderForValue)
Required. Users that can perform operations as a cluster admin. A managed
ClusterRoleBinding will be created to grant the cluster-admin
ClusterRole
to the users. Up to ten admin users can be provided.
For more info on RBAC, see
https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
repeated .google.cloud.gkemulticloud.v1.AttachedClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED];
addAdminUsers(int index, AttachedClusterUser value)
public AttachedClustersAuthorization.Builder addAdminUsers(int index, AttachedClusterUser value)
Required. Users that can perform operations as a cluster admin. A managed
ClusterRoleBinding will be created to grant the cluster-admin
ClusterRole
to the users. Up to ten admin users can be provided.
For more info on RBAC, see
https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
repeated .google.cloud.gkemulticloud.v1.AttachedClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED];
addAdminUsers(int index, AttachedClusterUser.Builder builderForValue)
public AttachedClustersAuthorization.Builder addAdminUsers(int index, AttachedClusterUser.Builder builderForValue)
Required. Users that can perform operations as a cluster admin. A managed
ClusterRoleBinding will be created to grant the cluster-admin
ClusterRole
to the users. Up to ten admin users can be provided.
For more info on RBAC, see
https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
repeated .google.cloud.gkemulticloud.v1.AttachedClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED];
addAdminUsersBuilder()
public AttachedClusterUser.Builder addAdminUsersBuilder()
Required. Users that can perform operations as a cluster admin. A managed
ClusterRoleBinding will be created to grant the cluster-admin
ClusterRole
to the users. Up to ten admin users can be provided.
For more info on RBAC, see
https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
repeated .google.cloud.gkemulticloud.v1.AttachedClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED];
addAdminUsersBuilder(int index)
public AttachedClusterUser.Builder addAdminUsersBuilder(int index)
Required. Users that can perform operations as a cluster admin. A managed
ClusterRoleBinding will be created to grant the cluster-admin
ClusterRole
to the users. Up to ten admin users can be provided.
For more info on RBAC, see
https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
repeated .google.cloud.gkemulticloud.v1.AttachedClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
---|
Name | Description |
index | int
|
addAllAdminUsers(Iterable<? extends AttachedClusterUser> values)
public AttachedClustersAuthorization.Builder addAllAdminUsers(Iterable<? extends AttachedClusterUser> values)
Required. Users that can perform operations as a cluster admin. A managed
ClusterRoleBinding will be created to grant the cluster-admin
ClusterRole
to the users. Up to ten admin users can be provided.
For more info on RBAC, see
https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
repeated .google.cloud.gkemulticloud.v1.AttachedClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
---|
Name | Description |
values | Iterable<? extends com.google.cloud.gkemulticloud.v1.AttachedClusterUser>
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AttachedClustersAuthorization.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public AttachedClustersAuthorization build()
buildPartial()
public AttachedClustersAuthorization buildPartial()
clear()
public AttachedClustersAuthorization.Builder clear()
Overrides
clearAdminUsers()
public AttachedClustersAuthorization.Builder clearAdminUsers()
Required. Users that can perform operations as a cluster admin. A managed
ClusterRoleBinding will be created to grant the cluster-admin
ClusterRole
to the users. Up to ten admin users can be provided.
For more info on RBAC, see
https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
repeated .google.cloud.gkemulticloud.v1.AttachedClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED];
clearField(Descriptors.FieldDescriptor field)
public AttachedClustersAuthorization.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public AttachedClustersAuthorization.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public AttachedClustersAuthorization.Builder clone()
Overrides
getAdminUsers(int index)
public AttachedClusterUser getAdminUsers(int index)
Required. Users that can perform operations as a cluster admin. A managed
ClusterRoleBinding will be created to grant the cluster-admin
ClusterRole
to the users. Up to ten admin users can be provided.
For more info on RBAC, see
https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
repeated .google.cloud.gkemulticloud.v1.AttachedClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
---|
Name | Description |
index | int
|
getAdminUsersBuilder(int index)
public AttachedClusterUser.Builder getAdminUsersBuilder(int index)
Required. Users that can perform operations as a cluster admin. A managed
ClusterRoleBinding will be created to grant the cluster-admin
ClusterRole
to the users. Up to ten admin users can be provided.
For more info on RBAC, see
https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
repeated .google.cloud.gkemulticloud.v1.AttachedClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
---|
Name | Description |
index | int
|
getAdminUsersBuilderList()
public List<AttachedClusterUser.Builder> getAdminUsersBuilderList()
Required. Users that can perform operations as a cluster admin. A managed
ClusterRoleBinding will be created to grant the cluster-admin
ClusterRole
to the users. Up to ten admin users can be provided.
For more info on RBAC, see
https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
repeated .google.cloud.gkemulticloud.v1.AttachedClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED];
getAdminUsersCount()
public int getAdminUsersCount()
Required. Users that can perform operations as a cluster admin. A managed
ClusterRoleBinding will be created to grant the cluster-admin
ClusterRole
to the users. Up to ten admin users can be provided.
For more info on RBAC, see
https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
repeated .google.cloud.gkemulticloud.v1.AttachedClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
int | |
getAdminUsersList()
public List<AttachedClusterUser> getAdminUsersList()
Required. Users that can perform operations as a cluster admin. A managed
ClusterRoleBinding will be created to grant the cluster-admin
ClusterRole
to the users. Up to ten admin users can be provided.
For more info on RBAC, see
https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
repeated .google.cloud.gkemulticloud.v1.AttachedClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED];
getAdminUsersOrBuilder(int index)
public AttachedClusterUserOrBuilder getAdminUsersOrBuilder(int index)
Required. Users that can perform operations as a cluster admin. A managed
ClusterRoleBinding will be created to grant the cluster-admin
ClusterRole
to the users. Up to ten admin users can be provided.
For more info on RBAC, see
https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
repeated .google.cloud.gkemulticloud.v1.AttachedClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
---|
Name | Description |
index | int
|
getAdminUsersOrBuilderList()
public List<? extends AttachedClusterUserOrBuilder> getAdminUsersOrBuilderList()
Required. Users that can perform operations as a cluster admin. A managed
ClusterRoleBinding will be created to grant the cluster-admin
ClusterRole
to the users. Up to ten admin users can be provided.
For more info on RBAC, see
https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
repeated .google.cloud.gkemulticloud.v1.AttachedClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
List<? extends com.google.cloud.gkemulticloud.v1.AttachedClusterUserOrBuilder> | |
getDefaultInstanceForType()
public AttachedClustersAuthorization getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(AttachedClustersAuthorization other)
public AttachedClustersAuthorization.Builder mergeFrom(AttachedClustersAuthorization other)
public AttachedClustersAuthorization.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public AttachedClustersAuthorization.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AttachedClustersAuthorization.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeAdminUsers(int index)
public AttachedClustersAuthorization.Builder removeAdminUsers(int index)
Required. Users that can perform operations as a cluster admin. A managed
ClusterRoleBinding will be created to grant the cluster-admin
ClusterRole
to the users. Up to ten admin users can be provided.
For more info on RBAC, see
https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
repeated .google.cloud.gkemulticloud.v1.AttachedClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
---|
Name | Description |
index | int
|
setAdminUsers(int index, AttachedClusterUser value)
public AttachedClustersAuthorization.Builder setAdminUsers(int index, AttachedClusterUser value)
Required. Users that can perform operations as a cluster admin. A managed
ClusterRoleBinding will be created to grant the cluster-admin
ClusterRole
to the users. Up to ten admin users can be provided.
For more info on RBAC, see
https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
repeated .google.cloud.gkemulticloud.v1.AttachedClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED];
setAdminUsers(int index, AttachedClusterUser.Builder builderForValue)
public AttachedClustersAuthorization.Builder setAdminUsers(int index, AttachedClusterUser.Builder builderForValue)
Required. Users that can perform operations as a cluster admin. A managed
ClusterRoleBinding will be created to grant the cluster-admin
ClusterRole
to the users. Up to ten admin users can be provided.
For more info on RBAC, see
https://kubernetes.io/docs/reference/access-authn-authz/rbac/#user-facing-roles
repeated .google.cloud.gkemulticloud.v1.AttachedClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED];
setField(Descriptors.FieldDescriptor field, Object value)
public AttachedClustersAuthorization.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AttachedClustersAuthorization.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final AttachedClustersAuthorization.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides