public static final class Constraint.Builder extends GeneratedMessageV3.Builder<Constraint.Builder> implements ConstraintOrBuilder
Representation of a Constraint.
Protobuf type google.cloud.securityposture.v1.Constraint
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Constraint.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public Constraint build()
buildPartial()
public Constraint buildPartial()
clear()
public Constraint.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public Constraint.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearImplementation()
public Constraint.Builder clearImplementation()
clearOneof(Descriptors.OneofDescriptor oneof)
public Constraint.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearOrgPolicyConstraint()
public Constraint.Builder clearOrgPolicyConstraint()
Optional. Org Policy builtin constraint.
.google.cloud.securityposture.v1.OrgPolicyConstraint org_policy_constraint = 5 [(.google.api.field_behavior) = OPTIONAL];
clearOrgPolicyConstraintCustom()
public Constraint.Builder clearOrgPolicyConstraintCustom()
Optional. Org Policy custom constraint.
.google.cloud.securityposture.v1.OrgPolicyConstraintCustom org_policy_constraint_custom = 6 [(.google.api.field_behavior) = OPTIONAL];
clearSecurityHealthAnalyticsCustomModule()
public Constraint.Builder clearSecurityHealthAnalyticsCustomModule()
Optional. SHA custom detector.
.google.cloud.securityposture.v1.SecurityHealthAnalyticsCustomModule security_health_analytics_custom_module = 4 [(.google.api.field_behavior) = OPTIONAL];
clearSecurityHealthAnalyticsModule()
public Constraint.Builder clearSecurityHealthAnalyticsModule()
Optional. SHA built-in detector.
.google.cloud.securityposture.v1.SecurityHealthAnalyticsModule security_health_analytics_module = 3 [(.google.api.field_behavior) = OPTIONAL];
clone()
public Constraint.Builder clone()
Overrides
getDefaultInstanceForType()
public Constraint getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getImplementationCase()
public Constraint.ImplementationCase getImplementationCase()
getOrgPolicyConstraint()
public OrgPolicyConstraint getOrgPolicyConstraint()
Optional. Org Policy builtin constraint.
.google.cloud.securityposture.v1.OrgPolicyConstraint org_policy_constraint = 5 [(.google.api.field_behavior) = OPTIONAL];
getOrgPolicyConstraintBuilder()
public OrgPolicyConstraint.Builder getOrgPolicyConstraintBuilder()
Optional. Org Policy builtin constraint.
.google.cloud.securityposture.v1.OrgPolicyConstraint org_policy_constraint = 5 [(.google.api.field_behavior) = OPTIONAL];
getOrgPolicyConstraintCustom()
public OrgPolicyConstraintCustom getOrgPolicyConstraintCustom()
Optional. Org Policy custom constraint.
.google.cloud.securityposture.v1.OrgPolicyConstraintCustom org_policy_constraint_custom = 6 [(.google.api.field_behavior) = OPTIONAL];
getOrgPolicyConstraintCustomBuilder()
public OrgPolicyConstraintCustom.Builder getOrgPolicyConstraintCustomBuilder()
Optional. Org Policy custom constraint.
.google.cloud.securityposture.v1.OrgPolicyConstraintCustom org_policy_constraint_custom = 6 [(.google.api.field_behavior) = OPTIONAL];
getOrgPolicyConstraintCustomOrBuilder()
public OrgPolicyConstraintCustomOrBuilder getOrgPolicyConstraintCustomOrBuilder()
Optional. Org Policy custom constraint.
.google.cloud.securityposture.v1.OrgPolicyConstraintCustom org_policy_constraint_custom = 6 [(.google.api.field_behavior) = OPTIONAL];
getOrgPolicyConstraintOrBuilder()
public OrgPolicyConstraintOrBuilder getOrgPolicyConstraintOrBuilder()
Optional. Org Policy builtin constraint.
.google.cloud.securityposture.v1.OrgPolicyConstraint org_policy_constraint = 5 [(.google.api.field_behavior) = OPTIONAL];
getSecurityHealthAnalyticsCustomModule()
public SecurityHealthAnalyticsCustomModule getSecurityHealthAnalyticsCustomModule()
Optional. SHA custom detector.
.google.cloud.securityposture.v1.SecurityHealthAnalyticsCustomModule security_health_analytics_custom_module = 4 [(.google.api.field_behavior) = OPTIONAL];
getSecurityHealthAnalyticsCustomModuleBuilder()
public SecurityHealthAnalyticsCustomModule.Builder getSecurityHealthAnalyticsCustomModuleBuilder()
Optional. SHA custom detector.
.google.cloud.securityposture.v1.SecurityHealthAnalyticsCustomModule security_health_analytics_custom_module = 4 [(.google.api.field_behavior) = OPTIONAL];
getSecurityHealthAnalyticsCustomModuleOrBuilder()
public SecurityHealthAnalyticsCustomModuleOrBuilder getSecurityHealthAnalyticsCustomModuleOrBuilder()
Optional. SHA custom detector.
.google.cloud.securityposture.v1.SecurityHealthAnalyticsCustomModule security_health_analytics_custom_module = 4 [(.google.api.field_behavior) = OPTIONAL];
getSecurityHealthAnalyticsModule()
public SecurityHealthAnalyticsModule getSecurityHealthAnalyticsModule()
Optional. SHA built-in detector.
.google.cloud.securityposture.v1.SecurityHealthAnalyticsModule security_health_analytics_module = 3 [(.google.api.field_behavior) = OPTIONAL];
getSecurityHealthAnalyticsModuleBuilder()
public SecurityHealthAnalyticsModule.Builder getSecurityHealthAnalyticsModuleBuilder()
Optional. SHA built-in detector.
.google.cloud.securityposture.v1.SecurityHealthAnalyticsModule security_health_analytics_module = 3 [(.google.api.field_behavior) = OPTIONAL];
getSecurityHealthAnalyticsModuleOrBuilder()
public SecurityHealthAnalyticsModuleOrBuilder getSecurityHealthAnalyticsModuleOrBuilder()
Optional. SHA built-in detector.
.google.cloud.securityposture.v1.SecurityHealthAnalyticsModule security_health_analytics_module = 3 [(.google.api.field_behavior) = OPTIONAL];
hasOrgPolicyConstraint()
public boolean hasOrgPolicyConstraint()
Optional. Org Policy builtin constraint.
.google.cloud.securityposture.v1.OrgPolicyConstraint org_policy_constraint = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns |
---|
Type | Description |
boolean | Whether the orgPolicyConstraint field is set.
|
hasOrgPolicyConstraintCustom()
public boolean hasOrgPolicyConstraintCustom()
Optional. Org Policy custom constraint.
.google.cloud.securityposture.v1.OrgPolicyConstraintCustom org_policy_constraint_custom = 6 [(.google.api.field_behavior) = OPTIONAL];
Returns |
---|
Type | Description |
boolean | Whether the orgPolicyConstraintCustom field is set.
|
hasSecurityHealthAnalyticsCustomModule()
public boolean hasSecurityHealthAnalyticsCustomModule()
Optional. SHA custom detector.
.google.cloud.securityposture.v1.SecurityHealthAnalyticsCustomModule security_health_analytics_custom_module = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns |
---|
Type | Description |
boolean | Whether the securityHealthAnalyticsCustomModule field is set.
|
hasSecurityHealthAnalyticsModule()
public boolean hasSecurityHealthAnalyticsModule()
Optional. SHA built-in detector.
.google.cloud.securityposture.v1.SecurityHealthAnalyticsModule security_health_analytics_module = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns |
---|
Type | Description |
boolean | Whether the securityHealthAnalyticsModule field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(Constraint other)
public Constraint.Builder mergeFrom(Constraint other)
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Constraint.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public Constraint.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeOrgPolicyConstraint(OrgPolicyConstraint value)
public Constraint.Builder mergeOrgPolicyConstraint(OrgPolicyConstraint value)
Optional. Org Policy builtin constraint.
.google.cloud.securityposture.v1.OrgPolicyConstraint org_policy_constraint = 5 [(.google.api.field_behavior) = OPTIONAL];
mergeOrgPolicyConstraintCustom(OrgPolicyConstraintCustom value)
public Constraint.Builder mergeOrgPolicyConstraintCustom(OrgPolicyConstraintCustom value)
Optional. Org Policy custom constraint.
.google.cloud.securityposture.v1.OrgPolicyConstraintCustom org_policy_constraint_custom = 6 [(.google.api.field_behavior) = OPTIONAL];
mergeSecurityHealthAnalyticsCustomModule(SecurityHealthAnalyticsCustomModule value)
public Constraint.Builder mergeSecurityHealthAnalyticsCustomModule(SecurityHealthAnalyticsCustomModule value)
Optional. SHA custom detector.
.google.cloud.securityposture.v1.SecurityHealthAnalyticsCustomModule security_health_analytics_custom_module = 4 [(.google.api.field_behavior) = OPTIONAL];
mergeSecurityHealthAnalyticsModule(SecurityHealthAnalyticsModule value)
public Constraint.Builder mergeSecurityHealthAnalyticsModule(SecurityHealthAnalyticsModule value)
Optional. SHA built-in detector.
.google.cloud.securityposture.v1.SecurityHealthAnalyticsModule security_health_analytics_module = 3 [(.google.api.field_behavior) = OPTIONAL];
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Constraint.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public Constraint.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setOrgPolicyConstraint(OrgPolicyConstraint value)
public Constraint.Builder setOrgPolicyConstraint(OrgPolicyConstraint value)
Optional. Org Policy builtin constraint.
.google.cloud.securityposture.v1.OrgPolicyConstraint org_policy_constraint = 5 [(.google.api.field_behavior) = OPTIONAL];
setOrgPolicyConstraint(OrgPolicyConstraint.Builder builderForValue)
public Constraint.Builder setOrgPolicyConstraint(OrgPolicyConstraint.Builder builderForValue)
Optional. Org Policy builtin constraint.
.google.cloud.securityposture.v1.OrgPolicyConstraint org_policy_constraint = 5 [(.google.api.field_behavior) = OPTIONAL];
setOrgPolicyConstraintCustom(OrgPolicyConstraintCustom value)
public Constraint.Builder setOrgPolicyConstraintCustom(OrgPolicyConstraintCustom value)
Optional. Org Policy custom constraint.
.google.cloud.securityposture.v1.OrgPolicyConstraintCustom org_policy_constraint_custom = 6 [(.google.api.field_behavior) = OPTIONAL];
setOrgPolicyConstraintCustom(OrgPolicyConstraintCustom.Builder builderForValue)
public Constraint.Builder setOrgPolicyConstraintCustom(OrgPolicyConstraintCustom.Builder builderForValue)
Optional. Org Policy custom constraint.
.google.cloud.securityposture.v1.OrgPolicyConstraintCustom org_policy_constraint_custom = 6 [(.google.api.field_behavior) = OPTIONAL];
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Constraint.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setSecurityHealthAnalyticsCustomModule(SecurityHealthAnalyticsCustomModule value)
public Constraint.Builder setSecurityHealthAnalyticsCustomModule(SecurityHealthAnalyticsCustomModule value)
Optional. SHA custom detector.
.google.cloud.securityposture.v1.SecurityHealthAnalyticsCustomModule security_health_analytics_custom_module = 4 [(.google.api.field_behavior) = OPTIONAL];
setSecurityHealthAnalyticsCustomModule(SecurityHealthAnalyticsCustomModule.Builder builderForValue)
public Constraint.Builder setSecurityHealthAnalyticsCustomModule(SecurityHealthAnalyticsCustomModule.Builder builderForValue)
Optional. SHA custom detector.
.google.cloud.securityposture.v1.SecurityHealthAnalyticsCustomModule security_health_analytics_custom_module = 4 [(.google.api.field_behavior) = OPTIONAL];
setSecurityHealthAnalyticsModule(SecurityHealthAnalyticsModule value)
public Constraint.Builder setSecurityHealthAnalyticsModule(SecurityHealthAnalyticsModule value)
Optional. SHA built-in detector.
.google.cloud.securityposture.v1.SecurityHealthAnalyticsModule security_health_analytics_module = 3 [(.google.api.field_behavior) = OPTIONAL];
setSecurityHealthAnalyticsModule(SecurityHealthAnalyticsModule.Builder builderForValue)
public Constraint.Builder setSecurityHealthAnalyticsModule(SecurityHealthAnalyticsModule.Builder builderForValue)
Optional. SHA built-in detector.
.google.cloud.securityposture.v1.SecurityHealthAnalyticsModule security_health_analytics_module = 3 [(.google.api.field_behavior) = OPTIONAL];
setUnknownFields(UnknownFieldSet unknownFields)
public final Constraint.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides