Class V1Authorization.ResourceAttributes

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.kubernetes.client.proto.V1Authorization.ResourceAttributes
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, V1Authorization.ResourceAttributesOrBuilder, Serializable
Enclosing class:
V1Authorization

public static final class V1Authorization.ResourceAttributes extends com.google.protobuf.GeneratedMessageV3 implements V1Authorization.ResourceAttributesOrBuilder
 ResourceAttributes includes the authorization attributes available for resource requests to the Authorizer interface
 
Protobuf type k8s.io.api.authorization.v1.ResourceAttributes
See Also:
  • Field Details

  • Method Details

    • getUnknownFields

      public final com.google.protobuf.UnknownFieldSet getUnknownFields()
      Specified by:
      getUnknownFields in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getUnknownFields in class com.google.protobuf.GeneratedMessageV3
    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
    • hasNamespace

      public boolean hasNamespace()
       Namespace is the namespace of the action being requested.  Currently, there is no distinction between no namespace and all namespaces
       "" (empty) is defaulted for LocalSubjectAccessReviews
       "" (empty) is empty for cluster-scoped resources
       "" (empty) means "all" for namespace scoped resources from a SubjectAccessReview or SelfSubjectAccessReview
       +optional
       
      optional string namespace = 1;
      Specified by:
      hasNamespace in interface V1Authorization.ResourceAttributesOrBuilder
    • getNamespace

      public String getNamespace()
       Namespace is the namespace of the action being requested.  Currently, there is no distinction between no namespace and all namespaces
       "" (empty) is defaulted for LocalSubjectAccessReviews
       "" (empty) is empty for cluster-scoped resources
       "" (empty) means "all" for namespace scoped resources from a SubjectAccessReview or SelfSubjectAccessReview
       +optional
       
      optional string namespace = 1;
      Specified by:
      getNamespace in interface V1Authorization.ResourceAttributesOrBuilder
    • getNamespaceBytes

      public com.google.protobuf.ByteString getNamespaceBytes()
       Namespace is the namespace of the action being requested.  Currently, there is no distinction between no namespace and all namespaces
       "" (empty) is defaulted for LocalSubjectAccessReviews
       "" (empty) is empty for cluster-scoped resources
       "" (empty) means "all" for namespace scoped resources from a SubjectAccessReview or SelfSubjectAccessReview
       +optional
       
      optional string namespace = 1;
      Specified by:
      getNamespaceBytes in interface V1Authorization.ResourceAttributesOrBuilder
    • hasVerb

      public boolean hasVerb()
       Verb is a kubernetes resource API verb, like: get, list, watch, create, update, delete, proxy.  "*" means all.
       +optional
       
      optional string verb = 2;
      Specified by:
      hasVerb in interface V1Authorization.ResourceAttributesOrBuilder
    • getVerb

      public String getVerb()
       Verb is a kubernetes resource API verb, like: get, list, watch, create, update, delete, proxy.  "*" means all.
       +optional
       
      optional string verb = 2;
      Specified by:
      getVerb in interface V1Authorization.ResourceAttributesOrBuilder
    • getVerbBytes

      public com.google.protobuf.ByteString getVerbBytes()
       Verb is a kubernetes resource API verb, like: get, list, watch, create, update, delete, proxy.  "*" means all.
       +optional
       
      optional string verb = 2;
      Specified by:
      getVerbBytes in interface V1Authorization.ResourceAttributesOrBuilder
    • hasGroup

      public boolean hasGroup()
       Group is the API Group of the Resource.  "*" means all.
       +optional
       
      optional string group = 3;
      Specified by:
      hasGroup in interface V1Authorization.ResourceAttributesOrBuilder
    • getGroup

      public String getGroup()
       Group is the API Group of the Resource.  "*" means all.
       +optional
       
      optional string group = 3;
      Specified by:
      getGroup in interface V1Authorization.ResourceAttributesOrBuilder
    • getGroupBytes

      public com.google.protobuf.ByteString getGroupBytes()
       Group is the API Group of the Resource.  "*" means all.
       +optional
       
      optional string group = 3;
      Specified by:
      getGroupBytes in interface V1Authorization.ResourceAttributesOrBuilder
    • hasVersion

      public boolean hasVersion()
       Version is the API Version of the Resource.  "*" means all.
       +optional
       
      optional string version = 4;
      Specified by:
      hasVersion in interface V1Authorization.ResourceAttributesOrBuilder
    • getVersion

      public String getVersion()
       Version is the API Version of the Resource.  "*" means all.
       +optional
       
      optional string version = 4;
      Specified by:
      getVersion in interface V1Authorization.ResourceAttributesOrBuilder
    • getVersionBytes

      public com.google.protobuf.ByteString getVersionBytes()
       Version is the API Version of the Resource.  "*" means all.
       +optional
       
      optional string version = 4;
      Specified by:
      getVersionBytes in interface V1Authorization.ResourceAttributesOrBuilder
    • hasResource

      public boolean hasResource()
       Resource is one of the existing resource types.  "*" means all.
       +optional
       
      optional string resource = 5;
      Specified by:
      hasResource in interface V1Authorization.ResourceAttributesOrBuilder
    • getResource

      public String getResource()
       Resource is one of the existing resource types.  "*" means all.
       +optional
       
      optional string resource = 5;
      Specified by:
      getResource in interface V1Authorization.ResourceAttributesOrBuilder
    • getResourceBytes

      public com.google.protobuf.ByteString getResourceBytes()
       Resource is one of the existing resource types.  "*" means all.
       +optional
       
      optional string resource = 5;
      Specified by:
      getResourceBytes in interface V1Authorization.ResourceAttributesOrBuilder
    • hasSubresource

      public boolean hasSubresource()
       Subresource is one of the existing resource types.  "" means none.
       +optional
       
      optional string subresource = 6;
      Specified by:
      hasSubresource in interface V1Authorization.ResourceAttributesOrBuilder
    • getSubresource

      public String getSubresource()
       Subresource is one of the existing resource types.  "" means none.
       +optional
       
      optional string subresource = 6;
      Specified by:
      getSubresource in interface V1Authorization.ResourceAttributesOrBuilder
    • getSubresourceBytes

      public com.google.protobuf.ByteString getSubresourceBytes()
       Subresource is one of the existing resource types.  "" means none.
       +optional
       
      optional string subresource = 6;
      Specified by:
      getSubresourceBytes in interface V1Authorization.ResourceAttributesOrBuilder
    • hasName

      public boolean hasName()
       Name is the name of the resource being requested for a "get" or deleted for a "delete". "" (empty) means all.
       +optional
       
      optional string name = 7;
      Specified by:
      hasName in interface V1Authorization.ResourceAttributesOrBuilder
    • getName

      public String getName()
       Name is the name of the resource being requested for a "get" or deleted for a "delete". "" (empty) means all.
       +optional
       
      optional string name = 7;
      Specified by:
      getName in interface V1Authorization.ResourceAttributesOrBuilder
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Name is the name of the resource being requested for a "get" or deleted for a "delete". "" (empty) means all.
       +optional
       
      optional string name = 7;
      Specified by:
      getNameBytes in interface V1Authorization.ResourceAttributesOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessageV3
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static V1Authorization.ResourceAttributes parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static V1Authorization.ResourceAttributes parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static V1Authorization.ResourceAttributes parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static V1Authorization.ResourceAttributes parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static V1Authorization.ResourceAttributes parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static V1Authorization.ResourceAttributes parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static V1Authorization.ResourceAttributes parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static V1Authorization.ResourceAttributes parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static V1Authorization.ResourceAttributes parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static V1Authorization.ResourceAttributes parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static V1Authorization.ResourceAttributes parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static V1Authorization.ResourceAttributes parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public V1Authorization.ResourceAttributes.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static V1Authorization.ResourceAttributes.Builder newBuilder()
    • newBuilder

    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected V1Authorization.ResourceAttributes.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static V1Authorization.ResourceAttributes getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<V1Authorization.ResourceAttributes> parser()
    • getParserForType

      public com.google.protobuf.Parser<V1Authorization.ResourceAttributes> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstanceForType

      public V1Authorization.ResourceAttributes getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder