Class V1Rbac.AggregationRule

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

public static final class V1Rbac.AggregationRule extends com.google.protobuf.GeneratedMessageV3 implements V1Rbac.AggregationRuleOrBuilder
 AggregationRule describes how to locate ClusterRoles to aggregate into the ClusterRole
 
Protobuf type k8s.io.api.rbac.v1.AggregationRule
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
    • 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 V1Rbac.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 V1Rbac.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 V1Rbac.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 V1Rbac.AggregationRuleOrBuilder
    • 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 V1Rbac.AggregationRuleOrBuilder
    • 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 V1Rbac.AggregationRule parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

      public static V1Rbac.AggregationRule parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

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

      public static V1Rbac.AggregationRule parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

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

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

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

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

      public static V1Rbac.AggregationRule.Builder newBuilder()
    • newBuilder

      public static V1Rbac.AggregationRule.Builder newBuilder(V1Rbac.AggregationRule prototype)
    • toBuilder

      public V1Rbac.AggregationRule.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

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

      public static V1Rbac.AggregationRule getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<V1Rbac.AggregationRule> parser()
    • getParserForType

      public com.google.protobuf.Parser<V1Rbac.AggregationRule> 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 V1Rbac.AggregationRule getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder