Class TransferProto.DeleteTransferJobRequest.Builder (1.47.0)

public static final class TransferProto.DeleteTransferJobRequest.Builder extends GeneratedMessageV3.Builder<TransferProto.DeleteTransferJobRequest.Builder> implements TransferProto.DeleteTransferJobRequestOrBuilder

Request passed to DeleteTransferJob.

Protobuf type google.storagetransfer.v1.DeleteTransferJobRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public TransferProto.DeleteTransferJobRequest build()
Returns
Type Description
TransferProto.DeleteTransferJobRequest

buildPartial()

public TransferProto.DeleteTransferJobRequest buildPartial()
Returns
Type Description
TransferProto.DeleteTransferJobRequest

clear()

public TransferProto.DeleteTransferJobRequest.Builder clear()
Returns
Type Description
TransferProto.DeleteTransferJobRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearJobName()

public TransferProto.DeleteTransferJobRequest.Builder clearJobName()

Required. The job to delete.

string job_name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
TransferProto.DeleteTransferJobRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearProjectId()

public TransferProto.DeleteTransferJobRequest.Builder clearProjectId()

Required. The ID of the Google Cloud project that owns the job.

string project_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
TransferProto.DeleteTransferJobRequest.Builder

This builder for chaining.

clone()

public TransferProto.DeleteTransferJobRequest.Builder clone()
Returns
Type Description
TransferProto.DeleteTransferJobRequest.Builder
Overrides

getDefaultInstanceForType()

public TransferProto.DeleteTransferJobRequest getDefaultInstanceForType()
Returns
Type Description
TransferProto.DeleteTransferJobRequest

getDescriptorForType()

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

getJobName()

public String getJobName()

Required. The job to delete.

string job_name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The jobName.

getJobNameBytes()

public ByteString getJobNameBytes()

Required. The job to delete.

string job_name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for jobName.

getProjectId()

public String getProjectId()

Required. The ID of the Google Cloud project that owns the job.

string project_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The projectId.

getProjectIdBytes()

public ByteString getProjectIdBytes()

Required. The ID of the Google Cloud project that owns the job.

string project_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for projectId.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeFrom(TransferProto.DeleteTransferJobRequest other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setJobName(String value)

public TransferProto.DeleteTransferJobRequest.Builder setJobName(String value)

Required. The job to delete.

string job_name = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The jobName to set.

Returns
Type Description
TransferProto.DeleteTransferJobRequest.Builder

This builder for chaining.

setJobNameBytes(ByteString value)

public TransferProto.DeleteTransferJobRequest.Builder setJobNameBytes(ByteString value)

Required. The job to delete.

string job_name = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for jobName to set.

Returns
Type Description
TransferProto.DeleteTransferJobRequest.Builder

This builder for chaining.

setProjectId(String value)

public TransferProto.DeleteTransferJobRequest.Builder setProjectId(String value)

Required. The ID of the Google Cloud project that owns the job.

string project_id = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The projectId to set.

Returns
Type Description
TransferProto.DeleteTransferJobRequest.Builder

This builder for chaining.

setProjectIdBytes(ByteString value)

public TransferProto.DeleteTransferJobRequest.Builder setProjectIdBytes(ByteString value)

Required. The ID of the Google Cloud project that owns the job.

string project_id = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for projectId to set.

Returns
Type Description
TransferProto.DeleteTransferJobRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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