- 3.59.0 (latest)
- 3.58.0
- 3.57.0
- 3.56.0
- 3.55.0
- 3.53.0
- 3.52.0
- 3.51.0
- 3.50.0
- 3.49.0
- 3.48.0
- 3.47.0
- 3.46.0
- 3.45.0
- 3.44.0
- 3.43.0
- 3.41.0
- 3.40.0
- 3.39.0
- 3.38.0
- 3.37.0
- 3.36.0
- 3.35.0
- 3.34.0
- 3.33.0
- 3.32.0
- 3.31.0
- 3.28.0
- 3.27.0
- 3.26.0
- 3.25.0
- 3.24.0
- 3.23.0
- 3.22.0
- 3.21.0
- 3.20.0
- 3.19.0
- 3.18.0
- 3.17.0
- 3.16.0
- 3.15.0
- 3.14.0
- 3.13.0
- 3.12.0
- 3.11.0
- 3.10.0
- 3.9.0
- 3.8.0
- 3.7.2-SNAPSHOT
- 3.6.0
- 3.4.1
- 3.3.1
- 3.2.17
public static final class AnalyzerOrgPolicyConstraint.Constraint.Builder extends GeneratedMessageV3.Builder<AnalyzerOrgPolicyConstraint.Constraint.Builder> implements AnalyzerOrgPolicyConstraint.ConstraintOrBuilder
The definition of a constraint.
Protobuf type google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > AnalyzerOrgPolicyConstraint.Constraint.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AnalyzerOrgPolicyConstraint.Constraint.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field |
FieldDescriptor |
value |
Object |
Type | Description |
AnalyzerOrgPolicyConstraint.Constraint.Builder |
build()
public AnalyzerOrgPolicyConstraint.Constraint build()
Type | Description |
AnalyzerOrgPolicyConstraint.Constraint |
buildPartial()
public AnalyzerOrgPolicyConstraint.Constraint buildPartial()
Type | Description |
AnalyzerOrgPolicyConstraint.Constraint |
clear()
public AnalyzerOrgPolicyConstraint.Constraint.Builder clear()
Type | Description |
AnalyzerOrgPolicyConstraint.Constraint.Builder |
clearBooleanConstraint()
public AnalyzerOrgPolicyConstraint.Constraint.Builder clearBooleanConstraint()
Defines this constraint as being a BooleanConstraint.
.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint boolean_constraint = 6;
Type | Description |
AnalyzerOrgPolicyConstraint.Constraint.Builder |
clearConstraintDefault()
public AnalyzerOrgPolicyConstraint.Constraint.Builder clearConstraintDefault()
The evaluation behavior of this constraint in the absence of 'Policy'.
.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ConstraintDefault constraint_default = 4;
Type | Description |
AnalyzerOrgPolicyConstraint.Constraint.Builder |
This builder for chaining. |
clearConstraintType()
public AnalyzerOrgPolicyConstraint.Constraint.Builder clearConstraintType()
Type | Description |
AnalyzerOrgPolicyConstraint.Constraint.Builder |
clearDescription()
public AnalyzerOrgPolicyConstraint.Constraint.Builder clearDescription()
Detailed description of what this Constraint
controls as well as how
and where it is enforced.
string description = 3;
Type | Description |
AnalyzerOrgPolicyConstraint.Constraint.Builder |
This builder for chaining. |
clearDisplayName()
public AnalyzerOrgPolicyConstraint.Constraint.Builder clearDisplayName()
The human readable name of the constraint.
string display_name = 2;
Type | Description |
AnalyzerOrgPolicyConstraint.Constraint.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public AnalyzerOrgPolicyConstraint.Constraint.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field |
FieldDescriptor |
Type | Description |
AnalyzerOrgPolicyConstraint.Constraint.Builder |
clearListConstraint()
public AnalyzerOrgPolicyConstraint.Constraint.Builder clearListConstraint()
Defines this constraint as being a ListConstraint.
.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint list_constraint = 5;
Type | Description |
AnalyzerOrgPolicyConstraint.Constraint.Builder |
clearName()
public AnalyzerOrgPolicyConstraint.Constraint.Builder clearName()
The unique name of the constraint. Format of the name should be
constraints/{constraint_name}
For example,constraints/compute.disableSerialPortAccess
.
string name = 1;
Type | Description |
AnalyzerOrgPolicyConstraint.Constraint.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public AnalyzerOrgPolicyConstraint.Constraint.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof |
OneofDescriptor |
Type | Description |
AnalyzerOrgPolicyConstraint.Constraint.Builder |
clone()
public AnalyzerOrgPolicyConstraint.Constraint.Builder clone()
Type | Description |
AnalyzerOrgPolicyConstraint.Constraint.Builder |
getBooleanConstraint()
public AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint getBooleanConstraint()
Defines this constraint as being a BooleanConstraint.
.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint boolean_constraint = 6;
Type | Description |
AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint |
The booleanConstraint. |
getBooleanConstraintBuilder()
public AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint.Builder getBooleanConstraintBuilder()
Defines this constraint as being a BooleanConstraint.
.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint boolean_constraint = 6;
Type | Description |
AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint.Builder |
getBooleanConstraintOrBuilder()
public AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraintOrBuilder getBooleanConstraintOrBuilder()
Defines this constraint as being a BooleanConstraint.
.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint boolean_constraint = 6;
Type | Description |
AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraintOrBuilder |
getConstraintDefault()
public 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;
Type | Description |
AnalyzerOrgPolicyConstraint.Constraint.ConstraintDefault |
The constraintDefault. |
getConstraintDefaultValue()
public int getConstraintDefaultValue()
The evaluation behavior of this constraint in the absence of 'Policy'.
.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ConstraintDefault constraint_default = 4;
Type | Description |
int |
The enum numeric value on the wire for constraintDefault. |
getConstraintTypeCase()
public AnalyzerOrgPolicyConstraint.Constraint.ConstraintTypeCase getConstraintTypeCase()
Type | Description |
AnalyzerOrgPolicyConstraint.Constraint.ConstraintTypeCase |
getDefaultInstanceForType()
public AnalyzerOrgPolicyConstraint.Constraint getDefaultInstanceForType()
Type | Description |
AnalyzerOrgPolicyConstraint.Constraint |
getDescription()
public String getDescription()
Detailed description of what this Constraint
controls as well as how
and where it is enforced.
string description = 3;
Type | Description |
String |
The description. |
getDescriptionBytes()
public ByteString getDescriptionBytes()
Detailed description of what this Constraint
controls as well as how
and where it is enforced.
string description = 3;
Type | Description |
ByteString |
The bytes for description. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getDisplayName()
public String getDisplayName()
The human readable name of the constraint.
string display_name = 2;
Type | Description |
String |
The displayName. |
getDisplayNameBytes()
public ByteString getDisplayNameBytes()
The human readable name of the constraint.
string display_name = 2;
Type | Description |
ByteString |
The bytes for displayName. |
getListConstraint()
public AnalyzerOrgPolicyConstraint.Constraint.ListConstraint getListConstraint()
Defines this constraint as being a ListConstraint.
.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint list_constraint = 5;
Type | Description |
AnalyzerOrgPolicyConstraint.Constraint.ListConstraint |
The listConstraint. |
getListConstraintBuilder()
public AnalyzerOrgPolicyConstraint.Constraint.ListConstraint.Builder getListConstraintBuilder()
Defines this constraint as being a ListConstraint.
.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint list_constraint = 5;
Type | Description |
AnalyzerOrgPolicyConstraint.Constraint.ListConstraint.Builder |
getListConstraintOrBuilder()
public AnalyzerOrgPolicyConstraint.Constraint.ListConstraintOrBuilder getListConstraintOrBuilder()
Defines this constraint as being a ListConstraint.
.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint list_constraint = 5;
Type | Description |
AnalyzerOrgPolicyConstraint.Constraint.ListConstraintOrBuilder |
getName()
public 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;
Type | Description |
String |
The name. |
getNameBytes()
public 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;
Type | Description |
ByteString |
The bytes for name. |
hasBooleanConstraint()
public boolean hasBooleanConstraint()
Defines this constraint as being a BooleanConstraint.
.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint boolean_constraint = 6;
Type | Description |
boolean |
Whether the booleanConstraint field is set. |
hasListConstraint()
public boolean hasListConstraint()
Defines this constraint as being a ListConstraint.
.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint list_constraint = 5;
Type | Description |
boolean |
Whether the listConstraint field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeBooleanConstraint(AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint value)
public AnalyzerOrgPolicyConstraint.Constraint.Builder mergeBooleanConstraint(AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint value)
Defines this constraint as being a BooleanConstraint.
.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint boolean_constraint = 6;
Name | Description |
value |
AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint |
Type | Description |
AnalyzerOrgPolicyConstraint.Constraint.Builder |
mergeFrom(AnalyzerOrgPolicyConstraint.Constraint other)
public AnalyzerOrgPolicyConstraint.Constraint.Builder mergeFrom(AnalyzerOrgPolicyConstraint.Constraint other)
Name | Description |
other |
AnalyzerOrgPolicyConstraint.Constraint |
Type | Description |
AnalyzerOrgPolicyConstraint.Constraint.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public AnalyzerOrgPolicyConstraint.Constraint.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Type | Description |
AnalyzerOrgPolicyConstraint.Constraint.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public AnalyzerOrgPolicyConstraint.Constraint.Builder mergeFrom(Message other)
Name | Description |
other |
Message |
Type | Description |
AnalyzerOrgPolicyConstraint.Constraint.Builder |
mergeListConstraint(AnalyzerOrgPolicyConstraint.Constraint.ListConstraint value)
public AnalyzerOrgPolicyConstraint.Constraint.Builder mergeListConstraint(AnalyzerOrgPolicyConstraint.Constraint.ListConstraint value)
Defines this constraint as being a ListConstraint.
.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint list_constraint = 5;
Name | Description |
value |
AnalyzerOrgPolicyConstraint.Constraint.ListConstraint |
Type | Description |
AnalyzerOrgPolicyConstraint.Constraint.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AnalyzerOrgPolicyConstraint.Constraint.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields |
UnknownFieldSet |
Type | Description |
AnalyzerOrgPolicyConstraint.Constraint.Builder |
setBooleanConstraint(AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint value)
public AnalyzerOrgPolicyConstraint.Constraint.Builder setBooleanConstraint(AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint value)
Defines this constraint as being a BooleanConstraint.
.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint boolean_constraint = 6;
Name | Description |
value |
AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint |
Type | Description |
AnalyzerOrgPolicyConstraint.Constraint.Builder |
setBooleanConstraint(AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint.Builder builderForValue)
public AnalyzerOrgPolicyConstraint.Constraint.Builder setBooleanConstraint(AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint.Builder builderForValue)
Defines this constraint as being a BooleanConstraint.
.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint boolean_constraint = 6;
Name | Description |
builderForValue |
AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint.Builder |
Type | Description |
AnalyzerOrgPolicyConstraint.Constraint.Builder |
setConstraintDefault(AnalyzerOrgPolicyConstraint.Constraint.ConstraintDefault value)
public AnalyzerOrgPolicyConstraint.Constraint.Builder setConstraintDefault(AnalyzerOrgPolicyConstraint.Constraint.ConstraintDefault value)
The evaluation behavior of this constraint in the absence of 'Policy'.
.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ConstraintDefault constraint_default = 4;
Name | Description |
value |
AnalyzerOrgPolicyConstraint.Constraint.ConstraintDefault The constraintDefault to set. |
Type | Description |
AnalyzerOrgPolicyConstraint.Constraint.Builder |
This builder for chaining. |
setConstraintDefaultValue(int value)
public AnalyzerOrgPolicyConstraint.Constraint.Builder setConstraintDefaultValue(int value)
The evaluation behavior of this constraint in the absence of 'Policy'.
.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ConstraintDefault constraint_default = 4;
Name | Description |
value |
int The enum numeric value on the wire for constraintDefault to set. |
Type | Description |
AnalyzerOrgPolicyConstraint.Constraint.Builder |
This builder for chaining. |
setDescription(String value)
public AnalyzerOrgPolicyConstraint.Constraint.Builder setDescription(String value)
Detailed description of what this Constraint
controls as well as how
and where it is enforced.
string description = 3;
Name | Description |
value |
String The description to set. |
Type | Description |
AnalyzerOrgPolicyConstraint.Constraint.Builder |
This builder for chaining. |
setDescriptionBytes(ByteString value)
public AnalyzerOrgPolicyConstraint.Constraint.Builder setDescriptionBytes(ByteString value)
Detailed description of what this Constraint
controls as well as how
and where it is enforced.
string description = 3;
Name | Description |
value |
ByteString The bytes for description to set. |
Type | Description |
AnalyzerOrgPolicyConstraint.Constraint.Builder |
This builder for chaining. |
setDisplayName(String value)
public AnalyzerOrgPolicyConstraint.Constraint.Builder setDisplayName(String value)
The human readable name of the constraint.
string display_name = 2;
Name | Description |
value |
String The displayName to set. |
Type | Description |
AnalyzerOrgPolicyConstraint.Constraint.Builder |
This builder for chaining. |
setDisplayNameBytes(ByteString value)
public AnalyzerOrgPolicyConstraint.Constraint.Builder setDisplayNameBytes(ByteString value)
The human readable name of the constraint.
string display_name = 2;
Name | Description |
value |
ByteString The bytes for displayName to set. |
Type | Description |
AnalyzerOrgPolicyConstraint.Constraint.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public AnalyzerOrgPolicyConstraint.Constraint.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field |
FieldDescriptor |
value |
Object |
Type | Description |
AnalyzerOrgPolicyConstraint.Constraint.Builder |
setListConstraint(AnalyzerOrgPolicyConstraint.Constraint.ListConstraint value)
public AnalyzerOrgPolicyConstraint.Constraint.Builder setListConstraint(AnalyzerOrgPolicyConstraint.Constraint.ListConstraint value)
Defines this constraint as being a ListConstraint.
.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint list_constraint = 5;
Name | Description |
value |
AnalyzerOrgPolicyConstraint.Constraint.ListConstraint |
Type | Description |
AnalyzerOrgPolicyConstraint.Constraint.Builder |
setListConstraint(AnalyzerOrgPolicyConstraint.Constraint.ListConstraint.Builder builderForValue)
public AnalyzerOrgPolicyConstraint.Constraint.Builder setListConstraint(AnalyzerOrgPolicyConstraint.Constraint.ListConstraint.Builder builderForValue)
Defines this constraint as being a ListConstraint.
.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint list_constraint = 5;
Name | Description |
builderForValue |
AnalyzerOrgPolicyConstraint.Constraint.ListConstraint.Builder |
Type | Description |
AnalyzerOrgPolicyConstraint.Constraint.Builder |
setName(String value)
public AnalyzerOrgPolicyConstraint.Constraint.Builder setName(String value)
The unique name of the constraint. Format of the name should be
constraints/{constraint_name}
For example,constraints/compute.disableSerialPortAccess
.
string name = 1;
Name | Description |
value |
String The name to set. |
Type | Description |
AnalyzerOrgPolicyConstraint.Constraint.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public AnalyzerOrgPolicyConstraint.Constraint.Builder setNameBytes(ByteString value)
The unique name of the constraint. Format of the name should be
constraints/{constraint_name}
For example,constraints/compute.disableSerialPortAccess
.
string name = 1;
Name | Description |
value |
ByteString The bytes for name to set. |
Type | Description |
AnalyzerOrgPolicyConstraint.Constraint.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AnalyzerOrgPolicyConstraint.Constraint.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Type | Description |
AnalyzerOrgPolicyConstraint.Constraint.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final AnalyzerOrgPolicyConstraint.Constraint.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields |
UnknownFieldSet |
Type | Description |
AnalyzerOrgPolicyConstraint.Constraint.Builder |