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 Type
    Method
    Description
    Optional. custom_role is the name of a custom KubernetesClusterRole to use.
    com.google.protobuf.ByteString
    Optional. custom_role is the name of a custom KubernetesClusterRole to use.
    predefined_role is the Kubernetes default role to use
    int
    predefined_role is the Kubernetes default role to use

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods 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

       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.