Package com.google.cloud.asset.v1
Class AnalyzerOrgPolicyConstraint.Constraint.ListConstraint.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<AnalyzerOrgPolicyConstraint.Constraint.ListConstraint.Builder>
-
- com.google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint.Builder
-
- All Implemented Interfaces:
AnalyzerOrgPolicyConstraint.Constraint.ListConstraintOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- AnalyzerOrgPolicyConstraint.Constraint.ListConstraint
public static final class AnalyzerOrgPolicyConstraint.Constraint.ListConstraint.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<AnalyzerOrgPolicyConstraint.Constraint.ListConstraint.Builder> implements AnalyzerOrgPolicyConstraint.Constraint.ListConstraintOrBuilder
A `Constraint` that allows or disallows a list of string values, which are configured by an organization's policy administrator with a `Policy`.
Protobuf typegoogle.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AnalyzerOrgPolicyConstraint.Constraint.ListConstraint.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
AnalyzerOrgPolicyConstraint.Constraint.ListConstraint
build()
AnalyzerOrgPolicyConstraint.Constraint.ListConstraint
buildPartial()
AnalyzerOrgPolicyConstraint.Constraint.ListConstraint.Builder
clear()
AnalyzerOrgPolicyConstraint.Constraint.ListConstraint.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
AnalyzerOrgPolicyConstraint.Constraint.ListConstraint.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
AnalyzerOrgPolicyConstraint.Constraint.ListConstraint.Builder
clearSupportsIn()
Indicates whether values grouped into categories can be used in `Policy.allowed_values` and `Policy.denied_values`.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint.Builder
clearSupportsUnder()
Indicates whether subtrees of Cloud Resource Manager resource hierarchy can be used in `Policy.allowed_values` and `Policy.denied_values`.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint.Builder
clone()
AnalyzerOrgPolicyConstraint.Constraint.ListConstraint
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
boolean
getSupportsIn()
Indicates whether values grouped into categories can be used in `Policy.allowed_values` and `Policy.denied_values`.boolean
getSupportsUnder()
Indicates whether subtrees of Cloud Resource Manager resource hierarchy can be used in `Policy.allowed_values` and `Policy.denied_values`.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
AnalyzerOrgPolicyConstraint.Constraint.ListConstraint.Builder
mergeFrom(AnalyzerOrgPolicyConstraint.Constraint.ListConstraint other)
AnalyzerOrgPolicyConstraint.Constraint.ListConstraint.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
AnalyzerOrgPolicyConstraint.Constraint.ListConstraint.Builder
mergeFrom(com.google.protobuf.Message other)
AnalyzerOrgPolicyConstraint.Constraint.ListConstraint.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
AnalyzerOrgPolicyConstraint.Constraint.ListConstraint.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
AnalyzerOrgPolicyConstraint.Constraint.ListConstraint.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
AnalyzerOrgPolicyConstraint.Constraint.ListConstraint.Builder
setSupportsIn(boolean value)
Indicates whether values grouped into categories can be used in `Policy.allowed_values` and `Policy.denied_values`.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint.Builder
setSupportsUnder(boolean value)
Indicates whether subtrees of Cloud Resource Manager resource hierarchy can be used in `Policy.allowed_values` and `Policy.denied_values`.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<AnalyzerOrgPolicyConstraint.Constraint.ListConstraint.Builder>
-
clear
public AnalyzerOrgPolicyConstraint.Constraint.ListConstraint.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<AnalyzerOrgPolicyConstraint.Constraint.ListConstraint.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<AnalyzerOrgPolicyConstraint.Constraint.ListConstraint.Builder>
-
getDefaultInstanceForType
public AnalyzerOrgPolicyConstraint.Constraint.ListConstraint getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public AnalyzerOrgPolicyConstraint.Constraint.ListConstraint build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public AnalyzerOrgPolicyConstraint.Constraint.ListConstraint buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public AnalyzerOrgPolicyConstraint.Constraint.ListConstraint.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<AnalyzerOrgPolicyConstraint.Constraint.ListConstraint.Builder>
-
setField
public AnalyzerOrgPolicyConstraint.Constraint.ListConstraint.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<AnalyzerOrgPolicyConstraint.Constraint.ListConstraint.Builder>
-
clearField
public AnalyzerOrgPolicyConstraint.Constraint.ListConstraint.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<AnalyzerOrgPolicyConstraint.Constraint.ListConstraint.Builder>
-
clearOneof
public AnalyzerOrgPolicyConstraint.Constraint.ListConstraint.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<AnalyzerOrgPolicyConstraint.Constraint.ListConstraint.Builder>
-
setRepeatedField
public AnalyzerOrgPolicyConstraint.Constraint.ListConstraint.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<AnalyzerOrgPolicyConstraint.Constraint.ListConstraint.Builder>
-
addRepeatedField
public AnalyzerOrgPolicyConstraint.Constraint.ListConstraint.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<AnalyzerOrgPolicyConstraint.Constraint.ListConstraint.Builder>
-
mergeFrom
public AnalyzerOrgPolicyConstraint.Constraint.ListConstraint.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<AnalyzerOrgPolicyConstraint.Constraint.ListConstraint.Builder>
-
mergeFrom
public AnalyzerOrgPolicyConstraint.Constraint.ListConstraint.Builder mergeFrom(AnalyzerOrgPolicyConstraint.Constraint.ListConstraint other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<AnalyzerOrgPolicyConstraint.Constraint.ListConstraint.Builder>
-
mergeFrom
public AnalyzerOrgPolicyConstraint.Constraint.ListConstraint.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<AnalyzerOrgPolicyConstraint.Constraint.ListConstraint.Builder>
- Throws:
IOException
-
getSupportsIn
public boolean getSupportsIn()
Indicates whether values grouped into categories can be used in `Policy.allowed_values` and `Policy.denied_values`. For example, `"in:Python"` would match any value in the 'Python' group.
bool supports_in = 1;
- Specified by:
getSupportsIn
in interfaceAnalyzerOrgPolicyConstraint.Constraint.ListConstraintOrBuilder
- Returns:
- The supportsIn.
-
setSupportsIn
public AnalyzerOrgPolicyConstraint.Constraint.ListConstraint.Builder setSupportsIn(boolean value)
Indicates whether values grouped into categories can be used in `Policy.allowed_values` and `Policy.denied_values`. For example, `"in:Python"` would match any value in the 'Python' group.
bool supports_in = 1;
- Parameters:
value
- The supportsIn to set.- Returns:
- This builder for chaining.
-
clearSupportsIn
public AnalyzerOrgPolicyConstraint.Constraint.ListConstraint.Builder clearSupportsIn()
Indicates whether values grouped into categories can be used in `Policy.allowed_values` and `Policy.denied_values`. For example, `"in:Python"` would match any value in the 'Python' group.
bool supports_in = 1;
- Returns:
- This builder for chaining.
-
getSupportsUnder
public boolean getSupportsUnder()
Indicates whether subtrees of Cloud Resource Manager resource hierarchy can be used in `Policy.allowed_values` and `Policy.denied_values`. For example, `"under:folders/123"` would match any resource under the 'folders/123' folder.
bool supports_under = 2;
- Specified by:
getSupportsUnder
in interfaceAnalyzerOrgPolicyConstraint.Constraint.ListConstraintOrBuilder
- Returns:
- The supportsUnder.
-
setSupportsUnder
public AnalyzerOrgPolicyConstraint.Constraint.ListConstraint.Builder setSupportsUnder(boolean value)
Indicates whether subtrees of Cloud Resource Manager resource hierarchy can be used in `Policy.allowed_values` and `Policy.denied_values`. For example, `"under:folders/123"` would match any resource under the 'folders/123' folder.
bool supports_under = 2;
- Parameters:
value
- The supportsUnder to set.- Returns:
- This builder for chaining.
-
clearSupportsUnder
public AnalyzerOrgPolicyConstraint.Constraint.ListConstraint.Builder clearSupportsUnder()
Indicates whether subtrees of Cloud Resource Manager resource hierarchy can be used in `Policy.allowed_values` and `Policy.denied_values`. For example, `"under:folders/123"` would match any resource under the 'folders/123' folder.
bool supports_under = 2;
- Returns:
- This builder for chaining.
-
setUnknownFields
public final AnalyzerOrgPolicyConstraint.Constraint.ListConstraint.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<AnalyzerOrgPolicyConstraint.Constraint.ListConstraint.Builder>
-
mergeUnknownFields
public final AnalyzerOrgPolicyConstraint.Constraint.ListConstraint.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<AnalyzerOrgPolicyConstraint.Constraint.ListConstraint.Builder>
-
-