Interface PolicySpec.PolicyRule.StringValuesOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
PolicySpec.PolicyRule.StringValues, PolicySpec.PolicyRule.StringValues.Builder
Enclosing class:
PolicySpec.PolicyRule

public static interface PolicySpec.PolicyRule.StringValuesOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    getAllowedValues(int index)
    List of values allowed at this resource.
    com.google.protobuf.ByteString
    List of values allowed at this resource.
    int
    List of values allowed at this resource.
    List of values allowed at this resource.
    getDeniedValues(int index)
    List of values denied at this resource.
    com.google.protobuf.ByteString
    List of values denied at this resource.
    int
    List of values denied at this resource.
    List of values denied at this resource.

    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

    • getAllowedValuesList

      List<String> getAllowedValuesList()
       List of values allowed at this resource.
       
      repeated string allowed_values = 1;
      Returns:
      A list containing the allowedValues.
    • getAllowedValuesCount

      int getAllowedValuesCount()
       List of values allowed at this resource.
       
      repeated string allowed_values = 1;
      Returns:
      The count of allowedValues.
    • getAllowedValues

      String getAllowedValues(int index)
       List of values allowed at this resource.
       
      repeated string allowed_values = 1;
      Parameters:
      index - The index of the element to return.
      Returns:
      The allowedValues at the given index.
    • getAllowedValuesBytes

      com.google.protobuf.ByteString getAllowedValuesBytes(int index)
       List of values allowed at this resource.
       
      repeated string allowed_values = 1;
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the allowedValues at the given index.
    • getDeniedValuesList

      List<String> getDeniedValuesList()
       List of values denied at this resource.
       
      repeated string denied_values = 2;
      Returns:
      A list containing the deniedValues.
    • getDeniedValuesCount

      int getDeniedValuesCount()
       List of values denied at this resource.
       
      repeated string denied_values = 2;
      Returns:
      The count of deniedValues.
    • getDeniedValues

      String getDeniedValues(int index)
       List of values denied at this resource.
       
      repeated string denied_values = 2;
      Parameters:
      index - The index of the element to return.
      Returns:
      The deniedValues at the given index.
    • getDeniedValuesBytes

      com.google.protobuf.ByteString getDeniedValuesBytes(int index)
       List of values denied at this resource.
       
      repeated string denied_values = 2;
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the deniedValues at the given index.