- 1.55.0 (latest)
- 1.54.0
- 1.53.0
- 1.52.0
- 1.51.0
- 1.49.0
- 1.48.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.37.0
- 1.36.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.24.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.9.0
- 1.8.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.0.4
public static final class TransferProto.UpdateTransferJobRequest.Builder extends GeneratedMessageV3.Builder<TransferProto.UpdateTransferJobRequest.Builder> implements TransferProto.UpdateTransferJobRequestOrBuilder
Request passed to UpdateTransferJob.
Protobuf type google.storagetransfer.v1.UpdateTransferJobRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > TransferProto.UpdateTransferJobRequest.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public TransferProto.UpdateTransferJobRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field |
FieldDescriptor |
value |
Object |
Type | Description |
TransferProto.UpdateTransferJobRequest.Builder |
build()
public TransferProto.UpdateTransferJobRequest build()
Type | Description |
TransferProto.UpdateTransferJobRequest |
buildPartial()
public TransferProto.UpdateTransferJobRequest buildPartial()
Type | Description |
TransferProto.UpdateTransferJobRequest |
clear()
public TransferProto.UpdateTransferJobRequest.Builder clear()
Type | Description |
TransferProto.UpdateTransferJobRequest.Builder |
clearField(Descriptors.FieldDescriptor field)
public TransferProto.UpdateTransferJobRequest.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field |
FieldDescriptor |
Type | Description |
TransferProto.UpdateTransferJobRequest.Builder |
clearJobName()
public TransferProto.UpdateTransferJobRequest.Builder clearJobName()
Required. The name of job to update.
string job_name = 1 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
TransferProto.UpdateTransferJobRequest.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public TransferProto.UpdateTransferJobRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof |
OneofDescriptor |
Type | Description |
TransferProto.UpdateTransferJobRequest.Builder |
clearProjectId()
public TransferProto.UpdateTransferJobRequest.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.UpdateTransferJobRequest.Builder |
This builder for chaining. |
clearTransferJob()
public TransferProto.UpdateTransferJobRequest.Builder clearTransferJob()
Required. The job to update. transferJob
is expected to specify one or more of
five fields: description,
transfer_spec,
notification_config,
logging_config, and
status. An UpdateTransferJobRequest
that specifies
other fields are rejected with the error
INVALID_ARGUMENT. Updating a job status
to DELETED requires
storagetransfer.jobs.delete
permission.
.google.storagetransfer.v1.TransferJob transfer_job = 3 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
TransferProto.UpdateTransferJobRequest.Builder |
clearUpdateTransferJobFieldMask()
public TransferProto.UpdateTransferJobRequest.Builder clearUpdateTransferJobFieldMask()
The field mask of the fields in transferJob
that are to be updated in
this request. Fields in transferJob
that can be updated are:
description,
transfer_spec,
notification_config,
logging_config, and
status. To update the transfer_spec
of the job, a
complete transfer specification must be provided. An incomplete
specification missing any required fields is rejected with the error
INVALID_ARGUMENT.
.google.protobuf.FieldMask update_transfer_job_field_mask = 4;
Type | Description |
TransferProto.UpdateTransferJobRequest.Builder |
clone()
public TransferProto.UpdateTransferJobRequest.Builder clone()
Type | Description |
TransferProto.UpdateTransferJobRequest.Builder |
getDefaultInstanceForType()
public TransferProto.UpdateTransferJobRequest getDefaultInstanceForType()
Type | Description |
TransferProto.UpdateTransferJobRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getJobName()
public String getJobName()
Required. The name of job to update.
string job_name = 1 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
String |
The jobName. |
getJobNameBytes()
public ByteString getJobNameBytes()
Required. The name of job to update.
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. |
getTransferJob()
public TransferTypes.TransferJob getTransferJob()
Required. The job to update. transferJob
is expected to specify one or more of
five fields: description,
transfer_spec,
notification_config,
logging_config, and
status. An UpdateTransferJobRequest
that specifies
other fields are rejected with the error
INVALID_ARGUMENT. Updating a job status
to DELETED requires
storagetransfer.jobs.delete
permission.
.google.storagetransfer.v1.TransferJob transfer_job = 3 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
TransferTypes.TransferJob |
The transferJob. |
getTransferJobBuilder()
public TransferTypes.TransferJob.Builder getTransferJobBuilder()
Required. The job to update. transferJob
is expected to specify one or more of
five fields: description,
transfer_spec,
notification_config,
logging_config, and
status. An UpdateTransferJobRequest
that specifies
other fields are rejected with the error
INVALID_ARGUMENT. Updating a job status
to DELETED requires
storagetransfer.jobs.delete
permission.
.google.storagetransfer.v1.TransferJob transfer_job = 3 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
TransferTypes.TransferJob.Builder |
getTransferJobOrBuilder()
public TransferTypes.TransferJobOrBuilder getTransferJobOrBuilder()
Required. The job to update. transferJob
is expected to specify one or more of
five fields: description,
transfer_spec,
notification_config,
logging_config, and
status. An UpdateTransferJobRequest
that specifies
other fields are rejected with the error
INVALID_ARGUMENT. Updating a job status
to DELETED requires
storagetransfer.jobs.delete
permission.
.google.storagetransfer.v1.TransferJob transfer_job = 3 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
TransferTypes.TransferJobOrBuilder |
getUpdateTransferJobFieldMask()
public FieldMask getUpdateTransferJobFieldMask()
The field mask of the fields in transferJob
that are to be updated in
this request. Fields in transferJob
that can be updated are:
description,
transfer_spec,
notification_config,
logging_config, and
status. To update the transfer_spec
of the job, a
complete transfer specification must be provided. An incomplete
specification missing any required fields is rejected with the error
INVALID_ARGUMENT.
.google.protobuf.FieldMask update_transfer_job_field_mask = 4;
Type | Description |
FieldMask |
The updateTransferJobFieldMask. |
getUpdateTransferJobFieldMaskBuilder()
public FieldMask.Builder getUpdateTransferJobFieldMaskBuilder()
The field mask of the fields in transferJob
that are to be updated in
this request. Fields in transferJob
that can be updated are:
description,
transfer_spec,
notification_config,
logging_config, and
status. To update the transfer_spec
of the job, a
complete transfer specification must be provided. An incomplete
specification missing any required fields is rejected with the error
INVALID_ARGUMENT.
.google.protobuf.FieldMask update_transfer_job_field_mask = 4;
Type | Description |
Builder |
getUpdateTransferJobFieldMaskOrBuilder()
public FieldMaskOrBuilder getUpdateTransferJobFieldMaskOrBuilder()
The field mask of the fields in transferJob
that are to be updated in
this request. Fields in transferJob
that can be updated are:
description,
transfer_spec,
notification_config,
logging_config, and
status. To update the transfer_spec
of the job, a
complete transfer specification must be provided. An incomplete
specification missing any required fields is rejected with the error
INVALID_ARGUMENT.
.google.protobuf.FieldMask update_transfer_job_field_mask = 4;
Type | Description |
FieldMaskOrBuilder |
hasTransferJob()
public boolean hasTransferJob()
Required. The job to update. transferJob
is expected to specify one or more of
five fields: description,
transfer_spec,
notification_config,
logging_config, and
status. An UpdateTransferJobRequest
that specifies
other fields are rejected with the error
INVALID_ARGUMENT. Updating a job status
to DELETED requires
storagetransfer.jobs.delete
permission.
.google.storagetransfer.v1.TransferJob transfer_job = 3 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
boolean |
Whether the transferJob field is set. |
hasUpdateTransferJobFieldMask()
public boolean hasUpdateTransferJobFieldMask()
The field mask of the fields in transferJob
that are to be updated in
this request. Fields in transferJob
that can be updated are:
description,
transfer_spec,
notification_config,
logging_config, and
status. To update the transfer_spec
of the job, a
complete transfer specification must be provided. An incomplete
specification missing any required fields is rejected with the error
INVALID_ARGUMENT.
.google.protobuf.FieldMask update_transfer_job_field_mask = 4;
Type | Description |
boolean |
Whether the updateTransferJobFieldMask field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public TransferProto.UpdateTransferJobRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Type | Description |
TransferProto.UpdateTransferJobRequest.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public TransferProto.UpdateTransferJobRequest.Builder mergeFrom(Message other)
Name | Description |
other |
Message |
Type | Description |
TransferProto.UpdateTransferJobRequest.Builder |
mergeFrom(TransferProto.UpdateTransferJobRequest other)
public TransferProto.UpdateTransferJobRequest.Builder mergeFrom(TransferProto.UpdateTransferJobRequest other)
Name | Description |
other |
TransferProto.UpdateTransferJobRequest |
Type | Description |
TransferProto.UpdateTransferJobRequest.Builder |
mergeTransferJob(TransferTypes.TransferJob value)
public TransferProto.UpdateTransferJobRequest.Builder mergeTransferJob(TransferTypes.TransferJob value)
Required. The job to update. transferJob
is expected to specify one or more of
five fields: description,
transfer_spec,
notification_config,
logging_config, and
status. An UpdateTransferJobRequest
that specifies
other fields are rejected with the error
INVALID_ARGUMENT. Updating a job status
to DELETED requires
storagetransfer.jobs.delete
permission.
.google.storagetransfer.v1.TransferJob transfer_job = 3 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value |
TransferTypes.TransferJob |
Type | Description |
TransferProto.UpdateTransferJobRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final TransferProto.UpdateTransferJobRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields |
UnknownFieldSet |
Type | Description |
TransferProto.UpdateTransferJobRequest.Builder |
mergeUpdateTransferJobFieldMask(FieldMask value)
public TransferProto.UpdateTransferJobRequest.Builder mergeUpdateTransferJobFieldMask(FieldMask value)
The field mask of the fields in transferJob
that are to be updated in
this request. Fields in transferJob
that can be updated are:
description,
transfer_spec,
notification_config,
logging_config, and
status. To update the transfer_spec
of the job, a
complete transfer specification must be provided. An incomplete
specification missing any required fields is rejected with the error
INVALID_ARGUMENT.
.google.protobuf.FieldMask update_transfer_job_field_mask = 4;
Name | Description |
value |
FieldMask |
Type | Description |
TransferProto.UpdateTransferJobRequest.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public TransferProto.UpdateTransferJobRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field |
FieldDescriptor |
value |
Object |
Type | Description |
TransferProto.UpdateTransferJobRequest.Builder |
setJobName(String value)
public TransferProto.UpdateTransferJobRequest.Builder setJobName(String value)
Required. The name of job to update.
string job_name = 1 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value |
String The jobName to set. |
Type | Description |
TransferProto.UpdateTransferJobRequest.Builder |
This builder for chaining. |
setJobNameBytes(ByteString value)
public TransferProto.UpdateTransferJobRequest.Builder setJobNameBytes(ByteString value)
Required. The name of job to update.
string job_name = 1 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value |
ByteString The bytes for jobName to set. |
Type | Description |
TransferProto.UpdateTransferJobRequest.Builder |
This builder for chaining. |
setProjectId(String value)
public TransferProto.UpdateTransferJobRequest.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.UpdateTransferJobRequest.Builder |
This builder for chaining. |
setProjectIdBytes(ByteString value)
public TransferProto.UpdateTransferJobRequest.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.UpdateTransferJobRequest.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public TransferProto.UpdateTransferJobRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Type | Description |
TransferProto.UpdateTransferJobRequest.Builder |
setTransferJob(TransferTypes.TransferJob value)
public TransferProto.UpdateTransferJobRequest.Builder setTransferJob(TransferTypes.TransferJob value)
Required. The job to update. transferJob
is expected to specify one or more of
five fields: description,
transfer_spec,
notification_config,
logging_config, and
status. An UpdateTransferJobRequest
that specifies
other fields are rejected with the error
INVALID_ARGUMENT. Updating a job status
to DELETED requires
storagetransfer.jobs.delete
permission.
.google.storagetransfer.v1.TransferJob transfer_job = 3 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value |
TransferTypes.TransferJob |
Type | Description |
TransferProto.UpdateTransferJobRequest.Builder |
setTransferJob(TransferTypes.TransferJob.Builder builderForValue)
public TransferProto.UpdateTransferJobRequest.Builder setTransferJob(TransferTypes.TransferJob.Builder builderForValue)
Required. The job to update. transferJob
is expected to specify one or more of
five fields: description,
transfer_spec,
notification_config,
logging_config, and
status. An UpdateTransferJobRequest
that specifies
other fields are rejected with the error
INVALID_ARGUMENT. Updating a job status
to DELETED requires
storagetransfer.jobs.delete
permission.
.google.storagetransfer.v1.TransferJob transfer_job = 3 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
builderForValue |
TransferTypes.TransferJob.Builder |
Type | Description |
TransferProto.UpdateTransferJobRequest.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final TransferProto.UpdateTransferJobRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields |
UnknownFieldSet |
Type | Description |
TransferProto.UpdateTransferJobRequest.Builder |
setUpdateTransferJobFieldMask(FieldMask value)
public TransferProto.UpdateTransferJobRequest.Builder setUpdateTransferJobFieldMask(FieldMask value)
The field mask of the fields in transferJob
that are to be updated in
this request. Fields in transferJob
that can be updated are:
description,
transfer_spec,
notification_config,
logging_config, and
status. To update the transfer_spec
of the job, a
complete transfer specification must be provided. An incomplete
specification missing any required fields is rejected with the error
INVALID_ARGUMENT.
.google.protobuf.FieldMask update_transfer_job_field_mask = 4;
Name | Description |
value |
FieldMask |
Type | Description |
TransferProto.UpdateTransferJobRequest.Builder |
setUpdateTransferJobFieldMask(FieldMask.Builder builderForValue)
public TransferProto.UpdateTransferJobRequest.Builder setUpdateTransferJobFieldMask(FieldMask.Builder builderForValue)
The field mask of the fields in transferJob
that are to be updated in
this request. Fields in transferJob
that can be updated are:
description,
transfer_spec,
notification_config,
logging_config, and
status. To update the transfer_spec
of the job, a
complete transfer specification must be provided. An incomplete
specification missing any required fields is rejected with the error
INVALID_ARGUMENT.
.google.protobuf.FieldMask update_transfer_job_field_mask = 4;
Name | Description |
builderForValue |
Builder |
Type | Description |
TransferProto.UpdateTransferJobRequest.Builder |