Class MetadataJob.ExportJobSpec.Builder (1.60.0)

public static final class MetadataJob.ExportJobSpec.Builder extends GeneratedMessageV3.Builder<MetadataJob.ExportJobSpec.Builder> implements MetadataJob.ExportJobSpecOrBuilder

Export job specification.

Protobuf type google.cloud.dataplex.v1.MetadataJob.ExportJobSpec

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public MetadataJob.ExportJobSpec.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
MetadataJob.ExportJobSpec.Builder
Overrides

build()

public MetadataJob.ExportJobSpec build()
Returns
Type Description
MetadataJob.ExportJobSpec

buildPartial()

public MetadataJob.ExportJobSpec buildPartial()
Returns
Type Description
MetadataJob.ExportJobSpec

clear()

public MetadataJob.ExportJobSpec.Builder clear()
Returns
Type Description
MetadataJob.ExportJobSpec.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public MetadataJob.ExportJobSpec.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
MetadataJob.ExportJobSpec.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public MetadataJob.ExportJobSpec.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
MetadataJob.ExportJobSpec.Builder
Overrides

clearOutputPath()

public MetadataJob.ExportJobSpec.Builder clearOutputPath()

Required. The root path of the exported metadata. Must be in the format: "gs://<bucket_id>" Or specify a customized prefix after the bucket: "gs://<bucket_id>/<folder1>/<folder2>/.../". The length limit of the customized prefix is 128 characters. The bucket must be in the same VPC-SC perimeter with the job.

string output_path = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
MetadataJob.ExportJobSpec.Builder

This builder for chaining.

clearScope()

public MetadataJob.ExportJobSpec.Builder clearScope()

Required. Selects the entries to be exported by this job.

.google.cloud.dataplex.v1.MetadataJob.ExportJobSpec.ExportJobScope scope = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
MetadataJob.ExportJobSpec.Builder

clone()

public MetadataJob.ExportJobSpec.Builder clone()
Returns
Type Description
MetadataJob.ExportJobSpec.Builder
Overrides

getDefaultInstanceForType()

public MetadataJob.ExportJobSpec getDefaultInstanceForType()
Returns
Type Description
MetadataJob.ExportJobSpec

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getOutputPath()

public String getOutputPath()

Required. The root path of the exported metadata. Must be in the format: "gs://<bucket_id>" Or specify a customized prefix after the bucket: "gs://<bucket_id>/<folder1>/<folder2>/.../". The length limit of the customized prefix is 128 characters. The bucket must be in the same VPC-SC perimeter with the job.

string output_path = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The outputPath.

getOutputPathBytes()

public ByteString getOutputPathBytes()

Required. The root path of the exported metadata. Must be in the format: "gs://<bucket_id>" Or specify a customized prefix after the bucket: "gs://<bucket_id>/<folder1>/<folder2>/.../". The length limit of the customized prefix is 128 characters. The bucket must be in the same VPC-SC perimeter with the job.

string output_path = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for outputPath.

getScope()

public MetadataJob.ExportJobSpec.ExportJobScope getScope()

Required. Selects the entries to be exported by this job.

.google.cloud.dataplex.v1.MetadataJob.ExportJobSpec.ExportJobScope scope = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
MetadataJob.ExportJobSpec.ExportJobScope

The scope.

getScopeBuilder()

public MetadataJob.ExportJobSpec.ExportJobScope.Builder getScopeBuilder()

Required. Selects the entries to be exported by this job.

.google.cloud.dataplex.v1.MetadataJob.ExportJobSpec.ExportJobScope scope = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
MetadataJob.ExportJobSpec.ExportJobScope.Builder

getScopeOrBuilder()

public MetadataJob.ExportJobSpec.ExportJobScopeOrBuilder getScopeOrBuilder()

Required. Selects the entries to be exported by this job.

.google.cloud.dataplex.v1.MetadataJob.ExportJobSpec.ExportJobScope scope = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
MetadataJob.ExportJobSpec.ExportJobScopeOrBuilder

hasScope()

public boolean hasScope()

Required. Selects the entries to be exported by this job.

.google.cloud.dataplex.v1.MetadataJob.ExportJobSpec.ExportJobScope scope = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the scope field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(MetadataJob.ExportJobSpec other)

public MetadataJob.ExportJobSpec.Builder mergeFrom(MetadataJob.ExportJobSpec other)
Parameter
Name Description
other MetadataJob.ExportJobSpec
Returns
Type Description
MetadataJob.ExportJobSpec.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public MetadataJob.ExportJobSpec.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MetadataJob.ExportJobSpec.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public MetadataJob.ExportJobSpec.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
MetadataJob.ExportJobSpec.Builder
Overrides

mergeScope(MetadataJob.ExportJobSpec.ExportJobScope value)

public MetadataJob.ExportJobSpec.Builder mergeScope(MetadataJob.ExportJobSpec.ExportJobScope value)

Required. Selects the entries to be exported by this job.

.google.cloud.dataplex.v1.MetadataJob.ExportJobSpec.ExportJobScope scope = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value MetadataJob.ExportJobSpec.ExportJobScope
Returns
Type Description
MetadataJob.ExportJobSpec.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final MetadataJob.ExportJobSpec.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
MetadataJob.ExportJobSpec.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public MetadataJob.ExportJobSpec.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
MetadataJob.ExportJobSpec.Builder
Overrides

setOutputPath(String value)

public MetadataJob.ExportJobSpec.Builder setOutputPath(String value)

Required. The root path of the exported metadata. Must be in the format: "gs://<bucket_id>" Or specify a customized prefix after the bucket: "gs://<bucket_id>/<folder1>/<folder2>/.../". The length limit of the customized prefix is 128 characters. The bucket must be in the same VPC-SC perimeter with the job.

string output_path = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The outputPath to set.

Returns
Type Description
MetadataJob.ExportJobSpec.Builder

This builder for chaining.

setOutputPathBytes(ByteString value)

public MetadataJob.ExportJobSpec.Builder setOutputPathBytes(ByteString value)

Required. The root path of the exported metadata. Must be in the format: "gs://<bucket_id>" Or specify a customized prefix after the bucket: "gs://<bucket_id>/<folder1>/<folder2>/.../". The length limit of the customized prefix is 128 characters. The bucket must be in the same VPC-SC perimeter with the job.

string output_path = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for outputPath to set.

Returns
Type Description
MetadataJob.ExportJobSpec.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public MetadataJob.ExportJobSpec.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
MetadataJob.ExportJobSpec.Builder
Overrides

setScope(MetadataJob.ExportJobSpec.ExportJobScope value)

public MetadataJob.ExportJobSpec.Builder setScope(MetadataJob.ExportJobSpec.ExportJobScope value)

Required. Selects the entries to be exported by this job.

.google.cloud.dataplex.v1.MetadataJob.ExportJobSpec.ExportJobScope scope = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value MetadataJob.ExportJobSpec.ExportJobScope
Returns
Type Description
MetadataJob.ExportJobSpec.Builder

setScope(MetadataJob.ExportJobSpec.ExportJobScope.Builder builderForValue)

public MetadataJob.ExportJobSpec.Builder setScope(MetadataJob.ExportJobSpec.ExportJobScope.Builder builderForValue)

Required. Selects the entries to be exported by this job.

.google.cloud.dataplex.v1.MetadataJob.ExportJobSpec.ExportJobScope scope = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue MetadataJob.ExportJobSpec.ExportJobScope.Builder
Returns
Type Description
MetadataJob.ExportJobSpec.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final MetadataJob.ExportJobSpec.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
MetadataJob.ExportJobSpec.Builder
Overrides