Class V1Authorization.NonResourceRule.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<V1Authorization.NonResourceRule.Builder>
io.kubernetes.client.proto.V1Authorization.NonResourceRule.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, V1Authorization.NonResourceRuleOrBuilder, Cloneable
Enclosing class:
V1Authorization.NonResourceRule

public static final class V1Authorization.NonResourceRule.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<V1Authorization.NonResourceRule.Builder> implements V1Authorization.NonResourceRuleOrBuilder
 NonResourceRule holds information that describes a rule for the non-resource
 
Protobuf type k8s.io.api.authorization.v1.NonResourceRule
  • Method Details

    • 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.Builder<V1Authorization.NonResourceRule.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessageV3.Builder<V1Authorization.NonResourceRule.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<V1Authorization.NonResourceRule.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public V1Authorization.NonResourceRule buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • clone

      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<V1Authorization.NonResourceRule.Builder>
    • setField

      public V1Authorization.NonResourceRule.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<V1Authorization.NonResourceRule.Builder>
    • clearField

      public V1Authorization.NonResourceRule.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<V1Authorization.NonResourceRule.Builder>
    • clearOneof

      public V1Authorization.NonResourceRule.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<V1Authorization.NonResourceRule.Builder>
    • setRepeatedField

      public V1Authorization.NonResourceRule.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<V1Authorization.NonResourceRule.Builder>
    • addRepeatedField

      public V1Authorization.NonResourceRule.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<V1Authorization.NonResourceRule.Builder>
    • mergeFrom

      public V1Authorization.NonResourceRule.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<V1Authorization.NonResourceRule.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<V1Authorization.NonResourceRule.Builder>
    • mergeFrom

      public V1Authorization.NonResourceRule.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<V1Authorization.NonResourceRule.Builder>
      Throws:
      IOException
    • getVerbsList

      public com.google.protobuf.ProtocolStringList getVerbsList()
       Verb is a list of kubernetes non-resource API verbs, like: get, post, put, delete, patch, head, options.  "*" means all.
       
      repeated string verbs = 1;
      Specified by:
      getVerbsList in interface V1Authorization.NonResourceRuleOrBuilder
    • getVerbsCount

      public int getVerbsCount()
       Verb is a list of kubernetes non-resource API verbs, like: get, post, put, delete, patch, head, options.  "*" means all.
       
      repeated string verbs = 1;
      Specified by:
      getVerbsCount in interface V1Authorization.NonResourceRuleOrBuilder
    • getVerbs

      public String getVerbs(int index)
       Verb is a list of kubernetes non-resource API verbs, like: get, post, put, delete, patch, head, options.  "*" means all.
       
      repeated string verbs = 1;
      Specified by:
      getVerbs in interface V1Authorization.NonResourceRuleOrBuilder
    • getVerbsBytes

      public com.google.protobuf.ByteString getVerbsBytes(int index)
       Verb is a list of kubernetes non-resource API verbs, like: get, post, put, delete, patch, head, options.  "*" means all.
       
      repeated string verbs = 1;
      Specified by:
      getVerbsBytes in interface V1Authorization.NonResourceRuleOrBuilder
    • setVerbs

      public V1Authorization.NonResourceRule.Builder setVerbs(int index, String value)
       Verb is a list of kubernetes non-resource API verbs, like: get, post, put, delete, patch, head, options.  "*" means all.
       
      repeated string verbs = 1;
    • addVerbs

       Verb is a list of kubernetes non-resource API verbs, like: get, post, put, delete, patch, head, options.  "*" means all.
       
      repeated string verbs = 1;
    • addAllVerbs

       Verb is a list of kubernetes non-resource API verbs, like: get, post, put, delete, patch, head, options.  "*" means all.
       
      repeated string verbs = 1;
    • clearVerbs

       Verb is a list of kubernetes non-resource API verbs, like: get, post, put, delete, patch, head, options.  "*" means all.
       
      repeated string verbs = 1;
    • addVerbsBytes

      public V1Authorization.NonResourceRule.Builder addVerbsBytes(com.google.protobuf.ByteString value)
       Verb is a list of kubernetes non-resource API verbs, like: get, post, put, delete, patch, head, options.  "*" means all.
       
      repeated string verbs = 1;
    • getNonResourceURLsList

      public com.google.protobuf.ProtocolStringList getNonResourceURLsList()
       NonResourceURLs is a set of partial urls that a user should have access to.  *s are allowed, but only as the full,
       final step in the path.  "*" means all.
       +optional
       
      repeated string nonResourceURLs = 2;
      Specified by:
      getNonResourceURLsList in interface V1Authorization.NonResourceRuleOrBuilder
    • getNonResourceURLsCount

      public int getNonResourceURLsCount()
       NonResourceURLs is a set of partial urls that a user should have access to.  *s are allowed, but only as the full,
       final step in the path.  "*" means all.
       +optional
       
      repeated string nonResourceURLs = 2;
      Specified by:
      getNonResourceURLsCount in interface V1Authorization.NonResourceRuleOrBuilder
    • getNonResourceURLs

      public String getNonResourceURLs(int index)
       NonResourceURLs is a set of partial urls that a user should have access to.  *s are allowed, but only as the full,
       final step in the path.  "*" means all.
       +optional
       
      repeated string nonResourceURLs = 2;
      Specified by:
      getNonResourceURLs in interface V1Authorization.NonResourceRuleOrBuilder
    • getNonResourceURLsBytes

      public com.google.protobuf.ByteString getNonResourceURLsBytes(int index)
       NonResourceURLs is a set of partial urls that a user should have access to.  *s are allowed, but only as the full,
       final step in the path.  "*" means all.
       +optional
       
      repeated string nonResourceURLs = 2;
      Specified by:
      getNonResourceURLsBytes in interface V1Authorization.NonResourceRuleOrBuilder
    • setNonResourceURLs

      public V1Authorization.NonResourceRule.Builder setNonResourceURLs(int index, String value)
       NonResourceURLs is a set of partial urls that a user should have access to.  *s are allowed, but only as the full,
       final step in the path.  "*" means all.
       +optional
       
      repeated string nonResourceURLs = 2;
    • addNonResourceURLs

      public V1Authorization.NonResourceRule.Builder addNonResourceURLs(String value)
       NonResourceURLs is a set of partial urls that a user should have access to.  *s are allowed, but only as the full,
       final step in the path.  "*" means all.
       +optional
       
      repeated string nonResourceURLs = 2;
    • addAllNonResourceURLs

      public V1Authorization.NonResourceRule.Builder addAllNonResourceURLs(Iterable<String> values)
       NonResourceURLs is a set of partial urls that a user should have access to.  *s are allowed, but only as the full,
       final step in the path.  "*" means all.
       +optional
       
      repeated string nonResourceURLs = 2;
    • clearNonResourceURLs

      public V1Authorization.NonResourceRule.Builder clearNonResourceURLs()
       NonResourceURLs is a set of partial urls that a user should have access to.  *s are allowed, but only as the full,
       final step in the path.  "*" means all.
       +optional
       
      repeated string nonResourceURLs = 2;
    • addNonResourceURLsBytes

      public V1Authorization.NonResourceRule.Builder addNonResourceURLsBytes(com.google.protobuf.ByteString value)
       NonResourceURLs is a set of partial urls that a user should have access to.  *s are allowed, but only as the full,
       final step in the path.  "*" means all.
       +optional
       
      repeated string nonResourceURLs = 2;
    • setUnknownFields

      public final V1Authorization.NonResourceRule.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1Authorization.NonResourceRule.Builder>
    • mergeUnknownFields

      public final V1Authorization.NonResourceRule.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1Authorization.NonResourceRule.Builder>