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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public TransferProto.CreateTransferJobRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public TransferProto.CreateTransferJobRequest build()
Returns
buildPartial()
public TransferProto.CreateTransferJobRequest buildPartial()
Returns
clear()
public TransferProto.CreateTransferJobRequest.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public TransferProto.CreateTransferJobRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public TransferProto.CreateTransferJobRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
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
clone()
public TransferProto.CreateTransferJobRequest.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public TransferProto.CreateTransferJobRequest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getTransferJob()
public TransferTypes.TransferJob getTransferJob()
Required. The job to create.
.google.storagetransfer.v1.TransferJob transfer_job = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getTransferJobBuilder()
public TransferTypes.TransferJob.Builder getTransferJobBuilder()
Required. The job to create.
.google.storagetransfer.v1.TransferJob transfer_job = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getTransferJobOrBuilder()
public TransferTypes.TransferJobOrBuilder getTransferJobOrBuilder()
Required. The job to create.
.google.storagetransfer.v1.TransferJob transfer_job = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
public TransferProto.CreateTransferJobRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public TransferProto.CreateTransferJobRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeFrom(TransferProto.CreateTransferJobRequest other)
public TransferProto.CreateTransferJobRequest.Builder mergeFrom(TransferProto.CreateTransferJobRequest other)
Parameter
Returns
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
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final TransferProto.CreateTransferJobRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public TransferProto.CreateTransferJobRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public TransferProto.CreateTransferJobRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
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
Returns
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
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final TransferProto.CreateTransferJobRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides