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()
Returns
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];
Parameter
Returns
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];
Parameter
Returns
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];
Parameters
Returns
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];
Parameters
Returns
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];
Returns
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
Returns
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>
|
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AttachedClustersAuthorization.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public AttachedClustersAuthorization build()
Returns
buildPartial()
public AttachedClustersAuthorization buildPartial()
Returns
clear()
public AttachedClustersAuthorization.Builder clear()
Returns
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];
Returns
clearField(Descriptors.FieldDescriptor field)
public AttachedClustersAuthorization.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public AttachedClustersAuthorization.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public AttachedClustersAuthorization.Builder clone()
Returns
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
Returns
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
Returns
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];
Returns
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
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];
Returns
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
Returns
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()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(AttachedClustersAuthorization other)
public AttachedClustersAuthorization.Builder mergeFrom(AttachedClustersAuthorization other)
Parameter
Returns
public AttachedClustersAuthorization.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public AttachedClustersAuthorization.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AttachedClustersAuthorization.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
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];
Parameters
Returns
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];
Parameters
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public AttachedClustersAuthorization.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AttachedClustersAuthorization.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final AttachedClustersAuthorization.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides