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 Details

    • getDescriptor

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

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

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.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.GeneratedMessage.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

      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
    • mergeFrom

      public BatchGetEffectiveIamPoliciesResponse.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<BatchGetEffectiveIamPoliciesResponse.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.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:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.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:
      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

       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

       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

       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

       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

       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

       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

       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

       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

       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;