Class CreateMetadataJobRequest.Builder (1.52.0)

public static final class CreateMetadataJobRequest.Builder extends GeneratedMessageV3.Builder<CreateMetadataJobRequest.Builder> implements CreateMetadataJobRequestOrBuilder

Create metadata job request.

Protobuf type google.cloud.dataplex.v1.CreateMetadataJobRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CreateMetadataJobRequest build()
Returns
Type Description
CreateMetadataJobRequest

buildPartial()

public CreateMetadataJobRequest buildPartial()
Returns
Type Description
CreateMetadataJobRequest

clear()

public CreateMetadataJobRequest.Builder clear()
Returns
Type Description
CreateMetadataJobRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearMetadataJob()

public CreateMetadataJobRequest.Builder clearMetadataJob()

Required. The metadata job resource.

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

Returns
Type Description
CreateMetadataJobRequest.Builder

clearMetadataJobId()

public CreateMetadataJobRequest.Builder clearMetadataJobId()

Optional. The metadata job ID. If not provided, a unique ID is generated with the prefix metadata-job-.

string metadata_job_id = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
CreateMetadataJobRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearParent()

public CreateMetadataJobRequest.Builder clearParent()

Required. The resource name of the parent location, in the format projects/{project_id_or_number}/locations/{location_id}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
CreateMetadataJobRequest.Builder

This builder for chaining.

clearValidateOnly()

public CreateMetadataJobRequest.Builder clearValidateOnly()

Optional. The service validates the request without performing any mutations. The default is false.

bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
CreateMetadataJobRequest.Builder

This builder for chaining.

clone()

public CreateMetadataJobRequest.Builder clone()
Returns
Type Description
CreateMetadataJobRequest.Builder
Overrides

getDefaultInstanceForType()

public CreateMetadataJobRequest getDefaultInstanceForType()
Returns
Type Description
CreateMetadataJobRequest

getDescriptorForType()

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

getMetadataJob()

public MetadataJob getMetadataJob()

Required. The metadata job resource.

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

Returns
Type Description
MetadataJob

The metadataJob.

getMetadataJobBuilder()

public MetadataJob.Builder getMetadataJobBuilder()

Required. The metadata job resource.

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

Returns
Type Description
MetadataJob.Builder

getMetadataJobId()

public String getMetadataJobId()

Optional. The metadata job ID. If not provided, a unique ID is generated with the prefix metadata-job-.

string metadata_job_id = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The metadataJobId.

getMetadataJobIdBytes()

public ByteString getMetadataJobIdBytes()

Optional. The metadata job ID. If not provided, a unique ID is generated with the prefix metadata-job-.

string metadata_job_id = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for metadataJobId.

getMetadataJobOrBuilder()

public MetadataJobOrBuilder getMetadataJobOrBuilder()

Required. The metadata job resource.

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

Returns
Type Description
MetadataJobOrBuilder

getParent()

public String getParent()

Required. The resource name of the parent location, in the format projects/{project_id_or_number}/locations/{location_id}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The resource name of the parent location, in the format projects/{project_id_or_number}/locations/{location_id}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for parent.

getValidateOnly()

public boolean getValidateOnly()

Optional. The service validates the request without performing any mutations. The default is false.

bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The validateOnly.

hasMetadataJob()

public boolean hasMetadataJob()

Required. The metadata job resource.

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

Returns
Type Description
boolean

Whether the metadataJob field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CreateMetadataJobRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeMetadataJob(MetadataJob value)

public CreateMetadataJobRequest.Builder mergeMetadataJob(MetadataJob value)

Required. The metadata job resource.

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

Parameter
Name Description
value MetadataJob
Returns
Type Description
CreateMetadataJobRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setMetadataJob(MetadataJob value)

public CreateMetadataJobRequest.Builder setMetadataJob(MetadataJob value)

Required. The metadata job resource.

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

Parameter
Name Description
value MetadataJob
Returns
Type Description
CreateMetadataJobRequest.Builder

setMetadataJob(MetadataJob.Builder builderForValue)

public CreateMetadataJobRequest.Builder setMetadataJob(MetadataJob.Builder builderForValue)

Required. The metadata job resource.

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

Parameter
Name Description
builderForValue MetadataJob.Builder
Returns
Type Description
CreateMetadataJobRequest.Builder

setMetadataJobId(String value)

public CreateMetadataJobRequest.Builder setMetadataJobId(String value)

Optional. The metadata job ID. If not provided, a unique ID is generated with the prefix metadata-job-.

string metadata_job_id = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The metadataJobId to set.

Returns
Type Description
CreateMetadataJobRequest.Builder

This builder for chaining.

setMetadataJobIdBytes(ByteString value)

public CreateMetadataJobRequest.Builder setMetadataJobIdBytes(ByteString value)

Optional. The metadata job ID. If not provided, a unique ID is generated with the prefix metadata-job-.

string metadata_job_id = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for metadataJobId to set.

Returns
Type Description
CreateMetadataJobRequest.Builder

This builder for chaining.

setParent(String value)

public CreateMetadataJobRequest.Builder setParent(String value)

Required. The resource name of the parent location, in the format projects/{project_id_or_number}/locations/{location_id}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
CreateMetadataJobRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public CreateMetadataJobRequest.Builder setParentBytes(ByteString value)

Required. The resource name of the parent location, in the format projects/{project_id_or_number}/locations/{location_id}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for parent to set.

Returns
Type Description
CreateMetadataJobRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setValidateOnly(boolean value)

public CreateMetadataJobRequest.Builder setValidateOnly(boolean value)

Optional. The service validates the request without performing any mutations. The default is false.

bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value boolean

The validateOnly to set.

Returns
Type Description
CreateMetadataJobRequest.Builder

This builder for chaining.