Class AzureAuthorization.Builder (0.29.0)

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
TypeDescription
Descriptor

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
NameDescription
valueAzureClusterUser
Returns
TypeDescription
AzureAuthorization.Builder

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
NameDescription
builderForValueAzureClusterUser.Builder
Returns
TypeDescription
AzureAuthorization.Builder

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
NameDescription
indexint
valueAzureClusterUser
Returns
TypeDescription
AzureAuthorization.Builder

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
NameDescription
indexint
builderForValueAzureClusterUser.Builder
Returns
TypeDescription
AzureAuthorization.Builder

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
TypeDescription
AzureClusterUser.Builder

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
NameDescription
indexint
Returns
TypeDescription
AzureClusterUser.Builder

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
NameDescription
valuesIterable<? extends com.google.cloud.gkemulticloud.v1.AzureClusterUser>
Returns
TypeDescription
AzureAuthorization.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AzureAuthorization.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
AzureAuthorization.Builder
Overrides

build()

public AzureAuthorization build()
Returns
TypeDescription
AzureAuthorization

buildPartial()

public AzureAuthorization buildPartial()
Returns
TypeDescription
AzureAuthorization

clear()

public AzureAuthorization.Builder clear()
Returns
TypeDescription
AzureAuthorization.Builder
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
TypeDescription
AzureAuthorization.Builder

clearField(Descriptors.FieldDescriptor field)

public AzureAuthorization.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
AzureAuthorization.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public AzureAuthorization.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
AzureAuthorization.Builder
Overrides

clone()

public AzureAuthorization.Builder clone()
Returns
TypeDescription
AzureAuthorization.Builder
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
NameDescription
indexint
Returns
TypeDescription
AzureClusterUser

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
NameDescription
indexint
Returns
TypeDescription
AzureClusterUser.Builder

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
TypeDescription
List<Builder>

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
TypeDescription
int

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
TypeDescription
List<AzureClusterUser>

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
NameDescription
indexint
Returns
TypeDescription
AzureClusterUserOrBuilder

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
TypeDescription
List<? extends com.google.cloud.gkemulticloud.v1.AzureClusterUserOrBuilder>

getDefaultInstanceForType()

public AzureAuthorization getDefaultInstanceForType()
Returns
TypeDescription
AzureAuthorization

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(AzureAuthorization other)

public AzureAuthorization.Builder mergeFrom(AzureAuthorization other)
Parameter
NameDescription
otherAzureAuthorization
Returns
TypeDescription
AzureAuthorization.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AzureAuthorization.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AzureAuthorization.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public AzureAuthorization.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
AzureAuthorization.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AzureAuthorization.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
AzureAuthorization.Builder
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
NameDescription
indexint
Returns
TypeDescription
AzureAuthorization.Builder

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
NameDescription
indexint
valueAzureClusterUser
Returns
TypeDescription
AzureAuthorization.Builder

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
NameDescription
indexint
builderForValueAzureClusterUser.Builder
Returns
TypeDescription
AzureAuthorization.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public AzureAuthorization.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
AzureAuthorization.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public AzureAuthorization.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
AzureAuthorization.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final AzureAuthorization.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
AzureAuthorization.Builder
Overrides