Class AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.Builder>
com.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.Builder
All Implemented Interfaces:
AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainerOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer

public static final class AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.Builder extends com.google.protobuf.GeneratedMessage.Builder<AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.Builder> implements AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainerOrBuilder
 The organization/folder/project resource governed by organization policies
 of
 [AnalyzeOrgPolicyGovernedContainersRequest.constraint][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersRequest.constraint].
 
Protobuf type google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer
  • 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<AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.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<AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.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<AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.Builder>
    • 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

      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.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<AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.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<AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.Builder>
    • mergeFrom

      public AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.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<AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.Builder>
      Throws:
      IOException
    • getFullResourceName

      public String getFullResourceName()
       The [full resource name]
       (https://cloud.google.com/asset-inventory/docs/resource-name-format) of
       an organization/folder/project resource.
       
      string full_resource_name = 1;
      Specified by:
      getFullResourceName in interface AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainerOrBuilder
      Returns:
      The fullResourceName.
    • getFullResourceNameBytes

      public com.google.protobuf.ByteString getFullResourceNameBytes()
       The [full resource name]
       (https://cloud.google.com/asset-inventory/docs/resource-name-format) of
       an organization/folder/project resource.
       
      string full_resource_name = 1;
      Specified by:
      getFullResourceNameBytes in interface AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainerOrBuilder
      Returns:
      The bytes for fullResourceName.
    • setFullResourceName

       The [full resource name]
       (https://cloud.google.com/asset-inventory/docs/resource-name-format) of
       an organization/folder/project resource.
       
      string full_resource_name = 1;
      Parameters:
      value - The fullResourceName to set.
      Returns:
      This builder for chaining.
    • clearFullResourceName

       The [full resource name]
       (https://cloud.google.com/asset-inventory/docs/resource-name-format) of
       an organization/folder/project resource.
       
      string full_resource_name = 1;
      Returns:
      This builder for chaining.
    • setFullResourceNameBytes

      public AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.Builder setFullResourceNameBytes(com.google.protobuf.ByteString value)
       The [full resource name]
       (https://cloud.google.com/asset-inventory/docs/resource-name-format) of
       an organization/folder/project resource.
       
      string full_resource_name = 1;
      Parameters:
      value - The bytes for fullResourceName to set.
      Returns:
      This builder for chaining.
    • getParent

      public String getParent()
       The [full resource name]
       (https://cloud.google.com/asset-inventory/docs/resource-name-format) of
       the parent of
       [AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.full_resource_name][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.full_resource_name].
       
      string parent = 2;
      Specified by:
      getParent in interface AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainerOrBuilder
      Returns:
      The parent.
    • getParentBytes

      public com.google.protobuf.ByteString getParentBytes()
       The [full resource name]
       (https://cloud.google.com/asset-inventory/docs/resource-name-format) of
       the parent of
       [AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.full_resource_name][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.full_resource_name].
       
      string parent = 2;
      Specified by:
      getParentBytes in interface AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainerOrBuilder
      Returns:
      The bytes for parent.
    • setParent

       The [full resource name]
       (https://cloud.google.com/asset-inventory/docs/resource-name-format) of
       the parent of
       [AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.full_resource_name][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.full_resource_name].
       
      string parent = 2;
      Parameters:
      value - The parent to set.
      Returns:
      This builder for chaining.
    • clearParent

       The [full resource name]
       (https://cloud.google.com/asset-inventory/docs/resource-name-format) of
       the parent of
       [AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.full_resource_name][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.full_resource_name].
       
      string parent = 2;
      Returns:
      This builder for chaining.
    • setParentBytes

      public AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.Builder setParentBytes(com.google.protobuf.ByteString value)
       The [full resource name]
       (https://cloud.google.com/asset-inventory/docs/resource-name-format) of
       the parent of
       [AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.full_resource_name][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.full_resource_name].
       
      string parent = 2;
      Parameters:
      value - The bytes for parent to set.
      Returns:
      This builder for chaining.
    • hasConsolidatedPolicy

      public boolean hasConsolidatedPolicy()
       The consolidated organization policy for the analyzed resource. The
       consolidated organization policy is computed by merging and evaluating
       [AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.policy_bundle][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.policy_bundle].
       The evaluation will respect the organization policy [hierarchy
       rules](https://cloud.google.com/resource-manager/docs/organization-policy/understanding-hierarchy).
       
      .google.cloud.asset.v1.AnalyzerOrgPolicy consolidated_policy = 3;
      Specified by:
      hasConsolidatedPolicy in interface AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainerOrBuilder
      Returns:
      Whether the consolidatedPolicy field is set.
    • getConsolidatedPolicy

      public AnalyzerOrgPolicy getConsolidatedPolicy()
       The consolidated organization policy for the analyzed resource. The
       consolidated organization policy is computed by merging and evaluating
       [AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.policy_bundle][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.policy_bundle].
       The evaluation will respect the organization policy [hierarchy
       rules](https://cloud.google.com/resource-manager/docs/organization-policy/understanding-hierarchy).
       
      .google.cloud.asset.v1.AnalyzerOrgPolicy consolidated_policy = 3;
      Specified by:
      getConsolidatedPolicy in interface AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainerOrBuilder
      Returns:
      The consolidatedPolicy.
    • setConsolidatedPolicy

       The consolidated organization policy for the analyzed resource. The
       consolidated organization policy is computed by merging and evaluating
       [AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.policy_bundle][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.policy_bundle].
       The evaluation will respect the organization policy [hierarchy
       rules](https://cloud.google.com/resource-manager/docs/organization-policy/understanding-hierarchy).
       
      .google.cloud.asset.v1.AnalyzerOrgPolicy consolidated_policy = 3;
    • setConsolidatedPolicy

       The consolidated organization policy for the analyzed resource. The
       consolidated organization policy is computed by merging and evaluating
       [AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.policy_bundle][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.policy_bundle].
       The evaluation will respect the organization policy [hierarchy
       rules](https://cloud.google.com/resource-manager/docs/organization-policy/understanding-hierarchy).
       
      .google.cloud.asset.v1.AnalyzerOrgPolicy consolidated_policy = 3;
    • mergeConsolidatedPolicy

       The consolidated organization policy for the analyzed resource. The
       consolidated organization policy is computed by merging and evaluating
       [AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.policy_bundle][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.policy_bundle].
       The evaluation will respect the organization policy [hierarchy
       rules](https://cloud.google.com/resource-manager/docs/organization-policy/understanding-hierarchy).
       
      .google.cloud.asset.v1.AnalyzerOrgPolicy consolidated_policy = 3;
    • clearConsolidatedPolicy

       The consolidated organization policy for the analyzed resource. The
       consolidated organization policy is computed by merging and evaluating
       [AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.policy_bundle][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.policy_bundle].
       The evaluation will respect the organization policy [hierarchy
       rules](https://cloud.google.com/resource-manager/docs/organization-policy/understanding-hierarchy).
       
      .google.cloud.asset.v1.AnalyzerOrgPolicy consolidated_policy = 3;
    • getConsolidatedPolicyBuilder

      public AnalyzerOrgPolicy.Builder getConsolidatedPolicyBuilder()
       The consolidated organization policy for the analyzed resource. The
       consolidated organization policy is computed by merging and evaluating
       [AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.policy_bundle][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.policy_bundle].
       The evaluation will respect the organization policy [hierarchy
       rules](https://cloud.google.com/resource-manager/docs/organization-policy/understanding-hierarchy).
       
      .google.cloud.asset.v1.AnalyzerOrgPolicy consolidated_policy = 3;
    • getConsolidatedPolicyOrBuilder

      public AnalyzerOrgPolicyOrBuilder getConsolidatedPolicyOrBuilder()
       The consolidated organization policy for the analyzed resource. The
       consolidated organization policy is computed by merging and evaluating
       [AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.policy_bundle][google.cloud.asset.v1.AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.policy_bundle].
       The evaluation will respect the organization policy [hierarchy
       rules](https://cloud.google.com/resource-manager/docs/organization-policy/understanding-hierarchy).
       
      .google.cloud.asset.v1.AnalyzerOrgPolicy consolidated_policy = 3;
      Specified by:
      getConsolidatedPolicyOrBuilder in interface AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainerOrBuilder
    • getPolicyBundleList

      public List<AnalyzerOrgPolicy> getPolicyBundleList()
       The ordered list of all organization policies from the
       [consolidated_policy.attached_resource][google.cloud.asset.v1.AnalyzerOrgPolicy.attached_resource].
       to the scope specified in the request.
      
       If the constraint is defined with default policy, it will also appear in
       the list.
       
      repeated .google.cloud.asset.v1.AnalyzerOrgPolicy policy_bundle = 4;
      Specified by:
      getPolicyBundleList in interface AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainerOrBuilder
    • getPolicyBundleCount

      public int getPolicyBundleCount()
       The ordered list of all organization policies from the
       [consolidated_policy.attached_resource][google.cloud.asset.v1.AnalyzerOrgPolicy.attached_resource].
       to the scope specified in the request.
      
       If the constraint is defined with default policy, it will also appear in
       the list.
       
      repeated .google.cloud.asset.v1.AnalyzerOrgPolicy policy_bundle = 4;
      Specified by:
      getPolicyBundleCount in interface AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainerOrBuilder
    • getPolicyBundle

      public AnalyzerOrgPolicy getPolicyBundle(int index)
       The ordered list of all organization policies from the
       [consolidated_policy.attached_resource][google.cloud.asset.v1.AnalyzerOrgPolicy.attached_resource].
       to the scope specified in the request.
      
       If the constraint is defined with default policy, it will also appear in
       the list.
       
      repeated .google.cloud.asset.v1.AnalyzerOrgPolicy policy_bundle = 4;
      Specified by:
      getPolicyBundle in interface AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainerOrBuilder
    • setPolicyBundle

       The ordered list of all organization policies from the
       [consolidated_policy.attached_resource][google.cloud.asset.v1.AnalyzerOrgPolicy.attached_resource].
       to the scope specified in the request.
      
       If the constraint is defined with default policy, it will also appear in
       the list.
       
      repeated .google.cloud.asset.v1.AnalyzerOrgPolicy policy_bundle = 4;
    • setPolicyBundle

       The ordered list of all organization policies from the
       [consolidated_policy.attached_resource][google.cloud.asset.v1.AnalyzerOrgPolicy.attached_resource].
       to the scope specified in the request.
      
       If the constraint is defined with default policy, it will also appear in
       the list.
       
      repeated .google.cloud.asset.v1.AnalyzerOrgPolicy policy_bundle = 4;
    • addPolicyBundle

       The ordered list of all organization policies from the
       [consolidated_policy.attached_resource][google.cloud.asset.v1.AnalyzerOrgPolicy.attached_resource].
       to the scope specified in the request.
      
       If the constraint is defined with default policy, it will also appear in
       the list.
       
      repeated .google.cloud.asset.v1.AnalyzerOrgPolicy policy_bundle = 4;
    • addPolicyBundle

       The ordered list of all organization policies from the
       [consolidated_policy.attached_resource][google.cloud.asset.v1.AnalyzerOrgPolicy.attached_resource].
       to the scope specified in the request.
      
       If the constraint is defined with default policy, it will also appear in
       the list.
       
      repeated .google.cloud.asset.v1.AnalyzerOrgPolicy policy_bundle = 4;
    • addPolicyBundle

       The ordered list of all organization policies from the
       [consolidated_policy.attached_resource][google.cloud.asset.v1.AnalyzerOrgPolicy.attached_resource].
       to the scope specified in the request.
      
       If the constraint is defined with default policy, it will also appear in
       the list.
       
      repeated .google.cloud.asset.v1.AnalyzerOrgPolicy policy_bundle = 4;
    • addPolicyBundle

       The ordered list of all organization policies from the
       [consolidated_policy.attached_resource][google.cloud.asset.v1.AnalyzerOrgPolicy.attached_resource].
       to the scope specified in the request.
      
       If the constraint is defined with default policy, it will also appear in
       the list.
       
      repeated .google.cloud.asset.v1.AnalyzerOrgPolicy policy_bundle = 4;
    • addAllPolicyBundle

       The ordered list of all organization policies from the
       [consolidated_policy.attached_resource][google.cloud.asset.v1.AnalyzerOrgPolicy.attached_resource].
       to the scope specified in the request.
      
       If the constraint is defined with default policy, it will also appear in
       the list.
       
      repeated .google.cloud.asset.v1.AnalyzerOrgPolicy policy_bundle = 4;
    • clearPolicyBundle

       The ordered list of all organization policies from the
       [consolidated_policy.attached_resource][google.cloud.asset.v1.AnalyzerOrgPolicy.attached_resource].
       to the scope specified in the request.
      
       If the constraint is defined with default policy, it will also appear in
       the list.
       
      repeated .google.cloud.asset.v1.AnalyzerOrgPolicy policy_bundle = 4;
    • removePolicyBundle

       The ordered list of all organization policies from the
       [consolidated_policy.attached_resource][google.cloud.asset.v1.AnalyzerOrgPolicy.attached_resource].
       to the scope specified in the request.
      
       If the constraint is defined with default policy, it will also appear in
       the list.
       
      repeated .google.cloud.asset.v1.AnalyzerOrgPolicy policy_bundle = 4;
    • getPolicyBundleBuilder

      public AnalyzerOrgPolicy.Builder getPolicyBundleBuilder(int index)
       The ordered list of all organization policies from the
       [consolidated_policy.attached_resource][google.cloud.asset.v1.AnalyzerOrgPolicy.attached_resource].
       to the scope specified in the request.
      
       If the constraint is defined with default policy, it will also appear in
       the list.
       
      repeated .google.cloud.asset.v1.AnalyzerOrgPolicy policy_bundle = 4;
    • getPolicyBundleOrBuilder

      public AnalyzerOrgPolicyOrBuilder getPolicyBundleOrBuilder(int index)
       The ordered list of all organization policies from the
       [consolidated_policy.attached_resource][google.cloud.asset.v1.AnalyzerOrgPolicy.attached_resource].
       to the scope specified in the request.
      
       If the constraint is defined with default policy, it will also appear in
       the list.
       
      repeated .google.cloud.asset.v1.AnalyzerOrgPolicy policy_bundle = 4;
      Specified by:
      getPolicyBundleOrBuilder in interface AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainerOrBuilder
    • getPolicyBundleOrBuilderList

      public List<? extends AnalyzerOrgPolicyOrBuilder> getPolicyBundleOrBuilderList()
       The ordered list of all organization policies from the
       [consolidated_policy.attached_resource][google.cloud.asset.v1.AnalyzerOrgPolicy.attached_resource].
       to the scope specified in the request.
      
       If the constraint is defined with default policy, it will also appear in
       the list.
       
      repeated .google.cloud.asset.v1.AnalyzerOrgPolicy policy_bundle = 4;
      Specified by:
      getPolicyBundleOrBuilderList in interface AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainerOrBuilder
    • addPolicyBundleBuilder

      public AnalyzerOrgPolicy.Builder addPolicyBundleBuilder()
       The ordered list of all organization policies from the
       [consolidated_policy.attached_resource][google.cloud.asset.v1.AnalyzerOrgPolicy.attached_resource].
       to the scope specified in the request.
      
       If the constraint is defined with default policy, it will also appear in
       the list.
       
      repeated .google.cloud.asset.v1.AnalyzerOrgPolicy policy_bundle = 4;
    • addPolicyBundleBuilder

      public AnalyzerOrgPolicy.Builder addPolicyBundleBuilder(int index)
       The ordered list of all organization policies from the
       [consolidated_policy.attached_resource][google.cloud.asset.v1.AnalyzerOrgPolicy.attached_resource].
       to the scope specified in the request.
      
       If the constraint is defined with default policy, it will also appear in
       the list.
       
      repeated .google.cloud.asset.v1.AnalyzerOrgPolicy policy_bundle = 4;
    • getPolicyBundleBuilderList

      public List<AnalyzerOrgPolicy.Builder> getPolicyBundleBuilderList()
       The ordered list of all organization policies from the
       [consolidated_policy.attached_resource][google.cloud.asset.v1.AnalyzerOrgPolicy.attached_resource].
       to the scope specified in the request.
      
       If the constraint is defined with default policy, it will also appear in
       the list.
       
      repeated .google.cloud.asset.v1.AnalyzerOrgPolicy policy_bundle = 4;
    • getProject

      public String getProject()
       The project that this resource belongs to, in the format of
       projects/{PROJECT_NUMBER}. This field is available when the resource
       belongs to a project.
       
      string project = 5;
      Specified by:
      getProject in interface AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainerOrBuilder
      Returns:
      The project.
    • getProjectBytes

      public com.google.protobuf.ByteString getProjectBytes()
       The project that this resource belongs to, in the format of
       projects/{PROJECT_NUMBER}. This field is available when the resource
       belongs to a project.
       
      string project = 5;
      Specified by:
      getProjectBytes in interface AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainerOrBuilder
      Returns:
      The bytes for project.
    • setProject

       The project that this resource belongs to, in the format of
       projects/{PROJECT_NUMBER}. This field is available when the resource
       belongs to a project.
       
      string project = 5;
      Parameters:
      value - The project to set.
      Returns:
      This builder for chaining.
    • clearProject

       The project that this resource belongs to, in the format of
       projects/{PROJECT_NUMBER}. This field is available when the resource
       belongs to a project.
       
      string project = 5;
      Returns:
      This builder for chaining.
    • setProjectBytes

      public AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.Builder setProjectBytes(com.google.protobuf.ByteString value)
       The project that this resource belongs to, in the format of
       projects/{PROJECT_NUMBER}. This field is available when the resource
       belongs to a project.
       
      string project = 5;
      Parameters:
      value - The bytes for project to set.
      Returns:
      This builder for chaining.
    • getFoldersList

      public com.google.protobuf.ProtocolStringList getFoldersList()
       The folder(s) that this resource belongs to, in the format of
       folders/{FOLDER_NUMBER}. This field is available when the resource
       belongs (directly or cascadingly) to one or more folders.
       
      repeated string folders = 6;
      Specified by:
      getFoldersList in interface AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainerOrBuilder
      Returns:
      A list containing the folders.
    • getFoldersCount

      public int getFoldersCount()
       The folder(s) that this resource belongs to, in the format of
       folders/{FOLDER_NUMBER}. This field is available when the resource
       belongs (directly or cascadingly) to one or more folders.
       
      repeated string folders = 6;
      Specified by:
      getFoldersCount in interface AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainerOrBuilder
      Returns:
      The count of folders.
    • getFolders

      public String getFolders(int index)
       The folder(s) that this resource belongs to, in the format of
       folders/{FOLDER_NUMBER}. This field is available when the resource
       belongs (directly or cascadingly) to one or more folders.
       
      repeated string folders = 6;
      Specified by:
      getFolders in interface AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainerOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The folders at the given index.
    • getFoldersBytes

      public com.google.protobuf.ByteString getFoldersBytes(int index)
       The folder(s) that this resource belongs to, in the format of
       folders/{FOLDER_NUMBER}. This field is available when the resource
       belongs (directly or cascadingly) to one or more folders.
       
      repeated string folders = 6;
      Specified by:
      getFoldersBytes in interface AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainerOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the folders at the given index.
    • setFolders

       The folder(s) that this resource belongs to, in the format of
       folders/{FOLDER_NUMBER}. This field is available when the resource
       belongs (directly or cascadingly) to one or more folders.
       
      repeated string folders = 6;
      Parameters:
      index - The index to set the value at.
      value - The folders to set.
      Returns:
      This builder for chaining.
    • addFolders

       The folder(s) that this resource belongs to, in the format of
       folders/{FOLDER_NUMBER}. This field is available when the resource
       belongs (directly or cascadingly) to one or more folders.
       
      repeated string folders = 6;
      Parameters:
      value - The folders to add.
      Returns:
      This builder for chaining.
    • addAllFolders

       The folder(s) that this resource belongs to, in the format of
       folders/{FOLDER_NUMBER}. This field is available when the resource
       belongs (directly or cascadingly) to one or more folders.
       
      repeated string folders = 6;
      Parameters:
      values - The folders to add.
      Returns:
      This builder for chaining.
    • clearFolders

       The folder(s) that this resource belongs to, in the format of
       folders/{FOLDER_NUMBER}. This field is available when the resource
       belongs (directly or cascadingly) to one or more folders.
       
      repeated string folders = 6;
      Returns:
      This builder for chaining.
    • addFoldersBytes

      public AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.Builder addFoldersBytes(com.google.protobuf.ByteString value)
       The folder(s) that this resource belongs to, in the format of
       folders/{FOLDER_NUMBER}. This field is available when the resource
       belongs (directly or cascadingly) to one or more folders.
       
      repeated string folders = 6;
      Parameters:
      value - The bytes of the folders to add.
      Returns:
      This builder for chaining.
    • getOrganization

      public String getOrganization()
       The organization that this resource belongs to, in the format of
       organizations/{ORGANIZATION_NUMBER}. This field is available when the
       resource belongs (directly or cascadingly) to an organization.
       
      string organization = 7;
      Specified by:
      getOrganization in interface AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainerOrBuilder
      Returns:
      The organization.
    • getOrganizationBytes

      public com.google.protobuf.ByteString getOrganizationBytes()
       The organization that this resource belongs to, in the format of
       organizations/{ORGANIZATION_NUMBER}. This field is available when the
       resource belongs (directly or cascadingly) to an organization.
       
      string organization = 7;
      Specified by:
      getOrganizationBytes in interface AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainerOrBuilder
      Returns:
      The bytes for organization.
    • setOrganization

       The organization that this resource belongs to, in the format of
       organizations/{ORGANIZATION_NUMBER}. This field is available when the
       resource belongs (directly or cascadingly) to an organization.
       
      string organization = 7;
      Parameters:
      value - The organization to set.
      Returns:
      This builder for chaining.
    • clearOrganization

       The organization that this resource belongs to, in the format of
       organizations/{ORGANIZATION_NUMBER}. This field is available when the
       resource belongs (directly or cascadingly) to an organization.
       
      string organization = 7;
      Returns:
      This builder for chaining.
    • setOrganizationBytes

      public AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.Builder setOrganizationBytes(com.google.protobuf.ByteString value)
       The organization that this resource belongs to, in the format of
       organizations/{ORGANIZATION_NUMBER}. This field is available when the
       resource belongs (directly or cascadingly) to an organization.
       
      string organization = 7;
      Parameters:
      value - The bytes for organization to set.
      Returns:
      This builder for chaining.
    • getEffectiveTagsList

      public List<EffectiveTagDetails> getEffectiveTagsList()
       The effective tags on this resource.
       
      repeated .google.cloud.asset.v1.EffectiveTagDetails effective_tags = 8;
      Specified by:
      getEffectiveTagsList in interface AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainerOrBuilder
    • getEffectiveTagsCount

      public int getEffectiveTagsCount()
       The effective tags on this resource.
       
      repeated .google.cloud.asset.v1.EffectiveTagDetails effective_tags = 8;
      Specified by:
      getEffectiveTagsCount in interface AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainerOrBuilder
    • getEffectiveTags

      public EffectiveTagDetails getEffectiveTags(int index)
       The effective tags on this resource.
       
      repeated .google.cloud.asset.v1.EffectiveTagDetails effective_tags = 8;
      Specified by:
      getEffectiveTags in interface AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainerOrBuilder
    • setEffectiveTags

       The effective tags on this resource.
       
      repeated .google.cloud.asset.v1.EffectiveTagDetails effective_tags = 8;
    • setEffectiveTags

       The effective tags on this resource.
       
      repeated .google.cloud.asset.v1.EffectiveTagDetails effective_tags = 8;
    • addEffectiveTags

       The effective tags on this resource.
       
      repeated .google.cloud.asset.v1.EffectiveTagDetails effective_tags = 8;
    • addEffectiveTags

       The effective tags on this resource.
       
      repeated .google.cloud.asset.v1.EffectiveTagDetails effective_tags = 8;
    • addEffectiveTags

       The effective tags on this resource.
       
      repeated .google.cloud.asset.v1.EffectiveTagDetails effective_tags = 8;
    • addEffectiveTags

       The effective tags on this resource.
       
      repeated .google.cloud.asset.v1.EffectiveTagDetails effective_tags = 8;
    • addAllEffectiveTags

       The effective tags on this resource.
       
      repeated .google.cloud.asset.v1.EffectiveTagDetails effective_tags = 8;
    • clearEffectiveTags

       The effective tags on this resource.
       
      repeated .google.cloud.asset.v1.EffectiveTagDetails effective_tags = 8;
    • removeEffectiveTags

       The effective tags on this resource.
       
      repeated .google.cloud.asset.v1.EffectiveTagDetails effective_tags = 8;
    • getEffectiveTagsBuilder

      public EffectiveTagDetails.Builder getEffectiveTagsBuilder(int index)
       The effective tags on this resource.
       
      repeated .google.cloud.asset.v1.EffectiveTagDetails effective_tags = 8;
    • getEffectiveTagsOrBuilder

      public EffectiveTagDetailsOrBuilder getEffectiveTagsOrBuilder(int index)
       The effective tags on this resource.
       
      repeated .google.cloud.asset.v1.EffectiveTagDetails effective_tags = 8;
      Specified by:
      getEffectiveTagsOrBuilder in interface AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainerOrBuilder
    • getEffectiveTagsOrBuilderList

      public List<? extends EffectiveTagDetailsOrBuilder> getEffectiveTagsOrBuilderList()
       The effective tags on this resource.
       
      repeated .google.cloud.asset.v1.EffectiveTagDetails effective_tags = 8;
      Specified by:
      getEffectiveTagsOrBuilderList in interface AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainerOrBuilder
    • addEffectiveTagsBuilder

      public EffectiveTagDetails.Builder addEffectiveTagsBuilder()
       The effective tags on this resource.
       
      repeated .google.cloud.asset.v1.EffectiveTagDetails effective_tags = 8;
    • addEffectiveTagsBuilder

      public EffectiveTagDetails.Builder addEffectiveTagsBuilder(int index)
       The effective tags on this resource.
       
      repeated .google.cloud.asset.v1.EffectiveTagDetails effective_tags = 8;
    • getEffectiveTagsBuilderList

      public List<EffectiveTagDetails.Builder> getEffectiveTagsBuilderList()
       The effective tags on this resource.
       
      repeated .google.cloud.asset.v1.EffectiveTagDetails effective_tags = 8;