Package com.google.cloud.gkehub.v1
Interface RBACRoleBinding.RoleOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
RBACRoleBinding.Role,RBACRoleBinding.Role.Builder
- Enclosing class:
- RBACRoleBinding
public static interface RBACRoleBinding.RoleOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionOptional. custom_role is the name of a custom KubernetesClusterRole to use.com.google.protobuf.ByteStringOptional. custom_role is the name of a custom KubernetesClusterRole to use.predefined_role is the Kubernetes default role to useintpredefined_role is the Kubernetes default role to useMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getPredefinedRoleValue
int getPredefinedRoleValue()predefined_role is the Kubernetes default role to use
.google.cloud.gkehub.v1.RBACRoleBinding.Role.PredefinedRoles predefined_role = 1;- Returns:
- The enum numeric value on the wire for predefinedRole.
-
getPredefinedRole
RBACRoleBinding.Role.PredefinedRoles getPredefinedRole()predefined_role is the Kubernetes default role to use
.google.cloud.gkehub.v1.RBACRoleBinding.Role.PredefinedRoles predefined_role = 1;- Returns:
- The predefinedRole.
-
getCustomRole
String getCustomRole()Optional. custom_role is the name of a custom KubernetesClusterRole to use.
string custom_role = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The customRole.
-
getCustomRoleBytes
com.google.protobuf.ByteString getCustomRoleBytes()Optional. custom_role is the name of a custom KubernetesClusterRole to use.
string custom_role = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The bytes for customRole.
-