Package com.google.cloud.orgpolicy.v2
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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetAllowedValues(int index)List of values allowed at this resource.com.google.protobuf.ByteStringgetAllowedValuesBytes(int index)List of values allowed at this resource.intgetAllowedValuesCount()List of values allowed at this resource.List<String>getAllowedValuesList()List of values allowed at this resource.StringgetDeniedValues(int index)List of values denied at this resource.com.google.protobuf.ByteStringgetDeniedValuesBytes(int index)List of values denied at this resource.intgetDeniedValuesCount()List of values denied at this resource.List<String>getDeniedValuesList()List of values denied at this resource.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
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.
-
-