Package com.google.cloud.orgpolicy.v2
Class Constraint.CustomConstraintDefinition.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Constraint.CustomConstraintDefinition.Builder>
com.google.cloud.orgpolicy.v2.Constraint.CustomConstraintDefinition.Builder
- All Implemented Interfaces:
Constraint.CustomConstraintDefinitionOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Constraint.CustomConstraintDefinition
public static final class Constraint.CustomConstraintDefinition.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Constraint.CustomConstraintDefinition.Builder>
implements Constraint.CustomConstraintDefinitionOrBuilder
Custom constraint definition. Defines this as a managed constraint.Protobuf type
google.cloud.orgpolicy.v2.Constraint.CustomConstraintDefinition-
Method Summary
Modifier and TypeMethodDescriptionaddAllMethodTypes(Iterable<? extends Constraint.CustomConstraintDefinition.MethodType> values) All the operations being applied for this constraint.addAllMethodTypesValue(Iterable<Integer> values) All the operations being applied for this constraint.addAllResourceTypes(Iterable<String> values) The resource instance type on which this policy applies.All the operations being applied for this constraint.addMethodTypesValue(int value) All the operations being applied for this constraint.addResourceTypes(String value) The resource instance type on which this policy applies.addResourceTypesBytes(com.google.protobuf.ByteString value) The resource instance type on which this policy applies.build()clear()Allow or deny type.Org policy condition/expression.All the operations being applied for this constraint.The resource instance type on which this policy applies.booleancontainsParameters(String key) Stores the structure of [`Parameters`][google.cloud.orgpolicy.v2.Constraint.CustomConstraintDefinition.Parameter] used by the constraint condition.Allow or deny type.intAllow or deny type.Org policy condition/expression.com.google.protobuf.ByteStringOrg policy condition/expression.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetMethodTypes(int index) All the operations being applied for this constraint.intAll the operations being applied for this constraint.All the operations being applied for this constraint.intgetMethodTypesValue(int index) All the operations being applied for this constraint.All the operations being applied for this constraint.Deprecated.Deprecated.intStores the structure of [`Parameters`][google.cloud.orgpolicy.v2.Constraint.CustomConstraintDefinition.Parameter] used by the constraint condition.Stores the structure of [`Parameters`][google.cloud.orgpolicy.v2.Constraint.CustomConstraintDefinition.Parameter] used by the constraint condition.getParametersOrDefault(String key, Constraint.CustomConstraintDefinition.Parameter defaultValue) Stores the structure of [`Parameters`][google.cloud.orgpolicy.v2.Constraint.CustomConstraintDefinition.Parameter] used by the constraint condition.Stores the structure of [`Parameters`][google.cloud.orgpolicy.v2.Constraint.CustomConstraintDefinition.Parameter] used by the constraint condition.getResourceTypes(int index) The resource instance type on which this policy applies.com.google.protobuf.ByteStringgetResourceTypesBytes(int index) The resource instance type on which this policy applies.intThe resource instance type on which this policy applies.com.google.protobuf.ProtocolStringListThe resource instance type on which this policy applies.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int number) final booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Stores the structure of [`Parameters`][google.cloud.orgpolicy.v2.Constraint.CustomConstraintDefinition.Parameter] used by the constraint condition.Stores the structure of [`Parameters`][google.cloud.orgpolicy.v2.Constraint.CustomConstraintDefinition.Parameter] used by the constraint condition.Stores the structure of [`Parameters`][google.cloud.orgpolicy.v2.Constraint.CustomConstraintDefinition.Parameter] used by the constraint condition.removeParameters(String key) Stores the structure of [`Parameters`][google.cloud.orgpolicy.v2.Constraint.CustomConstraintDefinition.Parameter] used by the constraint condition.Allow or deny type.setActionTypeValue(int value) Allow or deny type.setCondition(String value) Org policy condition/expression.setConditionBytes(com.google.protobuf.ByteString value) Org policy condition/expression.setMethodTypes(int index, Constraint.CustomConstraintDefinition.MethodType value) All the operations being applied for this constraint.setMethodTypesValue(int index, int value) All the operations being applied for this constraint.setResourceTypes(int index, String value) The resource instance type on which this policy applies.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<Constraint.CustomConstraintDefinition.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<Constraint.CustomConstraintDefinition.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<Constraint.CustomConstraintDefinition.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<Constraint.CustomConstraintDefinition.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<Constraint.CustomConstraintDefinition.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Constraint.CustomConstraintDefinition.Builder>
-
mergeFrom
public Constraint.CustomConstraintDefinition.Builder mergeFrom(Constraint.CustomConstraintDefinition other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Constraint.CustomConstraintDefinition.Builder>
-
mergeFrom
public Constraint.CustomConstraintDefinition.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Constraint.CustomConstraintDefinition.Builder>- Throws:
IOException
-
getResourceTypesList
public com.google.protobuf.ProtocolStringList getResourceTypesList()The resource instance type on which this policy applies. Format will be of the form : `<service name>/<type>` Example: * `compute.googleapis.com/Instance`.
repeated string resource_types = 1;- Specified by:
getResourceTypesListin interfaceConstraint.CustomConstraintDefinitionOrBuilder- Returns:
- A list containing the resourceTypes.
-
getResourceTypesCount
public int getResourceTypesCount()The resource instance type on which this policy applies. Format will be of the form : `<service name>/<type>` Example: * `compute.googleapis.com/Instance`.
repeated string resource_types = 1;- Specified by:
getResourceTypesCountin interfaceConstraint.CustomConstraintDefinitionOrBuilder- Returns:
- The count of resourceTypes.
-
getResourceTypes
The resource instance type on which this policy applies. Format will be of the form : `<service name>/<type>` Example: * `compute.googleapis.com/Instance`.
repeated string resource_types = 1;- Specified by:
getResourceTypesin interfaceConstraint.CustomConstraintDefinitionOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The resourceTypes at the given index.
-
getResourceTypesBytes
public com.google.protobuf.ByteString getResourceTypesBytes(int index) The resource instance type on which this policy applies. Format will be of the form : `<service name>/<type>` Example: * `compute.googleapis.com/Instance`.
repeated string resource_types = 1;- Specified by:
getResourceTypesBytesin interfaceConstraint.CustomConstraintDefinitionOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the resourceTypes at the given index.
-
setResourceTypes
The resource instance type on which this policy applies. Format will be of the form : `<service name>/<type>` Example: * `compute.googleapis.com/Instance`.
repeated string resource_types = 1;- Parameters:
index- The index to set the value at.value- The resourceTypes to set.- Returns:
- This builder for chaining.
-
addResourceTypes
The resource instance type on which this policy applies. Format will be of the form : `<service name>/<type>` Example: * `compute.googleapis.com/Instance`.
repeated string resource_types = 1;- Parameters:
value- The resourceTypes to add.- Returns:
- This builder for chaining.
-
addAllResourceTypes
The resource instance type on which this policy applies. Format will be of the form : `<service name>/<type>` Example: * `compute.googleapis.com/Instance`.
repeated string resource_types = 1;- Parameters:
values- The resourceTypes to add.- Returns:
- This builder for chaining.
-
clearResourceTypes
The resource instance type on which this policy applies. Format will be of the form : `<service name>/<type>` Example: * `compute.googleapis.com/Instance`.
repeated string resource_types = 1;- Returns:
- This builder for chaining.
-
addResourceTypesBytes
public Constraint.CustomConstraintDefinition.Builder addResourceTypesBytes(com.google.protobuf.ByteString value) The resource instance type on which this policy applies. Format will be of the form : `<service name>/<type>` Example: * `compute.googleapis.com/Instance`.
repeated string resource_types = 1;- Parameters:
value- The bytes of the resourceTypes to add.- Returns:
- This builder for chaining.
-
getMethodTypesList
All the operations being applied for this constraint.
repeated .google.cloud.orgpolicy.v2.Constraint.CustomConstraintDefinition.MethodType method_types = 2;- Specified by:
getMethodTypesListin interfaceConstraint.CustomConstraintDefinitionOrBuilder- Returns:
- A list containing the methodTypes.
-
getMethodTypesCount
public int getMethodTypesCount()All the operations being applied for this constraint.
repeated .google.cloud.orgpolicy.v2.Constraint.CustomConstraintDefinition.MethodType method_types = 2;- Specified by:
getMethodTypesCountin interfaceConstraint.CustomConstraintDefinitionOrBuilder- Returns:
- The count of methodTypes.
-
getMethodTypes
All the operations being applied for this constraint.
repeated .google.cloud.orgpolicy.v2.Constraint.CustomConstraintDefinition.MethodType method_types = 2;- Specified by:
getMethodTypesin interfaceConstraint.CustomConstraintDefinitionOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The methodTypes at the given index.
-
setMethodTypes
public Constraint.CustomConstraintDefinition.Builder setMethodTypes(int index, Constraint.CustomConstraintDefinition.MethodType value) All the operations being applied for this constraint.
repeated .google.cloud.orgpolicy.v2.Constraint.CustomConstraintDefinition.MethodType method_types = 2;- Parameters:
index- The index to set the value at.value- The methodTypes to set.- Returns:
- This builder for chaining.
-
addMethodTypes
public Constraint.CustomConstraintDefinition.Builder addMethodTypes(Constraint.CustomConstraintDefinition.MethodType value) All the operations being applied for this constraint.
repeated .google.cloud.orgpolicy.v2.Constraint.CustomConstraintDefinition.MethodType method_types = 2;- Parameters:
value- The methodTypes to add.- Returns:
- This builder for chaining.
-
addAllMethodTypes
public Constraint.CustomConstraintDefinition.Builder addAllMethodTypes(Iterable<? extends Constraint.CustomConstraintDefinition.MethodType> values) All the operations being applied for this constraint.
repeated .google.cloud.orgpolicy.v2.Constraint.CustomConstraintDefinition.MethodType method_types = 2;- Parameters:
values- The methodTypes to add.- Returns:
- This builder for chaining.
-
clearMethodTypes
All the operations being applied for this constraint.
repeated .google.cloud.orgpolicy.v2.Constraint.CustomConstraintDefinition.MethodType method_types = 2;- Returns:
- This builder for chaining.
-
getMethodTypesValueList
All the operations being applied for this constraint.
repeated .google.cloud.orgpolicy.v2.Constraint.CustomConstraintDefinition.MethodType method_types = 2;- Specified by:
getMethodTypesValueListin interfaceConstraint.CustomConstraintDefinitionOrBuilder- Returns:
- A list containing the enum numeric values on the wire for methodTypes.
-
getMethodTypesValue
public int getMethodTypesValue(int index) All the operations being applied for this constraint.
repeated .google.cloud.orgpolicy.v2.Constraint.CustomConstraintDefinition.MethodType method_types = 2;- Specified by:
getMethodTypesValuein interfaceConstraint.CustomConstraintDefinitionOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The enum numeric value on the wire of methodTypes at the given index.
-
setMethodTypesValue
All the operations being applied for this constraint.
repeated .google.cloud.orgpolicy.v2.Constraint.CustomConstraintDefinition.MethodType method_types = 2;- Parameters:
index- The index to set the value at.value- The enum numeric value on the wire for methodTypes to set.- Returns:
- This builder for chaining.
-
addMethodTypesValue
All the operations being applied for this constraint.
repeated .google.cloud.orgpolicy.v2.Constraint.CustomConstraintDefinition.MethodType method_types = 2;- Parameters:
value- The enum numeric value on the wire for methodTypes to add.- Returns:
- This builder for chaining.
-
addAllMethodTypesValue
public Constraint.CustomConstraintDefinition.Builder addAllMethodTypesValue(Iterable<Integer> values) All the operations being applied for this constraint.
repeated .google.cloud.orgpolicy.v2.Constraint.CustomConstraintDefinition.MethodType method_types = 2;- Parameters:
values- The enum numeric values on the wire for methodTypes to add.- Returns:
- This builder for chaining.
-
getCondition
Org policy condition/expression. For example: `resource.instanceName.matches("[production|test]_.*_(\d)+")` or, `resource.management.auto_upgrade == true` The max length of the condition is 1000 characters.string condition = 3;- Specified by:
getConditionin interfaceConstraint.CustomConstraintDefinitionOrBuilder- Returns:
- The condition.
-
getConditionBytes
public com.google.protobuf.ByteString getConditionBytes()Org policy condition/expression. For example: `resource.instanceName.matches("[production|test]_.*_(\d)+")` or, `resource.management.auto_upgrade == true` The max length of the condition is 1000 characters.string condition = 3;- Specified by:
getConditionBytesin interfaceConstraint.CustomConstraintDefinitionOrBuilder- Returns:
- The bytes for condition.
-
setCondition
Org policy condition/expression. For example: `resource.instanceName.matches("[production|test]_.*_(\d)+")` or, `resource.management.auto_upgrade == true` The max length of the condition is 1000 characters.string condition = 3;- Parameters:
value- The condition to set.- Returns:
- This builder for chaining.
-
clearCondition
Org policy condition/expression. For example: `resource.instanceName.matches("[production|test]_.*_(\d)+")` or, `resource.management.auto_upgrade == true` The max length of the condition is 1000 characters.string condition = 3;- Returns:
- This builder for chaining.
-
setConditionBytes
public Constraint.CustomConstraintDefinition.Builder setConditionBytes(com.google.protobuf.ByteString value) Org policy condition/expression. For example: `resource.instanceName.matches("[production|test]_.*_(\d)+")` or, `resource.management.auto_upgrade == true` The max length of the condition is 1000 characters.string condition = 3;- Parameters:
value- The bytes for condition to set.- Returns:
- This builder for chaining.
-
getActionTypeValue
public int getActionTypeValue()Allow or deny type.
.google.cloud.orgpolicy.v2.Constraint.CustomConstraintDefinition.ActionType action_type = 4;- Specified by:
getActionTypeValuein interfaceConstraint.CustomConstraintDefinitionOrBuilder- Returns:
- The enum numeric value on the wire for actionType.
-
setActionTypeValue
Allow or deny type.
.google.cloud.orgpolicy.v2.Constraint.CustomConstraintDefinition.ActionType action_type = 4;- Parameters:
value- The enum numeric value on the wire for actionType to set.- Returns:
- This builder for chaining.
-
getActionType
Allow or deny type.
.google.cloud.orgpolicy.v2.Constraint.CustomConstraintDefinition.ActionType action_type = 4;- Specified by:
getActionTypein interfaceConstraint.CustomConstraintDefinitionOrBuilder- Returns:
- The actionType.
-
setActionType
public Constraint.CustomConstraintDefinition.Builder setActionType(Constraint.CustomConstraintDefinition.ActionType value) Allow or deny type.
.google.cloud.orgpolicy.v2.Constraint.CustomConstraintDefinition.ActionType action_type = 4;- Parameters:
value- The actionType to set.- Returns:
- This builder for chaining.
-
clearActionType
Allow or deny type.
.google.cloud.orgpolicy.v2.Constraint.CustomConstraintDefinition.ActionType action_type = 4;- Returns:
- This builder for chaining.
-
getParametersCount
public int getParametersCount()Description copied from interface:Constraint.CustomConstraintDefinitionOrBuilderStores the structure of [`Parameters`][google.cloud.orgpolicy.v2.Constraint.CustomConstraintDefinition.Parameter] used by the constraint condition. The key of `map` represents the name of the parameter.
map<string, .google.cloud.orgpolicy.v2.Constraint.CustomConstraintDefinition.Parameter> parameters = 5;- Specified by:
getParametersCountin interfaceConstraint.CustomConstraintDefinitionOrBuilder
-
containsParameters
Stores the structure of [`Parameters`][google.cloud.orgpolicy.v2.Constraint.CustomConstraintDefinition.Parameter] used by the constraint condition. The key of `map` represents the name of the parameter.
map<string, .google.cloud.orgpolicy.v2.Constraint.CustomConstraintDefinition.Parameter> parameters = 5;- Specified by:
containsParametersin interfaceConstraint.CustomConstraintDefinitionOrBuilder
-
getParameters
Deprecated.UsegetParametersMap()instead.- Specified by:
getParametersin interfaceConstraint.CustomConstraintDefinitionOrBuilder
-
getParametersMap
Stores the structure of [`Parameters`][google.cloud.orgpolicy.v2.Constraint.CustomConstraintDefinition.Parameter] used by the constraint condition. The key of `map` represents the name of the parameter.
map<string, .google.cloud.orgpolicy.v2.Constraint.CustomConstraintDefinition.Parameter> parameters = 5;- Specified by:
getParametersMapin interfaceConstraint.CustomConstraintDefinitionOrBuilder
-
getParametersOrDefault
public Constraint.CustomConstraintDefinition.Parameter getParametersOrDefault(String key, Constraint.CustomConstraintDefinition.Parameter defaultValue) Stores the structure of [`Parameters`][google.cloud.orgpolicy.v2.Constraint.CustomConstraintDefinition.Parameter] used by the constraint condition. The key of `map` represents the name of the parameter.
map<string, .google.cloud.orgpolicy.v2.Constraint.CustomConstraintDefinition.Parameter> parameters = 5;- Specified by:
getParametersOrDefaultin interfaceConstraint.CustomConstraintDefinitionOrBuilder
-
getParametersOrThrow
Stores the structure of [`Parameters`][google.cloud.orgpolicy.v2.Constraint.CustomConstraintDefinition.Parameter] used by the constraint condition. The key of `map` represents the name of the parameter.
map<string, .google.cloud.orgpolicy.v2.Constraint.CustomConstraintDefinition.Parameter> parameters = 5;- Specified by:
getParametersOrThrowin interfaceConstraint.CustomConstraintDefinitionOrBuilder
-
clearParameters
-
removeParameters
Stores the structure of [`Parameters`][google.cloud.orgpolicy.v2.Constraint.CustomConstraintDefinition.Parameter] used by the constraint condition. The key of `map` represents the name of the parameter.
map<string, .google.cloud.orgpolicy.v2.Constraint.CustomConstraintDefinition.Parameter> parameters = 5; -
getMutableParameters
@Deprecated public Map<String,Constraint.CustomConstraintDefinition.Parameter> getMutableParameters()Deprecated.Use alternate mutation accessors instead. -
putParameters
public Constraint.CustomConstraintDefinition.Builder putParameters(String key, Constraint.CustomConstraintDefinition.Parameter value) Stores the structure of [`Parameters`][google.cloud.orgpolicy.v2.Constraint.CustomConstraintDefinition.Parameter] used by the constraint condition. The key of `map` represents the name of the parameter.
map<string, .google.cloud.orgpolicy.v2.Constraint.CustomConstraintDefinition.Parameter> parameters = 5; -
putAllParameters
public Constraint.CustomConstraintDefinition.Builder putAllParameters(Map<String, Constraint.CustomConstraintDefinition.Parameter> values) Stores the structure of [`Parameters`][google.cloud.orgpolicy.v2.Constraint.CustomConstraintDefinition.Parameter] used by the constraint condition. The key of `map` represents the name of the parameter.
map<string, .google.cloud.orgpolicy.v2.Constraint.CustomConstraintDefinition.Parameter> parameters = 5; -
putParametersBuilderIfAbsent
public Constraint.CustomConstraintDefinition.Parameter.Builder putParametersBuilderIfAbsent(String key) Stores the structure of [`Parameters`][google.cloud.orgpolicy.v2.Constraint.CustomConstraintDefinition.Parameter] used by the constraint condition. The key of `map` represents the name of the parameter.
map<string, .google.cloud.orgpolicy.v2.Constraint.CustomConstraintDefinition.Parameter> parameters = 5;
-