Package com.google.cloud.asset.v1
Class AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.Builder>
com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.Builder
- All Implemented Interfaces:
AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainerOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer
public static final class AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.Builder
extends com.google.protobuf.GeneratedMessage.Builder<AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.Builder>
implements AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainerOrBuilder
The organization/folder/project resource governed by organization policies of [AnalyzeOrgPolicyGovernedContainersRequest.constraint][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersRequest.constraint].Protobuf type
google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer-
Method Summary
Modifier and TypeMethodDescriptionaddAllEffectiveTags(Iterable<? extends EffectiveTagDetails> values) The effective tags on this resource.addAllFolders(Iterable<String> values) The folder(s) that this resource belongs to, in the format of folders/{FOLDER_NUMBER}.addAllPolicyBundle(Iterable<? extends AnalyzerOrgPolicy> values) The ordered list of all organization policies from the [consolidated_policy.attached_resource][google.cloud.asset.v1.AnalyzerOrgPolicy.attached_resource].addEffectiveTags(int index, EffectiveTagDetails value) The effective tags on this resource.addEffectiveTags(int index, EffectiveTagDetails.Builder builderForValue) The effective tags on this resource.The effective tags on this resource.addEffectiveTags(EffectiveTagDetails.Builder builderForValue) The effective tags on this resource.The effective tags on this resource.addEffectiveTagsBuilder(int index) The effective tags on this resource.addFolders(String value) The folder(s) that this resource belongs to, in the format of folders/{FOLDER_NUMBER}.addFoldersBytes(com.google.protobuf.ByteString value) The folder(s) that this resource belongs to, in the format of folders/{FOLDER_NUMBER}.addPolicyBundle(int index, AnalyzerOrgPolicy value) The ordered list of all organization policies from the [consolidated_policy.attached_resource][google.cloud.asset.v1.AnalyzerOrgPolicy.attached_resource].addPolicyBundle(int index, AnalyzerOrgPolicy.Builder builderForValue) The ordered list of all organization policies from the [consolidated_policy.attached_resource][google.cloud.asset.v1.AnalyzerOrgPolicy.attached_resource].addPolicyBundle(AnalyzerOrgPolicy value) The ordered list of all organization policies from the [consolidated_policy.attached_resource][google.cloud.asset.v1.AnalyzerOrgPolicy.attached_resource].addPolicyBundle(AnalyzerOrgPolicy.Builder builderForValue) The ordered list of all organization policies from the [consolidated_policy.attached_resource][google.cloud.asset.v1.AnalyzerOrgPolicy.attached_resource].The ordered list of all organization policies from the [consolidated_policy.attached_resource][google.cloud.asset.v1.AnalyzerOrgPolicy.attached_resource].addPolicyBundleBuilder(int index) The ordered list of all organization policies from the [consolidated_policy.attached_resource][google.cloud.asset.v1.AnalyzerOrgPolicy.attached_resource].build()clear()The consolidated organization policy for the analyzed resource.The effective tags on this resource.The folder(s) that this resource belongs to, in the format of folders/{FOLDER_NUMBER}.The [full resource name] (https://cloud.google.com/asset-inventory/docs/resource-name-format) of an organization/folder/project resource.The organization that this resource belongs to, in the format of organizations/{ORGANIZATION_NUMBER}.The [full resource name] (https://cloud.google.com/asset-inventory/docs/resource-name-format) of the parent of [AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.full_resource_name][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.full_resource_name].The ordered list of all organization policies from the [consolidated_policy.attached_resource][google.cloud.asset.v1.AnalyzerOrgPolicy.attached_resource].The project that this resource belongs to, in the format of projects/{PROJECT_NUMBER}.The consolidated organization policy for the analyzed resource.The consolidated organization policy for the analyzed resource.The consolidated organization policy for the analyzed resource.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetEffectiveTags(int index) The effective tags on this resource.getEffectiveTagsBuilder(int index) The effective tags on this resource.The effective tags on this resource.intThe effective tags on this resource.The effective tags on this resource.getEffectiveTagsOrBuilder(int index) The effective tags on this resource.List<? extends EffectiveTagDetailsOrBuilder>The effective tags on this resource.getFolders(int index) The folder(s) that this resource belongs to, in the format of folders/{FOLDER_NUMBER}.com.google.protobuf.ByteStringgetFoldersBytes(int index) The folder(s) that this resource belongs to, in the format of folders/{FOLDER_NUMBER}.intThe folder(s) that this resource belongs to, in the format of folders/{FOLDER_NUMBER}.com.google.protobuf.ProtocolStringListThe folder(s) that this resource belongs to, in the format of folders/{FOLDER_NUMBER}.The [full resource name] (https://cloud.google.com/asset-inventory/docs/resource-name-format) of an organization/folder/project resource.com.google.protobuf.ByteStringThe [full resource name] (https://cloud.google.com/asset-inventory/docs/resource-name-format) of an organization/folder/project resource.The organization that this resource belongs to, in the format of organizations/{ORGANIZATION_NUMBER}.com.google.protobuf.ByteStringThe organization that this resource belongs to, in the format of organizations/{ORGANIZATION_NUMBER}.The [full resource name] (https://cloud.google.com/asset-inventory/docs/resource-name-format) of the parent of [AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.full_resource_name][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.full_resource_name].com.google.protobuf.ByteStringThe [full resource name] (https://cloud.google.com/asset-inventory/docs/resource-name-format) of the parent of [AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.full_resource_name][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.full_resource_name].getPolicyBundle(int index) The ordered list of all organization policies from the [consolidated_policy.attached_resource][google.cloud.asset.v1.AnalyzerOrgPolicy.attached_resource].getPolicyBundleBuilder(int index) The ordered list of all organization policies from the [consolidated_policy.attached_resource][google.cloud.asset.v1.AnalyzerOrgPolicy.attached_resource].The ordered list of all organization policies from the [consolidated_policy.attached_resource][google.cloud.asset.v1.AnalyzerOrgPolicy.attached_resource].intThe ordered list of all organization policies from the [consolidated_policy.attached_resource][google.cloud.asset.v1.AnalyzerOrgPolicy.attached_resource].The ordered list of all organization policies from the [consolidated_policy.attached_resource][google.cloud.asset.v1.AnalyzerOrgPolicy.attached_resource].getPolicyBundleOrBuilder(int index) The ordered list of all organization policies from the [consolidated_policy.attached_resource][google.cloud.asset.v1.AnalyzerOrgPolicy.attached_resource].List<? extends AnalyzerOrgPolicyOrBuilder>The ordered list of all organization policies from the [consolidated_policy.attached_resource][google.cloud.asset.v1.AnalyzerOrgPolicy.attached_resource].The project that this resource belongs to, in the format of projects/{PROJECT_NUMBER}.com.google.protobuf.ByteStringThe project that this resource belongs to, in the format of projects/{PROJECT_NUMBER}.booleanThe consolidated organization policy for the analyzed resource.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanThe consolidated organization policy for the analyzed resource.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeEffectiveTags(int index) The effective tags on this resource.removePolicyBundle(int index) The ordered list of all organization policies from the [consolidated_policy.attached_resource][google.cloud.asset.v1.AnalyzerOrgPolicy.attached_resource].The consolidated organization policy for the analyzed resource.setConsolidatedPolicy(AnalyzerOrgPolicy.Builder builderForValue) The consolidated organization policy for the analyzed resource.setEffectiveTags(int index, EffectiveTagDetails value) The effective tags on this resource.setEffectiveTags(int index, EffectiveTagDetails.Builder builderForValue) The effective tags on this resource.setFolders(int index, String value) The folder(s) that this resource belongs to, in the format of folders/{FOLDER_NUMBER}.setFullResourceName(String value) The [full resource name] (https://cloud.google.com/asset-inventory/docs/resource-name-format) of an organization/folder/project resource.setFullResourceNameBytes(com.google.protobuf.ByteString value) The [full resource name] (https://cloud.google.com/asset-inventory/docs/resource-name-format) of an organization/folder/project resource.setOrganization(String value) The organization that this resource belongs to, in the format of organizations/{ORGANIZATION_NUMBER}.setOrganizationBytes(com.google.protobuf.ByteString value) The organization that this resource belongs to, in the format of organizations/{ORGANIZATION_NUMBER}.The [full resource name] (https://cloud.google.com/asset-inventory/docs/resource-name-format) of the parent of [AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.full_resource_name][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.full_resource_name].setParentBytes(com.google.protobuf.ByteString value) The [full resource name] (https://cloud.google.com/asset-inventory/docs/resource-name-format) of the parent of [AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.full_resource_name][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.full_resource_name].setPolicyBundle(int index, AnalyzerOrgPolicy value) The ordered list of all organization policies from the [consolidated_policy.attached_resource][google.cloud.asset.v1.AnalyzerOrgPolicy.attached_resource].setPolicyBundle(int index, AnalyzerOrgPolicy.Builder builderForValue) The ordered list of all organization policies from the [consolidated_policy.attached_resource][google.cloud.asset.v1.AnalyzerOrgPolicy.attached_resource].setProject(String value) The project that this resource belongs to, in the format of projects/{PROJECT_NUMBER}.setProjectBytes(com.google.protobuf.ByteString value) The project that this resource belongs to, in the format of projects/{PROJECT_NUMBER}.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, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, 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() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.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<AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.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<AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.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
public AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.Builder>
-
mergeFrom
public AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.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<AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.Builder>- Throws:
IOException
-
getFullResourceName
The [full resource name] (https://cloud.google.com/asset-inventory/docs/resource-name-format) of an organization/folder/project resource.
string full_resource_name = 1;- Specified by:
getFullResourceNamein interfaceAnalyzeOrgPolicyGovernedContainersResponse.GovernedContainerOrBuilder- Returns:
- The fullResourceName.
-
getFullResourceNameBytes
public com.google.protobuf.ByteString getFullResourceNameBytes()The [full resource name] (https://cloud.google.com/asset-inventory/docs/resource-name-format) of an organization/folder/project resource.
string full_resource_name = 1;- Specified by:
getFullResourceNameBytesin interfaceAnalyzeOrgPolicyGovernedContainersResponse.GovernedContainerOrBuilder- Returns:
- The bytes for fullResourceName.
-
setFullResourceName
public AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.Builder setFullResourceName(String value) The [full resource name] (https://cloud.google.com/asset-inventory/docs/resource-name-format) of an organization/folder/project resource.
string full_resource_name = 1;- Parameters:
value- The fullResourceName to set.- Returns:
- This builder for chaining.
-
clearFullResourceName
The [full resource name] (https://cloud.google.com/asset-inventory/docs/resource-name-format) of an organization/folder/project resource.
string full_resource_name = 1;- Returns:
- This builder for chaining.
-
setFullResourceNameBytes
public AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.Builder setFullResourceNameBytes(com.google.protobuf.ByteString value) The [full resource name] (https://cloud.google.com/asset-inventory/docs/resource-name-format) of an organization/folder/project resource.
string full_resource_name = 1;- Parameters:
value- The bytes for fullResourceName to set.- Returns:
- This builder for chaining.
-
getParent
The [full resource name] (https://cloud.google.com/asset-inventory/docs/resource-name-format) of the parent of [AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.full_resource_name][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.full_resource_name].
string parent = 2;- Specified by:
getParentin interfaceAnalyzeOrgPolicyGovernedContainersResponse.GovernedContainerOrBuilder- Returns:
- The parent.
-
getParentBytes
public com.google.protobuf.ByteString getParentBytes()The [full resource name] (https://cloud.google.com/asset-inventory/docs/resource-name-format) of the parent of [AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.full_resource_name][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.full_resource_name].
string parent = 2;- Specified by:
getParentBytesin interfaceAnalyzeOrgPolicyGovernedContainersResponse.GovernedContainerOrBuilder- Returns:
- The bytes for parent.
-
setParent
The [full resource name] (https://cloud.google.com/asset-inventory/docs/resource-name-format) of the parent of [AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.full_resource_name][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.full_resource_name].
string parent = 2;- Parameters:
value- The parent to set.- Returns:
- This builder for chaining.
-
clearParent
The [full resource name] (https://cloud.google.com/asset-inventory/docs/resource-name-format) of the parent of [AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.full_resource_name][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.full_resource_name].
string parent = 2;- Returns:
- This builder for chaining.
-
setParentBytes
public AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.Builder setParentBytes(com.google.protobuf.ByteString value) The [full resource name] (https://cloud.google.com/asset-inventory/docs/resource-name-format) of the parent of [AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.full_resource_name][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.full_resource_name].
string parent = 2;- Parameters:
value- The bytes for parent to set.- Returns:
- This builder for chaining.
-
hasConsolidatedPolicy
public boolean hasConsolidatedPolicy()The consolidated organization policy for the analyzed resource. The consolidated organization policy is computed by merging and evaluating [AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.policy_bundle][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.policy_bundle]. The evaluation will respect the organization policy [hierarchy rules](https://cloud.google.com/resource-manager/docs/organization-policy/understanding-hierarchy).
.google.cloud.asset.v1.AnalyzerOrgPolicy consolidated_policy = 3;- Specified by:
hasConsolidatedPolicyin interfaceAnalyzeOrgPolicyGovernedContainersResponse.GovernedContainerOrBuilder- Returns:
- Whether the consolidatedPolicy field is set.
-
getConsolidatedPolicy
The consolidated organization policy for the analyzed resource. The consolidated organization policy is computed by merging and evaluating [AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.policy_bundle][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.policy_bundle]. The evaluation will respect the organization policy [hierarchy rules](https://cloud.google.com/resource-manager/docs/organization-policy/understanding-hierarchy).
.google.cloud.asset.v1.AnalyzerOrgPolicy consolidated_policy = 3;- Specified by:
getConsolidatedPolicyin interfaceAnalyzeOrgPolicyGovernedContainersResponse.GovernedContainerOrBuilder- Returns:
- The consolidatedPolicy.
-
setConsolidatedPolicy
public AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.Builder setConsolidatedPolicy(AnalyzerOrgPolicy value) The consolidated organization policy for the analyzed resource. The consolidated organization policy is computed by merging and evaluating [AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.policy_bundle][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.policy_bundle]. The evaluation will respect the organization policy [hierarchy rules](https://cloud.google.com/resource-manager/docs/organization-policy/understanding-hierarchy).
.google.cloud.asset.v1.AnalyzerOrgPolicy consolidated_policy = 3; -
setConsolidatedPolicy
public AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.Builder setConsolidatedPolicy(AnalyzerOrgPolicy.Builder builderForValue) The consolidated organization policy for the analyzed resource. The consolidated organization policy is computed by merging and evaluating [AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.policy_bundle][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.policy_bundle]. The evaluation will respect the organization policy [hierarchy rules](https://cloud.google.com/resource-manager/docs/organization-policy/understanding-hierarchy).
.google.cloud.asset.v1.AnalyzerOrgPolicy consolidated_policy = 3; -
mergeConsolidatedPolicy
public AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.Builder mergeConsolidatedPolicy(AnalyzerOrgPolicy value) The consolidated organization policy for the analyzed resource. The consolidated organization policy is computed by merging and evaluating [AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.policy_bundle][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.policy_bundle]. The evaluation will respect the organization policy [hierarchy rules](https://cloud.google.com/resource-manager/docs/organization-policy/understanding-hierarchy).
.google.cloud.asset.v1.AnalyzerOrgPolicy consolidated_policy = 3; -
clearConsolidatedPolicy
public AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.Builder clearConsolidatedPolicy()The consolidated organization policy for the analyzed resource. The consolidated organization policy is computed by merging and evaluating [AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.policy_bundle][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.policy_bundle]. The evaluation will respect the organization policy [hierarchy rules](https://cloud.google.com/resource-manager/docs/organization-policy/understanding-hierarchy).
.google.cloud.asset.v1.AnalyzerOrgPolicy consolidated_policy = 3; -
getConsolidatedPolicyBuilder
The consolidated organization policy for the analyzed resource. The consolidated organization policy is computed by merging and evaluating [AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.policy_bundle][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.policy_bundle]. The evaluation will respect the organization policy [hierarchy rules](https://cloud.google.com/resource-manager/docs/organization-policy/understanding-hierarchy).
.google.cloud.asset.v1.AnalyzerOrgPolicy consolidated_policy = 3; -
getConsolidatedPolicyOrBuilder
The consolidated organization policy for the analyzed resource. The consolidated organization policy is computed by merging and evaluating [AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.policy_bundle][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.policy_bundle]. The evaluation will respect the organization policy [hierarchy rules](https://cloud.google.com/resource-manager/docs/organization-policy/understanding-hierarchy).
.google.cloud.asset.v1.AnalyzerOrgPolicy consolidated_policy = 3;- Specified by:
getConsolidatedPolicyOrBuilderin interfaceAnalyzeOrgPolicyGovernedContainersResponse.GovernedContainerOrBuilder
-
getPolicyBundleList
The ordered list of all organization policies from the [consolidated_policy.attached_resource][google.cloud.asset.v1.AnalyzerOrgPolicy.attached_resource]. to the scope specified in the request. If the constraint is defined with default policy, it will also appear in the list.
repeated .google.cloud.asset.v1.AnalyzerOrgPolicy policy_bundle = 4;- Specified by:
getPolicyBundleListin interfaceAnalyzeOrgPolicyGovernedContainersResponse.GovernedContainerOrBuilder
-
getPolicyBundleCount
public int getPolicyBundleCount()The ordered list of all organization policies from the [consolidated_policy.attached_resource][google.cloud.asset.v1.AnalyzerOrgPolicy.attached_resource]. to the scope specified in the request. If the constraint is defined with default policy, it will also appear in the list.
repeated .google.cloud.asset.v1.AnalyzerOrgPolicy policy_bundle = 4;- Specified by:
getPolicyBundleCountin interfaceAnalyzeOrgPolicyGovernedContainersResponse.GovernedContainerOrBuilder
-
getPolicyBundle
The ordered list of all organization policies from the [consolidated_policy.attached_resource][google.cloud.asset.v1.AnalyzerOrgPolicy.attached_resource]. to the scope specified in the request. If the constraint is defined with default policy, it will also appear in the list.
repeated .google.cloud.asset.v1.AnalyzerOrgPolicy policy_bundle = 4;- Specified by:
getPolicyBundlein interfaceAnalyzeOrgPolicyGovernedContainersResponse.GovernedContainerOrBuilder
-
setPolicyBundle
public AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.Builder setPolicyBundle(int index, AnalyzerOrgPolicy value) The ordered list of all organization policies from the [consolidated_policy.attached_resource][google.cloud.asset.v1.AnalyzerOrgPolicy.attached_resource]. to the scope specified in the request. If the constraint is defined with default policy, it will also appear in the list.
repeated .google.cloud.asset.v1.AnalyzerOrgPolicy policy_bundle = 4; -
setPolicyBundle
public AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.Builder setPolicyBundle(int index, AnalyzerOrgPolicy.Builder builderForValue) The ordered list of all organization policies from the [consolidated_policy.attached_resource][google.cloud.asset.v1.AnalyzerOrgPolicy.attached_resource]. to the scope specified in the request. If the constraint is defined with default policy, it will also appear in the list.
repeated .google.cloud.asset.v1.AnalyzerOrgPolicy policy_bundle = 4; -
addPolicyBundle
public AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.Builder addPolicyBundle(AnalyzerOrgPolicy value) The ordered list of all organization policies from the [consolidated_policy.attached_resource][google.cloud.asset.v1.AnalyzerOrgPolicy.attached_resource]. to the scope specified in the request. If the constraint is defined with default policy, it will also appear in the list.
repeated .google.cloud.asset.v1.AnalyzerOrgPolicy policy_bundle = 4; -
addPolicyBundle
public AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.Builder addPolicyBundle(int index, AnalyzerOrgPolicy value) The ordered list of all organization policies from the [consolidated_policy.attached_resource][google.cloud.asset.v1.AnalyzerOrgPolicy.attached_resource]. to the scope specified in the request. If the constraint is defined with default policy, it will also appear in the list.
repeated .google.cloud.asset.v1.AnalyzerOrgPolicy policy_bundle = 4; -
addPolicyBundle
public AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.Builder addPolicyBundle(AnalyzerOrgPolicy.Builder builderForValue) The ordered list of all organization policies from the [consolidated_policy.attached_resource][google.cloud.asset.v1.AnalyzerOrgPolicy.attached_resource]. to the scope specified in the request. If the constraint is defined with default policy, it will also appear in the list.
repeated .google.cloud.asset.v1.AnalyzerOrgPolicy policy_bundle = 4; -
addPolicyBundle
public AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.Builder addPolicyBundle(int index, AnalyzerOrgPolicy.Builder builderForValue) The ordered list of all organization policies from the [consolidated_policy.attached_resource][google.cloud.asset.v1.AnalyzerOrgPolicy.attached_resource]. to the scope specified in the request. If the constraint is defined with default policy, it will also appear in the list.
repeated .google.cloud.asset.v1.AnalyzerOrgPolicy policy_bundle = 4; -
addAllPolicyBundle
public AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.Builder addAllPolicyBundle(Iterable<? extends AnalyzerOrgPolicy> values) The ordered list of all organization policies from the [consolidated_policy.attached_resource][google.cloud.asset.v1.AnalyzerOrgPolicy.attached_resource]. to the scope specified in the request. If the constraint is defined with default policy, it will also appear in the list.
repeated .google.cloud.asset.v1.AnalyzerOrgPolicy policy_bundle = 4; -
clearPolicyBundle
The ordered list of all organization policies from the [consolidated_policy.attached_resource][google.cloud.asset.v1.AnalyzerOrgPolicy.attached_resource]. to the scope specified in the request. If the constraint is defined with default policy, it will also appear in the list.
repeated .google.cloud.asset.v1.AnalyzerOrgPolicy policy_bundle = 4; -
removePolicyBundle
public AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.Builder removePolicyBundle(int index) The ordered list of all organization policies from the [consolidated_policy.attached_resource][google.cloud.asset.v1.AnalyzerOrgPolicy.attached_resource]. to the scope specified in the request. If the constraint is defined with default policy, it will also appear in the list.
repeated .google.cloud.asset.v1.AnalyzerOrgPolicy policy_bundle = 4; -
getPolicyBundleBuilder
The ordered list of all organization policies from the [consolidated_policy.attached_resource][google.cloud.asset.v1.AnalyzerOrgPolicy.attached_resource]. to the scope specified in the request. If the constraint is defined with default policy, it will also appear in the list.
repeated .google.cloud.asset.v1.AnalyzerOrgPolicy policy_bundle = 4; -
getPolicyBundleOrBuilder
The ordered list of all organization policies from the [consolidated_policy.attached_resource][google.cloud.asset.v1.AnalyzerOrgPolicy.attached_resource]. to the scope specified in the request. If the constraint is defined with default policy, it will also appear in the list.
repeated .google.cloud.asset.v1.AnalyzerOrgPolicy policy_bundle = 4;- Specified by:
getPolicyBundleOrBuilderin interfaceAnalyzeOrgPolicyGovernedContainersResponse.GovernedContainerOrBuilder
-
getPolicyBundleOrBuilderList
The ordered list of all organization policies from the [consolidated_policy.attached_resource][google.cloud.asset.v1.AnalyzerOrgPolicy.attached_resource]. to the scope specified in the request. If the constraint is defined with default policy, it will also appear in the list.
repeated .google.cloud.asset.v1.AnalyzerOrgPolicy policy_bundle = 4;- Specified by:
getPolicyBundleOrBuilderListin interfaceAnalyzeOrgPolicyGovernedContainersResponse.GovernedContainerOrBuilder
-
addPolicyBundleBuilder
The ordered list of all organization policies from the [consolidated_policy.attached_resource][google.cloud.asset.v1.AnalyzerOrgPolicy.attached_resource]. to the scope specified in the request. If the constraint is defined with default policy, it will also appear in the list.
repeated .google.cloud.asset.v1.AnalyzerOrgPolicy policy_bundle = 4; -
addPolicyBundleBuilder
The ordered list of all organization policies from the [consolidated_policy.attached_resource][google.cloud.asset.v1.AnalyzerOrgPolicy.attached_resource]. to the scope specified in the request. If the constraint is defined with default policy, it will also appear in the list.
repeated .google.cloud.asset.v1.AnalyzerOrgPolicy policy_bundle = 4; -
getPolicyBundleBuilderList
The ordered list of all organization policies from the [consolidated_policy.attached_resource][google.cloud.asset.v1.AnalyzerOrgPolicy.attached_resource]. to the scope specified in the request. If the constraint is defined with default policy, it will also appear in the list.
repeated .google.cloud.asset.v1.AnalyzerOrgPolicy policy_bundle = 4; -
getProject
The project that this resource belongs to, in the format of projects/{PROJECT_NUMBER}. This field is available when the resource belongs to a project.string project = 5;- Specified by:
getProjectin interfaceAnalyzeOrgPolicyGovernedContainersResponse.GovernedContainerOrBuilder- Returns:
- The project.
-
getProjectBytes
public com.google.protobuf.ByteString getProjectBytes()The project that this resource belongs to, in the format of projects/{PROJECT_NUMBER}. This field is available when the resource belongs to a project.string project = 5;- Specified by:
getProjectBytesin interfaceAnalyzeOrgPolicyGovernedContainersResponse.GovernedContainerOrBuilder- Returns:
- The bytes for project.
-
setProject
public AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.Builder setProject(String value) The project that this resource belongs to, in the format of projects/{PROJECT_NUMBER}. This field is available when the resource belongs to a project.string project = 5;- Parameters:
value- The project to set.- Returns:
- This builder for chaining.
-
clearProject
The project that this resource belongs to, in the format of projects/{PROJECT_NUMBER}. This field is available when the resource belongs to a project.string project = 5;- Returns:
- This builder for chaining.
-
setProjectBytes
public AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.Builder setProjectBytes(com.google.protobuf.ByteString value) The project that this resource belongs to, in the format of projects/{PROJECT_NUMBER}. This field is available when the resource belongs to a project.string project = 5;- Parameters:
value- The bytes for project to set.- Returns:
- This builder for chaining.
-
getFoldersList
public com.google.protobuf.ProtocolStringList getFoldersList()The folder(s) that this resource belongs to, in the format of folders/{FOLDER_NUMBER}. This field is available when the resource belongs (directly or cascadingly) to one or more folders.repeated string folders = 6;- Specified by:
getFoldersListin interfaceAnalyzeOrgPolicyGovernedContainersResponse.GovernedContainerOrBuilder- Returns:
- A list containing the folders.
-
getFoldersCount
public int getFoldersCount()The folder(s) that this resource belongs to, in the format of folders/{FOLDER_NUMBER}. This field is available when the resource belongs (directly or cascadingly) to one or more folders.repeated string folders = 6;- Specified by:
getFoldersCountin interfaceAnalyzeOrgPolicyGovernedContainersResponse.GovernedContainerOrBuilder- Returns:
- The count of folders.
-
getFolders
The folder(s) that this resource belongs to, in the format of folders/{FOLDER_NUMBER}. This field is available when the resource belongs (directly or cascadingly) to one or more folders.repeated string folders = 6;- Specified by:
getFoldersin interfaceAnalyzeOrgPolicyGovernedContainersResponse.GovernedContainerOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The folders at the given index.
-
getFoldersBytes
public com.google.protobuf.ByteString getFoldersBytes(int index) The folder(s) that this resource belongs to, in the format of folders/{FOLDER_NUMBER}. This field is available when the resource belongs (directly or cascadingly) to one or more folders.repeated string folders = 6;- Specified by:
getFoldersBytesin interfaceAnalyzeOrgPolicyGovernedContainersResponse.GovernedContainerOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the folders at the given index.
-
setFolders
public AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.Builder setFolders(int index, String value) The folder(s) that this resource belongs to, in the format of folders/{FOLDER_NUMBER}. This field is available when the resource belongs (directly or cascadingly) to one or more folders.repeated string folders = 6;- Parameters:
index- The index to set the value at.value- The folders to set.- Returns:
- This builder for chaining.
-
addFolders
public AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.Builder addFolders(String value) The folder(s) that this resource belongs to, in the format of folders/{FOLDER_NUMBER}. This field is available when the resource belongs (directly or cascadingly) to one or more folders.repeated string folders = 6;- Parameters:
value- The folders to add.- Returns:
- This builder for chaining.
-
addAllFolders
public AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.Builder addAllFolders(Iterable<String> values) The folder(s) that this resource belongs to, in the format of folders/{FOLDER_NUMBER}. This field is available when the resource belongs (directly or cascadingly) to one or more folders.repeated string folders = 6;- Parameters:
values- The folders to add.- Returns:
- This builder for chaining.
-
clearFolders
The folder(s) that this resource belongs to, in the format of folders/{FOLDER_NUMBER}. This field is available when the resource belongs (directly or cascadingly) to one or more folders.repeated string folders = 6;- Returns:
- This builder for chaining.
-
addFoldersBytes
public AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.Builder addFoldersBytes(com.google.protobuf.ByteString value) The folder(s) that this resource belongs to, in the format of folders/{FOLDER_NUMBER}. This field is available when the resource belongs (directly or cascadingly) to one or more folders.repeated string folders = 6;- Parameters:
value- The bytes of the folders to add.- Returns:
- This builder for chaining.
-
getOrganization
The organization that this resource belongs to, in the format of organizations/{ORGANIZATION_NUMBER}. This field is available when the resource belongs (directly or cascadingly) to an organization.string organization = 7;- Specified by:
getOrganizationin interfaceAnalyzeOrgPolicyGovernedContainersResponse.GovernedContainerOrBuilder- Returns:
- The organization.
-
getOrganizationBytes
public com.google.protobuf.ByteString getOrganizationBytes()The organization that this resource belongs to, in the format of organizations/{ORGANIZATION_NUMBER}. This field is available when the resource belongs (directly or cascadingly) to an organization.string organization = 7;- Specified by:
getOrganizationBytesin interfaceAnalyzeOrgPolicyGovernedContainersResponse.GovernedContainerOrBuilder- Returns:
- The bytes for organization.
-
setOrganization
public AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.Builder setOrganization(String value) The organization that this resource belongs to, in the format of organizations/{ORGANIZATION_NUMBER}. This field is available when the resource belongs (directly or cascadingly) to an organization.string organization = 7;- Parameters:
value- The organization to set.- Returns:
- This builder for chaining.
-
clearOrganization
The organization that this resource belongs to, in the format of organizations/{ORGANIZATION_NUMBER}. This field is available when the resource belongs (directly or cascadingly) to an organization.string organization = 7;- Returns:
- This builder for chaining.
-
setOrganizationBytes
public AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.Builder setOrganizationBytes(com.google.protobuf.ByteString value) The organization that this resource belongs to, in the format of organizations/{ORGANIZATION_NUMBER}. This field is available when the resource belongs (directly or cascadingly) to an organization.string organization = 7;- Parameters:
value- The bytes for organization to set.- Returns:
- This builder for chaining.
-
getEffectiveTagsList
The effective tags on this resource.
repeated .google.cloud.asset.v1.EffectiveTagDetails effective_tags = 8;- Specified by:
getEffectiveTagsListin interfaceAnalyzeOrgPolicyGovernedContainersResponse.GovernedContainerOrBuilder
-
getEffectiveTagsCount
public int getEffectiveTagsCount()The effective tags on this resource.
repeated .google.cloud.asset.v1.EffectiveTagDetails effective_tags = 8;- Specified by:
getEffectiveTagsCountin interfaceAnalyzeOrgPolicyGovernedContainersResponse.GovernedContainerOrBuilder
-
getEffectiveTags
The effective tags on this resource.
repeated .google.cloud.asset.v1.EffectiveTagDetails effective_tags = 8;- Specified by:
getEffectiveTagsin interfaceAnalyzeOrgPolicyGovernedContainersResponse.GovernedContainerOrBuilder
-
setEffectiveTags
public AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.Builder setEffectiveTags(int index, EffectiveTagDetails value) The effective tags on this resource.
repeated .google.cloud.asset.v1.EffectiveTagDetails effective_tags = 8; -
setEffectiveTags
public AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.Builder setEffectiveTags(int index, EffectiveTagDetails.Builder builderForValue) The effective tags on this resource.
repeated .google.cloud.asset.v1.EffectiveTagDetails effective_tags = 8; -
addEffectiveTags
public AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.Builder addEffectiveTags(EffectiveTagDetails value) The effective tags on this resource.
repeated .google.cloud.asset.v1.EffectiveTagDetails effective_tags = 8; -
addEffectiveTags
public AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.Builder addEffectiveTags(int index, EffectiveTagDetails value) The effective tags on this resource.
repeated .google.cloud.asset.v1.EffectiveTagDetails effective_tags = 8; -
addEffectiveTags
public AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.Builder addEffectiveTags(EffectiveTagDetails.Builder builderForValue) The effective tags on this resource.
repeated .google.cloud.asset.v1.EffectiveTagDetails effective_tags = 8; -
addEffectiveTags
public AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.Builder addEffectiveTags(int index, EffectiveTagDetails.Builder builderForValue) The effective tags on this resource.
repeated .google.cloud.asset.v1.EffectiveTagDetails effective_tags = 8; -
addAllEffectiveTags
public AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.Builder addAllEffectiveTags(Iterable<? extends EffectiveTagDetails> values) The effective tags on this resource.
repeated .google.cloud.asset.v1.EffectiveTagDetails effective_tags = 8; -
clearEffectiveTags
The effective tags on this resource.
repeated .google.cloud.asset.v1.EffectiveTagDetails effective_tags = 8; -
removeEffectiveTags
public AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.Builder removeEffectiveTags(int index) The effective tags on this resource.
repeated .google.cloud.asset.v1.EffectiveTagDetails effective_tags = 8; -
getEffectiveTagsBuilder
The effective tags on this resource.
repeated .google.cloud.asset.v1.EffectiveTagDetails effective_tags = 8; -
getEffectiveTagsOrBuilder
The effective tags on this resource.
repeated .google.cloud.asset.v1.EffectiveTagDetails effective_tags = 8;- Specified by:
getEffectiveTagsOrBuilderin interfaceAnalyzeOrgPolicyGovernedContainersResponse.GovernedContainerOrBuilder
-
getEffectiveTagsOrBuilderList
The effective tags on this resource.
repeated .google.cloud.asset.v1.EffectiveTagDetails effective_tags = 8;- Specified by:
getEffectiveTagsOrBuilderListin interfaceAnalyzeOrgPolicyGovernedContainersResponse.GovernedContainerOrBuilder
-
addEffectiveTagsBuilder
The effective tags on this resource.
repeated .google.cloud.asset.v1.EffectiveTagDetails effective_tags = 8; -
addEffectiveTagsBuilder
The effective tags on this resource.
repeated .google.cloud.asset.v1.EffectiveTagDetails effective_tags = 8; -
getEffectiveTagsBuilderList
The effective tags on this resource.
repeated .google.cloud.asset.v1.EffectiveTagDetails effective_tags = 8;
-