Package com.google.cloud.dataplex.v1
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 Summary
Modifier and TypeMethodDescriptionaddAllAspectTypes(Iterable<String> values) Optional.addAllEntryGroups(Iterable<String> values) Required.addAllEntryLinkTypes(Iterable<String> values) Optional.addAllEntryTypes(Iterable<String> values) Required.addAllGlossaries(Iterable<String> values) Optional.addAllReferencedEntryScopes(Iterable<String> values) Optional.addAspectTypes(String value) Optional.addAspectTypesBytes(com.google.protobuf.ByteString value) Optional.addEntryGroups(String value) Required.addEntryGroupsBytes(com.google.protobuf.ByteString value) Required.addEntryLinkTypes(String value) Optional.addEntryLinkTypesBytes(com.google.protobuf.ByteString value) Optional.addEntryTypes(String value) Required.addEntryTypesBytes(com.google.protobuf.ByteString value) Required.addGlossaries(String value) Optional.addGlossariesBytes(com.google.protobuf.ByteString value) Optional.addReferencedEntryScopes(String value) Optional.addReferencedEntryScopesBytes(com.google.protobuf.ByteString value) Optional.build()clear()Optional.Required.Optional.Required.Optional.Optional.getAspectTypes(int index) Optional.com.google.protobuf.ByteStringgetAspectTypesBytes(int index) Optional.intOptional.com.google.protobuf.ProtocolStringListOptional.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetEntryGroups(int index) Required.com.google.protobuf.ByteStringgetEntryGroupsBytes(int index) Required.intRequired.com.google.protobuf.ProtocolStringListRequired.getEntryLinkTypes(int index) Optional.com.google.protobuf.ByteStringgetEntryLinkTypesBytes(int index) Optional.intOptional.com.google.protobuf.ProtocolStringListOptional.getEntryTypes(int index) Required.com.google.protobuf.ByteStringgetEntryTypesBytes(int index) Required.intRequired.com.google.protobuf.ProtocolStringListRequired.getGlossaries(int index) Optional.com.google.protobuf.ByteStringgetGlossariesBytes(int index) Optional.intOptional.com.google.protobuf.ProtocolStringListOptional.getReferencedEntryScopes(int index) Optional.com.google.protobuf.ByteStringgetReferencedEntryScopesBytes(int index) Optional.intOptional.com.google.protobuf.ProtocolStringListOptional.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setAspectTypes(int index, String value) Optional.setEntryGroups(int index, String value) Required.setEntryLinkTypes(int index, String value) Optional.setEntryTypes(int index, String value) Required.setGlossaries(int index, String value) Optional.setReferencedEntryScopes(int index, String value) Optional.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<MetadataJob.ImportJobSpec.ImportJobScope.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<MetadataJob.ImportJobSpec.ImportJobScope.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<MetadataJob.ImportJobSpec.ImportJobScope.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public MetadataJob.ImportJobSpec.ImportJobScope.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<MetadataJob.ImportJobSpec.ImportJobScope.Builder>
-
mergeFrom
public MetadataJob.ImportJobSpec.ImportJobScope.Builder mergeFrom(MetadataJob.ImportJobSpec.ImportJobScope other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.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:
getEntryGroupsListin interfaceMetadataJob.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:
getEntryGroupsCountin interfaceMetadataJob.ImportJobSpec.ImportJobScopeOrBuilder- Returns:
- The count of entryGroups.
-
getEntryGroups
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:
getEntryGroupsin interfaceMetadataJob.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:
getEntryGroupsBytesin interfaceMetadataJob.ImportJobSpec.ImportJobScopeOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the entryGroups at the given index.
-
setEntryGroups
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:
getEntryTypesListin interfaceMetadataJob.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:
getEntryTypesCountin interfaceMetadataJob.ImportJobSpec.ImportJobScopeOrBuilder- Returns:
- The count of entryTypes.
-
getEntryTypes
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:
getEntryTypesin interfaceMetadataJob.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:
getEntryTypesBytesin interfaceMetadataJob.ImportJobSpec.ImportJobScopeOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the entryTypes at the given index.
-
setEntryTypes
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:
getAspectTypesListin interfaceMetadataJob.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:
getAspectTypesCountin interfaceMetadataJob.ImportJobSpec.ImportJobScopeOrBuilder- Returns:
- The count of aspectTypes.
-
getAspectTypes
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:
getAspectTypesin interfaceMetadataJob.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:
getAspectTypesBytesin interfaceMetadataJob.ImportJobSpec.ImportJobScopeOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the aspectTypes at the given index.
-
setAspectTypes
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:
getGlossariesListin interfaceMetadataJob.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:
getGlossariesCountin interfaceMetadataJob.ImportJobSpec.ImportJobScopeOrBuilder- Returns:
- The count of glossaries.
-
getGlossaries
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:
getGlossariesin interfaceMetadataJob.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:
getGlossariesBytesin interfaceMetadataJob.ImportJobSpec.ImportJobScopeOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the glossaries at the given index.
-
setGlossaries
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:
getEntryLinkTypesListin interfaceMetadataJob.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:
getEntryLinkTypesCountin interfaceMetadataJob.ImportJobSpec.ImportJobScopeOrBuilder- Returns:
- The count of entryLinkTypes.
-
getEntryLinkTypes
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:
getEntryLinkTypesin interfaceMetadataJob.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:
getEntryLinkTypesBytesin interfaceMetadataJob.ImportJobSpec.ImportJobScopeOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the entryLinkTypes at the given index.
-
setEntryLinkTypes
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
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:
getReferencedEntryScopesListin interfaceMetadataJob.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:
getReferencedEntryScopesCountin interfaceMetadataJob.ImportJobSpec.ImportJobScopeOrBuilder- Returns:
- The count of referencedEntryScopes.
-
getReferencedEntryScopes
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:
getReferencedEntryScopesin interfaceMetadataJob.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:
getReferencedEntryScopesBytesin interfaceMetadataJob.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
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
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.
-