public static final class V1alpha1Rbac.Subject extends com.google.protobuf.GeneratedMessageV3 implements V1alpha1Rbac.SubjectOrBuilder
Subject contains a reference to the object or user identities a role binding applies to. This can either hold a direct API object reference, or a value for non-objects such as user and group names.Protobuf type
k8s.io.api.rbac.v1alpha1.Subject| Modifier and Type | Class and Description |
|---|---|
static class |
V1alpha1Rbac.Subject.Builder
Subject contains a reference to the object or user identities a role binding applies to.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
APIVERSION_FIELD_NUMBER |
static int |
KIND_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
NAMESPACE_FIELD_NUMBER |
static com.google.protobuf.Parser<V1alpha1Rbac.Subject> |
PARSER
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getApiVersion()
APIVersion holds the API group and version of the referenced subject.
|
com.google.protobuf.ByteString |
getApiVersionBytes()
APIVersion holds the API group and version of the referenced subject.
|
static V1alpha1Rbac.Subject |
getDefaultInstance() |
V1alpha1Rbac.Subject |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getKind()
Kind of object being referenced.
|
com.google.protobuf.ByteString |
getKindBytes()
Kind of object being referenced.
|
String |
getName()
Name of the object being referenced.
|
com.google.protobuf.ByteString |
getNameBytes()
Name of the object being referenced.
|
String |
getNamespace()
Namespace of the referenced object.
|
com.google.protobuf.ByteString |
getNamespaceBytes()
Namespace of the referenced object.
|
com.google.protobuf.Parser<V1alpha1Rbac.Subject> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasApiVersion()
APIVersion holds the API group and version of the referenced subject.
|
int |
hashCode() |
boolean |
hasKind()
Kind of object being referenced.
|
boolean |
hasName()
Name of the object being referenced.
|
boolean |
hasNamespace()
Namespace of the referenced object.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static V1alpha1Rbac.Subject.Builder |
newBuilder() |
static V1alpha1Rbac.Subject.Builder |
newBuilder(V1alpha1Rbac.Subject prototype) |
V1alpha1Rbac.Subject.Builder |
newBuilderForType() |
protected V1alpha1Rbac.Subject.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static V1alpha1Rbac.Subject |
parseDelimitedFrom(InputStream input) |
static V1alpha1Rbac.Subject |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1alpha1Rbac.Subject |
parseFrom(byte[] data) |
static V1alpha1Rbac.Subject |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1alpha1Rbac.Subject |
parseFrom(ByteBuffer data) |
static V1alpha1Rbac.Subject |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1alpha1Rbac.Subject |
parseFrom(com.google.protobuf.ByteString data) |
static V1alpha1Rbac.Subject |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1alpha1Rbac.Subject |
parseFrom(com.google.protobuf.CodedInputStream input) |
static V1alpha1Rbac.Subject |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1alpha1Rbac.Subject |
parseFrom(InputStream input) |
static V1alpha1Rbac.Subject |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<V1alpha1Rbac.Subject> |
parser() |
V1alpha1Rbac.Subject.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newInstance, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int KIND_FIELD_NUMBER
public static final int APIVERSION_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
public static final int NAMESPACE_FIELD_NUMBER
@Deprecated public static final com.google.protobuf.Parser<V1alpha1Rbac.Subject> PARSER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public 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;hasKind in interface V1alpha1Rbac.SubjectOrBuilderpublic 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;getKind in interface V1alpha1Rbac.SubjectOrBuilderpublic 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;getKindBytes in interface V1alpha1Rbac.SubjectOrBuilderpublic boolean hasApiVersion()
APIVersion holds the API group and version of the referenced subject. Defaults to "v1" for ServiceAccount subjects. Defaults to "rbac.authorization.k8s.io/v1alpha1" for User and Group subjects. +k8s:conversion-gen=false +optional
optional string apiVersion = 2;hasApiVersion in interface V1alpha1Rbac.SubjectOrBuilderpublic String getApiVersion()
APIVersion holds the API group and version of the referenced subject. Defaults to "v1" for ServiceAccount subjects. Defaults to "rbac.authorization.k8s.io/v1alpha1" for User and Group subjects. +k8s:conversion-gen=false +optional
optional string apiVersion = 2;getApiVersion in interface V1alpha1Rbac.SubjectOrBuilderpublic com.google.protobuf.ByteString getApiVersionBytes()
APIVersion holds the API group and version of the referenced subject. Defaults to "v1" for ServiceAccount subjects. Defaults to "rbac.authorization.k8s.io/v1alpha1" for User and Group subjects. +k8s:conversion-gen=false +optional
optional string apiVersion = 2;getApiVersionBytes in interface V1alpha1Rbac.SubjectOrBuilderpublic boolean hasName()
Name of the object being referenced.
optional string name = 3;hasName in interface V1alpha1Rbac.SubjectOrBuilderpublic String getName()
Name of the object being referenced.
optional string name = 3;getName in interface V1alpha1Rbac.SubjectOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
Name of the object being referenced.
optional string name = 3;getNameBytes in interface V1alpha1Rbac.SubjectOrBuilderpublic 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;hasNamespace in interface V1alpha1Rbac.SubjectOrBuilderpublic 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;getNamespace in interface V1alpha1Rbac.SubjectOrBuilderpublic 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;getNamespaceBytes in interface V1alpha1Rbac.SubjectOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static V1alpha1Rbac.Subject parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1alpha1Rbac.Subject parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1alpha1Rbac.Subject parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1alpha1Rbac.Subject parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1alpha1Rbac.Subject parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1alpha1Rbac.Subject parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1alpha1Rbac.Subject parseFrom(InputStream input) throws IOException
IOExceptionpublic static V1alpha1Rbac.Subject parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static V1alpha1Rbac.Subject parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static V1alpha1Rbac.Subject parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static V1alpha1Rbac.Subject parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static V1alpha1Rbac.Subject parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic V1alpha1Rbac.Subject.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static V1alpha1Rbac.Subject.Builder newBuilder()
public static V1alpha1Rbac.Subject.Builder newBuilder(V1alpha1Rbac.Subject prototype)
public V1alpha1Rbac.Subject.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected V1alpha1Rbac.Subject.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static V1alpha1Rbac.Subject getDefaultInstance()
public static com.google.protobuf.Parser<V1alpha1Rbac.Subject> parser()
public com.google.protobuf.Parser<V1alpha1Rbac.Subject> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public V1alpha1Rbac.Subject getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2023. All rights reserved.