- 3.55.0 (latest)
- 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 AnalyzerOrgPolicy.Rule.Builder extends GeneratedMessageV3.Builder<AnalyzerOrgPolicy.Rule.Builder> implements AnalyzerOrgPolicy.RuleOrBuilder
Represents a rule defined in an organization policy
Protobuf type google.cloud.asset.v1.AnalyzerOrgPolicy.Rule
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > AnalyzerOrgPolicy.Rule.BuilderImplements
AnalyzerOrgPolicy.RuleOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AnalyzerOrgPolicy.Rule.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field |
FieldDescriptor |
value |
Object |
Type | Description |
AnalyzerOrgPolicy.Rule.Builder |
build()
public AnalyzerOrgPolicy.Rule build()
Type | Description |
AnalyzerOrgPolicy.Rule |
buildPartial()
public AnalyzerOrgPolicy.Rule buildPartial()
Type | Description |
AnalyzerOrgPolicy.Rule |
clear()
public AnalyzerOrgPolicy.Rule.Builder clear()
Type | Description |
AnalyzerOrgPolicy.Rule.Builder |
clearAllowAll()
public AnalyzerOrgPolicy.Rule.Builder clearAllowAll()
Setting this to true means that all values are allowed. This field can be set only in Policies for list constraints.
bool allow_all = 4;
Type | Description |
AnalyzerOrgPolicy.Rule.Builder |
This builder for chaining. |
clearCondition()
public AnalyzerOrgPolicy.Rule.Builder clearCondition()
The evaluating condition for this rule.
.google.type.Expr condition = 7;
Type | Description |
AnalyzerOrgPolicy.Rule.Builder |
clearDenyAll()
public AnalyzerOrgPolicy.Rule.Builder clearDenyAll()
Setting this to true means that all values are denied. This field can be set only in Policies for list constraints.
bool deny_all = 5;
Type | Description |
AnalyzerOrgPolicy.Rule.Builder |
This builder for chaining. |
clearEnforce()
public AnalyzerOrgPolicy.Rule.Builder clearEnforce()
If true
, then the Policy
is enforced. If false
, then any
configuration is acceptable.
This field can be set only in Policies for boolean constraints.
bool enforce = 6;
Type | Description |
AnalyzerOrgPolicy.Rule.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public AnalyzerOrgPolicy.Rule.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field |
FieldDescriptor |
Type | Description |
AnalyzerOrgPolicy.Rule.Builder |
clearKind()
public AnalyzerOrgPolicy.Rule.Builder clearKind()
Type | Description |
AnalyzerOrgPolicy.Rule.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public AnalyzerOrgPolicy.Rule.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof |
OneofDescriptor |
Type | Description |
AnalyzerOrgPolicy.Rule.Builder |
clearValues()
public AnalyzerOrgPolicy.Rule.Builder clearValues()
List of values to be used for this PolicyRule. This field can be set only in Policies for list constraints.
.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues values = 3;
Type | Description |
AnalyzerOrgPolicy.Rule.Builder |
clone()
public AnalyzerOrgPolicy.Rule.Builder clone()
Type | Description |
AnalyzerOrgPolicy.Rule.Builder |
getAllowAll()
public boolean getAllowAll()
Setting this to true means that all values are allowed. This field can be set only in Policies for list constraints.
bool allow_all = 4;
Type | Description |
boolean |
The allowAll. |
getCondition()
public Expr getCondition()
The evaluating condition for this rule.
.google.type.Expr condition = 7;
Type | Description |
com.google.type.Expr |
The condition. |
getConditionBuilder()
public Expr.Builder getConditionBuilder()
The evaluating condition for this rule.
.google.type.Expr condition = 7;
Type | Description |
com.google.type.Expr.Builder |
getConditionOrBuilder()
public ExprOrBuilder getConditionOrBuilder()
The evaluating condition for this rule.
.google.type.Expr condition = 7;
Type | Description |
com.google.type.ExprOrBuilder |
getDefaultInstanceForType()
public AnalyzerOrgPolicy.Rule getDefaultInstanceForType()
Type | Description |
AnalyzerOrgPolicy.Rule |
getDenyAll()
public boolean getDenyAll()
Setting this to true means that all values are denied. This field can be set only in Policies for list constraints.
bool deny_all = 5;
Type | Description |
boolean |
The denyAll. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getEnforce()
public boolean getEnforce()
If true
, then the Policy
is enforced. If false
, then any
configuration is acceptable.
This field can be set only in Policies for boolean constraints.
bool enforce = 6;
Type | Description |
boolean |
The enforce. |
getKindCase()
public AnalyzerOrgPolicy.Rule.KindCase getKindCase()
Type | Description |
AnalyzerOrgPolicy.Rule.KindCase |
getValues()
public AnalyzerOrgPolicy.Rule.StringValues getValues()
List of values to be used for this PolicyRule. This field can be set only in Policies for list constraints.
.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues values = 3;
Type | Description |
AnalyzerOrgPolicy.Rule.StringValues |
The values. |
getValuesBuilder()
public AnalyzerOrgPolicy.Rule.StringValues.Builder getValuesBuilder()
List of values to be used for this PolicyRule. This field can be set only in Policies for list constraints.
.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues values = 3;
Type | Description |
AnalyzerOrgPolicy.Rule.StringValues.Builder |
getValuesOrBuilder()
public AnalyzerOrgPolicy.Rule.StringValuesOrBuilder getValuesOrBuilder()
List of values to be used for this PolicyRule. This field can be set only in Policies for list constraints.
.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues values = 3;
Type | Description |
AnalyzerOrgPolicy.Rule.StringValuesOrBuilder |
hasAllowAll()
public boolean hasAllowAll()
Setting this to true means that all values are allowed. This field can be set only in Policies for list constraints.
bool allow_all = 4;
Type | Description |
boolean |
Whether the allowAll field is set. |
hasCondition()
public boolean hasCondition()
The evaluating condition for this rule.
.google.type.Expr condition = 7;
Type | Description |
boolean |
Whether the condition field is set. |
hasDenyAll()
public boolean hasDenyAll()
Setting this to true means that all values are denied. This field can be set only in Policies for list constraints.
bool deny_all = 5;
Type | Description |
boolean |
Whether the denyAll field is set. |
hasEnforce()
public boolean hasEnforce()
If true
, then the Policy
is enforced. If false
, then any
configuration is acceptable.
This field can be set only in Policies for boolean constraints.
bool enforce = 6;
Type | Description |
boolean |
Whether the enforce field is set. |
hasValues()
public boolean hasValues()
List of values to be used for this PolicyRule. This field can be set only in Policies for list constraints.
.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues values = 3;
Type | Description |
boolean |
Whether the values field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeCondition(Expr value)
public AnalyzerOrgPolicy.Rule.Builder mergeCondition(Expr value)
The evaluating condition for this rule.
.google.type.Expr condition = 7;
Name | Description |
value |
com.google.type.Expr |
Type | Description |
AnalyzerOrgPolicy.Rule.Builder |
mergeFrom(AnalyzerOrgPolicy.Rule other)
public AnalyzerOrgPolicy.Rule.Builder mergeFrom(AnalyzerOrgPolicy.Rule other)
Name | Description |
other |
AnalyzerOrgPolicy.Rule |
Type | Description |
AnalyzerOrgPolicy.Rule.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public AnalyzerOrgPolicy.Rule.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Type | Description |
AnalyzerOrgPolicy.Rule.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public AnalyzerOrgPolicy.Rule.Builder mergeFrom(Message other)
Name | Description |
other |
Message |
Type | Description |
AnalyzerOrgPolicy.Rule.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AnalyzerOrgPolicy.Rule.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields |
UnknownFieldSet |
Type | Description |
AnalyzerOrgPolicy.Rule.Builder |
mergeValues(AnalyzerOrgPolicy.Rule.StringValues value)
public AnalyzerOrgPolicy.Rule.Builder mergeValues(AnalyzerOrgPolicy.Rule.StringValues value)
List of values to be used for this PolicyRule. This field can be set only in Policies for list constraints.
.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues values = 3;
Name | Description |
value |
AnalyzerOrgPolicy.Rule.StringValues |
Type | Description |
AnalyzerOrgPolicy.Rule.Builder |
setAllowAll(boolean value)
public AnalyzerOrgPolicy.Rule.Builder setAllowAll(boolean value)
Setting this to true means that all values are allowed. This field can be set only in Policies for list constraints.
bool allow_all = 4;
Name | Description |
value |
boolean The allowAll to set. |
Type | Description |
AnalyzerOrgPolicy.Rule.Builder |
This builder for chaining. |
setCondition(Expr value)
public AnalyzerOrgPolicy.Rule.Builder setCondition(Expr value)
The evaluating condition for this rule.
.google.type.Expr condition = 7;
Name | Description |
value |
com.google.type.Expr |
Type | Description |
AnalyzerOrgPolicy.Rule.Builder |
setCondition(Expr.Builder builderForValue)
public AnalyzerOrgPolicy.Rule.Builder setCondition(Expr.Builder builderForValue)
The evaluating condition for this rule.
.google.type.Expr condition = 7;
Name | Description |
builderForValue |
com.google.type.Expr.Builder |
Type | Description |
AnalyzerOrgPolicy.Rule.Builder |
setDenyAll(boolean value)
public AnalyzerOrgPolicy.Rule.Builder setDenyAll(boolean value)
Setting this to true means that all values are denied. This field can be set only in Policies for list constraints.
bool deny_all = 5;
Name | Description |
value |
boolean The denyAll to set. |
Type | Description |
AnalyzerOrgPolicy.Rule.Builder |
This builder for chaining. |
setEnforce(boolean value)
public AnalyzerOrgPolicy.Rule.Builder setEnforce(boolean value)
If true
, then the Policy
is enforced. If false
, then any
configuration is acceptable.
This field can be set only in Policies for boolean constraints.
bool enforce = 6;
Name | Description |
value |
boolean The enforce to set. |
Type | Description |
AnalyzerOrgPolicy.Rule.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public AnalyzerOrgPolicy.Rule.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field |
FieldDescriptor |
value |
Object |
Type | Description |
AnalyzerOrgPolicy.Rule.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AnalyzerOrgPolicy.Rule.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Type | Description |
AnalyzerOrgPolicy.Rule.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final AnalyzerOrgPolicy.Rule.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields |
UnknownFieldSet |
Type | Description |
AnalyzerOrgPolicy.Rule.Builder |
setValues(AnalyzerOrgPolicy.Rule.StringValues value)
public AnalyzerOrgPolicy.Rule.Builder setValues(AnalyzerOrgPolicy.Rule.StringValues value)
List of values to be used for this PolicyRule. This field can be set only in Policies for list constraints.
.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues values = 3;
Name | Description |
value |
AnalyzerOrgPolicy.Rule.StringValues |
Type | Description |
AnalyzerOrgPolicy.Rule.Builder |
setValues(AnalyzerOrgPolicy.Rule.StringValues.Builder builderForValue)
public AnalyzerOrgPolicy.Rule.Builder setValues(AnalyzerOrgPolicy.Rule.StringValues.Builder builderForValue)
List of values to be used for this PolicyRule. This field can be set only in Policies for list constraints.
.google.cloud.asset.v1.AnalyzerOrgPolicy.Rule.StringValues values = 3;
Name | Description |
builderForValue |
AnalyzerOrgPolicy.Rule.StringValues.Builder |
Type | Description |
AnalyzerOrgPolicy.Rule.Builder |