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
Modifier and TypeMethodDescriptiongetAllowedValues(int index) List of values allowed at this resource.com.google.protobuf.ByteStringgetAllowedValuesBytes(int index) List of values allowed at this resource.intList 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.ByteStringgetDeniedValuesBytes(int index) List of values denied at this resource.intList of values denied at this resource.List of values denied at this resource.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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
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 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
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.
-