- 1.62.0 (latest)
- 1.61.0
- 1.60.0
- 1.58.0
- 1.57.0
- 1.56.0
- 1.55.0
- 1.54.0
- 1.53.0
- 1.52.0
- 1.51.0
- 1.50.0
- 1.49.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.37.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.25.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.10.0
- 1.9.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.3.0
- 1.2.0
- 1.1.2
- 1.0.1
- 0.2.2
public static final class MetadataJob.ExportJobSpec.ExportJobScope.Builder extends GeneratedMessageV3.Builder<MetadataJob.ExportJobSpec.ExportJobScope.Builder> implements MetadataJob.ExportJobSpec.ExportJobScopeOrBuilder
The scope of the export job.
Protobuf type google.cloud.dataplex.v1.MetadataJob.ExportJobSpec.ExportJobScope
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > MetadataJob.ExportJobSpec.ExportJobScope.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllAspectTypes(Iterable<String> values)
public MetadataJob.ExportJobSpec.ExportJobScope.Builder addAllAspectTypes(Iterable<String> values)
The aspect types that are in scope for the export job, specified as
relative resource names in the format
projects/{project_id_or_number}/locations/{location}/aspectTypes/{aspect_type_id}
.
Only aspects that belong to the specified aspect types are affected by
the job.
repeated string aspect_types = 5 [(.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
values |
Iterable<String> The aspectTypes to add. |
Returns | |
---|---|
Type | Description |
MetadataJob.ExportJobSpec.ExportJobScope.Builder |
This builder for chaining. |
addAllEntryGroups(Iterable<String> values)
public MetadataJob.ExportJobSpec.ExportJobScope.Builder addAllEntryGroups(Iterable<String> values)
The entry groups whose metadata you want to export, in the format
projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}
.
Only the entries in the specified entry groups are exported.
The entry groups must be in the same location and the same VPC Service Controls perimeter as the job.
If you set the job scope to be a list of entry groups, then set the organization-level export flag to false and don't provide a list of projects.
repeated string entry_groups = 3 [(.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
values |
Iterable<String> The entryGroups to add. |
Returns | |
---|---|
Type | Description |
MetadataJob.ExportJobSpec.ExportJobScope.Builder |
This builder for chaining. |
addAllEntryTypes(Iterable<String> values)
public MetadataJob.ExportJobSpec.ExportJobScope.Builder addAllEntryTypes(Iterable<String> values)
The entry types that are in scope for the export job, specified as
relative resource names in the format
projects/{project_id_or_number}/locations/{location}/entryTypes/{entry_type_id}
.
Only entries that belong to the specified entry types are affected by
the job.
repeated string entry_types = 4 [(.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
values |
Iterable<String> The entryTypes to add. |
Returns | |
---|---|
Type | Description |
MetadataJob.ExportJobSpec.ExportJobScope.Builder |
This builder for chaining. |
addAllProjects(Iterable<String> values)
public MetadataJob.ExportJobSpec.ExportJobScope.Builder addAllProjects(Iterable<String> values)
The projects whose metadata you want to export, in the format
projects/{project_id_or_number}
. Only the entries from
the specified projects are exported.
The projects must be in the same organization and VPC Service Controls perimeter as the job.
If you set the job scope to be a list of projects, then set the organization-level export flag to false and don't provide a list of entry groups.
repeated string projects = 2 [(.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
values |
Iterable<String> The projects to add. |
Returns | |
---|---|
Type | Description |
MetadataJob.ExportJobSpec.ExportJobScope.Builder |
This builder for chaining. |
addAspectTypes(String value)
public MetadataJob.ExportJobSpec.ExportJobScope.Builder addAspectTypes(String value)
The aspect types that are in scope for the export job, specified as
relative resource names in the format
projects/{project_id_or_number}/locations/{location}/aspectTypes/{aspect_type_id}
.
Only aspects that belong to the specified aspect types are affected by
the job.
repeated string aspect_types = 5 [(.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value |
String The aspectTypes to add. |
Returns | |
---|---|
Type | Description |
MetadataJob.ExportJobSpec.ExportJobScope.Builder |
This builder for chaining. |
addAspectTypesBytes(ByteString value)
public MetadataJob.ExportJobSpec.ExportJobScope.Builder addAspectTypesBytes(ByteString value)
The aspect types that are in scope for the export job, specified as
relative resource names in the format
projects/{project_id_or_number}/locations/{location}/aspectTypes/{aspect_type_id}
.
Only aspects that belong to the specified aspect types are affected by
the job.
repeated string aspect_types = 5 [(.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes of the aspectTypes to add. |
Returns | |
---|---|
Type | Description |
MetadataJob.ExportJobSpec.ExportJobScope.Builder |
This builder for chaining. |
addEntryGroups(String value)
public MetadataJob.ExportJobSpec.ExportJobScope.Builder addEntryGroups(String value)
The entry groups whose metadata you want to export, in the format
projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}
.
Only the entries in the specified entry groups are exported.
The entry groups must be in the same location and the same VPC Service Controls perimeter as the job.
If you set the job scope to be a list of entry groups, then set the organization-level export flag to false and don't provide a list of projects.
repeated string entry_groups = 3 [(.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value |
String The entryGroups to add. |
Returns | |
---|---|
Type | Description |
MetadataJob.ExportJobSpec.ExportJobScope.Builder |
This builder for chaining. |
addEntryGroupsBytes(ByteString value)
public MetadataJob.ExportJobSpec.ExportJobScope.Builder addEntryGroupsBytes(ByteString value)
The entry groups whose metadata you want to export, in the format
projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}
.
Only the entries in the specified entry groups are exported.
The entry groups must be in the same location and the same VPC Service Controls perimeter as the job.
If you set the job scope to be a list of entry groups, then set the organization-level export flag to false and don't provide a list of projects.
repeated string entry_groups = 3 [(.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes of the entryGroups to add. |
Returns | |
---|---|
Type | Description |
MetadataJob.ExportJobSpec.ExportJobScope.Builder |
This builder for chaining. |
addEntryTypes(String value)
public MetadataJob.ExportJobSpec.ExportJobScope.Builder addEntryTypes(String value)
The entry types that are in scope for the export job, specified as
relative resource names in the format
projects/{project_id_or_number}/locations/{location}/entryTypes/{entry_type_id}
.
Only entries that belong to the specified entry types are affected by
the job.
repeated string entry_types = 4 [(.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value |
String The entryTypes to add. |
Returns | |
---|---|
Type | Description |
MetadataJob.ExportJobSpec.ExportJobScope.Builder |
This builder for chaining. |
addEntryTypesBytes(ByteString value)
public MetadataJob.ExportJobSpec.ExportJobScope.Builder addEntryTypesBytes(ByteString value)
The entry types that are in scope for the export job, specified as
relative resource names in the format
projects/{project_id_or_number}/locations/{location}/entryTypes/{entry_type_id}
.
Only entries that belong to the specified entry types are affected by
the job.
repeated string entry_types = 4 [(.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes of the entryTypes to add. |
Returns | |
---|---|
Type | Description |
MetadataJob.ExportJobSpec.ExportJobScope.Builder |
This builder for chaining. |
addProjects(String value)
public MetadataJob.ExportJobSpec.ExportJobScope.Builder addProjects(String value)
The projects whose metadata you want to export, in the format
projects/{project_id_or_number}
. Only the entries from
the specified projects are exported.
The projects must be in the same organization and VPC Service Controls perimeter as the job.
If you set the job scope to be a list of projects, then set the organization-level export flag to false and don't provide a list of entry groups.
repeated string projects = 2 [(.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value |
String The projects to add. |
Returns | |
---|---|
Type | Description |
MetadataJob.ExportJobSpec.ExportJobScope.Builder |
This builder for chaining. |
addProjectsBytes(ByteString value)
public MetadataJob.ExportJobSpec.ExportJobScope.Builder addProjectsBytes(ByteString value)
The projects whose metadata you want to export, in the format
projects/{project_id_or_number}
. Only the entries from
the specified projects are exported.
The projects must be in the same organization and VPC Service Controls perimeter as the job.
If you set the job scope to be a list of projects, then set the organization-level export flag to false and don't provide a list of entry groups.
repeated string projects = 2 [(.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes of the projects to add. |
Returns | |
---|---|
Type | Description |
MetadataJob.ExportJobSpec.ExportJobScope.Builder |
This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public MetadataJob.ExportJobSpec.ExportJobScope.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
MetadataJob.ExportJobSpec.ExportJobScope.Builder |
build()
public MetadataJob.ExportJobSpec.ExportJobScope build()
Returns | |
---|---|
Type | Description |
MetadataJob.ExportJobSpec.ExportJobScope |
buildPartial()
public MetadataJob.ExportJobSpec.ExportJobScope buildPartial()
Returns | |
---|---|
Type | Description |
MetadataJob.ExportJobSpec.ExportJobScope |
clear()
public MetadataJob.ExportJobSpec.ExportJobScope.Builder clear()
Returns | |
---|---|
Type | Description |
MetadataJob.ExportJobSpec.ExportJobScope.Builder |
clearAspectTypes()
public MetadataJob.ExportJobSpec.ExportJobScope.Builder clearAspectTypes()
The aspect types that are in scope for the export job, specified as
relative resource names in the format
projects/{project_id_or_number}/locations/{location}/aspectTypes/{aspect_type_id}
.
Only aspects that belong to the specified aspect types are affected by
the job.
repeated string aspect_types = 5 [(.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
MetadataJob.ExportJobSpec.ExportJobScope.Builder |
This builder for chaining. |
clearEntryGroups()
public MetadataJob.ExportJobSpec.ExportJobScope.Builder clearEntryGroups()
The entry groups whose metadata you want to export, in the format
projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}
.
Only the entries in the specified entry groups are exported.
The entry groups must be in the same location and the same VPC Service Controls perimeter as the job.
If you set the job scope to be a list of entry groups, then set the organization-level export flag to false and don't provide a list of projects.
repeated string entry_groups = 3 [(.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
MetadataJob.ExportJobSpec.ExportJobScope.Builder |
This builder for chaining. |
clearEntryTypes()
public MetadataJob.ExportJobSpec.ExportJobScope.Builder clearEntryTypes()
The entry types that are in scope for the export job, specified as
relative resource names in the format
projects/{project_id_or_number}/locations/{location}/entryTypes/{entry_type_id}
.
Only entries that belong to the specified entry types are affected by
the job.
repeated string entry_types = 4 [(.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
MetadataJob.ExportJobSpec.ExportJobScope.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public MetadataJob.ExportJobSpec.ExportJobScope.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
MetadataJob.ExportJobSpec.ExportJobScope.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public MetadataJob.ExportJobSpec.ExportJobScope.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
MetadataJob.ExportJobSpec.ExportJobScope.Builder |
clearOrganizationLevel()
public MetadataJob.ExportJobSpec.ExportJobScope.Builder clearOrganizationLevel()
Whether the metadata export job is an organization-level export job.
- If
true
, the job exports the entries from the same organization and VPC Service Controls perimeter as the job. The project that the job belongs to determines the VPC Service Controls perimeter. If you set the job scope to be at the organization level, then don't provide a list of projects or entry groups. If
false
, you must specify a list of projects or a list of entry groups whose entries you want to export.The default is
false
.
bool organization_level = 1;
Returns | |
---|---|
Type | Description |
MetadataJob.ExportJobSpec.ExportJobScope.Builder |
This builder for chaining. |
clearProjects()
public MetadataJob.ExportJobSpec.ExportJobScope.Builder clearProjects()
The projects whose metadata you want to export, in the format
projects/{project_id_or_number}
. Only the entries from
the specified projects are exported.
The projects must be in the same organization and VPC Service Controls perimeter as the job.
If you set the job scope to be a list of projects, then set the organization-level export flag to false and don't provide a list of entry groups.
repeated string projects = 2 [(.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
MetadataJob.ExportJobSpec.ExportJobScope.Builder |
This builder for chaining. |
clone()
public MetadataJob.ExportJobSpec.ExportJobScope.Builder clone()
Returns | |
---|---|
Type | Description |
MetadataJob.ExportJobSpec.ExportJobScope.Builder |
getAspectTypes(int index)
public String getAspectTypes(int index)
The aspect types that are in scope for the export job, specified as
relative resource names in the format
projects/{project_id_or_number}/locations/{location}/aspectTypes/{aspect_type_id}
.
Only aspects that belong to the specified aspect types are affected by
the job.
repeated string aspect_types = 5 [(.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
index |
int The index of the element to return. |
Returns | |
---|---|
Type | Description |
String |
The aspectTypes at the given index. |
getAspectTypesBytes(int index)
public ByteString getAspectTypesBytes(int index)
The aspect types that are in scope for the export job, specified as
relative resource names in the format
projects/{project_id_or_number}/locations/{location}/aspectTypes/{aspect_type_id}
.
Only aspects that belong to the specified aspect types are affected by
the job.
repeated string aspect_types = 5 [(.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
index |
int The index of the value to return. |
Returns | |
---|---|
Type | Description |
ByteString |
The bytes of the aspectTypes at the given index. |
getAspectTypesCount()
public int getAspectTypesCount()
The aspect types that are in scope for the export job, specified as
relative resource names in the format
projects/{project_id_or_number}/locations/{location}/aspectTypes/{aspect_type_id}
.
Only aspects that belong to the specified aspect types are affected by
the job.
repeated string aspect_types = 5 [(.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
int |
The count of aspectTypes. |
getAspectTypesList()
public ProtocolStringList getAspectTypesList()
The aspect types that are in scope for the export job, specified as
relative resource names in the format
projects/{project_id_or_number}/locations/{location}/aspectTypes/{aspect_type_id}
.
Only aspects that belong to the specified aspect types are affected by
the job.
repeated string aspect_types = 5 [(.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
ProtocolStringList |
A list containing the aspectTypes. |
getDefaultInstanceForType()
public MetadataJob.ExportJobSpec.ExportJobScope getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
MetadataJob.ExportJobSpec.ExportJobScope |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getEntryGroups(int index)
public String getEntryGroups(int index)
The entry groups whose metadata you want to export, in the format
projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}
.
Only the entries in the specified entry groups are exported.
The entry groups must be in the same location and the same VPC Service Controls perimeter as the job.
If you set the job scope to be a list of entry groups, then set the organization-level export flag to false and don't provide a list of projects.
repeated string entry_groups = 3 [(.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
index |
int The index of the element to return. |
Returns | |
---|---|
Type | Description |
String |
The entryGroups at the given index. |
getEntryGroupsBytes(int index)
public ByteString getEntryGroupsBytes(int index)
The entry groups whose metadata you want to export, in the format
projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}
.
Only the entries in the specified entry groups are exported.
The entry groups must be in the same location and the same VPC Service Controls perimeter as the job.
If you set the job scope to be a list of entry groups, then set the organization-level export flag to false and don't provide a list of projects.
repeated string entry_groups = 3 [(.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
index |
int The index of the value to return. |
Returns | |
---|---|
Type | Description |
ByteString |
The bytes of the entryGroups at the given index. |
getEntryGroupsCount()
public int getEntryGroupsCount()
The entry groups whose metadata you want to export, in the format
projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}
.
Only the entries in the specified entry groups are exported.
The entry groups must be in the same location and the same VPC Service Controls perimeter as the job.
If you set the job scope to be a list of entry groups, then set the organization-level export flag to false and don't provide a list of projects.
repeated string entry_groups = 3 [(.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
int |
The count of entryGroups. |
getEntryGroupsList()
public ProtocolStringList getEntryGroupsList()
The entry groups whose metadata you want to export, in the format
projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}
.
Only the entries in the specified entry groups are exported.
The entry groups must be in the same location and the same VPC Service Controls perimeter as the job.
If you set the job scope to be a list of entry groups, then set the organization-level export flag to false and don't provide a list of projects.
repeated string entry_groups = 3 [(.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
ProtocolStringList |
A list containing the entryGroups. |
getEntryTypes(int index)
public String getEntryTypes(int index)
The entry types that are in scope for the export job, specified as
relative resource names in the format
projects/{project_id_or_number}/locations/{location}/entryTypes/{entry_type_id}
.
Only entries that belong to the specified entry types are affected by
the job.
repeated string entry_types = 4 [(.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
index |
int The index of the element to return. |
Returns | |
---|---|
Type | Description |
String |
The entryTypes at the given index. |
getEntryTypesBytes(int index)
public ByteString getEntryTypesBytes(int index)
The entry types that are in scope for the export job, specified as
relative resource names in the format
projects/{project_id_or_number}/locations/{location}/entryTypes/{entry_type_id}
.
Only entries that belong to the specified entry types are affected by
the job.
repeated string entry_types = 4 [(.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
index |
int The index of the value to return. |
Returns | |
---|---|
Type | Description |
ByteString |
The bytes of the entryTypes at the given index. |
getEntryTypesCount()
public int getEntryTypesCount()
The entry types that are in scope for the export job, specified as
relative resource names in the format
projects/{project_id_or_number}/locations/{location}/entryTypes/{entry_type_id}
.
Only entries that belong to the specified entry types are affected by
the job.
repeated string entry_types = 4 [(.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
int |
The count of entryTypes. |
getEntryTypesList()
public ProtocolStringList getEntryTypesList()
The entry types that are in scope for the export job, specified as
relative resource names in the format
projects/{project_id_or_number}/locations/{location}/entryTypes/{entry_type_id}
.
Only entries that belong to the specified entry types are affected by
the job.
repeated string entry_types = 4 [(.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
ProtocolStringList |
A list containing the entryTypes. |
getOrganizationLevel()
public boolean getOrganizationLevel()
Whether the metadata export job is an organization-level export job.
- If
true
, the job exports the entries from the same organization and VPC Service Controls perimeter as the job. The project that the job belongs to determines the VPC Service Controls perimeter. If you set the job scope to be at the organization level, then don't provide a list of projects or entry groups. If
false
, you must specify a list of projects or a list of entry groups whose entries you want to export.The default is
false
.
bool organization_level = 1;
Returns | |
---|---|
Type | Description |
boolean |
The organizationLevel. |
getProjects(int index)
public String getProjects(int index)
The projects whose metadata you want to export, in the format
projects/{project_id_or_number}
. Only the entries from
the specified projects are exported.
The projects must be in the same organization and VPC Service Controls perimeter as the job.
If you set the job scope to be a list of projects, then set the organization-level export flag to false and don't provide a list of entry groups.
repeated string projects = 2 [(.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
index |
int The index of the element to return. |
Returns | |
---|---|
Type | Description |
String |
The projects at the given index. |
getProjectsBytes(int index)
public ByteString getProjectsBytes(int index)
The projects whose metadata you want to export, in the format
projects/{project_id_or_number}
. Only the entries from
the specified projects are exported.
The projects must be in the same organization and VPC Service Controls perimeter as the job.
If you set the job scope to be a list of projects, then set the organization-level export flag to false and don't provide a list of entry groups.
repeated string projects = 2 [(.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
index |
int The index of the value to return. |
Returns | |
---|---|
Type | Description |
ByteString |
The bytes of the projects at the given index. |
getProjectsCount()
public int getProjectsCount()
The projects whose metadata you want to export, in the format
projects/{project_id_or_number}
. Only the entries from
the specified projects are exported.
The projects must be in the same organization and VPC Service Controls perimeter as the job.
If you set the job scope to be a list of projects, then set the organization-level export flag to false and don't provide a list of entry groups.
repeated string projects = 2 [(.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
int |
The count of projects. |
getProjectsList()
public ProtocolStringList getProjectsList()
The projects whose metadata you want to export, in the format
projects/{project_id_or_number}
. Only the entries from
the specified projects are exported.
The projects must be in the same organization and VPC Service Controls perimeter as the job.
If you set the job scope to be a list of projects, then set the organization-level export flag to false and don't provide a list of entry groups.
repeated string projects = 2 [(.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
ProtocolStringList |
A list containing the projects. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(MetadataJob.ExportJobSpec.ExportJobScope other)
public MetadataJob.ExportJobSpec.ExportJobScope.Builder mergeFrom(MetadataJob.ExportJobSpec.ExportJobScope other)
Parameter | |
---|---|
Name | Description |
other |
MetadataJob.ExportJobSpec.ExportJobScope |
Returns | |
---|---|
Type | Description |
MetadataJob.ExportJobSpec.ExportJobScope.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public MetadataJob.ExportJobSpec.ExportJobScope.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
MetadataJob.ExportJobSpec.ExportJobScope.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public MetadataJob.ExportJobSpec.ExportJobScope.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
MetadataJob.ExportJobSpec.ExportJobScope.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final MetadataJob.ExportJobSpec.ExportJobScope.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
MetadataJob.ExportJobSpec.ExportJobScope.Builder |
setAspectTypes(int index, String value)
public MetadataJob.ExportJobSpec.ExportJobScope.Builder setAspectTypes(int index, String value)
The aspect types that are in scope for the export job, specified as
relative resource names in the format
projects/{project_id_or_number}/locations/{location}/aspectTypes/{aspect_type_id}
.
Only aspects that belong to the specified aspect types are affected by
the job.
repeated string aspect_types = 5 [(.google.api.resource_reference) = { ... }
Parameters | |
---|---|
Name | Description |
index |
int The index to set the value at. |
value |
String The aspectTypes to set. |
Returns | |
---|---|
Type | Description |
MetadataJob.ExportJobSpec.ExportJobScope.Builder |
This builder for chaining. |
setEntryGroups(int index, String value)
public MetadataJob.ExportJobSpec.ExportJobScope.Builder setEntryGroups(int index, String value)
The entry groups whose metadata you want to export, in the format
projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}
.
Only the entries in the specified entry groups are exported.
The entry groups must be in the same location and the same VPC Service Controls perimeter as the job.
If you set the job scope to be a list of entry groups, then set the organization-level export flag to false and don't provide a list of projects.
repeated string entry_groups = 3 [(.google.api.resource_reference) = { ... }
Parameters | |
---|---|
Name | Description |
index |
int The index to set the value at. |
value |
String The entryGroups to set. |
Returns | |
---|---|
Type | Description |
MetadataJob.ExportJobSpec.ExportJobScope.Builder |
This builder for chaining. |
setEntryTypes(int index, String value)
public MetadataJob.ExportJobSpec.ExportJobScope.Builder setEntryTypes(int index, String value)
The entry types that are in scope for the export job, specified as
relative resource names in the format
projects/{project_id_or_number}/locations/{location}/entryTypes/{entry_type_id}
.
Only entries that belong to the specified entry types are affected by
the job.
repeated string entry_types = 4 [(.google.api.resource_reference) = { ... }
Parameters | |
---|---|
Name | Description |
index |
int The index to set the value at. |
value |
String The entryTypes to set. |
Returns | |
---|---|
Type | Description |
MetadataJob.ExportJobSpec.ExportJobScope.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public MetadataJob.ExportJobSpec.ExportJobScope.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
MetadataJob.ExportJobSpec.ExportJobScope.Builder |
setOrganizationLevel(boolean value)
public MetadataJob.ExportJobSpec.ExportJobScope.Builder setOrganizationLevel(boolean value)
Whether the metadata export job is an organization-level export job.
- If
true
, the job exports the entries from the same organization and VPC Service Controls perimeter as the job. The project that the job belongs to determines the VPC Service Controls perimeter. If you set the job scope to be at the organization level, then don't provide a list of projects or entry groups. If
false
, you must specify a list of projects or a list of entry groups whose entries you want to export.The default is
false
.
bool organization_level = 1;
Parameter | |
---|---|
Name | Description |
value |
boolean The organizationLevel to set. |
Returns | |
---|---|
Type | Description |
MetadataJob.ExportJobSpec.ExportJobScope.Builder |
This builder for chaining. |
setProjects(int index, String value)
public MetadataJob.ExportJobSpec.ExportJobScope.Builder setProjects(int index, String value)
The projects whose metadata you want to export, in the format
projects/{project_id_or_number}
. Only the entries from
the specified projects are exported.
The projects must be in the same organization and VPC Service Controls perimeter as the job.
If you set the job scope to be a list of projects, then set the organization-level export flag to false and don't provide a list of entry groups.
repeated string projects = 2 [(.google.api.resource_reference) = { ... }
Parameters | |
---|---|
Name | Description |
index |
int The index to set the value at. |
value |
String The projects to set. |
Returns | |
---|---|
Type | Description |
MetadataJob.ExportJobSpec.ExportJobScope.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public MetadataJob.ExportJobSpec.ExportJobScope.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
MetadataJob.ExportJobSpec.ExportJobScope.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final MetadataJob.ExportJobSpec.ExportJobScope.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
MetadataJob.ExportJobSpec.ExportJobScope.Builder |