Class AttachedClustersAuthorization.Builder

    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<AttachedClustersAuthorization.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<AttachedClustersAuthorization.Builder>
      • getDefaultInstanceForType

        public AttachedClustersAuthorization getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public AttachedClustersAuthorization build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public AttachedClustersAuthorization buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<AttachedClustersAuthorization.Builder>
      • mergeFrom

        public AttachedClustersAuthorization.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                               com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                        throws IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<AttachedClustersAuthorization.Builder>
        Throws:
        IOException
      • 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];
        Specified by:
        getAdminUsersList in interface AttachedClustersAuthorizationOrBuilder
      • 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];
        Specified by:
        getAdminUsersCount in interface AttachedClustersAuthorizationOrBuilder
      • getAdminUsers

        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];
        Specified by:
        getAdminUsers in interface AttachedClustersAuthorizationOrBuilder
      • setAdminUsers

        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

        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];
      • addAdminUsers

        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

        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

        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

        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];
      • addAllAdminUsers

        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];
      • 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];
      • removeAdminUsers

        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];
      • getAdminUsersBuilder

        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];
      • getAdminUsersOrBuilder

        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];
        Specified by:
        getAdminUsersOrBuilder in interface AttachedClustersAuthorizationOrBuilder
      • 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];
        Specified by:
        getAdminUsersOrBuilderList in interface AttachedClustersAuthorizationOrBuilder
      • 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

        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];
      • 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];