Class CancelMetadataJobRequest.Builder (1.53.0)

public static final class CancelMetadataJobRequest.Builder extends GeneratedMessageV3.Builder<CancelMetadataJobRequest.Builder> implements CancelMetadataJobRequestOrBuilder

Cancel metadata job request.

Protobuf type google.cloud.dataplex.v1.CancelMetadataJobRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CancelMetadataJobRequest build()
Returns
Type Description
CancelMetadataJobRequest

buildPartial()

public CancelMetadataJobRequest buildPartial()
Returns
Type Description
CancelMetadataJobRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public CancelMetadataJobRequest.Builder clearName()

Required. The resource name of the job, in the format projects/{project_id_or_number}/locations/{location_id}/metadataJobs/{metadata_job_id}

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

Returns
Type Description
CancelMetadataJobRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public CancelMetadataJobRequest getDefaultInstanceForType()
Returns
Type Description
CancelMetadataJobRequest

getDescriptorForType()

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

getName()

public String getName()

Required. The resource name of the job, in the format projects/{project_id_or_number}/locations/{location_id}/metadataJobs/{metadata_job_id}

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

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The resource name of the job, in the format projects/{project_id_or_number}/locations/{location_id}/metadataJobs/{metadata_job_id}

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

Returns
Type Description
ByteString

The bytes for name.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CancelMetadataJobRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public CancelMetadataJobRequest.Builder setName(String value)

Required. The resource name of the job, in the format projects/{project_id_or_number}/locations/{location_id}/metadataJobs/{metadata_job_id}

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

Parameter
Name Description
value String

The name to set.

Returns
Type Description
CancelMetadataJobRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public CancelMetadataJobRequest.Builder setNameBytes(ByteString value)

Required. The resource name of the job, in the format projects/{project_id_or_number}/locations/{location_id}/metadataJobs/{metadata_job_id}

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

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
CancelMetadataJobRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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