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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > TransferProto.GetTransferJobRequest.BuilderImplements
TransferProto.GetTransferJobRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public TransferProto.GetTransferJobRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
TransferProto.GetTransferJobRequest.Builder |
build()
public TransferProto.GetTransferJobRequest build()
Type | Description |
TransferProto.GetTransferJobRequest |
buildPartial()
public TransferProto.GetTransferJobRequest buildPartial()
Type | Description |
TransferProto.GetTransferJobRequest |
clear()
public TransferProto.GetTransferJobRequest.Builder clear()
Type | Description |
TransferProto.GetTransferJobRequest.Builder |
clearField(Descriptors.FieldDescriptor field)
public TransferProto.GetTransferJobRequest.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
TransferProto.GetTransferJobRequest.Builder |
clearJobName()
public TransferProto.GetTransferJobRequest.Builder clearJobName()
Required. The job to get.
string job_name = 1 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
TransferProto.GetTransferJobRequest.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public TransferProto.GetTransferJobRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
TransferProto.GetTransferJobRequest.Builder |
clearProjectId()
public TransferProto.GetTransferJobRequest.Builder clearProjectId()
Required. The ID of the Google Cloud project that owns the job.
string project_id = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
TransferProto.GetTransferJobRequest.Builder | This builder for chaining. |
clone()
public TransferProto.GetTransferJobRequest.Builder clone()
Type | Description |
TransferProto.GetTransferJobRequest.Builder |
getDefaultInstanceForType()
public TransferProto.GetTransferJobRequest getDefaultInstanceForType()
Type | Description |
TransferProto.GetTransferJobRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getJobName()
public String getJobName()
Required. The job to get.
string job_name = 1 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
String | The jobName. |
getJobNameBytes()
public ByteString getJobNameBytes()
Required. The job to get.
string job_name = 1 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
ByteString | The bytes for jobName. |
getProjectId()
public String getProjectId()
Required. The ID of the Google Cloud project that owns the job.
string project_id = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
String | The projectId. |
getProjectIdBytes()
public ByteString getProjectIdBytes()
Required. The ID of the Google Cloud project that owns the job.
string project_id = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
ByteString | The bytes for projectId. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public TransferProto.GetTransferJobRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
TransferProto.GetTransferJobRequest.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public TransferProto.GetTransferJobRequest.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
TransferProto.GetTransferJobRequest.Builder |
mergeFrom(TransferProto.GetTransferJobRequest other)
public TransferProto.GetTransferJobRequest.Builder mergeFrom(TransferProto.GetTransferJobRequest other)
Name | Description |
other | TransferProto.GetTransferJobRequest |
Type | Description |
TransferProto.GetTransferJobRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final TransferProto.GetTransferJobRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
TransferProto.GetTransferJobRequest.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public TransferProto.GetTransferJobRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
TransferProto.GetTransferJobRequest.Builder |
setJobName(String value)
public TransferProto.GetTransferJobRequest.Builder setJobName(String value)
Required. The job to get.
string job_name = 1 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | String The jobName to set. |
Type | Description |
TransferProto.GetTransferJobRequest.Builder | This builder for chaining. |
setJobNameBytes(ByteString value)
public TransferProto.GetTransferJobRequest.Builder setJobNameBytes(ByteString value)
Required. The job to get.
string job_name = 1 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | ByteString The bytes for jobName to set. |
Type | Description |
TransferProto.GetTransferJobRequest.Builder | This builder for chaining. |
setProjectId(String value)
public TransferProto.GetTransferJobRequest.Builder setProjectId(String value)
Required. The ID of the Google Cloud project that owns the job.
string project_id = 2 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | String The projectId to set. |
Type | Description |
TransferProto.GetTransferJobRequest.Builder | This builder for chaining. |
setProjectIdBytes(ByteString value)
public TransferProto.GetTransferJobRequest.Builder setProjectIdBytes(ByteString value)
Required. The ID of the Google Cloud project that owns the job.
string project_id = 2 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | ByteString The bytes for projectId to set. |
Type | Description |
TransferProto.GetTransferJobRequest.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public TransferProto.GetTransferJobRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
TransferProto.GetTransferJobRequest.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final TransferProto.GetTransferJobRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
TransferProto.GetTransferJobRequest.Builder |