Class AttachedClustersAuthorization (0.39.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
TypeDescription
int

ADMIN_USERS_FIELD_NUMBER

public static final int ADMIN_USERS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static AttachedClustersAuthorization getDefaultInstance()
Returns
TypeDescription
AttachedClustersAuthorization

getDescriptor()

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

newBuilder()

public static AttachedClustersAuthorization.Builder newBuilder()
Returns
TypeDescription
AttachedClustersAuthorization.Builder

newBuilder(AttachedClustersAuthorization prototype)

public static AttachedClustersAuthorization.Builder newBuilder(AttachedClustersAuthorization prototype)
Parameter
NameDescription
prototypeAttachedClustersAuthorization
Returns
TypeDescription
AttachedClustersAuthorization.Builder

parseDelimitedFrom(InputStream input)

public static AttachedClustersAuthorization parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
AttachedClustersAuthorization
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AttachedClustersAuthorization parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AttachedClustersAuthorization
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static AttachedClustersAuthorization parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
AttachedClustersAuthorization
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static AttachedClustersAuthorization parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AttachedClustersAuthorization
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static AttachedClustersAuthorization parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
AttachedClustersAuthorization
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static AttachedClustersAuthorization parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AttachedClustersAuthorization
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static AttachedClustersAuthorization parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
AttachedClustersAuthorization
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static AttachedClustersAuthorization parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AttachedClustersAuthorization
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static AttachedClustersAuthorization parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
AttachedClustersAuthorization
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AttachedClustersAuthorization parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AttachedClustersAuthorization
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static AttachedClustersAuthorization parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
AttachedClustersAuthorization
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static AttachedClustersAuthorization parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AttachedClustersAuthorization
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<AttachedClustersAuthorization> parser()
Returns
TypeDescription
Parser<AttachedClustersAuthorization>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.cloud.gkemulticloud.v1.AttachedClusterUserOrBuilder>

getDefaultInstanceForType()

public AttachedClustersAuthorization getDefaultInstanceForType()
Returns
TypeDescription
AttachedClustersAuthorization

getParserForType()

public Parser<AttachedClustersAuthorization> getParserForType()
Returns
TypeDescription
Parser<AttachedClustersAuthorization>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public AttachedClustersAuthorization.Builder newBuilderForType()
Returns
TypeDescription
AttachedClustersAuthorization.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected AttachedClustersAuthorization.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
AttachedClustersAuthorization.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public AttachedClustersAuthorization.Builder toBuilder()
Returns
TypeDescription
AttachedClustersAuthorization.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException