Package com.google.cloud.asset.v1
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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint
getBooleanConstraint()
Defines this constraint as being a BooleanConstraint.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraintOrBuilder
getBooleanConstraintOrBuilder()
Defines this constraint as being a BooleanConstraint.AnalyzerOrgPolicyConstraint.Constraint.ConstraintDefault
getConstraintDefault()
The evaluation behavior of this constraint in the absence of 'Policy'.int
getConstraintDefaultValue()
The evaluation behavior of this constraint in the absence of 'Policy'.AnalyzerOrgPolicyConstraint.Constraint.ConstraintTypeCase
getConstraintTypeCase()
String
getDescription()
Detailed description of what this `Constraint` controls as well as how and where it is enforced.com.google.protobuf.ByteString
getDescriptionBytes()
Detailed description of what this `Constraint` controls as well as how and where it is enforced.String
getDisplayName()
The human readable name of the constraint.com.google.protobuf.ByteString
getDisplayNameBytes()
The human readable name of the constraint.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint
getListConstraint()
Defines this constraint as being a ListConstraint.AnalyzerOrgPolicyConstraint.Constraint.ListConstraintOrBuilder
getListConstraintOrBuilder()
Defines this constraint as being a ListConstraint.String
getName()
The unique name of the constraint.com.google.protobuf.ByteString
getNameBytes()
The unique name of the constraint.boolean
hasBooleanConstraint()
Defines this constraint as being a BooleanConstraint.boolean
hasListConstraint()
Defines this constraint as being a ListConstraint.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
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
AnalyzerOrgPolicyConstraint.Constraint.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
AnalyzerOrgPolicyConstraint.Constraint.ListConstraint getListConstraint()
Defines this constraint as being a ListConstraint.
.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint list_constraint = 5;
- Returns:
- The listConstraint.
-
getListConstraintOrBuilder
AnalyzerOrgPolicyConstraint.Constraint.ListConstraintOrBuilder 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
AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint getBooleanConstraint()
Defines this constraint as being a BooleanConstraint.
.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint boolean_constraint = 6;
- Returns:
- The booleanConstraint.
-
getBooleanConstraintOrBuilder
AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraintOrBuilder getBooleanConstraintOrBuilder()
Defines this constraint as being a BooleanConstraint.
.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint boolean_constraint = 6;
-
getConstraintTypeCase
AnalyzerOrgPolicyConstraint.Constraint.ConstraintTypeCase getConstraintTypeCase()
-
-