public static final class BatchGetEffectiveIamPoliciesResponse.Builder extends GeneratedMessageV3.Builder<BatchGetEffectiveIamPoliciesResponse.Builder> implements BatchGetEffectiveIamPoliciesResponseOrBuilder
A response message for
AssetService.BatchGetEffectiveIamPolicies.
Protobuf type google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse
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
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>
|
Returns
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;
Parameter
Returns
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;
Parameter
Returns
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;
Parameters
Returns
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;
Parameters
Returns
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;
Returns
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
|
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public BatchGetEffectiveIamPoliciesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public BatchGetEffectiveIamPoliciesResponse build()
Returns
buildPartial()
public BatchGetEffectiveIamPoliciesResponse buildPartial()
Returns
clear()
public BatchGetEffectiveIamPoliciesResponse.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public BatchGetEffectiveIamPoliciesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public BatchGetEffectiveIamPoliciesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
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;
Returns
clone()
public BatchGetEffectiveIamPoliciesResponse.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public BatchGetEffectiveIamPoliciesResponse getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
|
Returns
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
|
Returns
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;
Returns
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
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;
Returns
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
|
Returns
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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(BatchGetEffectiveIamPoliciesResponse other)
public BatchGetEffectiveIamPoliciesResponse.Builder mergeFrom(BatchGetEffectiveIamPoliciesResponse other)
Parameter
Returns
public BatchGetEffectiveIamPoliciesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public BatchGetEffectiveIamPoliciesResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final BatchGetEffectiveIamPoliciesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
|
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public BatchGetEffectiveIamPoliciesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
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;
Parameters
Returns
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;
Parameters
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public BatchGetEffectiveIamPoliciesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final BatchGetEffectiveIamPoliciesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides