Interface V1alpha1Admissionregistration.RuleOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
V1alpha1Admissionregistration.Rule, V1alpha1Admissionregistration.Rule.Builder
Enclosing class:
V1alpha1Admissionregistration

public static interface V1alpha1Admissionregistration.RuleOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    getApiGroups(int index)
    APIGroups is the API groups the resources belong to.
    com.google.protobuf.ByteString
    getApiGroupsBytes(int index)
    APIGroups is the API groups the resources belong to.
    int
    APIGroups is the API groups the resources belong to.
    APIGroups is the API groups the resources belong to.
    getApiVersions(int index)
    APIVersions is the API versions the resources belong to.
    com.google.protobuf.ByteString
    APIVersions is the API versions the resources belong to.
    int
    APIVersions is the API versions the resources belong to.
    APIVersions is the API versions the resources belong to.
    getResources(int index)
    Resources is a list of resources this rule applies to.
    com.google.protobuf.ByteString
    getResourcesBytes(int index)
    Resources is a list of resources this rule applies to.
    int
    Resources is a list of resources this rule applies to.
    Resources is a list of resources this rule applies to.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getApiGroupsList

      List<String> getApiGroupsList()
       APIGroups is the API groups the resources belong to. '*' is all groups.
       If '*' is present, the length of the slice must be one.
       Required.
       
      repeated string apiGroups = 1;
    • getApiGroupsCount

      int getApiGroupsCount()
       APIGroups is the API groups the resources belong to. '*' is all groups.
       If '*' is present, the length of the slice must be one.
       Required.
       
      repeated string apiGroups = 1;
    • getApiGroups

      String getApiGroups(int index)
       APIGroups is the API groups the resources belong to. '*' is all groups.
       If '*' is present, the length of the slice must be one.
       Required.
       
      repeated string apiGroups = 1;
    • getApiGroupsBytes

      com.google.protobuf.ByteString getApiGroupsBytes(int index)
       APIGroups is the API groups the resources belong to. '*' is all groups.
       If '*' is present, the length of the slice must be one.
       Required.
       
      repeated string apiGroups = 1;
    • getApiVersionsList

      List<String> getApiVersionsList()
       APIVersions is the API versions the resources belong to. '*' is all versions.
       If '*' is present, the length of the slice must be one.
       Required.
       
      repeated string apiVersions = 2;
    • getApiVersionsCount

      int getApiVersionsCount()
       APIVersions is the API versions the resources belong to. '*' is all versions.
       If '*' is present, the length of the slice must be one.
       Required.
       
      repeated string apiVersions = 2;
    • getApiVersions

      String getApiVersions(int index)
       APIVersions is the API versions the resources belong to. '*' is all versions.
       If '*' is present, the length of the slice must be one.
       Required.
       
      repeated string apiVersions = 2;
    • getApiVersionsBytes

      com.google.protobuf.ByteString getApiVersionsBytes(int index)
       APIVersions is the API versions the resources belong to. '*' is all versions.
       If '*' is present, the length of the slice must be one.
       Required.
       
      repeated string apiVersions = 2;
    • getResourcesList

      List<String> getResourcesList()
       Resources is a list of resources this rule applies to.
      
       For example:
       'pods' means pods.
       'pods/log' means the log subresource of pods.
       '*' means all resources, but not subresources.
       'pods/*' means all subresources of pods.
       '*/scale' means all scale subresources.
       '*/*' means all resources and their subresources.
      
       If wildcard is present, the validation rule will ensure resources do not
       overlap with each other.
      
       Depending on the enclosing object, subresources might not be allowed.
       Required.
       
      repeated string resources = 3;
    • getResourcesCount

      int getResourcesCount()
       Resources is a list of resources this rule applies to.
      
       For example:
       'pods' means pods.
       'pods/log' means the log subresource of pods.
       '*' means all resources, but not subresources.
       'pods/*' means all subresources of pods.
       '*/scale' means all scale subresources.
       '*/*' means all resources and their subresources.
      
       If wildcard is present, the validation rule will ensure resources do not
       overlap with each other.
      
       Depending on the enclosing object, subresources might not be allowed.
       Required.
       
      repeated string resources = 3;
    • getResources

      String getResources(int index)
       Resources is a list of resources this rule applies to.
      
       For example:
       'pods' means pods.
       'pods/log' means the log subresource of pods.
       '*' means all resources, but not subresources.
       'pods/*' means all subresources of pods.
       '*/scale' means all scale subresources.
       '*/*' means all resources and their subresources.
      
       If wildcard is present, the validation rule will ensure resources do not
       overlap with each other.
      
       Depending on the enclosing object, subresources might not be allowed.
       Required.
       
      repeated string resources = 3;
    • getResourcesBytes

      com.google.protobuf.ByteString getResourcesBytes(int index)
       Resources is a list of resources this rule applies to.
      
       For example:
       'pods' means pods.
       'pods/log' means the log subresource of pods.
       '*' means all resources, but not subresources.
       'pods/*' means all subresources of pods.
       '*/scale' means all scale subresources.
       '*/*' means all resources and their subresources.
      
       If wildcard is present, the validation rule will ensure resources do not
       overlap with each other.
      
       Depending on the enclosing object, subresources might not be allowed.
       Required.
       
      repeated string resources = 3;