Interface AnalyzerOrgPolicyConstraint.ConstraintOrBuilder

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

public static interface AnalyzerOrgPolicyConstraint.ConstraintOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getName

      String getName()
       The unique name of the constraint. Format of the name should be
       * `constraints/{constraint_name}`
      
       For example, `constraints/compute.disableSerialPortAccess`.
       
      string name = 1;
      Returns:
      The name.
    • getNameBytes

      com.google.protobuf.ByteString getNameBytes()
       The unique name of the constraint. Format of the name should be
       * `constraints/{constraint_name}`
      
       For example, `constraints/compute.disableSerialPortAccess`.
       
      string name = 1;
      Returns:
      The bytes for name.
    • getDisplayName

      String getDisplayName()
       The human readable name of the constraint.
       
      string display_name = 2;
      Returns:
      The displayName.
    • getDisplayNameBytes

      com.google.protobuf.ByteString getDisplayNameBytes()
       The human readable name of the constraint.
       
      string display_name = 2;
      Returns:
      The bytes for displayName.
    • getDescription

      String getDescription()
       Detailed description of what this `Constraint` controls as well as how
       and where it is enforced.
       
      string description = 3;
      Returns:
      The description.
    • getDescriptionBytes

      com.google.protobuf.ByteString getDescriptionBytes()
       Detailed description of what this `Constraint` controls as well as how
       and where it is enforced.
       
      string description = 3;
      Returns:
      The bytes for description.
    • getConstraintDefaultValue

      int getConstraintDefaultValue()
       The evaluation behavior of this constraint in the absence of 'Policy'.
       
      .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ConstraintDefault constraint_default = 4;
      Returns:
      The enum numeric value on the wire for constraintDefault.
    • getConstraintDefault

       The evaluation behavior of this constraint in the absence of 'Policy'.
       
      .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ConstraintDefault constraint_default = 4;
      Returns:
      The constraintDefault.
    • hasListConstraint

      boolean hasListConstraint()
       Defines this constraint as being a ListConstraint.
       
      .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint list_constraint = 5;
      Returns:
      Whether the listConstraint field is set.
    • getListConstraint

       Defines this constraint as being a ListConstraint.
       
      .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint list_constraint = 5;
      Returns:
      The listConstraint.
    • getListConstraintOrBuilder

       Defines this constraint as being a ListConstraint.
       
      .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint list_constraint = 5;
    • hasBooleanConstraint

      boolean hasBooleanConstraint()
       Defines this constraint as being a BooleanConstraint.
       
      .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint boolean_constraint = 6;
      Returns:
      Whether the booleanConstraint field is set.
    • getBooleanConstraint

       Defines this constraint as being a BooleanConstraint.
       
      .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint boolean_constraint = 6;
      Returns:
      The booleanConstraint.
    • getBooleanConstraintOrBuilder

       Defines this constraint as being a BooleanConstraint.
       
      .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint boolean_constraint = 6;
    • getConstraintTypeCase