Interface RBACRoleBindingOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
RBACRoleBinding, RBACRoleBinding.Builder

@Generated public interface RBACRoleBindingOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • hasUser

      boolean hasUser()
       user is the name of the user as seen by the kubernetes cluster, example
       "alice" or "alice@domain.tld"
       
      string user = 7;
      Returns:
      Whether the user field is set.
    • getUser

      String getUser()
       user is the name of the user as seen by the kubernetes cluster, example
       "alice" or "alice@domain.tld"
       
      string user = 7;
      Returns:
      The user.
    • getUserBytes

      com.google.protobuf.ByteString getUserBytes()
       user is the name of the user as seen by the kubernetes cluster, example
       "alice" or "alice@domain.tld"
       
      string user = 7;
      Returns:
      The bytes for user.
    • hasGroup

      boolean hasGroup()
       group is the group, as seen by the kubernetes cluster.
       
      string group = 8;
      Returns:
      Whether the group field is set.
    • getGroup

      String getGroup()
       group is the group, as seen by the kubernetes cluster.
       
      string group = 8;
      Returns:
      The group.
    • getGroupBytes

      com.google.protobuf.ByteString getGroupBytes()
       group is the group, as seen by the kubernetes cluster.
       
      string group = 8;
      Returns:
      The bytes for group.
    • getName

      String getName()
       The resource name for the rbacrolebinding
       `projects/{project}/locations/{location}/scopes/{scope}/rbacrolebindings/{rbacrolebinding}`
       or
       `projects/{project}/locations/{location}/memberships/{membership}/rbacrolebindings/{rbacrolebinding}`
       
      string name = 1;
      Returns:
      The name.
    • getNameBytes

      com.google.protobuf.ByteString getNameBytes()
       The resource name for the rbacrolebinding
       `projects/{project}/locations/{location}/scopes/{scope}/rbacrolebindings/{rbacrolebinding}`
       or
       `projects/{project}/locations/{location}/memberships/{membership}/rbacrolebindings/{rbacrolebinding}`
       
      string name = 1;
      Returns:
      The bytes for name.
    • getUid

      String getUid()
       Output only. Google-generated UUID for this resource. This is unique across
       all rbacrolebinding resources. If a rbacrolebinding resource is deleted and
       another resource with the same name is created, it gets a different uid.
       
      string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The uid.
    • getUidBytes

      com.google.protobuf.ByteString getUidBytes()
       Output only. Google-generated UUID for this resource. This is unique across
       all rbacrolebinding resources. If a rbacrolebinding resource is deleted and
       another resource with the same name is created, it gets a different uid.
       
      string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The bytes for uid.
    • hasCreateTime

      boolean hasCreateTime()
       Output only. When the rbacrolebinding was created.
       
      .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      Whether the createTime field is set.
    • getCreateTime

      com.google.protobuf.Timestamp getCreateTime()
       Output only. When the rbacrolebinding was created.
       
      .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The createTime.
    • getCreateTimeOrBuilder

      com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
       Output only. When the rbacrolebinding was created.
       
      .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • hasUpdateTime

      boolean hasUpdateTime()
       Output only. When the rbacrolebinding was last updated.
       
      .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      Whether the updateTime field is set.
    • getUpdateTime

      com.google.protobuf.Timestamp getUpdateTime()
       Output only. When the rbacrolebinding was last updated.
       
      .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The updateTime.
    • getUpdateTimeOrBuilder

      com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
       Output only. When the rbacrolebinding was last updated.
       
      .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • hasDeleteTime

      boolean hasDeleteTime()
       Output only. When the rbacrolebinding was deleted.
       
      .google.protobuf.Timestamp delete_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      Whether the deleteTime field is set.
    • getDeleteTime

      com.google.protobuf.Timestamp getDeleteTime()
       Output only. When the rbacrolebinding was deleted.
       
      .google.protobuf.Timestamp delete_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The deleteTime.
    • getDeleteTimeOrBuilder

      com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder()
       Output only. When the rbacrolebinding was deleted.
       
      .google.protobuf.Timestamp delete_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • hasState

      boolean hasState()
       Output only. State of the rbacrolebinding resource.
       
      .google.cloud.gkehub.v1.RBACRoleBindingLifecycleState state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      Whether the state field is set.
    • getState

       Output only. State of the rbacrolebinding resource.
       
      .google.cloud.gkehub.v1.RBACRoleBindingLifecycleState state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The state.
    • getStateOrBuilder

       Output only. State of the rbacrolebinding resource.
       
      .google.cloud.gkehub.v1.RBACRoleBindingLifecycleState state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • hasRole

      boolean hasRole()
       Required. Role to bind to the principal
       
      .google.cloud.gkehub.v1.RBACRoleBinding.Role role = 9 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      Whether the role field is set.
    • getRole

       Required. Role to bind to the principal
       
      .google.cloud.gkehub.v1.RBACRoleBinding.Role role = 9 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The role.
    • getRoleOrBuilder

      RBACRoleBinding.RoleOrBuilder getRoleOrBuilder()
       Required. Role to bind to the principal
       
      .google.cloud.gkehub.v1.RBACRoleBinding.Role role = 9 [(.google.api.field_behavior) = REQUIRED];
    • getLabelsCount

      int getLabelsCount()
       Optional. Labels for this RBACRolebinding.
       
      map<string, string> labels = 10 [(.google.api.field_behavior) = OPTIONAL];
    • containsLabels

      boolean containsLabels(String key)
       Optional. Labels for this RBACRolebinding.
       
      map<string, string> labels = 10 [(.google.api.field_behavior) = OPTIONAL];
    • getLabels

      Deprecated.
      Use getLabelsMap() instead.
    • getLabelsMap

      Map<String,String> getLabelsMap()
       Optional. Labels for this RBACRolebinding.
       
      map<string, string> labels = 10 [(.google.api.field_behavior) = OPTIONAL];
    • getLabelsOrDefault

      String getLabelsOrDefault(String key, String defaultValue)
       Optional. Labels for this RBACRolebinding.
       
      map<string, string> labels = 10 [(.google.api.field_behavior) = OPTIONAL];
    • getLabelsOrThrow

      String getLabelsOrThrow(String key)
       Optional. Labels for this RBACRolebinding.
       
      map<string, string> labels = 10 [(.google.api.field_behavior) = OPTIONAL];
    • getPrincipalCase

      RBACRoleBinding.PrincipalCase getPrincipalCase()