Package com.google.cloud.asset.v1
Class BatchGetEffectiveIamPoliciesResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<BatchGetEffectiveIamPoliciesResponse.Builder>
com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.Builder
- All Implemented Interfaces:
BatchGetEffectiveIamPoliciesResponseOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- BatchGetEffectiveIamPoliciesResponse
public static final class BatchGetEffectiveIamPoliciesResponse.Builder
extends com.google.protobuf.GeneratedMessage.Builder<BatchGetEffectiveIamPoliciesResponse.Builder>
implements BatchGetEffectiveIamPoliciesResponseOrBuilder
A response message for [AssetService.BatchGetEffectiveIamPolicies][google.cloud.asset.v1.AssetService.BatchGetEffectiveIamPolicies].Protobuf type
google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse-
Method Summary
Modifier and TypeMethodDescriptionaddAllPolicyResults(Iterable<? extends BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy> values) The effective policies for a batch of resources.addPolicyResults(int index, BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy value) The effective policies for a batch of resources.addPolicyResults(int index, BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.Builder builderForValue) The effective policies for a batch of resources.The effective policies for a batch of resources.The effective policies for a batch of resources.The effective policies for a batch of resources.addPolicyResultsBuilder(int index) The effective policies for a batch of resources.build()clear()The effective policies for a batch of resources.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetPolicyResults(int index) The effective policies for a batch of resources.getPolicyResultsBuilder(int index) The effective policies for a batch of resources.The effective policies for a batch of resources.intThe effective policies for a batch of resources.The effective policies for a batch of resources.getPolicyResultsOrBuilder(int index) The effective policies for a batch of resources.The effective policies for a batch of resources.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removePolicyResults(int index) The effective policies for a batch of resources.setPolicyResults(int index, BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy value) The effective policies for a batch of resources.setPolicyResults(int index, BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.Builder builderForValue) The effective policies for a batch of resources.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<BatchGetEffectiveIamPoliciesResponse.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<BatchGetEffectiveIamPoliciesResponse.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<BatchGetEffectiveIamPoliciesResponse.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
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<BatchGetEffectiveIamPoliciesResponse.Builder>
-
mergeFrom
public BatchGetEffectiveIamPoliciesResponse.Builder mergeFrom(BatchGetEffectiveIamPoliciesResponse other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<BatchGetEffectiveIamPoliciesResponse.Builder>
-
mergeFrom
public BatchGetEffectiveIamPoliciesResponse.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<BatchGetEffectiveIamPoliciesResponse.Builder>- Throws:
IOException
-
getPolicyResultsList
The effective policies for a batch of resources. Note that the results order is the same as the order of [BatchGetEffectiveIamPoliciesRequest.names][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest.names]. When a resource does not have any effective IAM policies, its corresponding policy_result will contain empty [EffectiveIamPolicy.policies][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.policies].
repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy policy_results = 2;- Specified by:
getPolicyResultsListin interfaceBatchGetEffectiveIamPoliciesResponseOrBuilder
-
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][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest.names]. When a resource does not have any effective IAM policies, its corresponding policy_result will contain empty [EffectiveIamPolicy.policies][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.policies].
repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy policy_results = 2;- Specified by:
getPolicyResultsCountin interfaceBatchGetEffectiveIamPoliciesResponseOrBuilder
-
getPolicyResults
The effective policies for a batch of resources. Note that the results order is the same as the order of [BatchGetEffectiveIamPoliciesRequest.names][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest.names]. When a resource does not have any effective IAM policies, its corresponding policy_result will contain empty [EffectiveIamPolicy.policies][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.policies].
repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy policy_results = 2;- Specified by:
getPolicyResultsin interfaceBatchGetEffectiveIamPoliciesResponseOrBuilder
-
setPolicyResults
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][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest.names]. When a resource does not have any effective IAM policies, its corresponding policy_result will contain empty [EffectiveIamPolicy.policies][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.policies].
repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy policy_results = 2; -
setPolicyResults
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][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest.names]. When a resource does not have any effective IAM policies, its corresponding policy_result will contain empty [EffectiveIamPolicy.policies][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.policies].
repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy policy_results = 2; -
addPolicyResults
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][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest.names]. When a resource does not have any effective IAM policies, its corresponding policy_result will contain empty [EffectiveIamPolicy.policies][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.policies].
repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy policy_results = 2; -
addPolicyResults
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][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest.names]. When a resource does not have any effective IAM policies, its corresponding policy_result will contain empty [EffectiveIamPolicy.policies][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.policies].
repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy policy_results = 2; -
addPolicyResults
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][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest.names]. When a resource does not have any effective IAM policies, its corresponding policy_result will contain empty [EffectiveIamPolicy.policies][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.policies].
repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy policy_results = 2; -
addPolicyResults
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][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest.names]. When a resource does not have any effective IAM policies, its corresponding policy_result will contain empty [EffectiveIamPolicy.policies][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.policies].
repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy policy_results = 2; -
addAllPolicyResults
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][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest.names]. When a resource does not have any effective IAM policies, its corresponding policy_result will contain empty [EffectiveIamPolicy.policies][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.policies].
repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy policy_results = 2; -
clearPolicyResults
The effective policies for a batch of resources. Note that the results order is the same as the order of [BatchGetEffectiveIamPoliciesRequest.names][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest.names]. When a resource does not have any effective IAM policies, its corresponding policy_result will contain empty [EffectiveIamPolicy.policies][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.policies].
repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy policy_results = 2; -
removePolicyResults
The effective policies for a batch of resources. Note that the results order is the same as the order of [BatchGetEffectiveIamPoliciesRequest.names][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest.names]. When a resource does not have any effective IAM policies, its corresponding policy_result will contain empty [EffectiveIamPolicy.policies][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.policies].
repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy policy_results = 2; -
getPolicyResultsBuilder
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][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest.names]. When a resource does not have any effective IAM policies, its corresponding policy_result will contain empty [EffectiveIamPolicy.policies][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.policies].
repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy policy_results = 2; -
getPolicyResultsOrBuilder
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][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest.names]. When a resource does not have any effective IAM policies, its corresponding policy_result will contain empty [EffectiveIamPolicy.policies][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.policies].
repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy policy_results = 2;- Specified by:
getPolicyResultsOrBuilderin interfaceBatchGetEffectiveIamPoliciesResponseOrBuilder
-
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][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest.names]. When a resource does not have any effective IAM policies, its corresponding policy_result will contain empty [EffectiveIamPolicy.policies][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.policies].
repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy policy_results = 2;- Specified by:
getPolicyResultsOrBuilderListin interfaceBatchGetEffectiveIamPoliciesResponseOrBuilder
-
addPolicyResultsBuilder
The effective policies for a batch of resources. Note that the results order is the same as the order of [BatchGetEffectiveIamPoliciesRequest.names][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest.names]. When a resource does not have any effective IAM policies, its corresponding policy_result will contain empty [EffectiveIamPolicy.policies][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.policies].
repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy policy_results = 2; -
addPolicyResultsBuilder
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][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest.names]. When a resource does not have any effective IAM policies, its corresponding policy_result will contain empty [EffectiveIamPolicy.policies][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.policies].
repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy policy_results = 2; -
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][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest.names]. When a resource does not have any effective IAM policies, its corresponding policy_result will contain empty [EffectiveIamPolicy.policies][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.policies].
repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy policy_results = 2;
-