Package com.google.cloud.asset.v1
Class AnalyzerOrgPolicyConstraint.CustomConstraint.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<AnalyzerOrgPolicyConstraint.CustomConstraint.Builder>
-
- com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.Builder
-
- All Implemented Interfaces:
AnalyzerOrgPolicyConstraint.CustomConstraintOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- AnalyzerOrgPolicyConstraint.CustomConstraint
public static final class AnalyzerOrgPolicyConstraint.CustomConstraint.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<AnalyzerOrgPolicyConstraint.CustomConstraint.Builder> implements AnalyzerOrgPolicyConstraint.CustomConstraintOrBuilder
The definition of a custom constraint.
Protobuf typegoogle.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint
-
-
Method Summary
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<AnalyzerOrgPolicyConstraint.CustomConstraint.Builder>
-
clear
public AnalyzerOrgPolicyConstraint.CustomConstraint.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<AnalyzerOrgPolicyConstraint.CustomConstraint.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.GeneratedMessageV3.Builder<AnalyzerOrgPolicyConstraint.CustomConstraint.Builder>
-
getDefaultInstanceForType
public AnalyzerOrgPolicyConstraint.CustomConstraint getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public AnalyzerOrgPolicyConstraint.CustomConstraint build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public AnalyzerOrgPolicyConstraint.CustomConstraint buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public AnalyzerOrgPolicyConstraint.CustomConstraint.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<AnalyzerOrgPolicyConstraint.CustomConstraint.Builder>
-
setField
public AnalyzerOrgPolicyConstraint.CustomConstraint.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AnalyzerOrgPolicyConstraint.CustomConstraint.Builder>
-
clearField
public AnalyzerOrgPolicyConstraint.CustomConstraint.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AnalyzerOrgPolicyConstraint.CustomConstraint.Builder>
-
clearOneof
public AnalyzerOrgPolicyConstraint.CustomConstraint.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<AnalyzerOrgPolicyConstraint.CustomConstraint.Builder>
-
setRepeatedField
public AnalyzerOrgPolicyConstraint.CustomConstraint.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AnalyzerOrgPolicyConstraint.CustomConstraint.Builder>
-
addRepeatedField
public AnalyzerOrgPolicyConstraint.CustomConstraint.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AnalyzerOrgPolicyConstraint.CustomConstraint.Builder>
-
mergeFrom
public AnalyzerOrgPolicyConstraint.CustomConstraint.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AnalyzerOrgPolicyConstraint.CustomConstraint.Builder>
-
mergeFrom
public AnalyzerOrgPolicyConstraint.CustomConstraint.Builder mergeFrom(AnalyzerOrgPolicyConstraint.CustomConstraint other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<AnalyzerOrgPolicyConstraint.CustomConstraint.Builder>
-
mergeFrom
public AnalyzerOrgPolicyConstraint.CustomConstraint.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<AnalyzerOrgPolicyConstraint.CustomConstraint.Builder>- Throws:
IOException
-
getName
public String getName()
Name of the constraint. This is unique within the organization. Format of the name should be * `organizations/{organization_id}/customConstraints/{custom_constraint_id}` Example : "organizations/123/customConstraints/custom.createOnlyE2TypeVms"string name = 1;- Specified by:
getNamein interfaceAnalyzerOrgPolicyConstraint.CustomConstraintOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
Name of the constraint. This is unique within the organization. Format of the name should be * `organizations/{organization_id}/customConstraints/{custom_constraint_id}` Example : "organizations/123/customConstraints/custom.createOnlyE2TypeVms"string name = 1;- Specified by:
getNameBytesin interfaceAnalyzerOrgPolicyConstraint.CustomConstraintOrBuilder- Returns:
- The bytes for name.
-
setName
public AnalyzerOrgPolicyConstraint.CustomConstraint.Builder setName(String value)
Name of the constraint. This is unique within the organization. Format of the name should be * `organizations/{organization_id}/customConstraints/{custom_constraint_id}` Example : "organizations/123/customConstraints/custom.createOnlyE2TypeVms"string name = 1;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
public AnalyzerOrgPolicyConstraint.CustomConstraint.Builder clearName()
Name of the constraint. This is unique within the organization. Format of the name should be * `organizations/{organization_id}/customConstraints/{custom_constraint_id}` Example : "organizations/123/customConstraints/custom.createOnlyE2TypeVms"string name = 1;- Returns:
- This builder for chaining.
-
setNameBytes
public AnalyzerOrgPolicyConstraint.CustomConstraint.Builder setNameBytes(com.google.protobuf.ByteString value)
Name of the constraint. This is unique within the organization. Format of the name should be * `organizations/{organization_id}/customConstraints/{custom_constraint_id}` Example : "organizations/123/customConstraints/custom.createOnlyE2TypeVms"string name = 1;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getResourceTypesList
public com.google.protobuf.ProtocolStringList getResourceTypesList()
The Resource Instance type on which this policy applies to. Format will be of the form : "<canonical service name>/<type>" Example: * `compute.googleapis.com/Instance`.
repeated string resource_types = 2;- Specified by:
getResourceTypesListin interfaceAnalyzerOrgPolicyConstraint.CustomConstraintOrBuilder- Returns:
- A list containing the resourceTypes.
-
getResourceTypesCount
public int getResourceTypesCount()
The Resource Instance type on which this policy applies to. Format will be of the form : "<canonical service name>/<type>" Example: * `compute.googleapis.com/Instance`.
repeated string resource_types = 2;- Specified by:
getResourceTypesCountin interfaceAnalyzerOrgPolicyConstraint.CustomConstraintOrBuilder- Returns:
- The count of resourceTypes.
-
getResourceTypes
public String getResourceTypes(int index)
The Resource Instance type on which this policy applies to. Format will be of the form : "<canonical service name>/<type>" Example: * `compute.googleapis.com/Instance`.
repeated string resource_types = 2;- Specified by:
getResourceTypesin interfaceAnalyzerOrgPolicyConstraint.CustomConstraintOrBuilder- 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 to. Format will be of the form : "<canonical service name>/<type>" Example: * `compute.googleapis.com/Instance`.
repeated string resource_types = 2;- Specified by:
getResourceTypesBytesin interfaceAnalyzerOrgPolicyConstraint.CustomConstraintOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the resourceTypes at the given index.
-
setResourceTypes
public AnalyzerOrgPolicyConstraint.CustomConstraint.Builder setResourceTypes(int index, String value)
The Resource Instance type on which this policy applies to. Format will be of the form : "<canonical service name>/<type>" Example: * `compute.googleapis.com/Instance`.
repeated string resource_types = 2;- Parameters:
index- The index to set the value at.value- The resourceTypes to set.- Returns:
- This builder for chaining.
-
addResourceTypes
public AnalyzerOrgPolicyConstraint.CustomConstraint.Builder addResourceTypes(String value)
The Resource Instance type on which this policy applies to. Format will be of the form : "<canonical service name>/<type>" Example: * `compute.googleapis.com/Instance`.
repeated string resource_types = 2;- Parameters:
value- The resourceTypes to add.- Returns:
- This builder for chaining.
-
addAllResourceTypes
public AnalyzerOrgPolicyConstraint.CustomConstraint.Builder addAllResourceTypes(Iterable<String> values)
The Resource Instance type on which this policy applies to. Format will be of the form : "<canonical service name>/<type>" Example: * `compute.googleapis.com/Instance`.
repeated string resource_types = 2;- Parameters:
values- The resourceTypes to add.- Returns:
- This builder for chaining.
-
clearResourceTypes
public AnalyzerOrgPolicyConstraint.CustomConstraint.Builder clearResourceTypes()
The Resource Instance type on which this policy applies to. Format will be of the form : "<canonical service name>/<type>" Example: * `compute.googleapis.com/Instance`.
repeated string resource_types = 2;- Returns:
- This builder for chaining.
-
addResourceTypesBytes
public AnalyzerOrgPolicyConstraint.CustomConstraint.Builder addResourceTypesBytes(com.google.protobuf.ByteString value)
The Resource Instance type on which this policy applies to. Format will be of the form : "<canonical service name>/<type>" Example: * `compute.googleapis.com/Instance`.
repeated string resource_types = 2;- Parameters:
value- The bytes of the resourceTypes to add.- Returns:
- This builder for chaining.
-
getMethodTypesList
public List<AnalyzerOrgPolicyConstraint.CustomConstraint.MethodType> getMethodTypesList()
All the operations being applied for this constraint.
repeated .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.MethodType method_types = 3;- Specified by:
getMethodTypesListin interfaceAnalyzerOrgPolicyConstraint.CustomConstraintOrBuilder- Returns:
- A list containing the methodTypes.
-
getMethodTypesCount
public int getMethodTypesCount()
All the operations being applied for this constraint.
repeated .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.MethodType method_types = 3;- Specified by:
getMethodTypesCountin interfaceAnalyzerOrgPolicyConstraint.CustomConstraintOrBuilder- Returns:
- The count of methodTypes.
-
getMethodTypes
public AnalyzerOrgPolicyConstraint.CustomConstraint.MethodType getMethodTypes(int index)
All the operations being applied for this constraint.
repeated .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.MethodType method_types = 3;- Specified by:
getMethodTypesin interfaceAnalyzerOrgPolicyConstraint.CustomConstraintOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The methodTypes at the given index.
-
setMethodTypes
public AnalyzerOrgPolicyConstraint.CustomConstraint.Builder setMethodTypes(int index, AnalyzerOrgPolicyConstraint.CustomConstraint.MethodType value)
All the operations being applied for this constraint.
repeated .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.MethodType method_types = 3;- Parameters:
index- The index to set the value at.value- The methodTypes to set.- Returns:
- This builder for chaining.
-
addMethodTypes
public AnalyzerOrgPolicyConstraint.CustomConstraint.Builder addMethodTypes(AnalyzerOrgPolicyConstraint.CustomConstraint.MethodType value)
All the operations being applied for this constraint.
repeated .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.MethodType method_types = 3;- Parameters:
value- The methodTypes to add.- Returns:
- This builder for chaining.
-
addAllMethodTypes
public AnalyzerOrgPolicyConstraint.CustomConstraint.Builder addAllMethodTypes(Iterable<? extends AnalyzerOrgPolicyConstraint.CustomConstraint.MethodType> values)
All the operations being applied for this constraint.
repeated .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.MethodType method_types = 3;- Parameters:
values- The methodTypes to add.- Returns:
- This builder for chaining.
-
clearMethodTypes
public AnalyzerOrgPolicyConstraint.CustomConstraint.Builder clearMethodTypes()
All the operations being applied for this constraint.
repeated .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.MethodType method_types = 3;- Returns:
- This builder for chaining.
-
getMethodTypesValueList
public List<Integer> getMethodTypesValueList()
All the operations being applied for this constraint.
repeated .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.MethodType method_types = 3;- Specified by:
getMethodTypesValueListin interfaceAnalyzerOrgPolicyConstraint.CustomConstraintOrBuilder- 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.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.MethodType method_types = 3;- Specified by:
getMethodTypesValuein interfaceAnalyzerOrgPolicyConstraint.CustomConstraintOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The enum numeric value on the wire of methodTypes at the given index.
-
setMethodTypesValue
public AnalyzerOrgPolicyConstraint.CustomConstraint.Builder setMethodTypesValue(int index, int value)
All the operations being applied for this constraint.
repeated .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.MethodType method_types = 3;- 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
public AnalyzerOrgPolicyConstraint.CustomConstraint.Builder addMethodTypesValue(int value)
All the operations being applied for this constraint.
repeated .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.MethodType method_types = 3;- Parameters:
value- The enum numeric value on the wire for methodTypes to add.- Returns:
- This builder for chaining.
-
addAllMethodTypesValue
public AnalyzerOrgPolicyConstraint.CustomConstraint.Builder addAllMethodTypesValue(Iterable<Integer> values)
All the operations being applied for this constraint.
repeated .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.MethodType method_types = 3;- Parameters:
values- The enum numeric values on the wire for methodTypes to add.- Returns:
- This builder for chaining.
-
getCondition
public String getCondition()
Organization Policy condition/expression. For example: `resource.instanceName.matches("[production|test]_.*_(\d)+")'` or, `resource.management.auto_upgrade == true`string condition = 4;- Specified by:
getConditionin interfaceAnalyzerOrgPolicyConstraint.CustomConstraintOrBuilder- Returns:
- The condition.
-
getConditionBytes
public com.google.protobuf.ByteString getConditionBytes()
Organization Policy condition/expression. For example: `resource.instanceName.matches("[production|test]_.*_(\d)+")'` or, `resource.management.auto_upgrade == true`string condition = 4;- Specified by:
getConditionBytesin interfaceAnalyzerOrgPolicyConstraint.CustomConstraintOrBuilder- Returns:
- The bytes for condition.
-
setCondition
public AnalyzerOrgPolicyConstraint.CustomConstraint.Builder setCondition(String value)
Organization Policy condition/expression. For example: `resource.instanceName.matches("[production|test]_.*_(\d)+")'` or, `resource.management.auto_upgrade == true`string condition = 4;- Parameters:
value- The condition to set.- Returns:
- This builder for chaining.
-
clearCondition
public AnalyzerOrgPolicyConstraint.CustomConstraint.Builder clearCondition()
Organization Policy condition/expression. For example: `resource.instanceName.matches("[production|test]_.*_(\d)+")'` or, `resource.management.auto_upgrade == true`string condition = 4;- Returns:
- This builder for chaining.
-
setConditionBytes
public AnalyzerOrgPolicyConstraint.CustomConstraint.Builder setConditionBytes(com.google.protobuf.ByteString value)
Organization Policy condition/expression. For example: `resource.instanceName.matches("[production|test]_.*_(\d)+")'` or, `resource.management.auto_upgrade == true`string condition = 4;- Parameters:
value- The bytes for condition to set.- Returns:
- This builder for chaining.
-
getActionTypeValue
public int getActionTypeValue()
Allow or deny type.
.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.ActionType action_type = 5;- Specified by:
getActionTypeValuein interfaceAnalyzerOrgPolicyConstraint.CustomConstraintOrBuilder- Returns:
- The enum numeric value on the wire for actionType.
-
setActionTypeValue
public AnalyzerOrgPolicyConstraint.CustomConstraint.Builder setActionTypeValue(int value)
Allow or deny type.
.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.ActionType action_type = 5;- Parameters:
value- The enum numeric value on the wire for actionType to set.- Returns:
- This builder for chaining.
-
getActionType
public AnalyzerOrgPolicyConstraint.CustomConstraint.ActionType getActionType()
Allow or deny type.
.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.ActionType action_type = 5;- Specified by:
getActionTypein interfaceAnalyzerOrgPolicyConstraint.CustomConstraintOrBuilder- Returns:
- The actionType.
-
setActionType
public AnalyzerOrgPolicyConstraint.CustomConstraint.Builder setActionType(AnalyzerOrgPolicyConstraint.CustomConstraint.ActionType value)
Allow or deny type.
.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.ActionType action_type = 5;- Parameters:
value- The actionType to set.- Returns:
- This builder for chaining.
-
clearActionType
public AnalyzerOrgPolicyConstraint.CustomConstraint.Builder clearActionType()
Allow or deny type.
.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.CustomConstraint.ActionType action_type = 5;- Returns:
- This builder for chaining.
-
getDisplayName
public String getDisplayName()
One line display name for the UI.
string display_name = 6;- Specified by:
getDisplayNamein interfaceAnalyzerOrgPolicyConstraint.CustomConstraintOrBuilder- Returns:
- The displayName.
-
getDisplayNameBytes
public com.google.protobuf.ByteString getDisplayNameBytes()
One line display name for the UI.
string display_name = 6;- Specified by:
getDisplayNameBytesin interfaceAnalyzerOrgPolicyConstraint.CustomConstraintOrBuilder- Returns:
- The bytes for displayName.
-
setDisplayName
public AnalyzerOrgPolicyConstraint.CustomConstraint.Builder setDisplayName(String value)
One line display name for the UI.
string display_name = 6;- Parameters:
value- The displayName to set.- Returns:
- This builder for chaining.
-
clearDisplayName
public AnalyzerOrgPolicyConstraint.CustomConstraint.Builder clearDisplayName()
One line display name for the UI.
string display_name = 6;- Returns:
- This builder for chaining.
-
setDisplayNameBytes
public AnalyzerOrgPolicyConstraint.CustomConstraint.Builder setDisplayNameBytes(com.google.protobuf.ByteString value)
One line display name for the UI.
string display_name = 6;- Parameters:
value- The bytes for displayName to set.- Returns:
- This builder for chaining.
-
getDescription
public String getDescription()
Detailed information about this custom policy constraint.
string description = 7;- Specified by:
getDescriptionin interfaceAnalyzerOrgPolicyConstraint.CustomConstraintOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()
Detailed information about this custom policy constraint.
string description = 7;- Specified by:
getDescriptionBytesin interfaceAnalyzerOrgPolicyConstraint.CustomConstraintOrBuilder- Returns:
- The bytes for description.
-
setDescription
public AnalyzerOrgPolicyConstraint.CustomConstraint.Builder setDescription(String value)
Detailed information about this custom policy constraint.
string description = 7;- Parameters:
value- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
public AnalyzerOrgPolicyConstraint.CustomConstraint.Builder clearDescription()
Detailed information about this custom policy constraint.
string description = 7;- Returns:
- This builder for chaining.
-
setDescriptionBytes
public AnalyzerOrgPolicyConstraint.CustomConstraint.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
Detailed information about this custom policy constraint.
string description = 7;- Parameters:
value- The bytes for description to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final AnalyzerOrgPolicyConstraint.CustomConstraint.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<AnalyzerOrgPolicyConstraint.CustomConstraint.Builder>
-
mergeUnknownFields
public final AnalyzerOrgPolicyConstraint.CustomConstraint.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<AnalyzerOrgPolicyConstraint.CustomConstraint.Builder>
-
-