public static final class BatchGetEffectiveIamPoliciesResponse.Builder extends GeneratedMessage.Builder<BatchGetEffectiveIamPoliciesResponse.Builder> implements BatchGetEffectiveIamPoliciesResponseOrBuilder
A response message for
AssetService.BatchGetEffectiveIamPolicies.
Protobuf type google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse
Inherited Members
com.google.protobuf.GeneratedMessage.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessage.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessage.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldsProto3(com.google.protobuf.UnknownFieldSet)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addAllPolicyResults(Iterable<? extends BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy> values)
public BatchGetEffectiveIamPoliciesResponse.Builder addAllPolicyResults(Iterable<? extends BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy> values)
The effective policies for a batch of resources. Note that the results
order is the same as the order of
BatchGetEffectiveIamPoliciesRequest.names.
When a resource does not have any effective IAM policies, its corresponding
policy_result will contain empty
EffectiveIamPolicy.policies.
repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy policy_results = 2;
| Parameter |
| Name |
Description |
values |
Iterable<? extends com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy>
|
addPolicyResults(BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy value)
public BatchGetEffectiveIamPoliciesResponse.Builder addPolicyResults(BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy value)
The effective policies for a batch of resources. Note that the results
order is the same as the order of
BatchGetEffectiveIamPoliciesRequest.names.
When a resource does not have any effective IAM policies, its corresponding
policy_result will contain empty
EffectiveIamPolicy.policies.
repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy policy_results = 2;
addPolicyResults(BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.Builder builderForValue)
public BatchGetEffectiveIamPoliciesResponse.Builder addPolicyResults(BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.Builder builderForValue)
The effective policies for a batch of resources. Note that the results
order is the same as the order of
BatchGetEffectiveIamPoliciesRequest.names.
When a resource does not have any effective IAM policies, its corresponding
policy_result will contain empty
EffectiveIamPolicy.policies.
repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy policy_results = 2;
addPolicyResults(int index, BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy value)
public BatchGetEffectiveIamPoliciesResponse.Builder addPolicyResults(int index, BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy value)
The effective policies for a batch of resources. Note that the results
order is the same as the order of
BatchGetEffectiveIamPoliciesRequest.names.
When a resource does not have any effective IAM policies, its corresponding
policy_result will contain empty
EffectiveIamPolicy.policies.
repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy policy_results = 2;
addPolicyResults(int index, BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.Builder builderForValue)
public BatchGetEffectiveIamPoliciesResponse.Builder addPolicyResults(int index, BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.Builder builderForValue)
The effective policies for a batch of resources. Note that the results
order is the same as the order of
BatchGetEffectiveIamPoliciesRequest.names.
When a resource does not have any effective IAM policies, its corresponding
policy_result will contain empty
EffectiveIamPolicy.policies.
repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy policy_results = 2;
addPolicyResultsBuilder()
public BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.Builder addPolicyResultsBuilder()
The effective policies for a batch of resources. Note that the results
order is the same as the order of
BatchGetEffectiveIamPoliciesRequest.names.
When a resource does not have any effective IAM policies, its corresponding
policy_result will contain empty
EffectiveIamPolicy.policies.
repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy policy_results = 2;
addPolicyResultsBuilder(int index)
public BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.Builder addPolicyResultsBuilder(int index)
The effective policies for a batch of resources. Note that the results
order is the same as the order of
BatchGetEffectiveIamPoliciesRequest.names.
When a resource does not have any effective IAM policies, its corresponding
policy_result will contain empty
EffectiveIamPolicy.policies.
repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy policy_results = 2;
| Parameter |
| Name |
Description |
index |
int
|
build()
public BatchGetEffectiveIamPoliciesResponse build()
buildPartial()
public BatchGetEffectiveIamPoliciesResponse buildPartial()
clear()
public BatchGetEffectiveIamPoliciesResponse.Builder clear()
Overrides
clearPolicyResults()
public BatchGetEffectiveIamPoliciesResponse.Builder clearPolicyResults()
The effective policies for a batch of resources. Note that the results
order is the same as the order of
BatchGetEffectiveIamPoliciesRequest.names.
When a resource does not have any effective IAM policies, its corresponding
policy_result will contain empty
EffectiveIamPolicy.policies.
repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy policy_results = 2;
getDefaultInstanceForType()
public BatchGetEffectiveIamPoliciesResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getPolicyResults(int index)
public BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy getPolicyResults(int index)
The effective policies for a batch of resources. Note that the results
order is the same as the order of
BatchGetEffectiveIamPoliciesRequest.names.
When a resource does not have any effective IAM policies, its corresponding
policy_result will contain empty
EffectiveIamPolicy.policies.
repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy policy_results = 2;
| Parameter |
| Name |
Description |
index |
int
|
getPolicyResultsBuilder(int index)
public BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.Builder getPolicyResultsBuilder(int index)
The effective policies for a batch of resources. Note that the results
order is the same as the order of
BatchGetEffectiveIamPoliciesRequest.names.
When a resource does not have any effective IAM policies, its corresponding
policy_result will contain empty
EffectiveIamPolicy.policies.
repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy policy_results = 2;
| Parameter |
| Name |
Description |
index |
int
|
getPolicyResultsBuilderList()
public List<BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.Builder> getPolicyResultsBuilderList()
The effective policies for a batch of resources. Note that the results
order is the same as the order of
BatchGetEffectiveIamPoliciesRequest.names.
When a resource does not have any effective IAM policies, its corresponding
policy_result will contain empty
EffectiveIamPolicy.policies.
repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy policy_results = 2;
getPolicyResultsCount()
public int getPolicyResultsCount()
The effective policies for a batch of resources. Note that the results
order is the same as the order of
BatchGetEffectiveIamPoliciesRequest.names.
When a resource does not have any effective IAM policies, its corresponding
policy_result will contain empty
EffectiveIamPolicy.policies.
repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy policy_results = 2;
| Returns |
| Type |
Description |
int |
|
getPolicyResultsList()
public List<BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy> getPolicyResultsList()
The effective policies for a batch of resources. Note that the results
order is the same as the order of
BatchGetEffectiveIamPoliciesRequest.names.
When a resource does not have any effective IAM policies, its corresponding
policy_result will contain empty
EffectiveIamPolicy.policies.
repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy policy_results = 2;
getPolicyResultsOrBuilder(int index)
public BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicyOrBuilder getPolicyResultsOrBuilder(int index)
The effective policies for a batch of resources. Note that the results
order is the same as the order of
BatchGetEffectiveIamPoliciesRequest.names.
When a resource does not have any effective IAM policies, its corresponding
policy_result will contain empty
EffectiveIamPolicy.policies.
repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy policy_results = 2;
| Parameter |
| Name |
Description |
index |
int
|
getPolicyResultsOrBuilderList()
public List<? extends BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicyOrBuilder> getPolicyResultsOrBuilderList()
The effective policies for a batch of resources. Note that the results
order is the same as the order of
BatchGetEffectiveIamPoliciesRequest.names.
When a resource does not have any effective IAM policies, its corresponding
policy_result will contain empty
EffectiveIamPolicy.policies.
repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy policy_results = 2;
| Returns |
| Type |
Description |
List<? extends com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicyOrBuilder> |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(BatchGetEffectiveIamPoliciesResponse other)
public BatchGetEffectiveIamPoliciesResponse.Builder mergeFrom(BatchGetEffectiveIamPoliciesResponse other)
public BatchGetEffectiveIamPoliciesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public BatchGetEffectiveIamPoliciesResponse.Builder mergeFrom(Message other)
| Parameter |
| Name |
Description |
other |
Message
|
Overrides
removePolicyResults(int index)
public BatchGetEffectiveIamPoliciesResponse.Builder removePolicyResults(int index)
The effective policies for a batch of resources. Note that the results
order is the same as the order of
BatchGetEffectiveIamPoliciesRequest.names.
When a resource does not have any effective IAM policies, its corresponding
policy_result will contain empty
EffectiveIamPolicy.policies.
repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy policy_results = 2;
| Parameter |
| Name |
Description |
index |
int
|
setPolicyResults(int index, BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy value)
public BatchGetEffectiveIamPoliciesResponse.Builder setPolicyResults(int index, BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy value)
The effective policies for a batch of resources. Note that the results
order is the same as the order of
BatchGetEffectiveIamPoliciesRequest.names.
When a resource does not have any effective IAM policies, its corresponding
policy_result will contain empty
EffectiveIamPolicy.policies.
repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy policy_results = 2;
setPolicyResults(int index, BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.Builder builderForValue)
public BatchGetEffectiveIamPoliciesResponse.Builder setPolicyResults(int index, BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.Builder builderForValue)
The effective policies for a batch of resources. Note that the results
order is the same as the order of
BatchGetEffectiveIamPoliciesRequest.names.
When a resource does not have any effective IAM policies, its corresponding
policy_result will contain empty
EffectiveIamPolicy.policies.
repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy policy_results = 2;