Class AwsAuthorization.Builder (0.2.0)

public static final class AwsAuthorization.Builder extends GeneratedMessageV3.Builder<AwsAuthorization.Builder> implements AwsAuthorizationOrBuilder

Configuration related to the cluster RBAC settings.

Protobuf type google.cloud.gkemulticloud.v1.AwsAuthorization

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAdminUsers(AwsClusterUser value)

public AwsAuthorization.Builder addAdminUsers(AwsClusterUser 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.AwsClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueAwsClusterUser
Returns
TypeDescription
AwsAuthorization.Builder

addAdminUsers(AwsClusterUser.Builder builderForValue)

public AwsAuthorization.Builder addAdminUsers(AwsClusterUser.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.AwsClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
builderForValueAwsClusterUser.Builder
Returns
TypeDescription
AwsAuthorization.Builder

addAdminUsers(int index, AwsClusterUser value)

public AwsAuthorization.Builder addAdminUsers(int index, AwsClusterUser 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.AwsClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED];

Parameters
NameDescription
indexint
valueAwsClusterUser
Returns
TypeDescription
AwsAuthorization.Builder

addAdminUsers(int index, AwsClusterUser.Builder builderForValue)

public AwsAuthorization.Builder addAdminUsers(int index, AwsClusterUser.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.AwsClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED];

Parameters
NameDescription
indexint
builderForValueAwsClusterUser.Builder
Returns
TypeDescription
AwsAuthorization.Builder

addAdminUsersBuilder()

public AwsClusterUser.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.AwsClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
AwsClusterUser.Builder

addAdminUsersBuilder(int index)

public AwsClusterUser.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.AwsClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
indexint
Returns
TypeDescription
AwsClusterUser.Builder

addAllAdminUsers(Iterable<? extends AwsClusterUser> values)

public AwsAuthorization.Builder addAllAdminUsers(Iterable<? extends AwsClusterUser> 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.AwsClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.gkemulticloud.v1.AwsClusterUser>
Returns
TypeDescription
AwsAuthorization.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public AwsAuthorization build()
Returns
TypeDescription
AwsAuthorization

buildPartial()

public AwsAuthorization buildPartial()
Returns
TypeDescription
AwsAuthorization

clear()

public AwsAuthorization.Builder clear()
Returns
TypeDescription
AwsAuthorization.Builder
Overrides

clearAdminUsers()

public AwsAuthorization.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.AwsClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
AwsAuthorization.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public AwsAuthorization.Builder clone()
Returns
TypeDescription
AwsAuthorization.Builder
Overrides

getAdminUsers(int index)

public AwsClusterUser 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.AwsClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
indexint
Returns
TypeDescription
AwsClusterUser

getAdminUsersBuilder(int index)

public AwsClusterUser.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.AwsClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
indexint
Returns
TypeDescription
AwsClusterUser.Builder

getAdminUsersBuilderList()

public List<AwsClusterUser.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.AwsClusterUser 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.AwsClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
int

getAdminUsersList()

public List<AwsClusterUser> 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.AwsClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
List<AwsClusterUser>

getAdminUsersOrBuilder(int index)

public AwsClusterUserOrBuilder 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.AwsClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
indexint
Returns
TypeDescription
AwsClusterUserOrBuilder

getAdminUsersOrBuilderList()

public List<? extends AwsClusterUserOrBuilder> 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.AwsClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
List<? extends com.google.cloud.gkemulticloud.v1.AwsClusterUserOrBuilder>

getDefaultInstanceForType()

public AwsAuthorization getDefaultInstanceForType()
Returns
TypeDescription
AwsAuthorization

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(AwsAuthorization other)

public AwsAuthorization.Builder mergeFrom(AwsAuthorization other)
Parameter
NameDescription
otherAwsAuthorization
Returns
TypeDescription
AwsAuthorization.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AwsAuthorization.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
AwsAuthorization.Builder
Overrides

removeAdminUsers(int index)

public AwsAuthorization.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.AwsClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
indexint
Returns
TypeDescription
AwsAuthorization.Builder

setAdminUsers(int index, AwsClusterUser value)

public AwsAuthorization.Builder setAdminUsers(int index, AwsClusterUser 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.AwsClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED];

Parameters
NameDescription
indexint
valueAwsClusterUser
Returns
TypeDescription
AwsAuthorization.Builder

setAdminUsers(int index, AwsClusterUser.Builder builderForValue)

public AwsAuthorization.Builder setAdminUsers(int index, AwsClusterUser.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.AwsClusterUser admin_users = 1 [(.google.api.field_behavior) = REQUIRED];

Parameters
NameDescription
indexint
builderForValueAwsClusterUser.Builder
Returns
TypeDescription
AwsAuthorization.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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