- 1.52.0 (latest)
- 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.ImportJobSpec.Builder extends GeneratedMessageV3.Builder<MetadataJob.ImportJobSpec.Builder> implements MetadataJob.ImportJobSpecOrBuilder
Job specification for a metadata import job
Protobuf type google.cloud.dataplex.v1.MetadataJob.ImportJobSpec
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > MetadataJob.ImportJobSpec.BuilderImplements
MetadataJob.ImportJobSpecOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public MetadataJob.ImportJobSpec.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
MetadataJob.ImportJobSpec.Builder |
build()
public MetadataJob.ImportJobSpec build()
Returns | |
---|---|
Type | Description |
MetadataJob.ImportJobSpec |
buildPartial()
public MetadataJob.ImportJobSpec buildPartial()
Returns | |
---|---|
Type | Description |
MetadataJob.ImportJobSpec |
clear()
public MetadataJob.ImportJobSpec.Builder clear()
Returns | |
---|---|
Type | Description |
MetadataJob.ImportJobSpec.Builder |
clearAspectSyncMode()
public MetadataJob.ImportJobSpec.Builder clearAspectSyncMode()
Required. The sync mode for aspects.
Only INCREMENTAL
mode is supported for aspects. An aspect is modified
only if the metadata import file includes a reference to the aspect in
the update_mask
field and the aspect_keys
field.
.google.cloud.dataplex.v1.MetadataJob.ImportJobSpec.SyncMode aspect_sync_mode = 4 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
MetadataJob.ImportJobSpec.Builder |
This builder for chaining. |
clearEntrySyncMode()
public MetadataJob.ImportJobSpec.Builder clearEntrySyncMode()
Required. The sync mode for entries.
Only FULL
mode is supported for entries. All entries in the job's scope
are modified. If an entry exists in Dataplex but isn't included in the
metadata import file, the entry is deleted when you run the metadata job.
.google.cloud.dataplex.v1.MetadataJob.ImportJobSpec.SyncMode entry_sync_mode = 3 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
MetadataJob.ImportJobSpec.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public MetadataJob.ImportJobSpec.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
MetadataJob.ImportJobSpec.Builder |
clearLogLevel()
public MetadataJob.ImportJobSpec.Builder clearLogLevel()
Optional. The level of logs to write to Cloud Logging for this job.
Debug-level logs provide highly-detailed information for troubleshooting, but their increased verbosity could incur additional costs that might not be merited for all jobs.
If unspecified, defaults to INFO
.
.google.cloud.dataplex.v1.MetadataJob.ImportJobSpec.LogLevel log_level = 6 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
MetadataJob.ImportJobSpec.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public MetadataJob.ImportJobSpec.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
MetadataJob.ImportJobSpec.Builder |
clearScope()
public MetadataJob.ImportJobSpec.Builder clearScope()
Required. A boundary on the scope of impact that the metadata import job can have.
.google.cloud.dataplex.v1.MetadataJob.ImportJobSpec.ImportJobScope scope = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
MetadataJob.ImportJobSpec.Builder |
clearSourceCreateTime()
public MetadataJob.ImportJobSpec.Builder clearSourceCreateTime()
Optional. The time when the process that created the metadata import files began.
.google.protobuf.Timestamp source_create_time = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
MetadataJob.ImportJobSpec.Builder |
clearSourceStorageUri()
public MetadataJob.ImportJobSpec.Builder clearSourceStorageUri()
Optional. The URI of a Cloud Storage bucket or folder (beginning with
gs://
and ending with /
) that contains the metadata import files for
this job.
A metadata import file defines the values to set for each of the entries and aspects in a metadata job. For more information about how to create a metadata import file and the file requirements, see Metadata import file.
You can provide multiple metadata import files in the same metadata job.
The bucket or folder must contain at least one metadata import file, in
JSON Lines format (either .json
or .jsonl
file extension).
In FULL
entry sync mode, don't save the metadata import file in a
folder named SOURCE_STORAGE_URI/deletions/
.
Caution: If the metadata import file contains no data, all entries and aspects that belong to the job's scope are deleted.
string source_storage_uri = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
MetadataJob.ImportJobSpec.Builder |
This builder for chaining. |
clone()
public MetadataJob.ImportJobSpec.Builder clone()
Returns | |
---|---|
Type | Description |
MetadataJob.ImportJobSpec.Builder |
getAspectSyncMode()
public MetadataJob.ImportJobSpec.SyncMode getAspectSyncMode()
Required. The sync mode for aspects.
Only INCREMENTAL
mode is supported for aspects. An aspect is modified
only if the metadata import file includes a reference to the aspect in
the update_mask
field and the aspect_keys
field.
.google.cloud.dataplex.v1.MetadataJob.ImportJobSpec.SyncMode aspect_sync_mode = 4 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
MetadataJob.ImportJobSpec.SyncMode |
The aspectSyncMode. |
getAspectSyncModeValue()
public int getAspectSyncModeValue()
Required. The sync mode for aspects.
Only INCREMENTAL
mode is supported for aspects. An aspect is modified
only if the metadata import file includes a reference to the aspect in
the update_mask
field and the aspect_keys
field.
.google.cloud.dataplex.v1.MetadataJob.ImportJobSpec.SyncMode aspect_sync_mode = 4 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for aspectSyncMode. |
getDefaultInstanceForType()
public MetadataJob.ImportJobSpec getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
MetadataJob.ImportJobSpec |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getEntrySyncMode()
public MetadataJob.ImportJobSpec.SyncMode getEntrySyncMode()
Required. The sync mode for entries.
Only FULL
mode is supported for entries. All entries in the job's scope
are modified. If an entry exists in Dataplex but isn't included in the
metadata import file, the entry is deleted when you run the metadata job.
.google.cloud.dataplex.v1.MetadataJob.ImportJobSpec.SyncMode entry_sync_mode = 3 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
MetadataJob.ImportJobSpec.SyncMode |
The entrySyncMode. |
getEntrySyncModeValue()
public int getEntrySyncModeValue()
Required. The sync mode for entries.
Only FULL
mode is supported for entries. All entries in the job's scope
are modified. If an entry exists in Dataplex but isn't included in the
metadata import file, the entry is deleted when you run the metadata job.
.google.cloud.dataplex.v1.MetadataJob.ImportJobSpec.SyncMode entry_sync_mode = 3 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for entrySyncMode. |
getLogLevel()
public MetadataJob.ImportJobSpec.LogLevel getLogLevel()
Optional. The level of logs to write to Cloud Logging for this job.
Debug-level logs provide highly-detailed information for troubleshooting, but their increased verbosity could incur additional costs that might not be merited for all jobs.
If unspecified, defaults to INFO
.
.google.cloud.dataplex.v1.MetadataJob.ImportJobSpec.LogLevel log_level = 6 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
MetadataJob.ImportJobSpec.LogLevel |
The logLevel. |
getLogLevelValue()
public int getLogLevelValue()
Optional. The level of logs to write to Cloud Logging for this job.
Debug-level logs provide highly-detailed information for troubleshooting, but their increased verbosity could incur additional costs that might not be merited for all jobs.
If unspecified, defaults to INFO
.
.google.cloud.dataplex.v1.MetadataJob.ImportJobSpec.LogLevel log_level = 6 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for logLevel. |
getScope()
public MetadataJob.ImportJobSpec.ImportJobScope getScope()
Required. A boundary on the scope of impact that the metadata import job can have.
.google.cloud.dataplex.v1.MetadataJob.ImportJobSpec.ImportJobScope scope = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
MetadataJob.ImportJobSpec.ImportJobScope |
The scope. |
getScopeBuilder()
public MetadataJob.ImportJobSpec.ImportJobScope.Builder getScopeBuilder()
Required. A boundary on the scope of impact that the metadata import job can have.
.google.cloud.dataplex.v1.MetadataJob.ImportJobSpec.ImportJobScope scope = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
MetadataJob.ImportJobSpec.ImportJobScope.Builder |
getScopeOrBuilder()
public MetadataJob.ImportJobSpec.ImportJobScopeOrBuilder getScopeOrBuilder()
Required. A boundary on the scope of impact that the metadata import job can have.
.google.cloud.dataplex.v1.MetadataJob.ImportJobSpec.ImportJobScope scope = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
MetadataJob.ImportJobSpec.ImportJobScopeOrBuilder |
getSourceCreateTime()
public Timestamp getSourceCreateTime()
Optional. The time when the process that created the metadata import files began.
.google.protobuf.Timestamp source_create_time = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
Timestamp |
The sourceCreateTime. |
getSourceCreateTimeBuilder()
public Timestamp.Builder getSourceCreateTimeBuilder()
Optional. The time when the process that created the metadata import files began.
.google.protobuf.Timestamp source_create_time = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
Builder |
getSourceCreateTimeOrBuilder()
public TimestampOrBuilder getSourceCreateTimeOrBuilder()
Optional. The time when the process that created the metadata import files began.
.google.protobuf.Timestamp source_create_time = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getSourceStorageUri()
public String getSourceStorageUri()
Optional. The URI of a Cloud Storage bucket or folder (beginning with
gs://
and ending with /
) that contains the metadata import files for
this job.
A metadata import file defines the values to set for each of the entries and aspects in a metadata job. For more information about how to create a metadata import file and the file requirements, see Metadata import file.
You can provide multiple metadata import files in the same metadata job.
The bucket or folder must contain at least one metadata import file, in
JSON Lines format (either .json
or .jsonl
file extension).
In FULL
entry sync mode, don't save the metadata import file in a
folder named SOURCE_STORAGE_URI/deletions/
.
Caution: If the metadata import file contains no data, all entries and aspects that belong to the job's scope are deleted.
string source_storage_uri = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
String |
The sourceStorageUri. |
getSourceStorageUriBytes()
public ByteString getSourceStorageUriBytes()
Optional. The URI of a Cloud Storage bucket or folder (beginning with
gs://
and ending with /
) that contains the metadata import files for
this job.
A metadata import file defines the values to set for each of the entries and aspects in a metadata job. For more information about how to create a metadata import file and the file requirements, see Metadata import file.
You can provide multiple metadata import files in the same metadata job.
The bucket or folder must contain at least one metadata import file, in
JSON Lines format (either .json
or .jsonl
file extension).
In FULL
entry sync mode, don't save the metadata import file in a
folder named SOURCE_STORAGE_URI/deletions/
.
Caution: If the metadata import file contains no data, all entries and aspects that belong to the job's scope are deleted.
string source_storage_uri = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for sourceStorageUri. |
hasScope()
public boolean hasScope()
Required. A boundary on the scope of impact that the metadata import job can have.
.google.cloud.dataplex.v1.MetadataJob.ImportJobSpec.ImportJobScope scope = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
boolean |
Whether the scope field is set. |
hasSourceCreateTime()
public boolean hasSourceCreateTime()
Optional. The time when the process that created the metadata import files began.
.google.protobuf.Timestamp source_create_time = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
boolean |
Whether the sourceCreateTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(MetadataJob.ImportJobSpec other)
public MetadataJob.ImportJobSpec.Builder mergeFrom(MetadataJob.ImportJobSpec other)
Parameter | |
---|---|
Name | Description |
other |
MetadataJob.ImportJobSpec |
Returns | |
---|---|
Type | Description |
MetadataJob.ImportJobSpec.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public MetadataJob.ImportJobSpec.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
MetadataJob.ImportJobSpec.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public MetadataJob.ImportJobSpec.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
MetadataJob.ImportJobSpec.Builder |
mergeScope(MetadataJob.ImportJobSpec.ImportJobScope value)
public MetadataJob.ImportJobSpec.Builder mergeScope(MetadataJob.ImportJobSpec.ImportJobScope value)
Required. A boundary on the scope of impact that the metadata import job can have.
.google.cloud.dataplex.v1.MetadataJob.ImportJobSpec.ImportJobScope scope = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
MetadataJob.ImportJobSpec.ImportJobScope |
Returns | |
---|---|
Type | Description |
MetadataJob.ImportJobSpec.Builder |
mergeSourceCreateTime(Timestamp value)
public MetadataJob.ImportJobSpec.Builder mergeSourceCreateTime(Timestamp value)
Optional. The time when the process that created the metadata import files began.
.google.protobuf.Timestamp source_create_time = 5 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
MetadataJob.ImportJobSpec.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final MetadataJob.ImportJobSpec.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
MetadataJob.ImportJobSpec.Builder |
setAspectSyncMode(MetadataJob.ImportJobSpec.SyncMode value)
public MetadataJob.ImportJobSpec.Builder setAspectSyncMode(MetadataJob.ImportJobSpec.SyncMode value)
Required. The sync mode for aspects.
Only INCREMENTAL
mode is supported for aspects. An aspect is modified
only if the metadata import file includes a reference to the aspect in
the update_mask
field and the aspect_keys
field.
.google.cloud.dataplex.v1.MetadataJob.ImportJobSpec.SyncMode aspect_sync_mode = 4 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
MetadataJob.ImportJobSpec.SyncMode The aspectSyncMode to set. |
Returns | |
---|---|
Type | Description |
MetadataJob.ImportJobSpec.Builder |
This builder for chaining. |
setAspectSyncModeValue(int value)
public MetadataJob.ImportJobSpec.Builder setAspectSyncModeValue(int value)
Required. The sync mode for aspects.
Only INCREMENTAL
mode is supported for aspects. An aspect is modified
only if the metadata import file includes a reference to the aspect in
the update_mask
field and the aspect_keys
field.
.google.cloud.dataplex.v1.MetadataJob.ImportJobSpec.SyncMode aspect_sync_mode = 4 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for aspectSyncMode to set. |
Returns | |
---|---|
Type | Description |
MetadataJob.ImportJobSpec.Builder |
This builder for chaining. |
setEntrySyncMode(MetadataJob.ImportJobSpec.SyncMode value)
public MetadataJob.ImportJobSpec.Builder setEntrySyncMode(MetadataJob.ImportJobSpec.SyncMode value)
Required. The sync mode for entries.
Only FULL
mode is supported for entries. All entries in the job's scope
are modified. If an entry exists in Dataplex but isn't included in the
metadata import file, the entry is deleted when you run the metadata job.
.google.cloud.dataplex.v1.MetadataJob.ImportJobSpec.SyncMode entry_sync_mode = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
MetadataJob.ImportJobSpec.SyncMode The entrySyncMode to set. |
Returns | |
---|---|
Type | Description |
MetadataJob.ImportJobSpec.Builder |
This builder for chaining. |
setEntrySyncModeValue(int value)
public MetadataJob.ImportJobSpec.Builder setEntrySyncModeValue(int value)
Required. The sync mode for entries.
Only FULL
mode is supported for entries. All entries in the job's scope
are modified. If an entry exists in Dataplex but isn't included in the
metadata import file, the entry is deleted when you run the metadata job.
.google.cloud.dataplex.v1.MetadataJob.ImportJobSpec.SyncMode entry_sync_mode = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for entrySyncMode to set. |
Returns | |
---|---|
Type | Description |
MetadataJob.ImportJobSpec.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public MetadataJob.ImportJobSpec.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
MetadataJob.ImportJobSpec.Builder |
setLogLevel(MetadataJob.ImportJobSpec.LogLevel value)
public MetadataJob.ImportJobSpec.Builder setLogLevel(MetadataJob.ImportJobSpec.LogLevel value)
Optional. The level of logs to write to Cloud Logging for this job.
Debug-level logs provide highly-detailed information for troubleshooting, but their increased verbosity could incur additional costs that might not be merited for all jobs.
If unspecified, defaults to INFO
.
.google.cloud.dataplex.v1.MetadataJob.ImportJobSpec.LogLevel log_level = 6 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
MetadataJob.ImportJobSpec.LogLevel The logLevel to set. |
Returns | |
---|---|
Type | Description |
MetadataJob.ImportJobSpec.Builder |
This builder for chaining. |
setLogLevelValue(int value)
public MetadataJob.ImportJobSpec.Builder setLogLevelValue(int value)
Optional. The level of logs to write to Cloud Logging for this job.
Debug-level logs provide highly-detailed information for troubleshooting, but their increased verbosity could incur additional costs that might not be merited for all jobs.
If unspecified, defaults to INFO
.
.google.cloud.dataplex.v1.MetadataJob.ImportJobSpec.LogLevel log_level = 6 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for logLevel to set. |
Returns | |
---|---|
Type | Description |
MetadataJob.ImportJobSpec.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public MetadataJob.ImportJobSpec.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
MetadataJob.ImportJobSpec.Builder |
setScope(MetadataJob.ImportJobSpec.ImportJobScope value)
public MetadataJob.ImportJobSpec.Builder setScope(MetadataJob.ImportJobSpec.ImportJobScope value)
Required. A boundary on the scope of impact that the metadata import job can have.
.google.cloud.dataplex.v1.MetadataJob.ImportJobSpec.ImportJobScope scope = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
MetadataJob.ImportJobSpec.ImportJobScope |
Returns | |
---|---|
Type | Description |
MetadataJob.ImportJobSpec.Builder |
setScope(MetadataJob.ImportJobSpec.ImportJobScope.Builder builderForValue)
public MetadataJob.ImportJobSpec.Builder setScope(MetadataJob.ImportJobSpec.ImportJobScope.Builder builderForValue)
Required. A boundary on the scope of impact that the metadata import job can have.
.google.cloud.dataplex.v1.MetadataJob.ImportJobSpec.ImportJobScope scope = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
builderForValue |
MetadataJob.ImportJobSpec.ImportJobScope.Builder |
Returns | |
---|---|
Type | Description |
MetadataJob.ImportJobSpec.Builder |
setSourceCreateTime(Timestamp value)
public MetadataJob.ImportJobSpec.Builder setSourceCreateTime(Timestamp value)
Optional. The time when the process that created the metadata import files began.
.google.protobuf.Timestamp source_create_time = 5 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
MetadataJob.ImportJobSpec.Builder |
setSourceCreateTime(Timestamp.Builder builderForValue)
public MetadataJob.ImportJobSpec.Builder setSourceCreateTime(Timestamp.Builder builderForValue)
Optional. The time when the process that created the metadata import files began.
.google.protobuf.Timestamp source_create_time = 5 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
MetadataJob.ImportJobSpec.Builder |
setSourceStorageUri(String value)
public MetadataJob.ImportJobSpec.Builder setSourceStorageUri(String value)
Optional. The URI of a Cloud Storage bucket or folder (beginning with
gs://
and ending with /
) that contains the metadata import files for
this job.
A metadata import file defines the values to set for each of the entries and aspects in a metadata job. For more information about how to create a metadata import file and the file requirements, see Metadata import file.
You can provide multiple metadata import files in the same metadata job.
The bucket or folder must contain at least one metadata import file, in
JSON Lines format (either .json
or .jsonl
file extension).
In FULL
entry sync mode, don't save the metadata import file in a
folder named SOURCE_STORAGE_URI/deletions/
.
Caution: If the metadata import file contains no data, all entries and aspects that belong to the job's scope are deleted.
string source_storage_uri = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
String The sourceStorageUri to set. |
Returns | |
---|---|
Type | Description |
MetadataJob.ImportJobSpec.Builder |
This builder for chaining. |
setSourceStorageUriBytes(ByteString value)
public MetadataJob.ImportJobSpec.Builder setSourceStorageUriBytes(ByteString value)
Optional. The URI of a Cloud Storage bucket or folder (beginning with
gs://
and ending with /
) that contains the metadata import files for
this job.
A metadata import file defines the values to set for each of the entries and aspects in a metadata job. For more information about how to create a metadata import file and the file requirements, see Metadata import file.
You can provide multiple metadata import files in the same metadata job.
The bucket or folder must contain at least one metadata import file, in
JSON Lines format (either .json
or .jsonl
file extension).
In FULL
entry sync mode, don't save the metadata import file in a
folder named SOURCE_STORAGE_URI/deletions/
.
Caution: If the metadata import file contains no data, all entries and aspects that belong to the job's scope are deleted.
string source_storage_uri = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for sourceStorageUri to set. |
Returns | |
---|---|
Type | Description |
MetadataJob.ImportJobSpec.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final MetadataJob.ImportJobSpec.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
MetadataJob.ImportJobSpec.Builder |