Class TransferProto.CreateTransferJobRequest.Builder (1.34.0)

public static final class TransferProto.CreateTransferJobRequest.Builder extends GeneratedMessageV3.Builder<TransferProto.CreateTransferJobRequest.Builder> implements TransferProto.CreateTransferJobRequestOrBuilder

Request passed to CreateTransferJob.

Protobuf type google.storagetransfer.v1.CreateTransferJobRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearTransferJob()

public TransferProto.CreateTransferJobRequest.Builder clearTransferJob()

Required. The job to create.

.google.storagetransfer.v1.TransferJob transfer_job = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
TransferProto.CreateTransferJobRequest.Builder

clone()

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

getDefaultInstanceForType()

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

getDescriptorForType()

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

getTransferJob()

public TransferTypes.TransferJob getTransferJob()

Required. The job to create.

.google.storagetransfer.v1.TransferJob transfer_job = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
TransferTypes.TransferJob

The transferJob.

getTransferJobBuilder()

public TransferTypes.TransferJob.Builder getTransferJobBuilder()

Required. The job to create.

.google.storagetransfer.v1.TransferJob transfer_job = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
TransferTypes.TransferJob.Builder

getTransferJobOrBuilder()

public TransferTypes.TransferJobOrBuilder getTransferJobOrBuilder()

Required. The job to create.

.google.storagetransfer.v1.TransferJob transfer_job = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
TransferTypes.TransferJobOrBuilder

hasTransferJob()

public boolean hasTransferJob()

Required. The job to create.

.google.storagetransfer.v1.TransferJob transfer_job = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the transferJob field is set.

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.CreateTransferJobRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TransferProto.CreateTransferJobRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

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

mergeFrom(TransferProto.CreateTransferJobRequest other)

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

mergeTransferJob(TransferTypes.TransferJob value)

public TransferProto.CreateTransferJobRequest.Builder mergeTransferJob(TransferTypes.TransferJob value)

Required. The job to create.

.google.storagetransfer.v1.TransferJob transfer_job = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value TransferTypes.TransferJob
Returns
Type Description
TransferProto.CreateTransferJobRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setTransferJob(TransferTypes.TransferJob value)

public TransferProto.CreateTransferJobRequest.Builder setTransferJob(TransferTypes.TransferJob value)

Required. The job to create.

.google.storagetransfer.v1.TransferJob transfer_job = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value TransferTypes.TransferJob
Returns
Type Description
TransferProto.CreateTransferJobRequest.Builder

setTransferJob(TransferTypes.TransferJob.Builder builderForValue)

public TransferProto.CreateTransferJobRequest.Builder setTransferJob(TransferTypes.TransferJob.Builder builderForValue)

Required. The job to create.

.google.storagetransfer.v1.TransferJob transfer_job = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue TransferTypes.TransferJob.Builder
Returns
Type Description
TransferProto.CreateTransferJobRequest.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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