public static final class TransferProto.UpdateTransferJobRequest extends com.google.protobuf.GeneratedMessageV3 implements TransferProto.UpdateTransferJobRequestOrBuilder
Request passed to UpdateTransferJob.Protobuf type
google.storagetransfer.v1.UpdateTransferJobRequest| Modifier and Type | Class and Description |
|---|---|
static class |
TransferProto.UpdateTransferJobRequest.Builder
Request passed to UpdateTransferJob.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
JOB_NAME_FIELD_NUMBER |
static int |
PROJECT_ID_FIELD_NUMBER |
static int |
TRANSFER_JOB_FIELD_NUMBER |
static int |
UPDATE_TRANSFER_JOB_FIELD_MASK_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static TransferProto.UpdateTransferJobRequest |
getDefaultInstance() |
TransferProto.UpdateTransferJobRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getJobName()
Required.
|
com.google.protobuf.ByteString |
getJobNameBytes()
Required.
|
com.google.protobuf.Parser<TransferProto.UpdateTransferJobRequest> |
getParserForType() |
String |
getProjectId()
Required.
|
com.google.protobuf.ByteString |
getProjectIdBytes()
Required.
|
int |
getSerializedSize() |
TransferTypes.TransferJob |
getTransferJob()
Required.
|
TransferTypes.TransferJobOrBuilder |
getTransferJobOrBuilder()
Required.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
com.google.protobuf.FieldMask |
getUpdateTransferJobFieldMask()
The field mask of the fields in `transferJob` that are to be updated in
this request.
|
com.google.protobuf.FieldMaskOrBuilder |
getUpdateTransferJobFieldMaskOrBuilder()
The field mask of the fields in `transferJob` that are to be updated in
this request.
|
int |
hashCode() |
boolean |
hasTransferJob()
Required.
|
boolean |
hasUpdateTransferJobFieldMask()
The field mask of the fields in `transferJob` that are to be updated in
this request.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static TransferProto.UpdateTransferJobRequest.Builder |
newBuilder() |
static TransferProto.UpdateTransferJobRequest.Builder |
newBuilder(TransferProto.UpdateTransferJobRequest prototype) |
TransferProto.UpdateTransferJobRequest.Builder |
newBuilderForType() |
protected TransferProto.UpdateTransferJobRequest.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static TransferProto.UpdateTransferJobRequest |
parseDelimitedFrom(InputStream input) |
static TransferProto.UpdateTransferJobRequest |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TransferProto.UpdateTransferJobRequest |
parseFrom(byte[] data) |
static TransferProto.UpdateTransferJobRequest |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TransferProto.UpdateTransferJobRequest |
parseFrom(ByteBuffer data) |
static TransferProto.UpdateTransferJobRequest |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TransferProto.UpdateTransferJobRequest |
parseFrom(com.google.protobuf.ByteString data) |
static TransferProto.UpdateTransferJobRequest |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TransferProto.UpdateTransferJobRequest |
parseFrom(com.google.protobuf.CodedInputStream input) |
static TransferProto.UpdateTransferJobRequest |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TransferProto.UpdateTransferJobRequest |
parseFrom(InputStream input) |
static TransferProto.UpdateTransferJobRequest |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<TransferProto.UpdateTransferJobRequest> |
parser() |
TransferProto.UpdateTransferJobRequest.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int JOB_NAME_FIELD_NUMBER
public static final int PROJECT_ID_FIELD_NUMBER
public static final int TRANSFER_JOB_FIELD_NUMBER
public static final int UPDATE_TRANSFER_JOB_FIELD_MASK_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public String getJobName()
Required. The name of job to update.
string job_name = 1 [(.google.api.field_behavior) = REQUIRED];getJobName in interface TransferProto.UpdateTransferJobRequestOrBuilderpublic com.google.protobuf.ByteString getJobNameBytes()
Required. The name of job to update.
string job_name = 1 [(.google.api.field_behavior) = REQUIRED];getJobNameBytes in interface TransferProto.UpdateTransferJobRequestOrBuilderpublic String getProjectId()
Required. The ID of the Google Cloud project that owns the job.
string project_id = 2 [(.google.api.field_behavior) = REQUIRED];getProjectId in interface TransferProto.UpdateTransferJobRequestOrBuilderpublic com.google.protobuf.ByteString getProjectIdBytes()
Required. The ID of the Google Cloud project that owns the job.
string project_id = 2 [(.google.api.field_behavior) = REQUIRED];getProjectIdBytes in interface TransferProto.UpdateTransferJobRequestOrBuilderpublic boolean hasTransferJob()
Required. The job to update. `transferJob` is expected to specify one or more of five fields: [description][google.storagetransfer.v1.TransferJob.description], [transfer_spec][google.storagetransfer.v1.TransferJob.transfer_spec], [notification_config][google.storagetransfer.v1.TransferJob.notification_config], [logging_config][google.storagetransfer.v1.TransferJob.logging_config], and [status][google.storagetransfer.v1.TransferJob.status]. An `UpdateTransferJobRequest` that specifies other fields are rejected with the error [INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT]. Updating a job status to [DELETED][google.storagetransfer.v1.TransferJob.Status.DELETED] requires `storagetransfer.jobs.delete` permission.
.google.storagetransfer.v1.TransferJob transfer_job = 3 [(.google.api.field_behavior) = REQUIRED];
hasTransferJob in interface TransferProto.UpdateTransferJobRequestOrBuilderpublic TransferTypes.TransferJob getTransferJob()
Required. The job to update. `transferJob` is expected to specify one or more of five fields: [description][google.storagetransfer.v1.TransferJob.description], [transfer_spec][google.storagetransfer.v1.TransferJob.transfer_spec], [notification_config][google.storagetransfer.v1.TransferJob.notification_config], [logging_config][google.storagetransfer.v1.TransferJob.logging_config], and [status][google.storagetransfer.v1.TransferJob.status]. An `UpdateTransferJobRequest` that specifies other fields are rejected with the error [INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT]. Updating a job status to [DELETED][google.storagetransfer.v1.TransferJob.Status.DELETED] requires `storagetransfer.jobs.delete` permission.
.google.storagetransfer.v1.TransferJob transfer_job = 3 [(.google.api.field_behavior) = REQUIRED];
getTransferJob in interface TransferProto.UpdateTransferJobRequestOrBuilderpublic TransferTypes.TransferJobOrBuilder getTransferJobOrBuilder()
Required. The job to update. `transferJob` is expected to specify one or more of five fields: [description][google.storagetransfer.v1.TransferJob.description], [transfer_spec][google.storagetransfer.v1.TransferJob.transfer_spec], [notification_config][google.storagetransfer.v1.TransferJob.notification_config], [logging_config][google.storagetransfer.v1.TransferJob.logging_config], and [status][google.storagetransfer.v1.TransferJob.status]. An `UpdateTransferJobRequest` that specifies other fields are rejected with the error [INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT]. Updating a job status to [DELETED][google.storagetransfer.v1.TransferJob.Status.DELETED] requires `storagetransfer.jobs.delete` permission.
.google.storagetransfer.v1.TransferJob transfer_job = 3 [(.google.api.field_behavior) = REQUIRED];
getTransferJobOrBuilder in interface TransferProto.UpdateTransferJobRequestOrBuilderpublic 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][google.storagetransfer.v1.TransferJob.description], [transfer_spec][google.storagetransfer.v1.TransferJob.transfer_spec], [notification_config][google.storagetransfer.v1.TransferJob.notification_config], [logging_config][google.storagetransfer.v1.TransferJob.logging_config], and [status][google.storagetransfer.v1.TransferJob.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.rpc.Code.INVALID_ARGUMENT].
.google.protobuf.FieldMask update_transfer_job_field_mask = 4;hasUpdateTransferJobFieldMask in interface TransferProto.UpdateTransferJobRequestOrBuilderpublic com.google.protobuf.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][google.storagetransfer.v1.TransferJob.description], [transfer_spec][google.storagetransfer.v1.TransferJob.transfer_spec], [notification_config][google.storagetransfer.v1.TransferJob.notification_config], [logging_config][google.storagetransfer.v1.TransferJob.logging_config], and [status][google.storagetransfer.v1.TransferJob.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.rpc.Code.INVALID_ARGUMENT].
.google.protobuf.FieldMask update_transfer_job_field_mask = 4;getUpdateTransferJobFieldMask in interface TransferProto.UpdateTransferJobRequestOrBuilderpublic com.google.protobuf.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][google.storagetransfer.v1.TransferJob.description], [transfer_spec][google.storagetransfer.v1.TransferJob.transfer_spec], [notification_config][google.storagetransfer.v1.TransferJob.notification_config], [logging_config][google.storagetransfer.v1.TransferJob.logging_config], and [status][google.storagetransfer.v1.TransferJob.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.rpc.Code.INVALID_ARGUMENT].
.google.protobuf.FieldMask update_transfer_job_field_mask = 4;getUpdateTransferJobFieldMaskOrBuilder in interface TransferProto.UpdateTransferJobRequestOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static TransferProto.UpdateTransferJobRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TransferProto.UpdateTransferJobRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TransferProto.UpdateTransferJobRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TransferProto.UpdateTransferJobRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TransferProto.UpdateTransferJobRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TransferProto.UpdateTransferJobRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TransferProto.UpdateTransferJobRequest parseFrom(InputStream input) throws IOException
IOExceptionpublic static TransferProto.UpdateTransferJobRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static TransferProto.UpdateTransferJobRequest parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static TransferProto.UpdateTransferJobRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static TransferProto.UpdateTransferJobRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static TransferProto.UpdateTransferJobRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic TransferProto.UpdateTransferJobRequest.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static TransferProto.UpdateTransferJobRequest.Builder newBuilder()
public static TransferProto.UpdateTransferJobRequest.Builder newBuilder(TransferProto.UpdateTransferJobRequest prototype)
public TransferProto.UpdateTransferJobRequest.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected TransferProto.UpdateTransferJobRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static TransferProto.UpdateTransferJobRequest getDefaultInstance()
public static com.google.protobuf.Parser<TransferProto.UpdateTransferJobRequest> parser()
public com.google.protobuf.Parser<TransferProto.UpdateTransferJobRequest> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public TransferProto.UpdateTransferJobRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2022 Google LLC. All rights reserved.