Class V1alpha1Rbac.AggregationRule.Builder

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

public static final class V1alpha1Rbac.AggregationRule.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<V1alpha1Rbac.AggregationRule.Builder> implements V1alpha1Rbac.AggregationRuleOrBuilder
 AggregationRule describes how to locate ClusterRoles to aggregate into the ClusterRole
 
Protobuf type k8s.io.api.rbac.v1alpha1.AggregationRule
  • 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<V1alpha1Rbac.AggregationRule.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<V1alpha1Rbac.AggregationRule.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<V1alpha1Rbac.AggregationRule.Builder>
    • getDefaultInstanceForType

      public V1alpha1Rbac.AggregationRule 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 V1alpha1Rbac.AggregationRule 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<V1alpha1Rbac.AggregationRule.Builder>
    • setField

      public V1alpha1Rbac.AggregationRule.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<V1alpha1Rbac.AggregationRule.Builder>
    • clearField

      public V1alpha1Rbac.AggregationRule.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<V1alpha1Rbac.AggregationRule.Builder>
    • clearOneof

      public V1alpha1Rbac.AggregationRule.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<V1alpha1Rbac.AggregationRule.Builder>
    • setRepeatedField

      public V1alpha1Rbac.AggregationRule.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<V1alpha1Rbac.AggregationRule.Builder>
    • addRepeatedField

      public V1alpha1Rbac.AggregationRule.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<V1alpha1Rbac.AggregationRule.Builder>
    • mergeFrom

      public V1alpha1Rbac.AggregationRule.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<V1alpha1Rbac.AggregationRule.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<V1alpha1Rbac.AggregationRule.Builder>
    • mergeFrom

      public V1alpha1Rbac.AggregationRule.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<V1alpha1Rbac.AggregationRule.Builder>
      Throws:
      IOException
    • getClusterRoleSelectorsList

      public List<Meta.LabelSelector> getClusterRoleSelectorsList()
       ClusterRoleSelectors holds a list of selectors which will be used to find ClusterRoles and create the rules.
       If any of the selectors match, then the ClusterRole's permissions will be added
       +optional
       
      repeated .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector clusterRoleSelectors = 1;
      Specified by:
      getClusterRoleSelectorsList in interface V1alpha1Rbac.AggregationRuleOrBuilder
    • getClusterRoleSelectorsCount

      public int getClusterRoleSelectorsCount()
       ClusterRoleSelectors holds a list of selectors which will be used to find ClusterRoles and create the rules.
       If any of the selectors match, then the ClusterRole's permissions will be added
       +optional
       
      repeated .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector clusterRoleSelectors = 1;
      Specified by:
      getClusterRoleSelectorsCount in interface V1alpha1Rbac.AggregationRuleOrBuilder
    • getClusterRoleSelectors

      public Meta.LabelSelector getClusterRoleSelectors(int index)
       ClusterRoleSelectors holds a list of selectors which will be used to find ClusterRoles and create the rules.
       If any of the selectors match, then the ClusterRole's permissions will be added
       +optional
       
      repeated .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector clusterRoleSelectors = 1;
      Specified by:
      getClusterRoleSelectors in interface V1alpha1Rbac.AggregationRuleOrBuilder
    • setClusterRoleSelectors

      public V1alpha1Rbac.AggregationRule.Builder setClusterRoleSelectors(int index, Meta.LabelSelector value)
       ClusterRoleSelectors holds a list of selectors which will be used to find ClusterRoles and create the rules.
       If any of the selectors match, then the ClusterRole's permissions will be added
       +optional
       
      repeated .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector clusterRoleSelectors = 1;
    • setClusterRoleSelectors

      public V1alpha1Rbac.AggregationRule.Builder setClusterRoleSelectors(int index, Meta.LabelSelector.Builder builderForValue)
       ClusterRoleSelectors holds a list of selectors which will be used to find ClusterRoles and create the rules.
       If any of the selectors match, then the ClusterRole's permissions will be added
       +optional
       
      repeated .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector clusterRoleSelectors = 1;
    • addClusterRoleSelectors

      public V1alpha1Rbac.AggregationRule.Builder addClusterRoleSelectors(Meta.LabelSelector value)
       ClusterRoleSelectors holds a list of selectors which will be used to find ClusterRoles and create the rules.
       If any of the selectors match, then the ClusterRole's permissions will be added
       +optional
       
      repeated .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector clusterRoleSelectors = 1;
    • addClusterRoleSelectors

      public V1alpha1Rbac.AggregationRule.Builder addClusterRoleSelectors(int index, Meta.LabelSelector value)
       ClusterRoleSelectors holds a list of selectors which will be used to find ClusterRoles and create the rules.
       If any of the selectors match, then the ClusterRole's permissions will be added
       +optional
       
      repeated .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector clusterRoleSelectors = 1;
    • addClusterRoleSelectors

      public V1alpha1Rbac.AggregationRule.Builder addClusterRoleSelectors(Meta.LabelSelector.Builder builderForValue)
       ClusterRoleSelectors holds a list of selectors which will be used to find ClusterRoles and create the rules.
       If any of the selectors match, then the ClusterRole's permissions will be added
       +optional
       
      repeated .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector clusterRoleSelectors = 1;
    • addClusterRoleSelectors

      public V1alpha1Rbac.AggregationRule.Builder addClusterRoleSelectors(int index, Meta.LabelSelector.Builder builderForValue)
       ClusterRoleSelectors holds a list of selectors which will be used to find ClusterRoles and create the rules.
       If any of the selectors match, then the ClusterRole's permissions will be added
       +optional
       
      repeated .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector clusterRoleSelectors = 1;
    • addAllClusterRoleSelectors

      public V1alpha1Rbac.AggregationRule.Builder addAllClusterRoleSelectors(Iterable<? extends Meta.LabelSelector> values)
       ClusterRoleSelectors holds a list of selectors which will be used to find ClusterRoles and create the rules.
       If any of the selectors match, then the ClusterRole's permissions will be added
       +optional
       
      repeated .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector clusterRoleSelectors = 1;
    • clearClusterRoleSelectors

      public V1alpha1Rbac.AggregationRule.Builder clearClusterRoleSelectors()
       ClusterRoleSelectors holds a list of selectors which will be used to find ClusterRoles and create the rules.
       If any of the selectors match, then the ClusterRole's permissions will be added
       +optional
       
      repeated .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector clusterRoleSelectors = 1;
    • removeClusterRoleSelectors

      public V1alpha1Rbac.AggregationRule.Builder removeClusterRoleSelectors(int index)
       ClusterRoleSelectors holds a list of selectors which will be used to find ClusterRoles and create the rules.
       If any of the selectors match, then the ClusterRole's permissions will be added
       +optional
       
      repeated .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector clusterRoleSelectors = 1;
    • getClusterRoleSelectorsBuilder

      public Meta.LabelSelector.Builder getClusterRoleSelectorsBuilder(int index)
       ClusterRoleSelectors holds a list of selectors which will be used to find ClusterRoles and create the rules.
       If any of the selectors match, then the ClusterRole's permissions will be added
       +optional
       
      repeated .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector clusterRoleSelectors = 1;
    • getClusterRoleSelectorsOrBuilder

      public Meta.LabelSelectorOrBuilder getClusterRoleSelectorsOrBuilder(int index)
       ClusterRoleSelectors holds a list of selectors which will be used to find ClusterRoles and create the rules.
       If any of the selectors match, then the ClusterRole's permissions will be added
       +optional
       
      repeated .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector clusterRoleSelectors = 1;
      Specified by:
      getClusterRoleSelectorsOrBuilder in interface V1alpha1Rbac.AggregationRuleOrBuilder
    • getClusterRoleSelectorsOrBuilderList

      public List<? extends Meta.LabelSelectorOrBuilder> getClusterRoleSelectorsOrBuilderList()
       ClusterRoleSelectors holds a list of selectors which will be used to find ClusterRoles and create the rules.
       If any of the selectors match, then the ClusterRole's permissions will be added
       +optional
       
      repeated .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector clusterRoleSelectors = 1;
      Specified by:
      getClusterRoleSelectorsOrBuilderList in interface V1alpha1Rbac.AggregationRuleOrBuilder
    • addClusterRoleSelectorsBuilder

      public Meta.LabelSelector.Builder addClusterRoleSelectorsBuilder()
       ClusterRoleSelectors holds a list of selectors which will be used to find ClusterRoles and create the rules.
       If any of the selectors match, then the ClusterRole's permissions will be added
       +optional
       
      repeated .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector clusterRoleSelectors = 1;
    • addClusterRoleSelectorsBuilder

      public Meta.LabelSelector.Builder addClusterRoleSelectorsBuilder(int index)
       ClusterRoleSelectors holds a list of selectors which will be used to find ClusterRoles and create the rules.
       If any of the selectors match, then the ClusterRole's permissions will be added
       +optional
       
      repeated .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector clusterRoleSelectors = 1;
    • getClusterRoleSelectorsBuilderList

      public List<Meta.LabelSelector.Builder> getClusterRoleSelectorsBuilderList()
       ClusterRoleSelectors holds a list of selectors which will be used to find ClusterRoles and create the rules.
       If any of the selectors match, then the ClusterRole's permissions will be added
       +optional
       
      repeated .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector clusterRoleSelectors = 1;
    • setUnknownFields

      public final V1alpha1Rbac.AggregationRule.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<V1alpha1Rbac.AggregationRule.Builder>
    • mergeUnknownFields

      public final V1alpha1Rbac.AggregationRule.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<V1alpha1Rbac.AggregationRule.Builder>