public static final class AnalyzeOrgPoliciesResponse.OrgPolicyResult.Builder extends GeneratedMessageV3.Builder<AnalyzeOrgPoliciesResponse.OrgPolicyResult.Builder> implements AnalyzeOrgPoliciesResponse.OrgPolicyResultOrBuilder
The organization policy result to the query.
Protobuf type google.cloud.asset.v1.AnalyzeOrgPoliciesResponse.OrgPolicyResult
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addAllPolicyBundle(Iterable<? extends AnalyzerOrgPolicy> values)
public AnalyzeOrgPoliciesResponse.OrgPolicyResult.Builder addAllPolicyBundle(Iterable<? extends AnalyzerOrgPolicy> values)
The ordered list of all organization policies from the
[AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.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;
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.cloud.asset.v1.AnalyzerOrgPolicy>
|
addPolicyBundle(AnalyzerOrgPolicy value)
public AnalyzeOrgPoliciesResponse.OrgPolicyResult.Builder addPolicyBundle(AnalyzerOrgPolicy value)
The ordered list of all organization policies from the
[AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.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(AnalyzerOrgPolicy.Builder builderForValue)
public AnalyzeOrgPoliciesResponse.OrgPolicyResult.Builder addPolicyBundle(AnalyzerOrgPolicy.Builder builderForValue)
The ordered list of all organization policies from the
[AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.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(int index, AnalyzerOrgPolicy value)
public AnalyzeOrgPoliciesResponse.OrgPolicyResult.Builder addPolicyBundle(int index, AnalyzerOrgPolicy value)
The ordered list of all organization policies from the
[AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.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(int index, AnalyzerOrgPolicy.Builder builderForValue)
public AnalyzeOrgPoliciesResponse.OrgPolicyResult.Builder addPolicyBundle(int index, AnalyzerOrgPolicy.Builder builderForValue)
The ordered list of all organization policies from the
[AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.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()
public AnalyzerOrgPolicy.Builder addPolicyBundleBuilder()
The ordered list of all organization policies from the
[AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.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(int index)
public AnalyzerOrgPolicy.Builder addPolicyBundleBuilder(int index)
The ordered list of all organization policies from the
[AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.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;
Parameter |
Name |
Description |
index |
int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AnalyzeOrgPoliciesResponse.OrgPolicyResult.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public AnalyzeOrgPoliciesResponse.OrgPolicyResult build()
buildPartial()
public AnalyzeOrgPoliciesResponse.OrgPolicyResult buildPartial()
clear()
public AnalyzeOrgPoliciesResponse.OrgPolicyResult.Builder clear()
Overrides
clearConsolidatedPolicy()
public AnalyzeOrgPoliciesResponse.OrgPolicyResult.Builder clearConsolidatedPolicy()
The consolidated organization policy for the analyzed resource. The
consolidated organization policy is computed by merging and evaluating
[AnalyzeOrgPoliciesResponse.policy_bundle][].
The evaluation will respect the organization policy hierarchy
rules.
.google.cloud.asset.v1.AnalyzerOrgPolicy consolidated_policy = 1;
clearField(Descriptors.FieldDescriptor field)
public AnalyzeOrgPoliciesResponse.OrgPolicyResult.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public AnalyzeOrgPoliciesResponse.OrgPolicyResult.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearPolicyBundle()
public AnalyzeOrgPoliciesResponse.OrgPolicyResult.Builder clearPolicyBundle()
The ordered list of all organization policies from the
[AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.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;
clone()
public AnalyzeOrgPoliciesResponse.OrgPolicyResult.Builder clone()
Overrides
getConsolidatedPolicy()
public AnalyzerOrgPolicy getConsolidatedPolicy()
The consolidated organization policy for the analyzed resource. The
consolidated organization policy is computed by merging and evaluating
[AnalyzeOrgPoliciesResponse.policy_bundle][].
The evaluation will respect the organization policy hierarchy
rules.
.google.cloud.asset.v1.AnalyzerOrgPolicy consolidated_policy = 1;
getConsolidatedPolicyBuilder()
public AnalyzerOrgPolicy.Builder getConsolidatedPolicyBuilder()
The consolidated organization policy for the analyzed resource. The
consolidated organization policy is computed by merging and evaluating
[AnalyzeOrgPoliciesResponse.policy_bundle][].
The evaluation will respect the organization policy hierarchy
rules.
.google.cloud.asset.v1.AnalyzerOrgPolicy consolidated_policy = 1;
getConsolidatedPolicyOrBuilder()
public AnalyzerOrgPolicyOrBuilder getConsolidatedPolicyOrBuilder()
The consolidated organization policy for the analyzed resource. The
consolidated organization policy is computed by merging and evaluating
[AnalyzeOrgPoliciesResponse.policy_bundle][].
The evaluation will respect the organization policy hierarchy
rules.
.google.cloud.asset.v1.AnalyzerOrgPolicy consolidated_policy = 1;
getDefaultInstanceForType()
public AnalyzeOrgPoliciesResponse.OrgPolicyResult getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getPolicyBundle(int index)
public AnalyzerOrgPolicy getPolicyBundle(int index)
The ordered list of all organization policies from the
[AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.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;
Parameter |
Name |
Description |
index |
int
|
getPolicyBundleBuilder(int index)
public AnalyzerOrgPolicy.Builder getPolicyBundleBuilder(int index)
The ordered list of all organization policies from the
[AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.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;
Parameter |
Name |
Description |
index |
int
|
getPolicyBundleBuilderList()
public List<AnalyzerOrgPolicy.Builder> getPolicyBundleBuilderList()
The ordered list of all organization policies from the
[AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.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;
getPolicyBundleCount()
public int getPolicyBundleCount()
The ordered list of all organization policies from the
[AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.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;
Returns |
Type |
Description |
int |
|
getPolicyBundleList()
public List<AnalyzerOrgPolicy> getPolicyBundleList()
The ordered list of all organization policies from the
[AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.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(int index)
public AnalyzerOrgPolicyOrBuilder getPolicyBundleOrBuilder(int index)
The ordered list of all organization policies from the
[AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.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;
Parameter |
Name |
Description |
index |
int
|
getPolicyBundleOrBuilderList()
public List<? extends AnalyzerOrgPolicyOrBuilder> getPolicyBundleOrBuilderList()
The ordered list of all organization policies from the
[AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.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;
Returns |
Type |
Description |
List<? extends com.google.cloud.asset.v1.AnalyzerOrgPolicyOrBuilder> |
|
hasConsolidatedPolicy()
public boolean hasConsolidatedPolicy()
The consolidated organization policy for the analyzed resource. The
consolidated organization policy is computed by merging and evaluating
[AnalyzeOrgPoliciesResponse.policy_bundle][].
The evaluation will respect the organization policy hierarchy
rules.
.google.cloud.asset.v1.AnalyzerOrgPolicy consolidated_policy = 1;
Returns |
Type |
Description |
boolean |
Whether the consolidatedPolicy field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeConsolidatedPolicy(AnalyzerOrgPolicy value)
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
[AnalyzeOrgPoliciesResponse.policy_bundle][].
The evaluation will respect the organization policy hierarchy
rules.
.google.cloud.asset.v1.AnalyzerOrgPolicy consolidated_policy = 1;
mergeFrom(AnalyzeOrgPoliciesResponse.OrgPolicyResult other)
public AnalyzeOrgPoliciesResponse.OrgPolicyResult.Builder mergeFrom(AnalyzeOrgPoliciesResponse.OrgPolicyResult other)
public AnalyzeOrgPoliciesResponse.OrgPolicyResult.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public AnalyzeOrgPoliciesResponse.OrgPolicyResult.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AnalyzeOrgPoliciesResponse.OrgPolicyResult.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removePolicyBundle(int index)
public AnalyzeOrgPoliciesResponse.OrgPolicyResult.Builder removePolicyBundle(int index)
The ordered list of all organization policies from the
[AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.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;
Parameter |
Name |
Description |
index |
int
|
setConsolidatedPolicy(AnalyzerOrgPolicy value)
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
[AnalyzeOrgPoliciesResponse.policy_bundle][].
The evaluation will respect the organization policy hierarchy
rules.
.google.cloud.asset.v1.AnalyzerOrgPolicy consolidated_policy = 1;
setConsolidatedPolicy(AnalyzerOrgPolicy.Builder builderForValue)
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
[AnalyzeOrgPoliciesResponse.policy_bundle][].
The evaluation will respect the organization policy hierarchy
rules.
.google.cloud.asset.v1.AnalyzerOrgPolicy consolidated_policy = 1;
setField(Descriptors.FieldDescriptor field, Object value)
public AnalyzeOrgPoliciesResponse.OrgPolicyResult.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setPolicyBundle(int index, AnalyzerOrgPolicy value)
public AnalyzeOrgPoliciesResponse.OrgPolicyResult.Builder setPolicyBundle(int index, AnalyzerOrgPolicy value)
The ordered list of all organization policies from the
[AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.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(int index, AnalyzerOrgPolicy.Builder builderForValue)
public AnalyzeOrgPoliciesResponse.OrgPolicyResult.Builder setPolicyBundle(int index, AnalyzerOrgPolicy.Builder builderForValue)
The ordered list of all organization policies from the
[AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.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;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AnalyzeOrgPoliciesResponse.OrgPolicyResult.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final AnalyzeOrgPoliciesResponse.OrgPolicyResult.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides