public static final class TransferProto.RunTransferJobRequest.Builder extends GeneratedMessageV3.Builder<TransferProto.RunTransferJobRequest.Builder> implements TransferProto.RunTransferJobRequestOrBuilder
Request passed to RunTransferJob.
Protobuf type google.storagetransfer.v1.RunTransferJobRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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.RunTransferJobRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public TransferProto.RunTransferJobRequest build()
buildPartial()
public TransferProto.RunTransferJobRequest buildPartial()
clear()
public TransferProto.RunTransferJobRequest.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public TransferProto.RunTransferJobRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearJobName()
public TransferProto.RunTransferJobRequest.Builder clearJobName()
Required. The name of the transfer job.
string job_name = 1 [(.google.api.field_behavior) = REQUIRED];
clearOneof(Descriptors.OneofDescriptor oneof)
public TransferProto.RunTransferJobRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearProjectId()
public TransferProto.RunTransferJobRequest.Builder clearProjectId()
Required. The ID of the Google Cloud project that owns the transfer
job.
string project_id = 2 [(.google.api.field_behavior) = REQUIRED];
clone()
public TransferProto.RunTransferJobRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public TransferProto.RunTransferJobRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getJobName()
public String getJobName()
Required. The name of the transfer job.
string job_name = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
String |
The jobName.
|
getJobNameBytes()
public ByteString getJobNameBytes()
Required. The name of the transfer job.
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 transfer
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 transfer
job.
string project_id = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
ByteString |
The bytes for projectId.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
public TransferProto.RunTransferJobRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public TransferProto.RunTransferJobRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeFrom(TransferProto.RunTransferJobRequest other)
public TransferProto.RunTransferJobRequest.Builder mergeFrom(TransferProto.RunTransferJobRequest other)
mergeUnknownFields(UnknownFieldSet unknownFields)
public final TransferProto.RunTransferJobRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public TransferProto.RunTransferJobRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setJobName(String value)
public TransferProto.RunTransferJobRequest.Builder setJobName(String value)
Required. The name of the transfer job.
string job_name = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
value |
String
The jobName to set.
|
setJobNameBytes(ByteString value)
public TransferProto.RunTransferJobRequest.Builder setJobNameBytes(ByteString value)
Required. The name of the transfer job.
string job_name = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
value |
ByteString
The bytes for jobName to set.
|
setProjectId(String value)
public TransferProto.RunTransferJobRequest.Builder setProjectId(String value)
Required. The ID of the Google Cloud project that owns the transfer
job.
string project_id = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
value |
String
The projectId to set.
|
setProjectIdBytes(ByteString value)
public TransferProto.RunTransferJobRequest.Builder setProjectIdBytes(ByteString value)
Required. The ID of the Google Cloud project that owns the transfer
job.
string project_id = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
value |
ByteString
The bytes for projectId to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public TransferProto.RunTransferJobRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final TransferProto.RunTransferJobRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides