public final class Constraint extends GeneratedMessageV3 implements ConstraintOrBuilder
Representation of a Constraint.
Protobuf type google.cloud.securityposture.v1.Constraint
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
ORG_POLICY_CONSTRAINT_CUSTOM_FIELD_NUMBER
public static final int ORG_POLICY_CONSTRAINT_CUSTOM_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
ORG_POLICY_CONSTRAINT_FIELD_NUMBER
public static final int ORG_POLICY_CONSTRAINT_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
SECURITY_HEALTH_ANALYTICS_CUSTOM_MODULE_FIELD_NUMBER
public static final int SECURITY_HEALTH_ANALYTICS_CUSTOM_MODULE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
SECURITY_HEALTH_ANALYTICS_MODULE_FIELD_NUMBER
public static final int SECURITY_HEALTH_ANALYTICS_MODULE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static Constraint getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static Constraint.Builder newBuilder()
newBuilder(Constraint prototype)
public static Constraint.Builder newBuilder(Constraint prototype)
parseDelimitedFrom(InputStream input)
public static Constraint parseDelimitedFrom(InputStream input)
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Constraint parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static Constraint parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Constraint parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static Constraint parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Constraint parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
parseFrom(CodedInputStream input)
public static Constraint parseFrom(CodedInputStream input)
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Constraint parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(InputStream input)
public static Constraint parseFrom(InputStream input)
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Constraint parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static Constraint parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Constraint parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<Constraint> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public Constraint getDefaultInstanceForType()
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];
getOrgPolicyConstraintCustom()
public OrgPolicyConstraintCustom getOrgPolicyConstraintCustom()
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];
getParserForType()
public Parser<Constraint> getParserForType()
Overrides
getSecurityHealthAnalyticsCustomModule()
public SecurityHealthAnalyticsCustomModule getSecurityHealthAnalyticsCustomModule()
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];
getSecurityHealthAnalyticsModuleOrBuilder()
public SecurityHealthAnalyticsModuleOrBuilder getSecurityHealthAnalyticsModuleOrBuilder()
Optional. SHA built-in detector.
.google.cloud.securityposture.v1.SecurityHealthAnalyticsModule security_health_analytics_module = 3 [(.google.api.field_behavior) = OPTIONAL];
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
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.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public Constraint.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Constraint.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public Constraint.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides