Package io.kubernetes.client.proto
Class V1beta1Rbac.Subject
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.kubernetes.client.proto.V1beta1Rbac.Subject
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,V1beta1Rbac.SubjectOrBuilder,Serializable
- Enclosing class:
- V1beta1Rbac
public static final class V1beta1Rbac.Subject
extends com.google.protobuf.GeneratedMessageV3
implements V1beta1Rbac.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.v1beta1.Subject- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classSubject contains a reference to the object or user identities a role binding applies to.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
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 Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final com.google.protobuf.Parser<V1beta1Rbac.Subject>Deprecated.Fields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanAPIGroup holds the API group of the referenced subject.com.google.protobuf.ByteStringAPIGroup holds the API group of the referenced subject.static V1beta1Rbac.Subjectstatic final com.google.protobuf.Descriptors.DescriptorgetKind()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.com.google.protobuf.Parser<V1beta1Rbac.Subject>intfinal com.google.protobuf.UnknownFieldSetbooleanAPIGroup holds the API group of the referenced subject.inthashCode()booleanhasKind()Kind of object being referenced.booleanhasName()Name of the object being referenced.booleanNamespace of the referenced object.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanstatic V1beta1Rbac.Subject.Builderstatic V1beta1Rbac.Subject.BuildernewBuilder(V1beta1Rbac.Subject prototype) protected V1beta1Rbac.Subject.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) static V1beta1Rbac.SubjectparseDelimitedFrom(InputStream input) static V1beta1Rbac.SubjectparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static V1beta1Rbac.SubjectparseFrom(byte[] data) static V1beta1Rbac.SubjectparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static V1beta1Rbac.SubjectparseFrom(com.google.protobuf.ByteString data) static V1beta1Rbac.SubjectparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static V1beta1Rbac.SubjectparseFrom(com.google.protobuf.CodedInputStream input) static V1beta1Rbac.SubjectparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static V1beta1Rbac.SubjectparseFrom(InputStream input) static V1beta1Rbac.SubjectparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static V1beta1Rbac.SubjectparseFrom(ByteBuffer data) static V1beta1Rbac.SubjectparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<V1beta1Rbac.Subject>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
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, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
-
Field Details
-
KIND_FIELD_NUMBER
public static final int KIND_FIELD_NUMBER- See Also:
-
APIGROUP_FIELD_NUMBER
public static final int APIGROUP_FIELD_NUMBER- See Also:
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER- See Also:
-
NAMESPACE_FIELD_NUMBER
public static final int NAMESPACE_FIELD_NUMBER- See Also:
-
PARSER
Deprecated.
-
-
Method Details
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
hasKind
public 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;- Specified by:
hasKindin interfaceV1beta1Rbac.SubjectOrBuilder
-
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;- Specified by:
getKindin interfaceV1beta1Rbac.SubjectOrBuilder
-
getKindBytes
public 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;- Specified by:
getKindBytesin interfaceV1beta1Rbac.SubjectOrBuilder
-
hasApiGroup
public 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;- Specified by:
hasApiGroupin interfaceV1beta1Rbac.SubjectOrBuilder
-
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;- Specified by:
getApiGroupin interfaceV1beta1Rbac.SubjectOrBuilder
-
getApiGroupBytes
public 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;- Specified by:
getApiGroupBytesin interfaceV1beta1Rbac.SubjectOrBuilder
-
hasName
public boolean hasName()Name of the object being referenced.
optional string name = 3;- Specified by:
hasNamein interfaceV1beta1Rbac.SubjectOrBuilder
-
getName
Name of the object being referenced.
optional string name = 3;- Specified by:
getNamein interfaceV1beta1Rbac.SubjectOrBuilder
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Name of the object being referenced.
optional string name = 3;- Specified by:
getNameBytesin interfaceV1beta1Rbac.SubjectOrBuilder
-
hasNamespace
public 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;- Specified by:
hasNamespacein interfaceV1beta1Rbac.SubjectOrBuilder
-
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;- Specified by:
getNamespacein interfaceV1beta1Rbac.SubjectOrBuilder
-
getNamespaceBytes
public 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;- Specified by:
getNamespaceBytesin interfaceV1beta1Rbac.SubjectOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static V1beta1Rbac.Subject parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static V1beta1Rbac.Subject parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static V1beta1Rbac.Subject parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static V1beta1Rbac.Subject parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static V1beta1Rbac.Subject parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static V1beta1Rbac.Subject parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static V1beta1Rbac.Subject parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static V1beta1Rbac.Subject parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static V1beta1Rbac.Subject parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static V1beta1Rbac.Subject parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected V1beta1Rbac.Subject.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-