public final class AttachedClustersAuthorization extends GeneratedMessageV3 implements AttachedClustersAuthorizationOrBuilder
Configuration related to the cluster RBAC settings.
Protobuf type google.cloud.gkemulticloud.v1.AttachedClustersAuthorization
Static Fields
ADMIN_USERS_FIELD_NUMBER
public static final int ADMIN_USERS_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static AttachedClustersAuthorization getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static AttachedClustersAuthorization.Builder newBuilder()
Returns
newBuilder(AttachedClustersAuthorization prototype)
public static AttachedClustersAuthorization.Builder newBuilder(AttachedClustersAuthorization prototype)
Parameter
Returns
public static AttachedClustersAuthorization parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static AttachedClustersAuthorization parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static AttachedClustersAuthorization parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static AttachedClustersAuthorization parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static AttachedClustersAuthorization parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AttachedClustersAuthorization parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static AttachedClustersAuthorization parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static AttachedClustersAuthorization parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static AttachedClustersAuthorization parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static AttachedClustersAuthorization parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static AttachedClustersAuthorization parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static AttachedClustersAuthorization parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<AttachedClustersAuthorization> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
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
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
getParserForType()
public Parser<AttachedClustersAuthorization> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public AttachedClustersAuthorization.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected AttachedClustersAuthorization.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public AttachedClustersAuthorization.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions