public static final class AzureAuthorization.Builder extends GeneratedMessageV3.Builder<AzureAuthorization.Builder> implements AzureAuthorizationOrBuilder
Configuration related to the cluster RBAC settings.
Protobuf type google.cloud.gkemulticloud.v1.AzureAuthorization
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addAdminUsers(AzureClusterUser value)
public AzureAuthorization.Builder addAdminUsers(AzureClusterUser 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.AzureClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
addAdminUsers(AzureClusterUser.Builder builderForValue)
public AzureAuthorization.Builder addAdminUsers(AzureClusterUser.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.AzureClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
addAdminUsers(int index, AzureClusterUser value)
public AzureAuthorization.Builder addAdminUsers(int index, AzureClusterUser 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.AzureClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED];
Parameters
Returns
addAdminUsers(int index, AzureClusterUser.Builder builderForValue)
public AzureAuthorization.Builder addAdminUsers(int index, AzureClusterUser.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.AzureClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED];
Parameters
Returns
addAdminUsersBuilder()
public AzureClusterUser.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.AzureClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
addAdminUsersBuilder(int index)
public AzureClusterUser.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.AzureClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
addAllAdminUsers(Iterable<? extends AzureClusterUser> values)
public AzureAuthorization.Builder addAllAdminUsers(Iterable<? extends AzureClusterUser> 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.AzureClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Name | Description |
values | Iterable<? extends com.google.cloud.gkemulticloud.v1.AzureClusterUser>
|
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AzureAuthorization.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public AzureAuthorization build()
Returns
buildPartial()
public AzureAuthorization buildPartial()
Returns
clear()
public AzureAuthorization.Builder clear()
Returns
Overrides
clearAdminUsers()
public AzureAuthorization.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.AzureClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
clearField(Descriptors.FieldDescriptor field)
public AzureAuthorization.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public AzureAuthorization.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public AzureAuthorization.Builder clone()
Returns
Overrides
getAdminUsers(int index)
public AzureClusterUser 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.AzureClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
getAdminUsersBuilder(int index)
public AzureClusterUser.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.AzureClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
getAdminUsersBuilderList()
public List<AzureClusterUser.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.AzureClusterUser 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.AzureClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getAdminUsersList()
public List<AzureClusterUser> 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.AzureClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getAdminUsersOrBuilder(int index)
public AzureClusterUserOrBuilder 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.AzureClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
getAdminUsersOrBuilderList()
public List<? extends AzureClusterUserOrBuilder> 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.AzureClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
List<? extends com.google.cloud.gkemulticloud.v1.AzureClusterUserOrBuilder> | |
getDefaultInstanceForType()
public AzureAuthorization getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(AzureAuthorization other)
public AzureAuthorization.Builder mergeFrom(AzureAuthorization other)
Parameter
Returns
public AzureAuthorization.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public AzureAuthorization.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AzureAuthorization.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeAdminUsers(int index)
public AzureAuthorization.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.AzureClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setAdminUsers(int index, AzureClusterUser value)
public AzureAuthorization.Builder setAdminUsers(int index, AzureClusterUser 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.AzureClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED];
Parameters
Returns
setAdminUsers(int index, AzureClusterUser.Builder builderForValue)
public AzureAuthorization.Builder setAdminUsers(int index, AzureClusterUser.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.AzureClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED];
Parameters
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public AzureAuthorization.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AzureAuthorization.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final AzureAuthorization.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides