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()
Returns
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>
|
Returns
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;
Parameter
Returns
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;
Parameter
Returns
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;
Parameters
Returns
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;
Parameters
Returns
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;
Returns
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
|
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AnalyzeOrgPoliciesResponse.OrgPolicyResult.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public AnalyzeOrgPoliciesResponse.OrgPolicyResult build()
Returns
buildPartial()
public AnalyzeOrgPoliciesResponse.OrgPolicyResult buildPartial()
Returns
clear()
public AnalyzeOrgPoliciesResponse.OrgPolicyResult.Builder clear()
Returns
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;
Returns
clearField(Descriptors.FieldDescriptor field)
public AnalyzeOrgPoliciesResponse.OrgPolicyResult.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public AnalyzeOrgPoliciesResponse.OrgPolicyResult.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
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;
Returns
clone()
public AnalyzeOrgPoliciesResponse.OrgPolicyResult.Builder clone()
Returns
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;
Returns
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;
Returns
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;
Returns
getDefaultInstanceForType()
public AnalyzeOrgPoliciesResponse.OrgPolicyResult getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
|
Returns
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
|
Returns
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;
Returns
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
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;
Returns
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
|
Returns
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()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
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;
Parameter
Returns
mergeFrom(AnalyzeOrgPoliciesResponse.OrgPolicyResult other)
public AnalyzeOrgPoliciesResponse.OrgPolicyResult.Builder mergeFrom(AnalyzeOrgPoliciesResponse.OrgPolicyResult other)
Parameter
Returns
public AnalyzeOrgPoliciesResponse.OrgPolicyResult.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public AnalyzeOrgPoliciesResponse.OrgPolicyResult.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AnalyzeOrgPoliciesResponse.OrgPolicyResult.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
|
Returns
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;
Parameter
Returns
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;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public AnalyzeOrgPoliciesResponse.OrgPolicyResult.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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;
Parameters
Returns
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;
Parameters
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AnalyzeOrgPoliciesResponse.OrgPolicyResult.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final AnalyzeOrgPoliciesResponse.OrgPolicyResult.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides