Class BatchGetEffectiveIamPoliciesResponse.Builder

    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<BatchGetEffectiveIamPoliciesResponse.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<BatchGetEffectiveIamPoliciesResponse.Builder>
      • getDefaultInstanceForType

        public BatchGetEffectiveIamPoliciesResponse getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public BatchGetEffectiveIamPoliciesResponse build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public BatchGetEffectiveIamPoliciesResponse buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<BatchGetEffectiveIamPoliciesResponse.Builder>
      • 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][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:
        getPolicyResultsList in interface BatchGetEffectiveIamPoliciesResponseOrBuilder
      • 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:
        getPolicyResultsCount in interface BatchGetEffectiveIamPoliciesResponseOrBuilder
      • getPolicyResults

        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][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:
        getPolicyResults in interface BatchGetEffectiveIamPoliciesResponseOrBuilder
      • 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

        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][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

        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][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:
        getPolicyResultsOrBuilder in interface BatchGetEffectiveIamPoliciesResponseOrBuilder
      • 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:
        getPolicyResultsOrBuilderList in interface BatchGetEffectiveIamPoliciesResponseOrBuilder
      • 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][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;