Class MetadataJob.ExportJobSpec.ExportJobScope.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<MetadataJob.ExportJobSpec.ExportJobScope.Builder>
com.google.cloud.dataplex.v1.MetadataJob.ExportJobSpec.ExportJobScope.Builder
All Implemented Interfaces:
MetadataJob.ExportJobSpec.ExportJobScopeOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
MetadataJob.ExportJobSpec.ExportJobScope

public static final class MetadataJob.ExportJobSpec.ExportJobScope.Builder extends com.google.protobuf.GeneratedMessage.Builder<MetadataJob.ExportJobSpec.ExportJobScope.Builder> implements MetadataJob.ExportJobSpec.ExportJobScopeOrBuilder
 The scope of the export job.
 
Protobuf type google.cloud.dataplex.v1.MetadataJob.ExportJobSpec.ExportJobScope
  • 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<MetadataJob.ExportJobSpec.ExportJobScope.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<MetadataJob.ExportJobSpec.ExportJobScope.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<MetadataJob.ExportJobSpec.ExportJobScope.Builder>
    • getDefaultInstanceForType

      public MetadataJob.ExportJobSpec.ExportJobScope 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 MetadataJob.ExportJobSpec.ExportJobScope.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<MetadataJob.ExportJobSpec.ExportJobScope.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<MetadataJob.ExportJobSpec.ExportJobScope.Builder>
    • mergeFrom

      public MetadataJob.ExportJobSpec.ExportJobScope.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<MetadataJob.ExportJobSpec.ExportJobScope.Builder>
      Throws:
      IOException
    • getOrganizationLevel

      public boolean getOrganizationLevel()
       Whether the metadata export job is an organization-level export job.
      
       - If `true`, the job exports the entries from the same organization and
       VPC Service Controls perimeter as the job. The project that the job
       belongs to determines the VPC Service Controls perimeter. If you set
       the job scope to be at the organization level, then don't provide a
       list of projects or entry groups.
       - If `false`, you must specify a list of projects or a list of entry
       groups whose entries you want to export.
      
       The default is `false`.
       
      bool organization_level = 1;
      Specified by:
      getOrganizationLevel in interface MetadataJob.ExportJobSpec.ExportJobScopeOrBuilder
      Returns:
      The organizationLevel.
    • setOrganizationLevel

      public MetadataJob.ExportJobSpec.ExportJobScope.Builder setOrganizationLevel(boolean value)
       Whether the metadata export job is an organization-level export job.
      
       - If `true`, the job exports the entries from the same organization and
       VPC Service Controls perimeter as the job. The project that the job
       belongs to determines the VPC Service Controls perimeter. If you set
       the job scope to be at the organization level, then don't provide a
       list of projects or entry groups.
       - If `false`, you must specify a list of projects or a list of entry
       groups whose entries you want to export.
      
       The default is `false`.
       
      bool organization_level = 1;
      Parameters:
      value - The organizationLevel to set.
      Returns:
      This builder for chaining.
    • clearOrganizationLevel

      public MetadataJob.ExportJobSpec.ExportJobScope.Builder clearOrganizationLevel()
       Whether the metadata export job is an organization-level export job.
      
       - If `true`, the job exports the entries from the same organization and
       VPC Service Controls perimeter as the job. The project that the job
       belongs to determines the VPC Service Controls perimeter. If you set
       the job scope to be at the organization level, then don't provide a
       list of projects or entry groups.
       - If `false`, you must specify a list of projects or a list of entry
       groups whose entries you want to export.
      
       The default is `false`.
       
      bool organization_level = 1;
      Returns:
      This builder for chaining.
    • getProjectsList

      public com.google.protobuf.ProtocolStringList getProjectsList()
       The projects whose metadata you want to export, in the format
       `projects/{project_id_or_number}`. Only the entries from
       the specified projects are exported.
      
       The projects must be in the same organization and VPC Service Controls
       perimeter as the job.
      
       If you set the job scope to be a list of projects, then set the
       organization-level export flag to false and don't provide a list of
       entry groups.
       
      repeated string projects = 2 [(.google.api.resource_reference) = { ... }
      Specified by:
      getProjectsList in interface MetadataJob.ExportJobSpec.ExportJobScopeOrBuilder
      Returns:
      A list containing the projects.
    • getProjectsCount

      public int getProjectsCount()
       The projects whose metadata you want to export, in the format
       `projects/{project_id_or_number}`. Only the entries from
       the specified projects are exported.
      
       The projects must be in the same organization and VPC Service Controls
       perimeter as the job.
      
       If you set the job scope to be a list of projects, then set the
       organization-level export flag to false and don't provide a list of
       entry groups.
       
      repeated string projects = 2 [(.google.api.resource_reference) = { ... }
      Specified by:
      getProjectsCount in interface MetadataJob.ExportJobSpec.ExportJobScopeOrBuilder
      Returns:
      The count of projects.
    • getProjects

      public String getProjects(int index)
       The projects whose metadata you want to export, in the format
       `projects/{project_id_or_number}`. Only the entries from
       the specified projects are exported.
      
       The projects must be in the same organization and VPC Service Controls
       perimeter as the job.
      
       If you set the job scope to be a list of projects, then set the
       organization-level export flag to false and don't provide a list of
       entry groups.
       
      repeated string projects = 2 [(.google.api.resource_reference) = { ... }
      Specified by:
      getProjects in interface MetadataJob.ExportJobSpec.ExportJobScopeOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The projects at the given index.
    • getProjectsBytes

      public com.google.protobuf.ByteString getProjectsBytes(int index)
       The projects whose metadata you want to export, in the format
       `projects/{project_id_or_number}`. Only the entries from
       the specified projects are exported.
      
       The projects must be in the same organization and VPC Service Controls
       perimeter as the job.
      
       If you set the job scope to be a list of projects, then set the
       organization-level export flag to false and don't provide a list of
       entry groups.
       
      repeated string projects = 2 [(.google.api.resource_reference) = { ... }
      Specified by:
      getProjectsBytes in interface MetadataJob.ExportJobSpec.ExportJobScopeOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the projects at the given index.
    • setProjects

      public MetadataJob.ExportJobSpec.ExportJobScope.Builder setProjects(int index, String value)
       The projects whose metadata you want to export, in the format
       `projects/{project_id_or_number}`. Only the entries from
       the specified projects are exported.
      
       The projects must be in the same organization and VPC Service Controls
       perimeter as the job.
      
       If you set the job scope to be a list of projects, then set the
       organization-level export flag to false and don't provide a list of
       entry groups.
       
      repeated string projects = 2 [(.google.api.resource_reference) = { ... }
      Parameters:
      index - The index to set the value at.
      value - The projects to set.
      Returns:
      This builder for chaining.
    • addProjects

       The projects whose metadata you want to export, in the format
       `projects/{project_id_or_number}`. Only the entries from
       the specified projects are exported.
      
       The projects must be in the same organization and VPC Service Controls
       perimeter as the job.
      
       If you set the job scope to be a list of projects, then set the
       organization-level export flag to false and don't provide a list of
       entry groups.
       
      repeated string projects = 2 [(.google.api.resource_reference) = { ... }
      Parameters:
      value - The projects to add.
      Returns:
      This builder for chaining.
    • addAllProjects

       The projects whose metadata you want to export, in the format
       `projects/{project_id_or_number}`. Only the entries from
       the specified projects are exported.
      
       The projects must be in the same organization and VPC Service Controls
       perimeter as the job.
      
       If you set the job scope to be a list of projects, then set the
       organization-level export flag to false and don't provide a list of
       entry groups.
       
      repeated string projects = 2 [(.google.api.resource_reference) = { ... }
      Parameters:
      values - The projects to add.
      Returns:
      This builder for chaining.
    • clearProjects

       The projects whose metadata you want to export, in the format
       `projects/{project_id_or_number}`. Only the entries from
       the specified projects are exported.
      
       The projects must be in the same organization and VPC Service Controls
       perimeter as the job.
      
       If you set the job scope to be a list of projects, then set the
       organization-level export flag to false and don't provide a list of
       entry groups.
       
      repeated string projects = 2 [(.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • addProjectsBytes

      public MetadataJob.ExportJobSpec.ExportJobScope.Builder addProjectsBytes(com.google.protobuf.ByteString value)
       The projects whose metadata you want to export, in the format
       `projects/{project_id_or_number}`. Only the entries from
       the specified projects are exported.
      
       The projects must be in the same organization and VPC Service Controls
       perimeter as the job.
      
       If you set the job scope to be a list of projects, then set the
       organization-level export flag to false and don't provide a list of
       entry groups.
       
      repeated string projects = 2 [(.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes of the projects to add.
      Returns:
      This builder for chaining.
    • getEntryGroupsList

      public com.google.protobuf.ProtocolStringList getEntryGroupsList()
       The entry groups whose metadata you want to export, in the format
       `projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}`.
       Only the entries in the specified entry groups are exported.
      
       The entry groups must be in the same location and the same VPC Service
       Controls perimeter as the job.
      
       If you set the job scope to be a list of entry groups, then set the
       organization-level export flag to false and don't provide a list of
       projects.
       
      repeated string entry_groups = 3 [(.google.api.resource_reference) = { ... }
      Specified by:
      getEntryGroupsList in interface MetadataJob.ExportJobSpec.ExportJobScopeOrBuilder
      Returns:
      A list containing the entryGroups.
    • getEntryGroupsCount

      public int getEntryGroupsCount()
       The entry groups whose metadata you want to export, in the format
       `projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}`.
       Only the entries in the specified entry groups are exported.
      
       The entry groups must be in the same location and the same VPC Service
       Controls perimeter as the job.
      
       If you set the job scope to be a list of entry groups, then set the
       organization-level export flag to false and don't provide a list of
       projects.
       
      repeated string entry_groups = 3 [(.google.api.resource_reference) = { ... }
      Specified by:
      getEntryGroupsCount in interface MetadataJob.ExportJobSpec.ExportJobScopeOrBuilder
      Returns:
      The count of entryGroups.
    • getEntryGroups

      public String getEntryGroups(int index)
       The entry groups whose metadata you want to export, in the format
       `projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}`.
       Only the entries in the specified entry groups are exported.
      
       The entry groups must be in the same location and the same VPC Service
       Controls perimeter as the job.
      
       If you set the job scope to be a list of entry groups, then set the
       organization-level export flag to false and don't provide a list of
       projects.
       
      repeated string entry_groups = 3 [(.google.api.resource_reference) = { ... }
      Specified by:
      getEntryGroups in interface MetadataJob.ExportJobSpec.ExportJobScopeOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The entryGroups at the given index.
    • getEntryGroupsBytes

      public com.google.protobuf.ByteString getEntryGroupsBytes(int index)
       The entry groups whose metadata you want to export, in the format
       `projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}`.
       Only the entries in the specified entry groups are exported.
      
       The entry groups must be in the same location and the same VPC Service
       Controls perimeter as the job.
      
       If you set the job scope to be a list of entry groups, then set the
       organization-level export flag to false and don't provide a list of
       projects.
       
      repeated string entry_groups = 3 [(.google.api.resource_reference) = { ... }
      Specified by:
      getEntryGroupsBytes in interface MetadataJob.ExportJobSpec.ExportJobScopeOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the entryGroups at the given index.
    • setEntryGroups

      public MetadataJob.ExportJobSpec.ExportJobScope.Builder setEntryGroups(int index, String value)
       The entry groups whose metadata you want to export, in the format
       `projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}`.
       Only the entries in the specified entry groups are exported.
      
       The entry groups must be in the same location and the same VPC Service
       Controls perimeter as the job.
      
       If you set the job scope to be a list of entry groups, then set the
       organization-level export flag to false and don't provide a list of
       projects.
       
      repeated string entry_groups = 3 [(.google.api.resource_reference) = { ... }
      Parameters:
      index - The index to set the value at.
      value - The entryGroups to set.
      Returns:
      This builder for chaining.
    • addEntryGroups

       The entry groups whose metadata you want to export, in the format
       `projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}`.
       Only the entries in the specified entry groups are exported.
      
       The entry groups must be in the same location and the same VPC Service
       Controls perimeter as the job.
      
       If you set the job scope to be a list of entry groups, then set the
       organization-level export flag to false and don't provide a list of
       projects.
       
      repeated string entry_groups = 3 [(.google.api.resource_reference) = { ... }
      Parameters:
      value - The entryGroups to add.
      Returns:
      This builder for chaining.
    • addAllEntryGroups

       The entry groups whose metadata you want to export, in the format
       `projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}`.
       Only the entries in the specified entry groups are exported.
      
       The entry groups must be in the same location and the same VPC Service
       Controls perimeter as the job.
      
       If you set the job scope to be a list of entry groups, then set the
       organization-level export flag to false and don't provide a list of
       projects.
       
      repeated string entry_groups = 3 [(.google.api.resource_reference) = { ... }
      Parameters:
      values - The entryGroups to add.
      Returns:
      This builder for chaining.
    • clearEntryGroups

       The entry groups whose metadata you want to export, in the format
       `projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}`.
       Only the entries in the specified entry groups are exported.
      
       The entry groups must be in the same location and the same VPC Service
       Controls perimeter as the job.
      
       If you set the job scope to be a list of entry groups, then set the
       organization-level export flag to false and don't provide a list of
       projects.
       
      repeated string entry_groups = 3 [(.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • addEntryGroupsBytes

      public MetadataJob.ExportJobSpec.ExportJobScope.Builder addEntryGroupsBytes(com.google.protobuf.ByteString value)
       The entry groups whose metadata you want to export, in the format
       `projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}`.
       Only the entries in the specified entry groups are exported.
      
       The entry groups must be in the same location and the same VPC Service
       Controls perimeter as the job.
      
       If you set the job scope to be a list of entry groups, then set the
       organization-level export flag to false and don't provide a list of
       projects.
       
      repeated string entry_groups = 3 [(.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes of the entryGroups to add.
      Returns:
      This builder for chaining.
    • getEntryTypesList

      public com.google.protobuf.ProtocolStringList getEntryTypesList()
       The entry types that are in scope for the export job, specified as
       relative resource names in the format
       `projects/{project_id_or_number}/locations/{location}/entryTypes/{entry_type_id}`.
       Only entries that belong to the specified entry types are affected by
       the job.
       
      repeated string entry_types = 4 [(.google.api.resource_reference) = { ... }
      Specified by:
      getEntryTypesList in interface MetadataJob.ExportJobSpec.ExportJobScopeOrBuilder
      Returns:
      A list containing the entryTypes.
    • getEntryTypesCount

      public int getEntryTypesCount()
       The entry types that are in scope for the export job, specified as
       relative resource names in the format
       `projects/{project_id_or_number}/locations/{location}/entryTypes/{entry_type_id}`.
       Only entries that belong to the specified entry types are affected by
       the job.
       
      repeated string entry_types = 4 [(.google.api.resource_reference) = { ... }
      Specified by:
      getEntryTypesCount in interface MetadataJob.ExportJobSpec.ExportJobScopeOrBuilder
      Returns:
      The count of entryTypes.
    • getEntryTypes

      public String getEntryTypes(int index)
       The entry types that are in scope for the export job, specified as
       relative resource names in the format
       `projects/{project_id_or_number}/locations/{location}/entryTypes/{entry_type_id}`.
       Only entries that belong to the specified entry types are affected by
       the job.
       
      repeated string entry_types = 4 [(.google.api.resource_reference) = { ... }
      Specified by:
      getEntryTypes in interface MetadataJob.ExportJobSpec.ExportJobScopeOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The entryTypes at the given index.
    • getEntryTypesBytes

      public com.google.protobuf.ByteString getEntryTypesBytes(int index)
       The entry types that are in scope for the export job, specified as
       relative resource names in the format
       `projects/{project_id_or_number}/locations/{location}/entryTypes/{entry_type_id}`.
       Only entries that belong to the specified entry types are affected by
       the job.
       
      repeated string entry_types = 4 [(.google.api.resource_reference) = { ... }
      Specified by:
      getEntryTypesBytes in interface MetadataJob.ExportJobSpec.ExportJobScopeOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the entryTypes at the given index.
    • setEntryTypes

      public MetadataJob.ExportJobSpec.ExportJobScope.Builder setEntryTypes(int index, String value)
       The entry types that are in scope for the export job, specified as
       relative resource names in the format
       `projects/{project_id_or_number}/locations/{location}/entryTypes/{entry_type_id}`.
       Only entries that belong to the specified entry types are affected by
       the job.
       
      repeated string entry_types = 4 [(.google.api.resource_reference) = { ... }
      Parameters:
      index - The index to set the value at.
      value - The entryTypes to set.
      Returns:
      This builder for chaining.
    • addEntryTypes

       The entry types that are in scope for the export job, specified as
       relative resource names in the format
       `projects/{project_id_or_number}/locations/{location}/entryTypes/{entry_type_id}`.
       Only entries that belong to the specified entry types are affected by
       the job.
       
      repeated string entry_types = 4 [(.google.api.resource_reference) = { ... }
      Parameters:
      value - The entryTypes to add.
      Returns:
      This builder for chaining.
    • addAllEntryTypes

       The entry types that are in scope for the export job, specified as
       relative resource names in the format
       `projects/{project_id_or_number}/locations/{location}/entryTypes/{entry_type_id}`.
       Only entries that belong to the specified entry types are affected by
       the job.
       
      repeated string entry_types = 4 [(.google.api.resource_reference) = { ... }
      Parameters:
      values - The entryTypes to add.
      Returns:
      This builder for chaining.
    • clearEntryTypes

       The entry types that are in scope for the export job, specified as
       relative resource names in the format
       `projects/{project_id_or_number}/locations/{location}/entryTypes/{entry_type_id}`.
       Only entries that belong to the specified entry types are affected by
       the job.
       
      repeated string entry_types = 4 [(.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • addEntryTypesBytes

      public MetadataJob.ExportJobSpec.ExportJobScope.Builder addEntryTypesBytes(com.google.protobuf.ByteString value)
       The entry types that are in scope for the export job, specified as
       relative resource names in the format
       `projects/{project_id_or_number}/locations/{location}/entryTypes/{entry_type_id}`.
       Only entries that belong to the specified entry types are affected by
       the job.
       
      repeated string entry_types = 4 [(.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes of the entryTypes to add.
      Returns:
      This builder for chaining.
    • getAspectTypesList

      public com.google.protobuf.ProtocolStringList getAspectTypesList()
       The aspect types that are in scope for the export job, specified as
       relative resource names in the format
       `projects/{project_id_or_number}/locations/{location}/aspectTypes/{aspect_type_id}`.
       Only aspects that belong to the specified aspect types are affected by
       the job.
       
      repeated string aspect_types = 5 [(.google.api.resource_reference) = { ... }
      Specified by:
      getAspectTypesList in interface MetadataJob.ExportJobSpec.ExportJobScopeOrBuilder
      Returns:
      A list containing the aspectTypes.
    • getAspectTypesCount

      public int getAspectTypesCount()
       The aspect types that are in scope for the export job, specified as
       relative resource names in the format
       `projects/{project_id_or_number}/locations/{location}/aspectTypes/{aspect_type_id}`.
       Only aspects that belong to the specified aspect types are affected by
       the job.
       
      repeated string aspect_types = 5 [(.google.api.resource_reference) = { ... }
      Specified by:
      getAspectTypesCount in interface MetadataJob.ExportJobSpec.ExportJobScopeOrBuilder
      Returns:
      The count of aspectTypes.
    • getAspectTypes

      public String getAspectTypes(int index)
       The aspect types that are in scope for the export job, specified as
       relative resource names in the format
       `projects/{project_id_or_number}/locations/{location}/aspectTypes/{aspect_type_id}`.
       Only aspects that belong to the specified aspect types are affected by
       the job.
       
      repeated string aspect_types = 5 [(.google.api.resource_reference) = { ... }
      Specified by:
      getAspectTypes in interface MetadataJob.ExportJobSpec.ExportJobScopeOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The aspectTypes at the given index.
    • getAspectTypesBytes

      public com.google.protobuf.ByteString getAspectTypesBytes(int index)
       The aspect types that are in scope for the export job, specified as
       relative resource names in the format
       `projects/{project_id_or_number}/locations/{location}/aspectTypes/{aspect_type_id}`.
       Only aspects that belong to the specified aspect types are affected by
       the job.
       
      repeated string aspect_types = 5 [(.google.api.resource_reference) = { ... }
      Specified by:
      getAspectTypesBytes in interface MetadataJob.ExportJobSpec.ExportJobScopeOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the aspectTypes at the given index.
    • setAspectTypes

      public MetadataJob.ExportJobSpec.ExportJobScope.Builder setAspectTypes(int index, String value)
       The aspect types that are in scope for the export job, specified as
       relative resource names in the format
       `projects/{project_id_or_number}/locations/{location}/aspectTypes/{aspect_type_id}`.
       Only aspects that belong to the specified aspect types are affected by
       the job.
       
      repeated string aspect_types = 5 [(.google.api.resource_reference) = { ... }
      Parameters:
      index - The index to set the value at.
      value - The aspectTypes to set.
      Returns:
      This builder for chaining.
    • addAspectTypes

       The aspect types that are in scope for the export job, specified as
       relative resource names in the format
       `projects/{project_id_or_number}/locations/{location}/aspectTypes/{aspect_type_id}`.
       Only aspects that belong to the specified aspect types are affected by
       the job.
       
      repeated string aspect_types = 5 [(.google.api.resource_reference) = { ... }
      Parameters:
      value - The aspectTypes to add.
      Returns:
      This builder for chaining.
    • addAllAspectTypes

       The aspect types that are in scope for the export job, specified as
       relative resource names in the format
       `projects/{project_id_or_number}/locations/{location}/aspectTypes/{aspect_type_id}`.
       Only aspects that belong to the specified aspect types are affected by
       the job.
       
      repeated string aspect_types = 5 [(.google.api.resource_reference) = { ... }
      Parameters:
      values - The aspectTypes to add.
      Returns:
      This builder for chaining.
    • clearAspectTypes

       The aspect types that are in scope for the export job, specified as
       relative resource names in the format
       `projects/{project_id_or_number}/locations/{location}/aspectTypes/{aspect_type_id}`.
       Only aspects that belong to the specified aspect types are affected by
       the job.
       
      repeated string aspect_types = 5 [(.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • addAspectTypesBytes

      public MetadataJob.ExportJobSpec.ExportJobScope.Builder addAspectTypesBytes(com.google.protobuf.ByteString value)
       The aspect types that are in scope for the export job, specified as
       relative resource names in the format
       `projects/{project_id_or_number}/locations/{location}/aspectTypes/{aspect_type_id}`.
       Only aspects that belong to the specified aspect types are affected by
       the job.
       
      repeated string aspect_types = 5 [(.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes of the aspectTypes to add.
      Returns:
      This builder for chaining.