Class OrgPolicyOverlay.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<OrgPolicyOverlay.Builder>
com.google.cloud.policysimulator.v1.OrgPolicyOverlay.Builder
All Implemented Interfaces:
OrgPolicyOverlayOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
OrgPolicyOverlay

public static final class OrgPolicyOverlay.Builder extends com.google.protobuf.GeneratedMessage.Builder<OrgPolicyOverlay.Builder> implements OrgPolicyOverlayOrBuilder
 The proposed changes to OrgPolicy.
 
Protobuf type google.cloud.policysimulator.v1.OrgPolicyOverlay
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<OrgPolicyOverlay.Builder>
    • clear

      public OrgPolicyOverlay.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<OrgPolicyOverlay.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<OrgPolicyOverlay.Builder>
    • getDefaultInstanceForType

      public OrgPolicyOverlay getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public OrgPolicyOverlay build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public OrgPolicyOverlay buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public OrgPolicyOverlay.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<OrgPolicyOverlay.Builder>
    • mergeFrom

      public OrgPolicyOverlay.Builder mergeFrom(OrgPolicyOverlay other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<OrgPolicyOverlay.Builder>
    • mergeFrom

      public OrgPolicyOverlay.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<OrgPolicyOverlay.Builder>
      Throws:
      IOException
    • getPoliciesList

      public List<OrgPolicyOverlay.PolicyOverlay> getPoliciesList()
       Optional. The OrgPolicy changes to preview violations for.
      
       Any existing OrgPolicies with the same name will be overridden
       in the simulation. That is, violations will be determined as if all
       policies in the overlay were created or updated.
       
      repeated .google.cloud.policysimulator.v1.OrgPolicyOverlay.PolicyOverlay policies = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getPoliciesList in interface OrgPolicyOverlayOrBuilder
    • getPoliciesCount

      public int getPoliciesCount()
       Optional. The OrgPolicy changes to preview violations for.
      
       Any existing OrgPolicies with the same name will be overridden
       in the simulation. That is, violations will be determined as if all
       policies in the overlay were created or updated.
       
      repeated .google.cloud.policysimulator.v1.OrgPolicyOverlay.PolicyOverlay policies = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getPoliciesCount in interface OrgPolicyOverlayOrBuilder
    • getPolicies

      public OrgPolicyOverlay.PolicyOverlay getPolicies(int index)
       Optional. The OrgPolicy changes to preview violations for.
      
       Any existing OrgPolicies with the same name will be overridden
       in the simulation. That is, violations will be determined as if all
       policies in the overlay were created or updated.
       
      repeated .google.cloud.policysimulator.v1.OrgPolicyOverlay.PolicyOverlay policies = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getPolicies in interface OrgPolicyOverlayOrBuilder
    • setPolicies

      public OrgPolicyOverlay.Builder setPolicies(int index, OrgPolicyOverlay.PolicyOverlay value)
       Optional. The OrgPolicy changes to preview violations for.
      
       Any existing OrgPolicies with the same name will be overridden
       in the simulation. That is, violations will be determined as if all
       policies in the overlay were created or updated.
       
      repeated .google.cloud.policysimulator.v1.OrgPolicyOverlay.PolicyOverlay policies = 1 [(.google.api.field_behavior) = OPTIONAL];
    • setPolicies

      public OrgPolicyOverlay.Builder setPolicies(int index, OrgPolicyOverlay.PolicyOverlay.Builder builderForValue)
       Optional. The OrgPolicy changes to preview violations for.
      
       Any existing OrgPolicies with the same name will be overridden
       in the simulation. That is, violations will be determined as if all
       policies in the overlay were created or updated.
       
      repeated .google.cloud.policysimulator.v1.OrgPolicyOverlay.PolicyOverlay policies = 1 [(.google.api.field_behavior) = OPTIONAL];
    • addPolicies

       Optional. The OrgPolicy changes to preview violations for.
      
       Any existing OrgPolicies with the same name will be overridden
       in the simulation. That is, violations will be determined as if all
       policies in the overlay were created or updated.
       
      repeated .google.cloud.policysimulator.v1.OrgPolicyOverlay.PolicyOverlay policies = 1 [(.google.api.field_behavior) = OPTIONAL];
    • addPolicies

      public OrgPolicyOverlay.Builder addPolicies(int index, OrgPolicyOverlay.PolicyOverlay value)
       Optional. The OrgPolicy changes to preview violations for.
      
       Any existing OrgPolicies with the same name will be overridden
       in the simulation. That is, violations will be determined as if all
       policies in the overlay were created or updated.
       
      repeated .google.cloud.policysimulator.v1.OrgPolicyOverlay.PolicyOverlay policies = 1 [(.google.api.field_behavior) = OPTIONAL];
    • addPolicies

       Optional. The OrgPolicy changes to preview violations for.
      
       Any existing OrgPolicies with the same name will be overridden
       in the simulation. That is, violations will be determined as if all
       policies in the overlay were created or updated.
       
      repeated .google.cloud.policysimulator.v1.OrgPolicyOverlay.PolicyOverlay policies = 1 [(.google.api.field_behavior) = OPTIONAL];
    • addPolicies

      public OrgPolicyOverlay.Builder addPolicies(int index, OrgPolicyOverlay.PolicyOverlay.Builder builderForValue)
       Optional. The OrgPolicy changes to preview violations for.
      
       Any existing OrgPolicies with the same name will be overridden
       in the simulation. That is, violations will be determined as if all
       policies in the overlay were created or updated.
       
      repeated .google.cloud.policysimulator.v1.OrgPolicyOverlay.PolicyOverlay policies = 1 [(.google.api.field_behavior) = OPTIONAL];
    • addAllPolicies

      public OrgPolicyOverlay.Builder addAllPolicies(Iterable<? extends OrgPolicyOverlay.PolicyOverlay> values)
       Optional. The OrgPolicy changes to preview violations for.
      
       Any existing OrgPolicies with the same name will be overridden
       in the simulation. That is, violations will be determined as if all
       policies in the overlay were created or updated.
       
      repeated .google.cloud.policysimulator.v1.OrgPolicyOverlay.PolicyOverlay policies = 1 [(.google.api.field_behavior) = OPTIONAL];
    • clearPolicies

      public OrgPolicyOverlay.Builder clearPolicies()
       Optional. The OrgPolicy changes to preview violations for.
      
       Any existing OrgPolicies with the same name will be overridden
       in the simulation. That is, violations will be determined as if all
       policies in the overlay were created or updated.
       
      repeated .google.cloud.policysimulator.v1.OrgPolicyOverlay.PolicyOverlay policies = 1 [(.google.api.field_behavior) = OPTIONAL];
    • removePolicies

      public OrgPolicyOverlay.Builder removePolicies(int index)
       Optional. The OrgPolicy changes to preview violations for.
      
       Any existing OrgPolicies with the same name will be overridden
       in the simulation. That is, violations will be determined as if all
       policies in the overlay were created or updated.
       
      repeated .google.cloud.policysimulator.v1.OrgPolicyOverlay.PolicyOverlay policies = 1 [(.google.api.field_behavior) = OPTIONAL];
    • getPoliciesBuilder

      public OrgPolicyOverlay.PolicyOverlay.Builder getPoliciesBuilder(int index)
       Optional. The OrgPolicy changes to preview violations for.
      
       Any existing OrgPolicies with the same name will be overridden
       in the simulation. That is, violations will be determined as if all
       policies in the overlay were created or updated.
       
      repeated .google.cloud.policysimulator.v1.OrgPolicyOverlay.PolicyOverlay policies = 1 [(.google.api.field_behavior) = OPTIONAL];
    • getPoliciesOrBuilder

      public OrgPolicyOverlay.PolicyOverlayOrBuilder getPoliciesOrBuilder(int index)
       Optional. The OrgPolicy changes to preview violations for.
      
       Any existing OrgPolicies with the same name will be overridden
       in the simulation. That is, violations will be determined as if all
       policies in the overlay were created or updated.
       
      repeated .google.cloud.policysimulator.v1.OrgPolicyOverlay.PolicyOverlay policies = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getPoliciesOrBuilder in interface OrgPolicyOverlayOrBuilder
    • getPoliciesOrBuilderList

      public List<? extends OrgPolicyOverlay.PolicyOverlayOrBuilder> getPoliciesOrBuilderList()
       Optional. The OrgPolicy changes to preview violations for.
      
       Any existing OrgPolicies with the same name will be overridden
       in the simulation. That is, violations will be determined as if all
       policies in the overlay were created or updated.
       
      repeated .google.cloud.policysimulator.v1.OrgPolicyOverlay.PolicyOverlay policies = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getPoliciesOrBuilderList in interface OrgPolicyOverlayOrBuilder
    • addPoliciesBuilder

      public OrgPolicyOverlay.PolicyOverlay.Builder addPoliciesBuilder()
       Optional. The OrgPolicy changes to preview violations for.
      
       Any existing OrgPolicies with the same name will be overridden
       in the simulation. That is, violations will be determined as if all
       policies in the overlay were created or updated.
       
      repeated .google.cloud.policysimulator.v1.OrgPolicyOverlay.PolicyOverlay policies = 1 [(.google.api.field_behavior) = OPTIONAL];
    • addPoliciesBuilder

      public OrgPolicyOverlay.PolicyOverlay.Builder addPoliciesBuilder(int index)
       Optional. The OrgPolicy changes to preview violations for.
      
       Any existing OrgPolicies with the same name will be overridden
       in the simulation. That is, violations will be determined as if all
       policies in the overlay were created or updated.
       
      repeated .google.cloud.policysimulator.v1.OrgPolicyOverlay.PolicyOverlay policies = 1 [(.google.api.field_behavior) = OPTIONAL];
    • getPoliciesBuilderList

      public List<OrgPolicyOverlay.PolicyOverlay.Builder> getPoliciesBuilderList()
       Optional. The OrgPolicy changes to preview violations for.
      
       Any existing OrgPolicies with the same name will be overridden
       in the simulation. That is, violations will be determined as if all
       policies in the overlay were created or updated.
       
      repeated .google.cloud.policysimulator.v1.OrgPolicyOverlay.PolicyOverlay policies = 1 [(.google.api.field_behavior) = OPTIONAL];
    • getCustomConstraintsList

      public List<OrgPolicyOverlay.CustomConstraintOverlay> getCustomConstraintsList()
       Optional. The OrgPolicy CustomConstraint changes to preview violations for.
      
       Any existing CustomConstraints with the same name will be overridden
       in the simulation. That is, violations will be determined as if all
       custom constraints in the overlay were instantiated.
      
       Only a single custom_constraint is supported in the overlay at a time.
       For evaluating multiple constraints, multiple
       `GenerateOrgPolicyViolationsPreview` requests are made, where each request
       evaluates a single constraint.
       
      repeated .google.cloud.policysimulator.v1.OrgPolicyOverlay.CustomConstraintOverlay custom_constraints = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getCustomConstraintsList in interface OrgPolicyOverlayOrBuilder
    • getCustomConstraintsCount

      public int getCustomConstraintsCount()
       Optional. The OrgPolicy CustomConstraint changes to preview violations for.
      
       Any existing CustomConstraints with the same name will be overridden
       in the simulation. That is, violations will be determined as if all
       custom constraints in the overlay were instantiated.
      
       Only a single custom_constraint is supported in the overlay at a time.
       For evaluating multiple constraints, multiple
       `GenerateOrgPolicyViolationsPreview` requests are made, where each request
       evaluates a single constraint.
       
      repeated .google.cloud.policysimulator.v1.OrgPolicyOverlay.CustomConstraintOverlay custom_constraints = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getCustomConstraintsCount in interface OrgPolicyOverlayOrBuilder
    • getCustomConstraints

      public OrgPolicyOverlay.CustomConstraintOverlay getCustomConstraints(int index)
       Optional. The OrgPolicy CustomConstraint changes to preview violations for.
      
       Any existing CustomConstraints with the same name will be overridden
       in the simulation. That is, violations will be determined as if all
       custom constraints in the overlay were instantiated.
      
       Only a single custom_constraint is supported in the overlay at a time.
       For evaluating multiple constraints, multiple
       `GenerateOrgPolicyViolationsPreview` requests are made, where each request
       evaluates a single constraint.
       
      repeated .google.cloud.policysimulator.v1.OrgPolicyOverlay.CustomConstraintOverlay custom_constraints = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getCustomConstraints in interface OrgPolicyOverlayOrBuilder
    • setCustomConstraints

      public OrgPolicyOverlay.Builder setCustomConstraints(int index, OrgPolicyOverlay.CustomConstraintOverlay value)
       Optional. The OrgPolicy CustomConstraint changes to preview violations for.
      
       Any existing CustomConstraints with the same name will be overridden
       in the simulation. That is, violations will be determined as if all
       custom constraints in the overlay were instantiated.
      
       Only a single custom_constraint is supported in the overlay at a time.
       For evaluating multiple constraints, multiple
       `GenerateOrgPolicyViolationsPreview` requests are made, where each request
       evaluates a single constraint.
       
      repeated .google.cloud.policysimulator.v1.OrgPolicyOverlay.CustomConstraintOverlay custom_constraints = 2 [(.google.api.field_behavior) = OPTIONAL];
    • setCustomConstraints

      public OrgPolicyOverlay.Builder setCustomConstraints(int index, OrgPolicyOverlay.CustomConstraintOverlay.Builder builderForValue)
       Optional. The OrgPolicy CustomConstraint changes to preview violations for.
      
       Any existing CustomConstraints with the same name will be overridden
       in the simulation. That is, violations will be determined as if all
       custom constraints in the overlay were instantiated.
      
       Only a single custom_constraint is supported in the overlay at a time.
       For evaluating multiple constraints, multiple
       `GenerateOrgPolicyViolationsPreview` requests are made, where each request
       evaluates a single constraint.
       
      repeated .google.cloud.policysimulator.v1.OrgPolicyOverlay.CustomConstraintOverlay custom_constraints = 2 [(.google.api.field_behavior) = OPTIONAL];
    • addCustomConstraints

       Optional. The OrgPolicy CustomConstraint changes to preview violations for.
      
       Any existing CustomConstraints with the same name will be overridden
       in the simulation. That is, violations will be determined as if all
       custom constraints in the overlay were instantiated.
      
       Only a single custom_constraint is supported in the overlay at a time.
       For evaluating multiple constraints, multiple
       `GenerateOrgPolicyViolationsPreview` requests are made, where each request
       evaluates a single constraint.
       
      repeated .google.cloud.policysimulator.v1.OrgPolicyOverlay.CustomConstraintOverlay custom_constraints = 2 [(.google.api.field_behavior) = OPTIONAL];
    • addCustomConstraints

      public OrgPolicyOverlay.Builder addCustomConstraints(int index, OrgPolicyOverlay.CustomConstraintOverlay value)
       Optional. The OrgPolicy CustomConstraint changes to preview violations for.
      
       Any existing CustomConstraints with the same name will be overridden
       in the simulation. That is, violations will be determined as if all
       custom constraints in the overlay were instantiated.
      
       Only a single custom_constraint is supported in the overlay at a time.
       For evaluating multiple constraints, multiple
       `GenerateOrgPolicyViolationsPreview` requests are made, where each request
       evaluates a single constraint.
       
      repeated .google.cloud.policysimulator.v1.OrgPolicyOverlay.CustomConstraintOverlay custom_constraints = 2 [(.google.api.field_behavior) = OPTIONAL];
    • addCustomConstraints

      public OrgPolicyOverlay.Builder addCustomConstraints(OrgPolicyOverlay.CustomConstraintOverlay.Builder builderForValue)
       Optional. The OrgPolicy CustomConstraint changes to preview violations for.
      
       Any existing CustomConstraints with the same name will be overridden
       in the simulation. That is, violations will be determined as if all
       custom constraints in the overlay were instantiated.
      
       Only a single custom_constraint is supported in the overlay at a time.
       For evaluating multiple constraints, multiple
       `GenerateOrgPolicyViolationsPreview` requests are made, where each request
       evaluates a single constraint.
       
      repeated .google.cloud.policysimulator.v1.OrgPolicyOverlay.CustomConstraintOverlay custom_constraints = 2 [(.google.api.field_behavior) = OPTIONAL];
    • addCustomConstraints

      public OrgPolicyOverlay.Builder addCustomConstraints(int index, OrgPolicyOverlay.CustomConstraintOverlay.Builder builderForValue)
       Optional. The OrgPolicy CustomConstraint changes to preview violations for.
      
       Any existing CustomConstraints with the same name will be overridden
       in the simulation. That is, violations will be determined as if all
       custom constraints in the overlay were instantiated.
      
       Only a single custom_constraint is supported in the overlay at a time.
       For evaluating multiple constraints, multiple
       `GenerateOrgPolicyViolationsPreview` requests are made, where each request
       evaluates a single constraint.
       
      repeated .google.cloud.policysimulator.v1.OrgPolicyOverlay.CustomConstraintOverlay custom_constraints = 2 [(.google.api.field_behavior) = OPTIONAL];
    • addAllCustomConstraints

      public OrgPolicyOverlay.Builder addAllCustomConstraints(Iterable<? extends OrgPolicyOverlay.CustomConstraintOverlay> values)
       Optional. The OrgPolicy CustomConstraint changes to preview violations for.
      
       Any existing CustomConstraints with the same name will be overridden
       in the simulation. That is, violations will be determined as if all
       custom constraints in the overlay were instantiated.
      
       Only a single custom_constraint is supported in the overlay at a time.
       For evaluating multiple constraints, multiple
       `GenerateOrgPolicyViolationsPreview` requests are made, where each request
       evaluates a single constraint.
       
      repeated .google.cloud.policysimulator.v1.OrgPolicyOverlay.CustomConstraintOverlay custom_constraints = 2 [(.google.api.field_behavior) = OPTIONAL];
    • clearCustomConstraints

      public OrgPolicyOverlay.Builder clearCustomConstraints()
       Optional. The OrgPolicy CustomConstraint changes to preview violations for.
      
       Any existing CustomConstraints with the same name will be overridden
       in the simulation. That is, violations will be determined as if all
       custom constraints in the overlay were instantiated.
      
       Only a single custom_constraint is supported in the overlay at a time.
       For evaluating multiple constraints, multiple
       `GenerateOrgPolicyViolationsPreview` requests are made, where each request
       evaluates a single constraint.
       
      repeated .google.cloud.policysimulator.v1.OrgPolicyOverlay.CustomConstraintOverlay custom_constraints = 2 [(.google.api.field_behavior) = OPTIONAL];
    • removeCustomConstraints

      public OrgPolicyOverlay.Builder removeCustomConstraints(int index)
       Optional. The OrgPolicy CustomConstraint changes to preview violations for.
      
       Any existing CustomConstraints with the same name will be overridden
       in the simulation. That is, violations will be determined as if all
       custom constraints in the overlay were instantiated.
      
       Only a single custom_constraint is supported in the overlay at a time.
       For evaluating multiple constraints, multiple
       `GenerateOrgPolicyViolationsPreview` requests are made, where each request
       evaluates a single constraint.
       
      repeated .google.cloud.policysimulator.v1.OrgPolicyOverlay.CustomConstraintOverlay custom_constraints = 2 [(.google.api.field_behavior) = OPTIONAL];
    • getCustomConstraintsBuilder

      public OrgPolicyOverlay.CustomConstraintOverlay.Builder getCustomConstraintsBuilder(int index)
       Optional. The OrgPolicy CustomConstraint changes to preview violations for.
      
       Any existing CustomConstraints with the same name will be overridden
       in the simulation. That is, violations will be determined as if all
       custom constraints in the overlay were instantiated.
      
       Only a single custom_constraint is supported in the overlay at a time.
       For evaluating multiple constraints, multiple
       `GenerateOrgPolicyViolationsPreview` requests are made, where each request
       evaluates a single constraint.
       
      repeated .google.cloud.policysimulator.v1.OrgPolicyOverlay.CustomConstraintOverlay custom_constraints = 2 [(.google.api.field_behavior) = OPTIONAL];
    • getCustomConstraintsOrBuilder

      public OrgPolicyOverlay.CustomConstraintOverlayOrBuilder getCustomConstraintsOrBuilder(int index)
       Optional. The OrgPolicy CustomConstraint changes to preview violations for.
      
       Any existing CustomConstraints with the same name will be overridden
       in the simulation. That is, violations will be determined as if all
       custom constraints in the overlay were instantiated.
      
       Only a single custom_constraint is supported in the overlay at a time.
       For evaluating multiple constraints, multiple
       `GenerateOrgPolicyViolationsPreview` requests are made, where each request
       evaluates a single constraint.
       
      repeated .google.cloud.policysimulator.v1.OrgPolicyOverlay.CustomConstraintOverlay custom_constraints = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getCustomConstraintsOrBuilder in interface OrgPolicyOverlayOrBuilder
    • getCustomConstraintsOrBuilderList

      public List<? extends OrgPolicyOverlay.CustomConstraintOverlayOrBuilder> getCustomConstraintsOrBuilderList()
       Optional. The OrgPolicy CustomConstraint changes to preview violations for.
      
       Any existing CustomConstraints with the same name will be overridden
       in the simulation. That is, violations will be determined as if all
       custom constraints in the overlay were instantiated.
      
       Only a single custom_constraint is supported in the overlay at a time.
       For evaluating multiple constraints, multiple
       `GenerateOrgPolicyViolationsPreview` requests are made, where each request
       evaluates a single constraint.
       
      repeated .google.cloud.policysimulator.v1.OrgPolicyOverlay.CustomConstraintOverlay custom_constraints = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getCustomConstraintsOrBuilderList in interface OrgPolicyOverlayOrBuilder
    • addCustomConstraintsBuilder

      public OrgPolicyOverlay.CustomConstraintOverlay.Builder addCustomConstraintsBuilder()
       Optional. The OrgPolicy CustomConstraint changes to preview violations for.
      
       Any existing CustomConstraints with the same name will be overridden
       in the simulation. That is, violations will be determined as if all
       custom constraints in the overlay were instantiated.
      
       Only a single custom_constraint is supported in the overlay at a time.
       For evaluating multiple constraints, multiple
       `GenerateOrgPolicyViolationsPreview` requests are made, where each request
       evaluates a single constraint.
       
      repeated .google.cloud.policysimulator.v1.OrgPolicyOverlay.CustomConstraintOverlay custom_constraints = 2 [(.google.api.field_behavior) = OPTIONAL];
    • addCustomConstraintsBuilder

      public OrgPolicyOverlay.CustomConstraintOverlay.Builder addCustomConstraintsBuilder(int index)
       Optional. The OrgPolicy CustomConstraint changes to preview violations for.
      
       Any existing CustomConstraints with the same name will be overridden
       in the simulation. That is, violations will be determined as if all
       custom constraints in the overlay were instantiated.
      
       Only a single custom_constraint is supported in the overlay at a time.
       For evaluating multiple constraints, multiple
       `GenerateOrgPolicyViolationsPreview` requests are made, where each request
       evaluates a single constraint.
       
      repeated .google.cloud.policysimulator.v1.OrgPolicyOverlay.CustomConstraintOverlay custom_constraints = 2 [(.google.api.field_behavior) = OPTIONAL];
    • getCustomConstraintsBuilderList

      public List<OrgPolicyOverlay.CustomConstraintOverlay.Builder> getCustomConstraintsBuilderList()
       Optional. The OrgPolicy CustomConstraint changes to preview violations for.
      
       Any existing CustomConstraints with the same name will be overridden
       in the simulation. That is, violations will be determined as if all
       custom constraints in the overlay were instantiated.
      
       Only a single custom_constraint is supported in the overlay at a time.
       For evaluating multiple constraints, multiple
       `GenerateOrgPolicyViolationsPreview` requests are made, where each request
       evaluates a single constraint.
       
      repeated .google.cloud.policysimulator.v1.OrgPolicyOverlay.CustomConstraintOverlay custom_constraints = 2 [(.google.api.field_behavior) = OPTIONAL];