Package io.kubernetes.client.proto
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 TypeMethodDescriptionAPIGroup holds the API group of the referenced subject.com.google.protobuf.ByteStringAPIGroup holds the API group of the referenced subject.getKind()Kind of object being referenced.com.google.protobuf.ByteStringKind of object being referenced.getName()Name of the object being referenced.com.google.protobuf.ByteStringName of the object being referenced.Namespace of the referenced object.com.google.protobuf.ByteStringNamespace of the referenced object.booleanAPIGroup holds the API group of the referenced subject.booleanhasKind()Kind of object being referenced.booleanhasName()Name of the object being referenced.booleanNamespace of the referenced object.Methods 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
-
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;
-