Package com.google.cloud.asset.v1
Class AnalyzeOrgPoliciesResponse.OrgPolicyResult.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<AnalyzeOrgPoliciesResponse.OrgPolicyResult.Builder>
com.google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult.Builder
- All Implemented Interfaces:
AnalyzeOrgPoliciesResponse.OrgPolicyResultOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- AnalyzeOrgPoliciesResponse.OrgPolicyResult
public static final class AnalyzeOrgPoliciesResponse.OrgPolicyResult.Builder
extends com.google.protobuf.GeneratedMessage.Builder<AnalyzeOrgPoliciesResponse.OrgPolicyResult.Builder>
implements AnalyzeOrgPoliciesResponse.OrgPolicyResultOrBuilder
The organization policy result to the query.Protobuf type
google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult-
Method Summary
Modifier and TypeMethodDescriptionaddAllFolders(Iterable<String> values) The folder(s) that this consolidated policy 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].addFolders(String value) The folder(s) that this consolidated policy belongs to, in the format of folders/{FOLDER_NUMBER}.addFoldersBytes(com.google.protobuf.ByteString value) The folder(s) that this consolidated policy 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 folder(s) that this consolidated policy belongs to, in the format of folders/{FOLDER_NUMBER}.The organization that this consolidated policy belongs to, in the format of organizations/{ORGANIZATION_NUMBER}.The ordered list of all organization policies from the [consolidated_policy.attached_resource][google.cloud.asset.v1.AnalyzerOrgPolicy.attached_resource].The project that this consolidated policy 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.DescriptorgetFolders(int index) The folder(s) that this consolidated policy belongs to, in the format of folders/{FOLDER_NUMBER}.com.google.protobuf.ByteStringgetFoldersBytes(int index) The folder(s) that this consolidated policy belongs to, in the format of folders/{FOLDER_NUMBER}.intThe folder(s) that this consolidated policy belongs to, in the format of folders/{FOLDER_NUMBER}.com.google.protobuf.ProtocolStringListThe folder(s) that this consolidated policy belongs to, in the format of folders/{FOLDER_NUMBER}.The organization that this consolidated policy belongs to, in the format of organizations/{ORGANIZATION_NUMBER}.com.google.protobuf.ByteStringThe organization that this consolidated policy belongs to, in the format of organizations/{ORGANIZATION_NUMBER}.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 consolidated policy belongs to, in the format of projects/{PROJECT_NUMBER}.com.google.protobuf.ByteStringThe project that this consolidated policy 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) 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.setFolders(int index, String value) The folder(s) that this consolidated policy belongs to, in the format of folders/{FOLDER_NUMBER}.setOrganization(String value) The organization that this consolidated policy belongs to, in the format of organizations/{ORGANIZATION_NUMBER}.setOrganizationBytes(com.google.protobuf.ByteString value) The organization that this consolidated policy belongs to, in the format of organizations/{ORGANIZATION_NUMBER}.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 consolidated policy belongs to, in the format of projects/{PROJECT_NUMBER}.setProjectBytes(com.google.protobuf.ByteString value) The project that this consolidated policy 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<AnalyzeOrgPoliciesResponse.OrgPolicyResult.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<AnalyzeOrgPoliciesResponse.OrgPolicyResult.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<AnalyzeOrgPoliciesResponse.OrgPolicyResult.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 AnalyzeOrgPoliciesResponse.OrgPolicyResult.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AnalyzeOrgPoliciesResponse.OrgPolicyResult.Builder>
-
mergeFrom
public AnalyzeOrgPoliciesResponse.OrgPolicyResult.Builder mergeFrom(AnalyzeOrgPoliciesResponse.OrgPolicyResult other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<AnalyzeOrgPoliciesResponse.OrgPolicyResult.Builder>
-
mergeFrom
public AnalyzeOrgPoliciesResponse.OrgPolicyResult.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<AnalyzeOrgPoliciesResponse.OrgPolicyResult.Builder>- Throws:
IOException
-
hasConsolidatedPolicy
public boolean hasConsolidatedPolicy()The consolidated organization policy for the analyzed resource. The consolidated organization policy is computed by merging and evaluating [policy_bundle][google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult.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 = 1;- Specified by:
hasConsolidatedPolicyin interfaceAnalyzeOrgPoliciesResponse.OrgPolicyResultOrBuilder- 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 [policy_bundle][google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult.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 = 1;- Specified by:
getConsolidatedPolicyin interfaceAnalyzeOrgPoliciesResponse.OrgPolicyResultOrBuilder- Returns:
- The consolidatedPolicy.
-
setConsolidatedPolicy
public AnalyzeOrgPoliciesResponse.OrgPolicyResult.Builder setConsolidatedPolicy(AnalyzerOrgPolicy value) The consolidated organization policy for the analyzed resource. The consolidated organization policy is computed by merging and evaluating [policy_bundle][google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult.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 = 1; -
setConsolidatedPolicy
public AnalyzeOrgPoliciesResponse.OrgPolicyResult.Builder setConsolidatedPolicy(AnalyzerOrgPolicy.Builder builderForValue) The consolidated organization policy for the analyzed resource. The consolidated organization policy is computed by merging and evaluating [policy_bundle][google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult.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 = 1; -
mergeConsolidatedPolicy
public AnalyzeOrgPoliciesResponse.OrgPolicyResult.Builder mergeConsolidatedPolicy(AnalyzerOrgPolicy value) The consolidated organization policy for the analyzed resource. The consolidated organization policy is computed by merging and evaluating [policy_bundle][google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult.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 = 1; -
clearConsolidatedPolicy
The consolidated organization policy for the analyzed resource. The consolidated organization policy is computed by merging and evaluating [policy_bundle][google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult.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 = 1; -
getConsolidatedPolicyBuilder
The consolidated organization policy for the analyzed resource. The consolidated organization policy is computed by merging and evaluating [policy_bundle][google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult.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 = 1; -
getConsolidatedPolicyOrBuilder
The consolidated organization policy for the analyzed resource. The consolidated organization policy is computed by merging and evaluating [policy_bundle][google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult.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 = 1;- Specified by:
getConsolidatedPolicyOrBuilderin interfaceAnalyzeOrgPoliciesResponse.OrgPolicyResultOrBuilder
-
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 = 2;- Specified by:
getPolicyBundleListin interfaceAnalyzeOrgPoliciesResponse.OrgPolicyResultOrBuilder
-
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 = 2;- Specified by:
getPolicyBundleCountin interfaceAnalyzeOrgPoliciesResponse.OrgPolicyResultOrBuilder
-
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 = 2;- Specified by:
getPolicyBundlein interfaceAnalyzeOrgPoliciesResponse.OrgPolicyResultOrBuilder
-
setPolicyBundle
public AnalyzeOrgPoliciesResponse.OrgPolicyResult.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 = 2; -
setPolicyBundle
public AnalyzeOrgPoliciesResponse.OrgPolicyResult.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 = 2; -
addPolicyBundle
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 = 2; -
addPolicyBundle
public AnalyzeOrgPoliciesResponse.OrgPolicyResult.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 = 2; -
addPolicyBundle
public AnalyzeOrgPoliciesResponse.OrgPolicyResult.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 = 2; -
addPolicyBundle
public AnalyzeOrgPoliciesResponse.OrgPolicyResult.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 = 2; -
addAllPolicyBundle
public AnalyzeOrgPoliciesResponse.OrgPolicyResult.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 = 2; -
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 = 2; -
removePolicyBundle
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 = 2; -
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 = 2; -
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 = 2;- Specified by:
getPolicyBundleOrBuilderin interfaceAnalyzeOrgPoliciesResponse.OrgPolicyResultOrBuilder
-
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 = 2;- Specified by:
getPolicyBundleOrBuilderListin interfaceAnalyzeOrgPoliciesResponse.OrgPolicyResultOrBuilder
-
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 = 2; -
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 = 2; -
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 = 2; -
getProject
The project that this consolidated policy belongs to, in the format of projects/{PROJECT_NUMBER}. This field is available when the consolidated policy belongs to a project.string project = 3;- Specified by:
getProjectin interfaceAnalyzeOrgPoliciesResponse.OrgPolicyResultOrBuilder- Returns:
- The project.
-
getProjectBytes
public com.google.protobuf.ByteString getProjectBytes()The project that this consolidated policy belongs to, in the format of projects/{PROJECT_NUMBER}. This field is available when the consolidated policy belongs to a project.string project = 3;- Specified by:
getProjectBytesin interfaceAnalyzeOrgPoliciesResponse.OrgPolicyResultOrBuilder- Returns:
- The bytes for project.
-
setProject
The project that this consolidated policy belongs to, in the format of projects/{PROJECT_NUMBER}. This field is available when the consolidated policy belongs to a project.string project = 3;- Parameters:
value- The project to set.- Returns:
- This builder for chaining.
-
clearProject
The project that this consolidated policy belongs to, in the format of projects/{PROJECT_NUMBER}. This field is available when the consolidated policy belongs to a project.string project = 3;- Returns:
- This builder for chaining.
-
setProjectBytes
public AnalyzeOrgPoliciesResponse.OrgPolicyResult.Builder setProjectBytes(com.google.protobuf.ByteString value) The project that this consolidated policy belongs to, in the format of projects/{PROJECT_NUMBER}. This field is available when the consolidated policy belongs to a project.string project = 3;- 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 consolidated policy belongs to, in the format of folders/{FOLDER_NUMBER}. This field is available when the consolidated policy belongs (directly or cascadingly) to one or more folders.repeated string folders = 4;- Specified by:
getFoldersListin interfaceAnalyzeOrgPoliciesResponse.OrgPolicyResultOrBuilder- Returns:
- A list containing the folders.
-
getFoldersCount
public int getFoldersCount()The folder(s) that this consolidated policy belongs to, in the format of folders/{FOLDER_NUMBER}. This field is available when the consolidated policy belongs (directly or cascadingly) to one or more folders.repeated string folders = 4;- Specified by:
getFoldersCountin interfaceAnalyzeOrgPoliciesResponse.OrgPolicyResultOrBuilder- Returns:
- The count of folders.
-
getFolders
The folder(s) that this consolidated policy belongs to, in the format of folders/{FOLDER_NUMBER}. This field is available when the consolidated policy belongs (directly or cascadingly) to one or more folders.repeated string folders = 4;- Specified by:
getFoldersin interfaceAnalyzeOrgPoliciesResponse.OrgPolicyResultOrBuilder- 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 consolidated policy belongs to, in the format of folders/{FOLDER_NUMBER}. This field is available when the consolidated policy belongs (directly or cascadingly) to one or more folders.repeated string folders = 4;- Specified by:
getFoldersBytesin interfaceAnalyzeOrgPoliciesResponse.OrgPolicyResultOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the folders at the given index.
-
setFolders
The folder(s) that this consolidated policy belongs to, in the format of folders/{FOLDER_NUMBER}. This field is available when the consolidated policy belongs (directly or cascadingly) to one or more folders.repeated string folders = 4;- Parameters:
index- The index to set the value at.value- The folders to set.- Returns:
- This builder for chaining.
-
addFolders
The folder(s) that this consolidated policy belongs to, in the format of folders/{FOLDER_NUMBER}. This field is available when the consolidated policy belongs (directly or cascadingly) to one or more folders.repeated string folders = 4;- Parameters:
value- The folders to add.- Returns:
- This builder for chaining.
-
addAllFolders
The folder(s) that this consolidated policy belongs to, in the format of folders/{FOLDER_NUMBER}. This field is available when the consolidated policy belongs (directly or cascadingly) to one or more folders.repeated string folders = 4;- Parameters:
values- The folders to add.- Returns:
- This builder for chaining.
-
clearFolders
The folder(s) that this consolidated policy belongs to, in the format of folders/{FOLDER_NUMBER}. This field is available when the consolidated policy belongs (directly or cascadingly) to one or more folders.repeated string folders = 4;- Returns:
- This builder for chaining.
-
addFoldersBytes
public AnalyzeOrgPoliciesResponse.OrgPolicyResult.Builder addFoldersBytes(com.google.protobuf.ByteString value) The folder(s) that this consolidated policy belongs to, in the format of folders/{FOLDER_NUMBER}. This field is available when the consolidated policy belongs (directly or cascadingly) to one or more folders.repeated string folders = 4;- Parameters:
value- The bytes of the folders to add.- Returns:
- This builder for chaining.
-
getOrganization
The organization that this consolidated policy belongs to, in the format of organizations/{ORGANIZATION_NUMBER}. This field is available when the consolidated policy belongs (directly or cascadingly) to an organization.string organization = 5;- Specified by:
getOrganizationin interfaceAnalyzeOrgPoliciesResponse.OrgPolicyResultOrBuilder- Returns:
- The organization.
-
getOrganizationBytes
public com.google.protobuf.ByteString getOrganizationBytes()The organization that this consolidated policy belongs to, in the format of organizations/{ORGANIZATION_NUMBER}. This field is available when the consolidated policy belongs (directly or cascadingly) to an organization.string organization = 5;- Specified by:
getOrganizationBytesin interfaceAnalyzeOrgPoliciesResponse.OrgPolicyResultOrBuilder- Returns:
- The bytes for organization.
-
setOrganization
The organization that this consolidated policy belongs to, in the format of organizations/{ORGANIZATION_NUMBER}. This field is available when the consolidated policy belongs (directly or cascadingly) to an organization.string organization = 5;- Parameters:
value- The organization to set.- Returns:
- This builder for chaining.
-
clearOrganization
The organization that this consolidated policy belongs to, in the format of organizations/{ORGANIZATION_NUMBER}. This field is available when the consolidated policy belongs (directly or cascadingly) to an organization.string organization = 5;- Returns:
- This builder for chaining.
-
setOrganizationBytes
public AnalyzeOrgPoliciesResponse.OrgPolicyResult.Builder setOrganizationBytes(com.google.protobuf.ByteString value) The organization that this consolidated policy belongs to, in the format of organizations/{ORGANIZATION_NUMBER}. This field is available when the consolidated policy belongs (directly or cascadingly) to an organization.string organization = 5;- Parameters:
value- The bytes for organization to set.- Returns:
- This builder for chaining.
-