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()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public TransferProto.CreateTransferJobRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public TransferProto.CreateTransferJobRequest build()
buildPartial()
public TransferProto.CreateTransferJobRequest buildPartial()
clear()
public TransferProto.CreateTransferJobRequest.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public TransferProto.CreateTransferJobRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public TransferProto.CreateTransferJobRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearTransferJob()
public TransferProto.CreateTransferJobRequest.Builder clearTransferJob()
Required. The job to create.
.google.storagetransfer.v1.TransferJob transfer_job = 1 [(.google.api.field_behavior) = REQUIRED];
clone()
public TransferProto.CreateTransferJobRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public TransferProto.CreateTransferJobRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getTransferJob()
public TransferTypes.TransferJob getTransferJob()
Required. The job to create.
.google.storagetransfer.v1.TransferJob transfer_job = 1 [(.google.api.field_behavior) = REQUIRED];
getTransferJobBuilder()
public TransferTypes.TransferJob.Builder getTransferJobBuilder()
Required. The job to create.
.google.storagetransfer.v1.TransferJob transfer_job = 1 [(.google.api.field_behavior) = REQUIRED];
getTransferJobOrBuilder()
public TransferTypes.TransferJobOrBuilder getTransferJobOrBuilder()
Required. The job to create.
.google.storagetransfer.v1.TransferJob transfer_job = 1 [(.google.api.field_behavior) = REQUIRED];
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
public TransferProto.CreateTransferJobRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public TransferProto.CreateTransferJobRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeFrom(TransferProto.CreateTransferJobRequest other)
public TransferProto.CreateTransferJobRequest.Builder mergeFrom(TransferProto.CreateTransferJobRequest other)
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];
mergeUnknownFields(UnknownFieldSet unknownFields)
public final TransferProto.CreateTransferJobRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public TransferProto.CreateTransferJobRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public TransferProto.CreateTransferJobRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
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];
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];
setUnknownFields(UnknownFieldSet unknownFields)
public final TransferProto.CreateTransferJobRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides