Class AttachedClustersAuthorization (0.47.0)

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_GROUPS_FIELD_NUMBER

public static final int ADMIN_GROUPS_FIELD_NUMBER
Field Value
Type Description
int

ADMIN_USERS_FIELD_NUMBER

public static final int ADMIN_USERS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static AttachedClustersAuthorization getDefaultInstance()
Returns
Type Description
AttachedClustersAuthorization

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static AttachedClustersAuthorization.Builder newBuilder()
Returns
Type Description
AttachedClustersAuthorization.Builder

newBuilder(AttachedClustersAuthorization prototype)

public static AttachedClustersAuthorization.Builder newBuilder(AttachedClustersAuthorization prototype)
Parameter
Name Description
prototype AttachedClustersAuthorization
Returns
Type Description
AttachedClustersAuthorization.Builder

parseDelimitedFrom(InputStream input)

public static AttachedClustersAuthorization parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
AttachedClustersAuthorization
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AttachedClustersAuthorization parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AttachedClustersAuthorization
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static AttachedClustersAuthorization parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
AttachedClustersAuthorization
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static AttachedClustersAuthorization parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AttachedClustersAuthorization
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static AttachedClustersAuthorization parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
AttachedClustersAuthorization
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static AttachedClustersAuthorization parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AttachedClustersAuthorization
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static AttachedClustersAuthorization parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
AttachedClustersAuthorization
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static AttachedClustersAuthorization parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AttachedClustersAuthorization
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static AttachedClustersAuthorization parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
AttachedClustersAuthorization
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AttachedClustersAuthorization parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AttachedClustersAuthorization
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static AttachedClustersAuthorization parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
AttachedClustersAuthorization
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static AttachedClustersAuthorization parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AttachedClustersAuthorization
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<AttachedClustersAuthorization> parser()
Returns
Type Description
Parser<AttachedClustersAuthorization>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getAdminGroups(int index)

public AttachedClusterGroup getAdminGroups(int index)

Optional. Groups of users that can perform operations as a cluster admin. A managed ClusterRoleBinding will be created to grant the cluster-admin ClusterRole to the groups. Up to ten admin groups 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.AttachedClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
AttachedClusterGroup

getAdminGroupsCount()

public int getAdminGroupsCount()

Optional. Groups of users that can perform operations as a cluster admin. A managed ClusterRoleBinding will be created to grant the cluster-admin ClusterRole to the groups. Up to ten admin groups 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.AttachedClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getAdminGroupsList()

public List<AttachedClusterGroup> getAdminGroupsList()

Optional. Groups of users that can perform operations as a cluster admin. A managed ClusterRoleBinding will be created to grant the cluster-admin ClusterRole to the groups. Up to ten admin groups 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.AttachedClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<AttachedClusterGroup>

getAdminGroupsOrBuilder(int index)

public AttachedClusterGroupOrBuilder getAdminGroupsOrBuilder(int index)

Optional. Groups of users that can perform operations as a cluster admin. A managed ClusterRoleBinding will be created to grant the cluster-admin ClusterRole to the groups. Up to ten admin groups 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.AttachedClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
AttachedClusterGroupOrBuilder

getAdminGroupsOrBuilderList()

public List<? extends AttachedClusterGroupOrBuilder> getAdminGroupsOrBuilderList()

Optional. Groups of users that can perform operations as a cluster admin. A managed ClusterRoleBinding will be created to grant the cluster-admin ClusterRole to the groups. Up to ten admin groups 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.AttachedClusterGroup admin_groups = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<? extends com.google.cloud.gkemulticloud.v1.AttachedClusterGroupOrBuilder>

getAdminUsers(int index)

public AttachedClusterUser getAdminUsers(int index)

Optional. 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) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
AttachedClusterUser

getAdminUsersCount()

public int getAdminUsersCount()

Optional. 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) = OPTIONAL];

Returns
Type Description
int

getAdminUsersList()

public List<AttachedClusterUser> getAdminUsersList()

Optional. 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) = OPTIONAL];

Returns
Type Description
List<AttachedClusterUser>

getAdminUsersOrBuilder(int index)

public AttachedClusterUserOrBuilder getAdminUsersOrBuilder(int index)

Optional. 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) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
AttachedClusterUserOrBuilder

getAdminUsersOrBuilderList()

public List<? extends AttachedClusterUserOrBuilder> getAdminUsersOrBuilderList()

Optional. 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) = OPTIONAL];

Returns
Type Description
List<? extends com.google.cloud.gkemulticloud.v1.AttachedClusterUserOrBuilder>

getDefaultInstanceForType()

public AttachedClustersAuthorization getDefaultInstanceForType()
Returns
Type Description
AttachedClustersAuthorization

getParserForType()

public Parser<AttachedClustersAuthorization> getParserForType()
Returns
Type Description
Parser<AttachedClustersAuthorization>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public AttachedClustersAuthorization.Builder newBuilderForType()
Returns
Type Description
AttachedClustersAuthorization.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected AttachedClustersAuthorization.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
AttachedClustersAuthorization.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public AttachedClustersAuthorization.Builder toBuilder()
Returns
Type Description
AttachedClustersAuthorization.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException