Interface V1Rbac.SubjectOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
V1Rbac.Subject, V1Rbac.Subject.Builder
Enclosing class:
V1Rbac

public static interface V1Rbac.SubjectOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    APIGroup holds the API group of the referenced subject.
    com.google.protobuf.ByteString
    APIGroup holds the API group of the referenced subject.
    Kind of object being referenced.
    com.google.protobuf.ByteString
    Kind of object being referenced.
    Name of the object being referenced.
    com.google.protobuf.ByteString
    Name of the object being referenced.
    Namespace of the referenced object.
    com.google.protobuf.ByteString
    Namespace of the referenced object.
    boolean
    APIGroup holds the API group of the referenced subject.
    boolean
    Kind of object being referenced.
    boolean
    Name of the object being referenced.
    boolean
    Namespace of the referenced object.

    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

    • hasKind

      boolean hasKind()
       Kind of object being referenced. Values defined by this API group are "User", "Group", and "ServiceAccount".
       If the Authorizer does not recognized the kind value, the Authorizer should report an error.
       
      optional string kind = 1;
    • getKind

      String getKind()
       Kind of object being referenced. Values defined by this API group are "User", "Group", and "ServiceAccount".
       If the Authorizer does not recognized the kind value, the Authorizer should report an error.
       
      optional string kind = 1;
    • getKindBytes

      com.google.protobuf.ByteString getKindBytes()
       Kind of object being referenced. Values defined by this API group are "User", "Group", and "ServiceAccount".
       If the Authorizer does not recognized the kind value, the Authorizer should report an error.
       
      optional string kind = 1;
    • hasApiGroup

      boolean hasApiGroup()
       APIGroup holds the API group of the referenced subject.
       Defaults to "" for ServiceAccount subjects.
       Defaults to "rbac.authorization.k8s.io" for User and Group subjects.
       +optional
       
      optional string apiGroup = 2;
    • getApiGroup

      String getApiGroup()
       APIGroup holds the API group of the referenced subject.
       Defaults to "" for ServiceAccount subjects.
       Defaults to "rbac.authorization.k8s.io" for User and Group subjects.
       +optional
       
      optional string apiGroup = 2;
    • getApiGroupBytes

      com.google.protobuf.ByteString getApiGroupBytes()
       APIGroup holds the API group of the referenced subject.
       Defaults to "" for ServiceAccount subjects.
       Defaults to "rbac.authorization.k8s.io" for User and Group subjects.
       +optional
       
      optional string apiGroup = 2;
    • hasName

      boolean hasName()
       Name of the object being referenced.
       
      optional string name = 3;
    • getName

      String getName()
       Name of the object being referenced.
       
      optional string name = 3;
    • getNameBytes

      com.google.protobuf.ByteString getNameBytes()
       Name of the object being referenced.
       
      optional string name = 3;
    • hasNamespace

      boolean hasNamespace()
       Namespace of the referenced object.  If the object kind is non-namespace, such as "User" or "Group", and this value is not empty
       the Authorizer should report an error.
       +optional
       
      optional string namespace = 4;
    • getNamespace

      String getNamespace()
       Namespace of the referenced object.  If the object kind is non-namespace, such as "User" or "Group", and this value is not empty
       the Authorizer should report an error.
       +optional
       
      optional string namespace = 4;
    • getNamespaceBytes

      com.google.protobuf.ByteString getNamespaceBytes()
       Namespace of the referenced object.  If the object kind is non-namespace, such as "User" or "Group", and this value is not empty
       the Authorizer should report an error.
       +optional
       
      optional string namespace = 4;