Interface Constraint.CustomConstraintDefinition.ParameterOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
Constraint.CustomConstraintDefinition.Parameter, Constraint.CustomConstraintDefinition.Parameter.Builder
Enclosing class:
Constraint.CustomConstraintDefinition

public static interface Constraint.CustomConstraintDefinition.ParameterOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getTypeValue

      int getTypeValue()
       Type of the parameter.
       
      .google.cloud.orgpolicy.v2.Constraint.CustomConstraintDefinition.Parameter.Type type = 1;
      Returns:
      The enum numeric value on the wire for type.
    • getType

       Type of the parameter.
       
      .google.cloud.orgpolicy.v2.Constraint.CustomConstraintDefinition.Parameter.Type type = 1;
      Returns:
      The type.
    • hasDefaultValue

      boolean hasDefaultValue()
       Sets the value of the parameter in an assignment if no value is given.
       
      .google.protobuf.Value default_value = 2;
      Returns:
      Whether the defaultValue field is set.
    • getDefaultValue

      com.google.protobuf.Value getDefaultValue()
       Sets the value of the parameter in an assignment if no value is given.
       
      .google.protobuf.Value default_value = 2;
      Returns:
      The defaultValue.
    • getDefaultValueOrBuilder

      com.google.protobuf.ValueOrBuilder getDefaultValueOrBuilder()
       Sets the value of the parameter in an assignment if no value is given.
       
      .google.protobuf.Value default_value = 2;
    • getValidValuesExpr

      String getValidValuesExpr()
       Provides a CEL expression to specify the acceptable parameter values
       during assignment.
       For example, parameterName in ("parameterValue1", "parameterValue2")
       
      string valid_values_expr = 3;
      Returns:
      The validValuesExpr.
    • getValidValuesExprBytes

      com.google.protobuf.ByteString getValidValuesExprBytes()
       Provides a CEL expression to specify the acceptable parameter values
       during assignment.
       For example, parameterName in ("parameterValue1", "parameterValue2")
       
      string valid_values_expr = 3;
      Returns:
      The bytes for validValuesExpr.
    • hasMetadata

      boolean hasMetadata()
       Defines subproperties primarily used by the UI to display user-friendly
       information.
       
      .google.cloud.orgpolicy.v2.Constraint.CustomConstraintDefinition.Parameter.Metadata metadata = 4;
      Returns:
      Whether the metadata field is set.
    • getMetadata

       Defines subproperties primarily used by the UI to display user-friendly
       information.
       
      .google.cloud.orgpolicy.v2.Constraint.CustomConstraintDefinition.Parameter.Metadata metadata = 4;
      Returns:
      The metadata.
    • getMetadataOrBuilder

       Defines subproperties primarily used by the UI to display user-friendly
       information.
       
      .google.cloud.orgpolicy.v2.Constraint.CustomConstraintDefinition.Parameter.Metadata metadata = 4;
    • getItemValue

      int getItemValue()
       Determines the parameter's value structure.
       For example, `LIST<STRING>` can be specified by defining `type: LIST`,
       and `item: STRING`.
       
      .google.cloud.orgpolicy.v2.Constraint.CustomConstraintDefinition.Parameter.Type item = 5;
      Returns:
      The enum numeric value on the wire for item.
    • getItem

       Determines the parameter's value structure.
       For example, `LIST<STRING>` can be specified by defining `type: LIST`,
       and `item: STRING`.
       
      .google.cloud.orgpolicy.v2.Constraint.CustomConstraintDefinition.Parameter.Type item = 5;
      Returns:
      The item.