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