Class MetadataJob.ImportJobSpec.ImportJobScope.Builder

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

public static final class MetadataJob.ImportJobSpec.ImportJobScope.Builder extends com.google.protobuf.GeneratedMessage.Builder<MetadataJob.ImportJobSpec.ImportJobScope.Builder> implements MetadataJob.ImportJobSpec.ImportJobScopeOrBuilder
 A boundary on the scope of impact that the metadata import job can have.
 
Protobuf type google.cloud.dataplex.v1.MetadataJob.ImportJobSpec.ImportJobScope
  • 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.ImportJobSpec.ImportJobScope.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.ImportJobSpec.ImportJobScope.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.ImportJobSpec.ImportJobScope.Builder>
    • getDefaultInstanceForType

      public MetadataJob.ImportJobSpec.ImportJobScope 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.ImportJobSpec.ImportJobScope.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.ImportJobSpec.ImportJobScope.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.ImportJobSpec.ImportJobScope.Builder>
    • mergeFrom

      public MetadataJob.ImportJobSpec.ImportJobScope.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.ImportJobSpec.ImportJobScope.Builder>
      Throws:
      IOException
    • getEntryGroupsList

      public com.google.protobuf.ProtocolStringList getEntryGroupsList()
       Required. The entry groups that are in scope for the import job,
       specified as relative resource names in the format
       `projects/{project_number_or_id}/locations/{location_id}/entryGroups/{entry_group_id}`.
       Only entries and aspects that belong to the specified entry groups are
       affected by the job.
      
       The entry groups and the job must be in the same location.
       
      repeated string entry_groups = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getEntryGroupsList in interface MetadataJob.ImportJobSpec.ImportJobScopeOrBuilder
      Returns:
      A list containing the entryGroups.
    • getEntryGroupsCount

      public int getEntryGroupsCount()
       Required. The entry groups that are in scope for the import job,
       specified as relative resource names in the format
       `projects/{project_number_or_id}/locations/{location_id}/entryGroups/{entry_group_id}`.
       Only entries and aspects that belong to the specified entry groups are
       affected by the job.
      
       The entry groups and the job must be in the same location.
       
      repeated string entry_groups = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getEntryGroupsCount in interface MetadataJob.ImportJobSpec.ImportJobScopeOrBuilder
      Returns:
      The count of entryGroups.
    • getEntryGroups

      public String getEntryGroups(int index)
       Required. The entry groups that are in scope for the import job,
       specified as relative resource names in the format
       `projects/{project_number_or_id}/locations/{location_id}/entryGroups/{entry_group_id}`.
       Only entries and aspects that belong to the specified entry groups are
       affected by the job.
      
       The entry groups and the job must be in the same location.
       
      repeated string entry_groups = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getEntryGroups in interface MetadataJob.ImportJobSpec.ImportJobScopeOrBuilder
      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)
       Required. The entry groups that are in scope for the import job,
       specified as relative resource names in the format
       `projects/{project_number_or_id}/locations/{location_id}/entryGroups/{entry_group_id}`.
       Only entries and aspects that belong to the specified entry groups are
       affected by the job.
      
       The entry groups and the job must be in the same location.
       
      repeated string entry_groups = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getEntryGroupsBytes in interface MetadataJob.ImportJobSpec.ImportJobScopeOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the entryGroups at the given index.
    • setEntryGroups

      public MetadataJob.ImportJobSpec.ImportJobScope.Builder setEntryGroups(int index, String value)
       Required. The entry groups that are in scope for the import job,
       specified as relative resource names in the format
       `projects/{project_number_or_id}/locations/{location_id}/entryGroups/{entry_group_id}`.
       Only entries and aspects that belong to the specified entry groups are
       affected by the job.
      
       The entry groups and the job must be in the same location.
       
      repeated string entry_groups = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      index - The index to set the value at.
      value - The entryGroups to set.
      Returns:
      This builder for chaining.
    • addEntryGroups

       Required. The entry groups that are in scope for the import job,
       specified as relative resource names in the format
       `projects/{project_number_or_id}/locations/{location_id}/entryGroups/{entry_group_id}`.
       Only entries and aspects that belong to the specified entry groups are
       affected by the job.
      
       The entry groups and the job must be in the same location.
       
      repeated string entry_groups = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The entryGroups to add.
      Returns:
      This builder for chaining.
    • addAllEntryGroups

       Required. The entry groups that are in scope for the import job,
       specified as relative resource names in the format
       `projects/{project_number_or_id}/locations/{location_id}/entryGroups/{entry_group_id}`.
       Only entries and aspects that belong to the specified entry groups are
       affected by the job.
      
       The entry groups and the job must be in the same location.
       
      repeated string entry_groups = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      values - The entryGroups to add.
      Returns:
      This builder for chaining.
    • clearEntryGroups

       Required. The entry groups that are in scope for the import job,
       specified as relative resource names in the format
       `projects/{project_number_or_id}/locations/{location_id}/entryGroups/{entry_group_id}`.
       Only entries and aspects that belong to the specified entry groups are
       affected by the job.
      
       The entry groups and the job must be in the same location.
       
      repeated string entry_groups = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • addEntryGroupsBytes

      public MetadataJob.ImportJobSpec.ImportJobScope.Builder addEntryGroupsBytes(com.google.protobuf.ByteString value)
       Required. The entry groups that are in scope for the import job,
       specified as relative resource names in the format
       `projects/{project_number_or_id}/locations/{location_id}/entryGroups/{entry_group_id}`.
       Only entries and aspects that belong to the specified entry groups are
       affected by the job.
      
       The entry groups and the job must be in the same location.
       
      repeated string entry_groups = 1 [(.google.api.field_behavior) = REQUIRED, (.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()
       Required. The entry types that are in scope for the import job,
       specified as relative resource names in the format
       `projects/{project_number_or_id}/locations/{location_id}/entryTypes/{entry_type_id}`.
       The job modifies only the entries and aspects that belong to these
       entry types.
      
       If the metadata import file attempts to modify an entry whose type
       isn't included in this list, the import job is halted before modifying
       any entries or aspects.
      
       The location of an entry type must either match the location of the
       job, or the entry type must be global.
       
      repeated string entry_types = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getEntryTypesList in interface MetadataJob.ImportJobSpec.ImportJobScopeOrBuilder
      Returns:
      A list containing the entryTypes.
    • getEntryTypesCount

      public int getEntryTypesCount()
       Required. The entry types that are in scope for the import job,
       specified as relative resource names in the format
       `projects/{project_number_or_id}/locations/{location_id}/entryTypes/{entry_type_id}`.
       The job modifies only the entries and aspects that belong to these
       entry types.
      
       If the metadata import file attempts to modify an entry whose type
       isn't included in this list, the import job is halted before modifying
       any entries or aspects.
      
       The location of an entry type must either match the location of the
       job, or the entry type must be global.
       
      repeated string entry_types = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getEntryTypesCount in interface MetadataJob.ImportJobSpec.ImportJobScopeOrBuilder
      Returns:
      The count of entryTypes.
    • getEntryTypes

      public String getEntryTypes(int index)
       Required. The entry types that are in scope for the import job,
       specified as relative resource names in the format
       `projects/{project_number_or_id}/locations/{location_id}/entryTypes/{entry_type_id}`.
       The job modifies only the entries and aspects that belong to these
       entry types.
      
       If the metadata import file attempts to modify an entry whose type
       isn't included in this list, the import job is halted before modifying
       any entries or aspects.
      
       The location of an entry type must either match the location of the
       job, or the entry type must be global.
       
      repeated string entry_types = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getEntryTypes in interface MetadataJob.ImportJobSpec.ImportJobScopeOrBuilder
      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)
       Required. The entry types that are in scope for the import job,
       specified as relative resource names in the format
       `projects/{project_number_or_id}/locations/{location_id}/entryTypes/{entry_type_id}`.
       The job modifies only the entries and aspects that belong to these
       entry types.
      
       If the metadata import file attempts to modify an entry whose type
       isn't included in this list, the import job is halted before modifying
       any entries or aspects.
      
       The location of an entry type must either match the location of the
       job, or the entry type must be global.
       
      repeated string entry_types = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getEntryTypesBytes in interface MetadataJob.ImportJobSpec.ImportJobScopeOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the entryTypes at the given index.
    • setEntryTypes

      public MetadataJob.ImportJobSpec.ImportJobScope.Builder setEntryTypes(int index, String value)
       Required. The entry types that are in scope for the import job,
       specified as relative resource names in the format
       `projects/{project_number_or_id}/locations/{location_id}/entryTypes/{entry_type_id}`.
       The job modifies only the entries and aspects that belong to these
       entry types.
      
       If the metadata import file attempts to modify an entry whose type
       isn't included in this list, the import job is halted before modifying
       any entries or aspects.
      
       The location of an entry type must either match the location of the
       job, or the entry type must be global.
       
      repeated string entry_types = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      index - The index to set the value at.
      value - The entryTypes to set.
      Returns:
      This builder for chaining.
    • addEntryTypes

       Required. The entry types that are in scope for the import job,
       specified as relative resource names in the format
       `projects/{project_number_or_id}/locations/{location_id}/entryTypes/{entry_type_id}`.
       The job modifies only the entries and aspects that belong to these
       entry types.
      
       If the metadata import file attempts to modify an entry whose type
       isn't included in this list, the import job is halted before modifying
       any entries or aspects.
      
       The location of an entry type must either match the location of the
       job, or the entry type must be global.
       
      repeated string entry_types = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The entryTypes to add.
      Returns:
      This builder for chaining.
    • addAllEntryTypes

       Required. The entry types that are in scope for the import job,
       specified as relative resource names in the format
       `projects/{project_number_or_id}/locations/{location_id}/entryTypes/{entry_type_id}`.
       The job modifies only the entries and aspects that belong to these
       entry types.
      
       If the metadata import file attempts to modify an entry whose type
       isn't included in this list, the import job is halted before modifying
       any entries or aspects.
      
       The location of an entry type must either match the location of the
       job, or the entry type must be global.
       
      repeated string entry_types = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      values - The entryTypes to add.
      Returns:
      This builder for chaining.
    • clearEntryTypes

       Required. The entry types that are in scope for the import job,
       specified as relative resource names in the format
       `projects/{project_number_or_id}/locations/{location_id}/entryTypes/{entry_type_id}`.
       The job modifies only the entries and aspects that belong to these
       entry types.
      
       If the metadata import file attempts to modify an entry whose type
       isn't included in this list, the import job is halted before modifying
       any entries or aspects.
      
       The location of an entry type must either match the location of the
       job, or the entry type must be global.
       
      repeated string entry_types = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • addEntryTypesBytes

      public MetadataJob.ImportJobSpec.ImportJobScope.Builder addEntryTypesBytes(com.google.protobuf.ByteString value)
       Required. The entry types that are in scope for the import job,
       specified as relative resource names in the format
       `projects/{project_number_or_id}/locations/{location_id}/entryTypes/{entry_type_id}`.
       The job modifies only the entries and aspects that belong to these
       entry types.
      
       If the metadata import file attempts to modify an entry whose type
       isn't included in this list, the import job is halted before modifying
       any entries or aspects.
      
       The location of an entry type must either match the location of the
       job, or the entry type must be global.
       
      repeated string entry_types = 2 [(.google.api.field_behavior) = REQUIRED, (.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()
       Optional. The aspect types that are in scope for the import job,
       specified as relative resource names in the format
       `projects/{project_number_or_id}/locations/{location_id}/aspectTypes/{aspect_type_id}`.
       The job modifies only the aspects that belong to these aspect types.
      
       This field is required when creating an aspect-only import job.
      
       If the metadata import file attempts to modify an aspect whose type
       isn't included in this list, the import job is halted before modifying
       any entries or aspects.
      
       The location of an aspect type must either match the location of the
       job, or the aspect type must be global.
       
      repeated string aspect_types = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Specified by:
      getAspectTypesList in interface MetadataJob.ImportJobSpec.ImportJobScopeOrBuilder
      Returns:
      A list containing the aspectTypes.
    • getAspectTypesCount

      public int getAspectTypesCount()
       Optional. The aspect types that are in scope for the import job,
       specified as relative resource names in the format
       `projects/{project_number_or_id}/locations/{location_id}/aspectTypes/{aspect_type_id}`.
       The job modifies only the aspects that belong to these aspect types.
      
       This field is required when creating an aspect-only import job.
      
       If the metadata import file attempts to modify an aspect whose type
       isn't included in this list, the import job is halted before modifying
       any entries or aspects.
      
       The location of an aspect type must either match the location of the
       job, or the aspect type must be global.
       
      repeated string aspect_types = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Specified by:
      getAspectTypesCount in interface MetadataJob.ImportJobSpec.ImportJobScopeOrBuilder
      Returns:
      The count of aspectTypes.
    • getAspectTypes

      public String getAspectTypes(int index)
       Optional. The aspect types that are in scope for the import job,
       specified as relative resource names in the format
       `projects/{project_number_or_id}/locations/{location_id}/aspectTypes/{aspect_type_id}`.
       The job modifies only the aspects that belong to these aspect types.
      
       This field is required when creating an aspect-only import job.
      
       If the metadata import file attempts to modify an aspect whose type
       isn't included in this list, the import job is halted before modifying
       any entries or aspects.
      
       The location of an aspect type must either match the location of the
       job, or the aspect type must be global.
       
      repeated string aspect_types = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Specified by:
      getAspectTypes in interface MetadataJob.ImportJobSpec.ImportJobScopeOrBuilder
      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)
       Optional. The aspect types that are in scope for the import job,
       specified as relative resource names in the format
       `projects/{project_number_or_id}/locations/{location_id}/aspectTypes/{aspect_type_id}`.
       The job modifies only the aspects that belong to these aspect types.
      
       This field is required when creating an aspect-only import job.
      
       If the metadata import file attempts to modify an aspect whose type
       isn't included in this list, the import job is halted before modifying
       any entries or aspects.
      
       The location of an aspect type must either match the location of the
       job, or the aspect type must be global.
       
      repeated string aspect_types = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Specified by:
      getAspectTypesBytes in interface MetadataJob.ImportJobSpec.ImportJobScopeOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the aspectTypes at the given index.
    • setAspectTypes

      public MetadataJob.ImportJobSpec.ImportJobScope.Builder setAspectTypes(int index, String value)
       Optional. The aspect types that are in scope for the import job,
       specified as relative resource names in the format
       `projects/{project_number_or_id}/locations/{location_id}/aspectTypes/{aspect_type_id}`.
       The job modifies only the aspects that belong to these aspect types.
      
       This field is required when creating an aspect-only import job.
      
       If the metadata import file attempts to modify an aspect whose type
       isn't included in this list, the import job is halted before modifying
       any entries or aspects.
      
       The location of an aspect type must either match the location of the
       job, or the aspect type must be global.
       
      repeated string aspect_types = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Parameters:
      index - The index to set the value at.
      value - The aspectTypes to set.
      Returns:
      This builder for chaining.
    • addAspectTypes

       Optional. The aspect types that are in scope for the import job,
       specified as relative resource names in the format
       `projects/{project_number_or_id}/locations/{location_id}/aspectTypes/{aspect_type_id}`.
       The job modifies only the aspects that belong to these aspect types.
      
       This field is required when creating an aspect-only import job.
      
       If the metadata import file attempts to modify an aspect whose type
       isn't included in this list, the import job is halted before modifying
       any entries or aspects.
      
       The location of an aspect type must either match the location of the
       job, or the aspect type must be global.
       
      repeated string aspect_types = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The aspectTypes to add.
      Returns:
      This builder for chaining.
    • addAllAspectTypes

       Optional. The aspect types that are in scope for the import job,
       specified as relative resource names in the format
       `projects/{project_number_or_id}/locations/{location_id}/aspectTypes/{aspect_type_id}`.
       The job modifies only the aspects that belong to these aspect types.
      
       This field is required when creating an aspect-only import job.
      
       If the metadata import file attempts to modify an aspect whose type
       isn't included in this list, the import job is halted before modifying
       any entries or aspects.
      
       The location of an aspect type must either match the location of the
       job, or the aspect type must be global.
       
      repeated string aspect_types = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Parameters:
      values - The aspectTypes to add.
      Returns:
      This builder for chaining.
    • clearAspectTypes

       Optional. The aspect types that are in scope for the import job,
       specified as relative resource names in the format
       `projects/{project_number_or_id}/locations/{location_id}/aspectTypes/{aspect_type_id}`.
       The job modifies only the aspects that belong to these aspect types.
      
       This field is required when creating an aspect-only import job.
      
       If the metadata import file attempts to modify an aspect whose type
       isn't included in this list, the import job is halted before modifying
       any entries or aspects.
      
       The location of an aspect type must either match the location of the
       job, or the aspect type must be global.
       
      repeated string aspect_types = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • addAspectTypesBytes

      public MetadataJob.ImportJobSpec.ImportJobScope.Builder addAspectTypesBytes(com.google.protobuf.ByteString value)
       Optional. The aspect types that are in scope for the import job,
       specified as relative resource names in the format
       `projects/{project_number_or_id}/locations/{location_id}/aspectTypes/{aspect_type_id}`.
       The job modifies only the aspects that belong to these aspect types.
      
       This field is required when creating an aspect-only import job.
      
       If the metadata import file attempts to modify an aspect whose type
       isn't included in this list, the import job is halted before modifying
       any entries or aspects.
      
       The location of an aspect type must either match the location of the
       job, or the aspect type must be global.
       
      repeated string aspect_types = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes of the aspectTypes to add.
      Returns:
      This builder for chaining.
    • getGlossariesList

      public com.google.protobuf.ProtocolStringList getGlossariesList()
       Optional. The glossaries that are in scope for the import job,
       specified as relative resource names in the format
       `projects/{project_number_or_id}/locations/{location_id}/glossaries/{glossary_id}`.
      
       While importing Business Glossary entries, the user must
       provide glossaries. While importing entries, the user does not have to
       provide glossaries. If the metadata import file attempts to modify
       Business Glossary entries whose glossary isn't included in this list,
       the import job will skip those entries.
      
       The location of a glossary must either match the location of the
       job, or the glossary must be global.
       
      repeated string glossaries = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Specified by:
      getGlossariesList in interface MetadataJob.ImportJobSpec.ImportJobScopeOrBuilder
      Returns:
      A list containing the glossaries.
    • getGlossariesCount

      public int getGlossariesCount()
       Optional. The glossaries that are in scope for the import job,
       specified as relative resource names in the format
       `projects/{project_number_or_id}/locations/{location_id}/glossaries/{glossary_id}`.
      
       While importing Business Glossary entries, the user must
       provide glossaries. While importing entries, the user does not have to
       provide glossaries. If the metadata import file attempts to modify
       Business Glossary entries whose glossary isn't included in this list,
       the import job will skip those entries.
      
       The location of a glossary must either match the location of the
       job, or the glossary must be global.
       
      repeated string glossaries = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Specified by:
      getGlossariesCount in interface MetadataJob.ImportJobSpec.ImportJobScopeOrBuilder
      Returns:
      The count of glossaries.
    • getGlossaries

      public String getGlossaries(int index)
       Optional. The glossaries that are in scope for the import job,
       specified as relative resource names in the format
       `projects/{project_number_or_id}/locations/{location_id}/glossaries/{glossary_id}`.
      
       While importing Business Glossary entries, the user must
       provide glossaries. While importing entries, the user does not have to
       provide glossaries. If the metadata import file attempts to modify
       Business Glossary entries whose glossary isn't included in this list,
       the import job will skip those entries.
      
       The location of a glossary must either match the location of the
       job, or the glossary must be global.
       
      repeated string glossaries = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Specified by:
      getGlossaries in interface MetadataJob.ImportJobSpec.ImportJobScopeOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The glossaries at the given index.
    • getGlossariesBytes

      public com.google.protobuf.ByteString getGlossariesBytes(int index)
       Optional. The glossaries that are in scope for the import job,
       specified as relative resource names in the format
       `projects/{project_number_or_id}/locations/{location_id}/glossaries/{glossary_id}`.
      
       While importing Business Glossary entries, the user must
       provide glossaries. While importing entries, the user does not have to
       provide glossaries. If the metadata import file attempts to modify
       Business Glossary entries whose glossary isn't included in this list,
       the import job will skip those entries.
      
       The location of a glossary must either match the location of the
       job, or the glossary must be global.
       
      repeated string glossaries = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Specified by:
      getGlossariesBytes in interface MetadataJob.ImportJobSpec.ImportJobScopeOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the glossaries at the given index.
    • setGlossaries

      public MetadataJob.ImportJobSpec.ImportJobScope.Builder setGlossaries(int index, String value)
       Optional. The glossaries that are in scope for the import job,
       specified as relative resource names in the format
       `projects/{project_number_or_id}/locations/{location_id}/glossaries/{glossary_id}`.
      
       While importing Business Glossary entries, the user must
       provide glossaries. While importing entries, the user does not have to
       provide glossaries. If the metadata import file attempts to modify
       Business Glossary entries whose glossary isn't included in this list,
       the import job will skip those entries.
      
       The location of a glossary must either match the location of the
       job, or the glossary must be global.
       
      repeated string glossaries = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Parameters:
      index - The index to set the value at.
      value - The glossaries to set.
      Returns:
      This builder for chaining.
    • addGlossaries

       Optional. The glossaries that are in scope for the import job,
       specified as relative resource names in the format
       `projects/{project_number_or_id}/locations/{location_id}/glossaries/{glossary_id}`.
      
       While importing Business Glossary entries, the user must
       provide glossaries. While importing entries, the user does not have to
       provide glossaries. If the metadata import file attempts to modify
       Business Glossary entries whose glossary isn't included in this list,
       the import job will skip those entries.
      
       The location of a glossary must either match the location of the
       job, or the glossary must be global.
       
      repeated string glossaries = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The glossaries to add.
      Returns:
      This builder for chaining.
    • addAllGlossaries

       Optional. The glossaries that are in scope for the import job,
       specified as relative resource names in the format
       `projects/{project_number_or_id}/locations/{location_id}/glossaries/{glossary_id}`.
      
       While importing Business Glossary entries, the user must
       provide glossaries. While importing entries, the user does not have to
       provide glossaries. If the metadata import file attempts to modify
       Business Glossary entries whose glossary isn't included in this list,
       the import job will skip those entries.
      
       The location of a glossary must either match the location of the
       job, or the glossary must be global.
       
      repeated string glossaries = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Parameters:
      values - The glossaries to add.
      Returns:
      This builder for chaining.
    • clearGlossaries

       Optional. The glossaries that are in scope for the import job,
       specified as relative resource names in the format
       `projects/{project_number_or_id}/locations/{location_id}/glossaries/{glossary_id}`.
      
       While importing Business Glossary entries, the user must
       provide glossaries. While importing entries, the user does not have to
       provide glossaries. If the metadata import file attempts to modify
       Business Glossary entries whose glossary isn't included in this list,
       the import job will skip those entries.
      
       The location of a glossary must either match the location of the
       job, or the glossary must be global.
       
      repeated string glossaries = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • addGlossariesBytes

      public MetadataJob.ImportJobSpec.ImportJobScope.Builder addGlossariesBytes(com.google.protobuf.ByteString value)
       Optional. The glossaries that are in scope for the import job,
       specified as relative resource names in the format
       `projects/{project_number_or_id}/locations/{location_id}/glossaries/{glossary_id}`.
      
       While importing Business Glossary entries, the user must
       provide glossaries. While importing entries, the user does not have to
       provide glossaries. If the metadata import file attempts to modify
       Business Glossary entries whose glossary isn't included in this list,
       the import job will skip those entries.
      
       The location of a glossary must either match the location of the
       job, or the glossary must be global.
       
      repeated string glossaries = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes of the glossaries to add.
      Returns:
      This builder for chaining.
    • getEntryLinkTypesList

      public com.google.protobuf.ProtocolStringList getEntryLinkTypesList()
       Optional. The entry link types that are in scope for the import job,
       specified as relative resource names in the format
       `projects/{project_number_or_id}/locations/{location_id}/entryLinkTypes/{entry_link_type_id}`.
       The job modifies only the entryLinks that belong to these entry link
       types.
      
       If the metadata import file attempts to create or delete an entry link
       whose entry link type isn't included in this list, the import job will
       skip those entry links.
       
      repeated string entry_link_types = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getEntryLinkTypesList in interface MetadataJob.ImportJobSpec.ImportJobScopeOrBuilder
      Returns:
      A list containing the entryLinkTypes.
    • getEntryLinkTypesCount

      public int getEntryLinkTypesCount()
       Optional. The entry link types that are in scope for the import job,
       specified as relative resource names in the format
       `projects/{project_number_or_id}/locations/{location_id}/entryLinkTypes/{entry_link_type_id}`.
       The job modifies only the entryLinks that belong to these entry link
       types.
      
       If the metadata import file attempts to create or delete an entry link
       whose entry link type isn't included in this list, the import job will
       skip those entry links.
       
      repeated string entry_link_types = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getEntryLinkTypesCount in interface MetadataJob.ImportJobSpec.ImportJobScopeOrBuilder
      Returns:
      The count of entryLinkTypes.
    • getEntryLinkTypes

      public String getEntryLinkTypes(int index)
       Optional. The entry link types that are in scope for the import job,
       specified as relative resource names in the format
       `projects/{project_number_or_id}/locations/{location_id}/entryLinkTypes/{entry_link_type_id}`.
       The job modifies only the entryLinks that belong to these entry link
       types.
      
       If the metadata import file attempts to create or delete an entry link
       whose entry link type isn't included in this list, the import job will
       skip those entry links.
       
      repeated string entry_link_types = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getEntryLinkTypes in interface MetadataJob.ImportJobSpec.ImportJobScopeOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The entryLinkTypes at the given index.
    • getEntryLinkTypesBytes

      public com.google.protobuf.ByteString getEntryLinkTypesBytes(int index)
       Optional. The entry link types that are in scope for the import job,
       specified as relative resource names in the format
       `projects/{project_number_or_id}/locations/{location_id}/entryLinkTypes/{entry_link_type_id}`.
       The job modifies only the entryLinks that belong to these entry link
       types.
      
       If the metadata import file attempts to create or delete an entry link
       whose entry link type isn't included in this list, the import job will
       skip those entry links.
       
      repeated string entry_link_types = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getEntryLinkTypesBytes in interface MetadataJob.ImportJobSpec.ImportJobScopeOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the entryLinkTypes at the given index.
    • setEntryLinkTypes

      public MetadataJob.ImportJobSpec.ImportJobScope.Builder setEntryLinkTypes(int index, String value)
       Optional. The entry link types that are in scope for the import job,
       specified as relative resource names in the format
       `projects/{project_number_or_id}/locations/{location_id}/entryLinkTypes/{entry_link_type_id}`.
       The job modifies only the entryLinks that belong to these entry link
       types.
      
       If the metadata import file attempts to create or delete an entry link
       whose entry link type isn't included in this list, the import job will
       skip those entry links.
       
      repeated string entry_link_types = 5 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      index - The index to set the value at.
      value - The entryLinkTypes to set.
      Returns:
      This builder for chaining.
    • addEntryLinkTypes

      public MetadataJob.ImportJobSpec.ImportJobScope.Builder addEntryLinkTypes(String value)
       Optional. The entry link types that are in scope for the import job,
       specified as relative resource names in the format
       `projects/{project_number_or_id}/locations/{location_id}/entryLinkTypes/{entry_link_type_id}`.
       The job modifies only the entryLinks that belong to these entry link
       types.
      
       If the metadata import file attempts to create or delete an entry link
       whose entry link type isn't included in this list, the import job will
       skip those entry links.
       
      repeated string entry_link_types = 5 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The entryLinkTypes to add.
      Returns:
      This builder for chaining.
    • addAllEntryLinkTypes

      public MetadataJob.ImportJobSpec.ImportJobScope.Builder addAllEntryLinkTypes(Iterable<String> values)
       Optional. The entry link types that are in scope for the import job,
       specified as relative resource names in the format
       `projects/{project_number_or_id}/locations/{location_id}/entryLinkTypes/{entry_link_type_id}`.
       The job modifies only the entryLinks that belong to these entry link
       types.
      
       If the metadata import file attempts to create or delete an entry link
       whose entry link type isn't included in this list, the import job will
       skip those entry links.
       
      repeated string entry_link_types = 5 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      values - The entryLinkTypes to add.
      Returns:
      This builder for chaining.
    • clearEntryLinkTypes

       Optional. The entry link types that are in scope for the import job,
       specified as relative resource names in the format
       `projects/{project_number_or_id}/locations/{location_id}/entryLinkTypes/{entry_link_type_id}`.
       The job modifies only the entryLinks that belong to these entry link
       types.
      
       If the metadata import file attempts to create or delete an entry link
       whose entry link type isn't included in this list, the import job will
       skip those entry links.
       
      repeated string entry_link_types = 5 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • addEntryLinkTypesBytes

      public MetadataJob.ImportJobSpec.ImportJobScope.Builder addEntryLinkTypesBytes(com.google.protobuf.ByteString value)
       Optional. The entry link types that are in scope for the import job,
       specified as relative resource names in the format
       `projects/{project_number_or_id}/locations/{location_id}/entryLinkTypes/{entry_link_type_id}`.
       The job modifies only the entryLinks that belong to these entry link
       types.
      
       If the metadata import file attempts to create or delete an entry link
       whose entry link type isn't included in this list, the import job will
       skip those entry links.
       
      repeated string entry_link_types = 5 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes of the entryLinkTypes to add.
      Returns:
      This builder for chaining.
    • getReferencedEntryScopesList

      public com.google.protobuf.ProtocolStringList getReferencedEntryScopesList()
       Optional. Defines the scope of entries that can be referenced in the
       entry links.
      
       Currently, projects are supported as valid scopes.
       Format: `projects/{project_number_or_id}`
      
       If the metadata import file attempts to create an entry link
       which references an entry that is not in the scope, the import job will
       skip that entry link.
       
      repeated string referenced_entry_scopes = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getReferencedEntryScopesList in interface MetadataJob.ImportJobSpec.ImportJobScopeOrBuilder
      Returns:
      A list containing the referencedEntryScopes.
    • getReferencedEntryScopesCount

      public int getReferencedEntryScopesCount()
       Optional. Defines the scope of entries that can be referenced in the
       entry links.
      
       Currently, projects are supported as valid scopes.
       Format: `projects/{project_number_or_id}`
      
       If the metadata import file attempts to create an entry link
       which references an entry that is not in the scope, the import job will
       skip that entry link.
       
      repeated string referenced_entry_scopes = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getReferencedEntryScopesCount in interface MetadataJob.ImportJobSpec.ImportJobScopeOrBuilder
      Returns:
      The count of referencedEntryScopes.
    • getReferencedEntryScopes

      public String getReferencedEntryScopes(int index)
       Optional. Defines the scope of entries that can be referenced in the
       entry links.
      
       Currently, projects are supported as valid scopes.
       Format: `projects/{project_number_or_id}`
      
       If the metadata import file attempts to create an entry link
       which references an entry that is not in the scope, the import job will
       skip that entry link.
       
      repeated string referenced_entry_scopes = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getReferencedEntryScopes in interface MetadataJob.ImportJobSpec.ImportJobScopeOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The referencedEntryScopes at the given index.
    • getReferencedEntryScopesBytes

      public com.google.protobuf.ByteString getReferencedEntryScopesBytes(int index)
       Optional. Defines the scope of entries that can be referenced in the
       entry links.
      
       Currently, projects are supported as valid scopes.
       Format: `projects/{project_number_or_id}`
      
       If the metadata import file attempts to create an entry link
       which references an entry that is not in the scope, the import job will
       skip that entry link.
       
      repeated string referenced_entry_scopes = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getReferencedEntryScopesBytes in interface MetadataJob.ImportJobSpec.ImportJobScopeOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the referencedEntryScopes at the given index.
    • setReferencedEntryScopes

      public MetadataJob.ImportJobSpec.ImportJobScope.Builder setReferencedEntryScopes(int index, String value)
       Optional. Defines the scope of entries that can be referenced in the
       entry links.
      
       Currently, projects are supported as valid scopes.
       Format: `projects/{project_number_or_id}`
      
       If the metadata import file attempts to create an entry link
       which references an entry that is not in the scope, the import job will
       skip that entry link.
       
      repeated string referenced_entry_scopes = 6 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      index - The index to set the value at.
      value - The referencedEntryScopes to set.
      Returns:
      This builder for chaining.
    • addReferencedEntryScopes

      public MetadataJob.ImportJobSpec.ImportJobScope.Builder addReferencedEntryScopes(String value)
       Optional. Defines the scope of entries that can be referenced in the
       entry links.
      
       Currently, projects are supported as valid scopes.
       Format: `projects/{project_number_or_id}`
      
       If the metadata import file attempts to create an entry link
       which references an entry that is not in the scope, the import job will
       skip that entry link.
       
      repeated string referenced_entry_scopes = 6 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The referencedEntryScopes to add.
      Returns:
      This builder for chaining.
    • addAllReferencedEntryScopes

      public MetadataJob.ImportJobSpec.ImportJobScope.Builder addAllReferencedEntryScopes(Iterable<String> values)
       Optional. Defines the scope of entries that can be referenced in the
       entry links.
      
       Currently, projects are supported as valid scopes.
       Format: `projects/{project_number_or_id}`
      
       If the metadata import file attempts to create an entry link
       which references an entry that is not in the scope, the import job will
       skip that entry link.
       
      repeated string referenced_entry_scopes = 6 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      values - The referencedEntryScopes to add.
      Returns:
      This builder for chaining.
    • clearReferencedEntryScopes

      public MetadataJob.ImportJobSpec.ImportJobScope.Builder clearReferencedEntryScopes()
       Optional. Defines the scope of entries that can be referenced in the
       entry links.
      
       Currently, projects are supported as valid scopes.
       Format: `projects/{project_number_or_id}`
      
       If the metadata import file attempts to create an entry link
       which references an entry that is not in the scope, the import job will
       skip that entry link.
       
      repeated string referenced_entry_scopes = 6 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • addReferencedEntryScopesBytes

      public MetadataJob.ImportJobSpec.ImportJobScope.Builder addReferencedEntryScopesBytes(com.google.protobuf.ByteString value)
       Optional. Defines the scope of entries that can be referenced in the
       entry links.
      
       Currently, projects are supported as valid scopes.
       Format: `projects/{project_number_or_id}`
      
       If the metadata import file attempts to create an entry link
       which references an entry that is not in the scope, the import job will
       skip that entry link.
       
      repeated string referenced_entry_scopes = 6 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes of the referencedEntryScopes to add.
      Returns:
      This builder for chaining.