public final class OrgPolicyConstraintCustom extends GeneratedMessageV3 implements OrgPolicyConstraintCustomOrBuilder
Message for Org Policy Custom Constraint.
Protobuf type google.cloud.securityposture.v1.OrgPolicyConstraintCustom
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
CUSTOM_CONSTRAINT_FIELD_NUMBER
public static final int CUSTOM_CONSTRAINT_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
POLICY_RULES_FIELD_NUMBER
public static final int POLICY_RULES_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static OrgPolicyConstraintCustom getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static OrgPolicyConstraintCustom.Builder newBuilder()
newBuilder(OrgPolicyConstraintCustom prototype)
public static OrgPolicyConstraintCustom.Builder newBuilder(OrgPolicyConstraintCustom prototype)
parseDelimitedFrom(InputStream input)
public static OrgPolicyConstraintCustom parseDelimitedFrom(InputStream input)
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static OrgPolicyConstraintCustom parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static OrgPolicyConstraintCustom parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static OrgPolicyConstraintCustom parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static OrgPolicyConstraintCustom parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static OrgPolicyConstraintCustom parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
parseFrom(CodedInputStream input)
public static OrgPolicyConstraintCustom parseFrom(CodedInputStream input)
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static OrgPolicyConstraintCustom parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(InputStream input)
public static OrgPolicyConstraintCustom parseFrom(InputStream input)
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static OrgPolicyConstraintCustom parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static OrgPolicyConstraintCustom parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static OrgPolicyConstraintCustom parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<OrgPolicyConstraintCustom> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getCustomConstraint()
public CustomConstraint getCustomConstraint()
Required. Org Policy Custom Constraint.
.google.cloud.securityposture.v1.CustomConstraint custom_constraint = 1 [(.google.api.field_behavior) = REQUIRED];
getCustomConstraintOrBuilder()
public CustomConstraintOrBuilder getCustomConstraintOrBuilder()
Required. Org Policy Custom Constraint.
.google.cloud.securityposture.v1.CustomConstraint custom_constraint = 1 [(.google.api.field_behavior) = REQUIRED];
getDefaultInstanceForType()
public OrgPolicyConstraintCustom getDefaultInstanceForType()
getParserForType()
public Parser<OrgPolicyConstraintCustom> getParserForType()
Overrides
getPolicyRules(int index)
public PolicyRule getPolicyRules(int index)
Required. Org Policyspec rules.
repeated .google.cloud.securityposture.v1.PolicyRule policy_rules = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
index |
int
|
getPolicyRulesCount()
public int getPolicyRulesCount()
Required. Org Policyspec rules.
repeated .google.cloud.securityposture.v1.PolicyRule policy_rules = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
int |
|
getPolicyRulesList()
public List<PolicyRule> getPolicyRulesList()
Required. Org Policyspec rules.
repeated .google.cloud.securityposture.v1.PolicyRule policy_rules = 2 [(.google.api.field_behavior) = REQUIRED];
getPolicyRulesOrBuilder(int index)
public PolicyRuleOrBuilder getPolicyRulesOrBuilder(int index)
Required. Org Policyspec rules.
repeated .google.cloud.securityposture.v1.PolicyRule policy_rules = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
index |
int
|
getPolicyRulesOrBuilderList()
public List<? extends PolicyRuleOrBuilder> getPolicyRulesOrBuilderList()
Required. Org Policyspec rules.
repeated .google.cloud.securityposture.v1.PolicyRule policy_rules = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
List<? extends com.google.cloud.securityposture.v1.PolicyRuleOrBuilder> |
|
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
hasCustomConstraint()
public boolean hasCustomConstraint()
Required. Org Policy Custom Constraint.
.google.cloud.securityposture.v1.CustomConstraint custom_constraint = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
boolean |
Whether the customConstraint field is set.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public OrgPolicyConstraintCustom.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected OrgPolicyConstraintCustom.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public OrgPolicyConstraintCustom.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides