- 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
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. Optional. If specified, only aspects of the specified types will be affected by the job. Must follow the format: "projects/<project_id_or_number>/locations/<location>/aspectTypes/<aspect_type_id>"
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 that are in scope for the export job. Optional. If specified, only entries in the specified entry groups will be exported by the job. Must be in the VPC-SC perimeter of the job. The location of the entry groups must be the same as the job. Either projects or entry_groups can be specified when organization_level_export is set to false. Must follow the format: "projects/<project_id_or_number>/locations/<location>/entryGroups/<entry_group_id>"
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)
If specified, only entries of the specified types will be affected by the job. Must follow the format: "projects/<project_id_or_number>/locations/<location>/entryTypes/<entry_type_id>"
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 that are in the scope of the export job. Can either be project numbers or project IDs. If specified, only the entries from the specified projects will be exported. The projects must be in the same organization and in the VPC-SC perimeter. Either projects or entry_groups can be specified when organization_level_export is set to false. Must follow the format: "projects/<project_id_or_number>"
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. Optional. If specified, only aspects of the specified types will be affected by the job. Must follow the format: "projects/<project_id_or_number>/locations/<location>/aspectTypes/<aspect_type_id>"
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. Optional. If specified, only aspects of the specified types will be affected by the job. Must follow the format: "projects/<project_id_or_number>/locations/<location>/aspectTypes/<aspect_type_id>"
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 that are in scope for the export job. Optional. If specified, only entries in the specified entry groups will be exported by the job. Must be in the VPC-SC perimeter of the job. The location of the entry groups must be the same as the job. Either projects or entry_groups can be specified when organization_level_export is set to false. Must follow the format: "projects/<project_id_or_number>/locations/<location>/entryGroups/<entry_group_id>"
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 that are in scope for the export job. Optional. If specified, only entries in the specified entry groups will be exported by the job. Must be in the VPC-SC perimeter of the job. The location of the entry groups must be the same as the job. Either projects or entry_groups can be specified when organization_level_export is set to false. Must follow the format: "projects/<project_id_or_number>/locations/<location>/entryGroups/<entry_group_id>"
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)
If specified, only entries of the specified types will be affected by the job. Must follow the format: "projects/<project_id_or_number>/locations/<location>/entryTypes/<entry_type_id>"
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)
If specified, only entries of the specified types will be affected by the job. Must follow the format: "projects/<project_id_or_number>/locations/<location>/entryTypes/<entry_type_id>"
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 that are in the scope of the export job. Can either be project numbers or project IDs. If specified, only the entries from the specified projects will be exported. The projects must be in the same organization and in the VPC-SC perimeter. Either projects or entry_groups can be specified when organization_level_export is set to false. Must follow the format: "projects/<project_id_or_number>"
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 that are in the scope of the export job. Can either be project numbers or project IDs. If specified, only the entries from the specified projects will be exported. The projects must be in the same organization and in the VPC-SC perimeter. Either projects or entry_groups can be specified when organization_level_export is set to false. Must follow the format: "projects/<project_id_or_number>"
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. Optional. If specified, only aspects of the specified types will be affected by the job. Must follow the format: "projects/<project_id_or_number>/locations/<location>/aspectTypes/<aspect_type_id>"
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 that are in scope for the export job. Optional. If specified, only entries in the specified entry groups will be exported by the job. Must be in the VPC-SC perimeter of the job. The location of the entry groups must be the same as the job. Either projects or entry_groups can be specified when organization_level_export is set to false. Must follow the format: "projects/<project_id_or_number>/locations/<location>/entryGroups/<entry_group_id>"
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()
If specified, only entries of the specified types will be affected by the job. Must follow the format: "projects/<project_id_or_number>/locations/<location>/entryTypes/<entry_type_id>"
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()
Indicating if it is an organization level export job.
- When set to true, exports all entries from entry groups and projects sharing the same organization id of the Metadata Job. Only projects and entry groups in the VPC-SC perimeter will be exported. The projects and entry groups are ignored.
- When set to false, one of the projects or entry groups must be specified.
- Default to 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 that are in the scope of the export job. Can either be project numbers or project IDs. If specified, only the entries from the specified projects will be exported. The projects must be in the same organization and in the VPC-SC perimeter. Either projects or entry_groups can be specified when organization_level_export is set to false. Must follow the format: "projects/<project_id_or_number>"
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. Optional. If specified, only aspects of the specified types will be affected by the job. Must follow the format: "projects/<project_id_or_number>/locations/<location>/aspectTypes/<aspect_type_id>"
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. Optional. If specified, only aspects of the specified types will be affected by the job. Must follow the format: "projects/<project_id_or_number>/locations/<location>/aspectTypes/<aspect_type_id>"
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. Optional. If specified, only aspects of the specified types will be affected by the job. Must follow the format: "projects/<project_id_or_number>/locations/<location>/aspectTypes/<aspect_type_id>"
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. Optional. If specified, only aspects of the specified types will be affected by the job. Must follow the format: "projects/<project_id_or_number>/locations/<location>/aspectTypes/<aspect_type_id>"
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 that are in scope for the export job. Optional. If specified, only entries in the specified entry groups will be exported by the job. Must be in the VPC-SC perimeter of the job. The location of the entry groups must be the same as the job. Either projects or entry_groups can be specified when organization_level_export is set to false. Must follow the format: "projects/<project_id_or_number>/locations/<location>/entryGroups/<entry_group_id>"
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 that are in scope for the export job. Optional. If specified, only entries in the specified entry groups will be exported by the job. Must be in the VPC-SC perimeter of the job. The location of the entry groups must be the same as the job. Either projects or entry_groups can be specified when organization_level_export is set to false. Must follow the format: "projects/<project_id_or_number>/locations/<location>/entryGroups/<entry_group_id>"
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 that are in scope for the export job. Optional. If specified, only entries in the specified entry groups will be exported by the job. Must be in the VPC-SC perimeter of the job. The location of the entry groups must be the same as the job. Either projects or entry_groups can be specified when organization_level_export is set to false. Must follow the format: "projects/<project_id_or_number>/locations/<location>/entryGroups/<entry_group_id>"
repeated string entry_groups = 3 [(.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
int |
The count of entryGroups. |
getEntryGroupsList()
public ProtocolStringList getEntryGroupsList()
The entry groups that are in scope for the export job. Optional. If specified, only entries in the specified entry groups will be exported by the job. Must be in the VPC-SC perimeter of the job. The location of the entry groups must be the same as the job. Either projects or entry_groups can be specified when organization_level_export is set to false. Must follow the format: "projects/<project_id_or_number>/locations/<location>/entryGroups/<entry_group_id>"
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)
If specified, only entries of the specified types will be affected by the job. Must follow the format: "projects/<project_id_or_number>/locations/<location>/entryTypes/<entry_type_id>"
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)
If specified, only entries of the specified types will be affected by the job. Must follow the format: "projects/<project_id_or_number>/locations/<location>/entryTypes/<entry_type_id>"
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()
If specified, only entries of the specified types will be affected by the job. Must follow the format: "projects/<project_id_or_number>/locations/<location>/entryTypes/<entry_type_id>"
repeated string entry_types = 4 [(.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
int |
The count of entryTypes. |
getEntryTypesList()
public ProtocolStringList getEntryTypesList()
If specified, only entries of the specified types will be affected by the job. Must follow the format: "projects/<project_id_or_number>/locations/<location>/entryTypes/<entry_type_id>"
repeated string entry_types = 4 [(.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
ProtocolStringList |
A list containing the entryTypes. |
getOrganizationLevel()
public boolean getOrganizationLevel()
Indicating if it is an organization level export job.
- When set to true, exports all entries from entry groups and projects sharing the same organization id of the Metadata Job. Only projects and entry groups in the VPC-SC perimeter will be exported. The projects and entry groups are ignored.
- When set to false, one of the projects or entry groups must be specified.
- Default to false.
bool organization_level = 1;
Returns | |
---|---|
Type | Description |
boolean |
The organizationLevel. |
getProjects(int index)
public String getProjects(int index)
The projects that are in the scope of the export job. Can either be project numbers or project IDs. If specified, only the entries from the specified projects will be exported. The projects must be in the same organization and in the VPC-SC perimeter. Either projects or entry_groups can be specified when organization_level_export is set to false. Must follow the format: "projects/<project_id_or_number>"
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 that are in the scope of the export job. Can either be project numbers or project IDs. If specified, only the entries from the specified projects will be exported. The projects must be in the same organization and in the VPC-SC perimeter. Either projects or entry_groups can be specified when organization_level_export is set to false. Must follow the format: "projects/<project_id_or_number>"
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 that are in the scope of the export job. Can either be project numbers or project IDs. If specified, only the entries from the specified projects will be exported. The projects must be in the same organization and in the VPC-SC perimeter. Either projects or entry_groups can be specified when organization_level_export is set to false. Must follow the format: "projects/<project_id_or_number>"
repeated string projects = 2 [(.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
int |
The count of projects. |
getProjectsList()
public ProtocolStringList getProjectsList()
The projects that are in the scope of the export job. Can either be project numbers or project IDs. If specified, only the entries from the specified projects will be exported. The projects must be in the same organization and in the VPC-SC perimeter. Either projects or entry_groups can be specified when organization_level_export is set to false. Must follow the format: "projects/<project_id_or_number>"
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. Optional. If specified, only aspects of the specified types will be affected by the job. Must follow the format: "projects/<project_id_or_number>/locations/<location>/aspectTypes/<aspect_type_id>"
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 that are in scope for the export job. Optional. If specified, only entries in the specified entry groups will be exported by the job. Must be in the VPC-SC perimeter of the job. The location of the entry groups must be the same as the job. Either projects or entry_groups can be specified when organization_level_export is set to false. Must follow the format: "projects/<project_id_or_number>/locations/<location>/entryGroups/<entry_group_id>"
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)
If specified, only entries of the specified types will be affected by the job. Must follow the format: "projects/<project_id_or_number>/locations/<location>/entryTypes/<entry_type_id>"
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)
Indicating if it is an organization level export job.
- When set to true, exports all entries from entry groups and projects sharing the same organization id of the Metadata Job. Only projects and entry groups in the VPC-SC perimeter will be exported. The projects and entry groups are ignored.
- When set to false, one of the projects or entry groups must be specified.
- Default to 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 that are in the scope of the export job. Can either be project numbers or project IDs. If specified, only the entries from the specified projects will be exported. The projects must be in the same organization and in the VPC-SC perimeter. Either projects or entry_groups can be specified when organization_level_export is set to false. Must follow the format: "projects/<project_id_or_number>"
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 |