Class TransferTypes.TransferJob.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<TransferTypes.TransferJob.Builder>
com.google.storagetransfer.v1.proto.TransferTypes.TransferJob.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,TransferTypes.TransferJobOrBuilder,Cloneable
- Enclosing class:
- TransferTypes.TransferJob
public static final class TransferTypes.TransferJob.Builder
extends com.google.protobuf.GeneratedMessage.Builder<TransferTypes.TransferJob.Builder>
implements TransferTypes.TransferJobOrBuilder
This resource represents the configuration of a transfer job that runs periodically.Protobuf type
google.storagetransfer.v1.TransferJob-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Output only.Output only.A description provided by the user for the job.Specifies the event stream for the transfer job for event-driven transfers.Output only.The name of the most recently started TransferOperation of this JobConfig.Logging configuration.A unique name (within the transfer project) assigned when the job is created.Notification configuration.The ID of the Google Cloud project that owns the job.Replication specification.Specifies schedule for the transfer job.Optional.Status of the job.Transfer specification.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.A description provided by the user for the job.com.google.protobuf.ByteStringA description provided by the user for the job.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorSpecifies the event stream for the transfer job for event-driven transfers.Specifies the event stream for the transfer job for event-driven transfers.Specifies the event stream for the transfer job for event-driven transfers.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.The name of the most recently started TransferOperation of this JobConfig.com.google.protobuf.ByteStringThe name of the most recently started TransferOperation of this JobConfig.Logging configuration.Logging configuration.Logging configuration.getName()A unique name (within the transfer project) assigned when the job is created.com.google.protobuf.ByteStringA unique name (within the transfer project) assigned when the job is created.Notification configuration.Notification configuration.Notification configuration.The ID of the Google Cloud project that owns the job.com.google.protobuf.ByteStringThe ID of the Google Cloud project that owns the job.Replication specification.Replication specification.Replication specification.Specifies schedule for the transfer job.Specifies schedule for the transfer job.Specifies schedule for the transfer job.Optional.com.google.protobuf.ByteStringOptional.Status of the job.intStatus of the job.Transfer specification.Transfer specification.Transfer specification.booleanOutput only.booleanOutput only.booleanSpecifies the event stream for the transfer job for event-driven transfers.booleanOutput only.booleanLogging configuration.booleanNotification configuration.booleanReplication specification.booleanSpecifies schedule for the transfer job.booleanTransfer specification.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeCreationTime(com.google.protobuf.Timestamp value) Output only.mergeDeletionTime(com.google.protobuf.Timestamp value) Output only.Specifies the event stream for the transfer job for event-driven transfers.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeLastModificationTime(com.google.protobuf.Timestamp value) Output only.Logging configuration.Notification configuration.Replication specification.Specifies schedule for the transfer job.Transfer specification.setCreationTime(com.google.protobuf.Timestamp value) Output only.setCreationTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.setDeletionTime(com.google.protobuf.Timestamp value) Output only.setDeletionTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.setDescription(String value) A description provided by the user for the job.setDescriptionBytes(com.google.protobuf.ByteString value) A description provided by the user for the job.Specifies the event stream for the transfer job for event-driven transfers.setEventStream(TransferTypes.EventStream.Builder builderForValue) Specifies the event stream for the transfer job for event-driven transfers.setLastModificationTime(com.google.protobuf.Timestamp value) Output only.setLastModificationTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.setLatestOperationName(String value) The name of the most recently started TransferOperation of this JobConfig.setLatestOperationNameBytes(com.google.protobuf.ByteString value) The name of the most recently started TransferOperation of this JobConfig.Logging configuration.setLoggingConfig(TransferTypes.LoggingConfig.Builder builderForValue) Logging configuration.A unique name (within the transfer project) assigned when the job is created.setNameBytes(com.google.protobuf.ByteString value) A unique name (within the transfer project) assigned when the job is created.Notification configuration.setNotificationConfig(TransferTypes.NotificationConfig.Builder builderForValue) Notification configuration.setProjectId(String value) The ID of the Google Cloud project that owns the job.setProjectIdBytes(com.google.protobuf.ByteString value) The ID of the Google Cloud project that owns the job.Replication specification.setReplicationSpec(TransferTypes.ReplicationSpec.Builder builderForValue) Replication specification.Specifies schedule for the transfer job.setSchedule(TransferTypes.Schedule.Builder builderForValue) Specifies schedule for the transfer job.setServiceAccount(String value) Optional.setServiceAccountBytes(com.google.protobuf.ByteString value) Optional.Status of the job.setStatusValue(int value) Status of the job.Transfer specification.setTransferSpec(TransferTypes.TransferSpec.Builder builderForValue) Transfer specification.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<TransferTypes.TransferJob.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<TransferTypes.TransferJob.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<TransferTypes.TransferJob.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<TransferTypes.TransferJob.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<TransferTypes.TransferJob.Builder>
-
mergeFrom
public TransferTypes.TransferJob.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<TransferTypes.TransferJob.Builder>- Throws:
IOException
-
getName
A unique name (within the transfer project) assigned when the job is created. If this field is empty in a CreateTransferJobRequest, Storage Transfer Service assigns a unique name. Otherwise, the specified name is used as the unique name for this job. If the specified name is in use by a job, the creation request fails with an [ALREADY_EXISTS][google.rpc.Code.ALREADY_EXISTS] error. This name must start with `"transferJobs/"` prefix and end with a letter or a number, and should be no more than 128 characters. For transfers involving PosixFilesystem, this name must start with `transferJobs/OPI` specifically. For all other transfer types, this name must not start with `transferJobs/OPI`. Non-PosixFilesystem example: `"transferJobs/^(?!OPI)[A-Za-z0-9-._~]*[A-Za-z0-9]$"` PosixFilesystem example: `"transferJobs/OPI^[A-Za-z0-9-._~]*[A-Za-z0-9]$"` Applications must not rely on the enforcement of naming requirements involving OPI. Invalid job names fail with an [INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT] error.
string name = 1;- Specified by:
getNamein interfaceTransferTypes.TransferJobOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()A unique name (within the transfer project) assigned when the job is created. If this field is empty in a CreateTransferJobRequest, Storage Transfer Service assigns a unique name. Otherwise, the specified name is used as the unique name for this job. If the specified name is in use by a job, the creation request fails with an [ALREADY_EXISTS][google.rpc.Code.ALREADY_EXISTS] error. This name must start with `"transferJobs/"` prefix and end with a letter or a number, and should be no more than 128 characters. For transfers involving PosixFilesystem, this name must start with `transferJobs/OPI` specifically. For all other transfer types, this name must not start with `transferJobs/OPI`. Non-PosixFilesystem example: `"transferJobs/^(?!OPI)[A-Za-z0-9-._~]*[A-Za-z0-9]$"` PosixFilesystem example: `"transferJobs/OPI^[A-Za-z0-9-._~]*[A-Za-z0-9]$"` Applications must not rely on the enforcement of naming requirements involving OPI. Invalid job names fail with an [INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT] error.
string name = 1;- Specified by:
getNameBytesin interfaceTransferTypes.TransferJobOrBuilder- Returns:
- The bytes for name.
-
setName
A unique name (within the transfer project) assigned when the job is created. If this field is empty in a CreateTransferJobRequest, Storage Transfer Service assigns a unique name. Otherwise, the specified name is used as the unique name for this job. If the specified name is in use by a job, the creation request fails with an [ALREADY_EXISTS][google.rpc.Code.ALREADY_EXISTS] error. This name must start with `"transferJobs/"` prefix and end with a letter or a number, and should be no more than 128 characters. For transfers involving PosixFilesystem, this name must start with `transferJobs/OPI` specifically. For all other transfer types, this name must not start with `transferJobs/OPI`. Non-PosixFilesystem example: `"transferJobs/^(?!OPI)[A-Za-z0-9-._~]*[A-Za-z0-9]$"` PosixFilesystem example: `"transferJobs/OPI^[A-Za-z0-9-._~]*[A-Za-z0-9]$"` Applications must not rely on the enforcement of naming requirements involving OPI. Invalid job names fail with an [INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT] error.
string name = 1;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
A unique name (within the transfer project) assigned when the job is created. If this field is empty in a CreateTransferJobRequest, Storage Transfer Service assigns a unique name. Otherwise, the specified name is used as the unique name for this job. If the specified name is in use by a job, the creation request fails with an [ALREADY_EXISTS][google.rpc.Code.ALREADY_EXISTS] error. This name must start with `"transferJobs/"` prefix and end with a letter or a number, and should be no more than 128 characters. For transfers involving PosixFilesystem, this name must start with `transferJobs/OPI` specifically. For all other transfer types, this name must not start with `transferJobs/OPI`. Non-PosixFilesystem example: `"transferJobs/^(?!OPI)[A-Za-z0-9-._~]*[A-Za-z0-9]$"` PosixFilesystem example: `"transferJobs/OPI^[A-Za-z0-9-._~]*[A-Za-z0-9]$"` Applications must not rely on the enforcement of naming requirements involving OPI. Invalid job names fail with an [INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT] error.
string name = 1;- Returns:
- This builder for chaining.
-
setNameBytes
A unique name (within the transfer project) assigned when the job is created. If this field is empty in a CreateTransferJobRequest, Storage Transfer Service assigns a unique name. Otherwise, the specified name is used as the unique name for this job. If the specified name is in use by a job, the creation request fails with an [ALREADY_EXISTS][google.rpc.Code.ALREADY_EXISTS] error. This name must start with `"transferJobs/"` prefix and end with a letter or a number, and should be no more than 128 characters. For transfers involving PosixFilesystem, this name must start with `transferJobs/OPI` specifically. For all other transfer types, this name must not start with `transferJobs/OPI`. Non-PosixFilesystem example: `"transferJobs/^(?!OPI)[A-Za-z0-9-._~]*[A-Za-z0-9]$"` PosixFilesystem example: `"transferJobs/OPI^[A-Za-z0-9-._~]*[A-Za-z0-9]$"` Applications must not rely on the enforcement of naming requirements involving OPI. Invalid job names fail with an [INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT] error.
string name = 1;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getDescription
A description provided by the user for the job. Its max length is 1024 bytes when Unicode-encoded.
string description = 2;- Specified by:
getDescriptionin interfaceTransferTypes.TransferJobOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()A description provided by the user for the job. Its max length is 1024 bytes when Unicode-encoded.
string description = 2;- Specified by:
getDescriptionBytesin interfaceTransferTypes.TransferJobOrBuilder- Returns:
- The bytes for description.
-
setDescription
A description provided by the user for the job. Its max length is 1024 bytes when Unicode-encoded.
string description = 2;- Parameters:
value- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
A description provided by the user for the job. Its max length is 1024 bytes when Unicode-encoded.
string description = 2;- Returns:
- This builder for chaining.
-
setDescriptionBytes
A description provided by the user for the job. Its max length is 1024 bytes when Unicode-encoded.
string description = 2;- Parameters:
value- The bytes for description to set.- Returns:
- This builder for chaining.
-
getProjectId
The ID of the Google Cloud project that owns the job.
string project_id = 3;- Specified by:
getProjectIdin interfaceTransferTypes.TransferJobOrBuilder- Returns:
- The projectId.
-
getProjectIdBytes
public com.google.protobuf.ByteString getProjectIdBytes()The ID of the Google Cloud project that owns the job.
string project_id = 3;- Specified by:
getProjectIdBytesin interfaceTransferTypes.TransferJobOrBuilder- Returns:
- The bytes for projectId.
-
setProjectId
The ID of the Google Cloud project that owns the job.
string project_id = 3;- Parameters:
value- The projectId to set.- Returns:
- This builder for chaining.
-
clearProjectId
The ID of the Google Cloud project that owns the job.
string project_id = 3;- Returns:
- This builder for chaining.
-
setProjectIdBytes
The ID of the Google Cloud project that owns the job.
string project_id = 3;- Parameters:
value- The bytes for projectId to set.- Returns:
- This builder for chaining.
-
getServiceAccount
Optional. The user-managed service account to which to delegate service agent permissions. You can grant Cloud Storage bucket permissions to this service account instead of to the Transfer Service service agent. Format is `projects/-/serviceAccounts/ACCOUNT_EMAIL_OR_UNIQUEID` Either the service account email (`SERVICE_ACCOUNT_NAME@PROJECT_ID.iam.gserviceaccount.com`) or the unique ID (`123456789012345678901`) are accepted in the string. The `-` wildcard character is required; replacing it with a project ID is invalid. See https://cloud.google.com//storage-transfer/docs/delegate-service-agent-permissions for required permissions.
string service_account = 18 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getServiceAccountin interfaceTransferTypes.TransferJobOrBuilder- Returns:
- The serviceAccount.
-
getServiceAccountBytes
public com.google.protobuf.ByteString getServiceAccountBytes()Optional. The user-managed service account to which to delegate service agent permissions. You can grant Cloud Storage bucket permissions to this service account instead of to the Transfer Service service agent. Format is `projects/-/serviceAccounts/ACCOUNT_EMAIL_OR_UNIQUEID` Either the service account email (`SERVICE_ACCOUNT_NAME@PROJECT_ID.iam.gserviceaccount.com`) or the unique ID (`123456789012345678901`) are accepted in the string. The `-` wildcard character is required; replacing it with a project ID is invalid. See https://cloud.google.com//storage-transfer/docs/delegate-service-agent-permissions for required permissions.
string service_account = 18 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getServiceAccountBytesin interfaceTransferTypes.TransferJobOrBuilder- Returns:
- The bytes for serviceAccount.
-
setServiceAccount
Optional. The user-managed service account to which to delegate service agent permissions. You can grant Cloud Storage bucket permissions to this service account instead of to the Transfer Service service agent. Format is `projects/-/serviceAccounts/ACCOUNT_EMAIL_OR_UNIQUEID` Either the service account email (`SERVICE_ACCOUNT_NAME@PROJECT_ID.iam.gserviceaccount.com`) or the unique ID (`123456789012345678901`) are accepted in the string. The `-` wildcard character is required; replacing it with a project ID is invalid. See https://cloud.google.com//storage-transfer/docs/delegate-service-agent-permissions for required permissions.
string service_account = 18 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The serviceAccount to set.- Returns:
- This builder for chaining.
-
clearServiceAccount
Optional. The user-managed service account to which to delegate service agent permissions. You can grant Cloud Storage bucket permissions to this service account instead of to the Transfer Service service agent. Format is `projects/-/serviceAccounts/ACCOUNT_EMAIL_OR_UNIQUEID` Either the service account email (`SERVICE_ACCOUNT_NAME@PROJECT_ID.iam.gserviceaccount.com`) or the unique ID (`123456789012345678901`) are accepted in the string. The `-` wildcard character is required; replacing it with a project ID is invalid. See https://cloud.google.com//storage-transfer/docs/delegate-service-agent-permissions for required permissions.
string service_account = 18 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
setServiceAccountBytes
public TransferTypes.TransferJob.Builder setServiceAccountBytes(com.google.protobuf.ByteString value) Optional. The user-managed service account to which to delegate service agent permissions. You can grant Cloud Storage bucket permissions to this service account instead of to the Transfer Service service agent. Format is `projects/-/serviceAccounts/ACCOUNT_EMAIL_OR_UNIQUEID` Either the service account email (`SERVICE_ACCOUNT_NAME@PROJECT_ID.iam.gserviceaccount.com`) or the unique ID (`123456789012345678901`) are accepted in the string. The `-` wildcard character is required; replacing it with a project ID is invalid. See https://cloud.google.com//storage-transfer/docs/delegate-service-agent-permissions for required permissions.
string service_account = 18 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The bytes for serviceAccount to set.- Returns:
- This builder for chaining.
-
hasTransferSpec
public boolean hasTransferSpec()Transfer specification.
.google.storagetransfer.v1.TransferSpec transfer_spec = 4;- Specified by:
hasTransferSpecin interfaceTransferTypes.TransferJobOrBuilder- Returns:
- Whether the transferSpec field is set.
-
getTransferSpec
Transfer specification.
.google.storagetransfer.v1.TransferSpec transfer_spec = 4;- Specified by:
getTransferSpecin interfaceTransferTypes.TransferJobOrBuilder- Returns:
- The transferSpec.
-
setTransferSpec
Transfer specification.
.google.storagetransfer.v1.TransferSpec transfer_spec = 4; -
setTransferSpec
public TransferTypes.TransferJob.Builder setTransferSpec(TransferTypes.TransferSpec.Builder builderForValue) Transfer specification.
.google.storagetransfer.v1.TransferSpec transfer_spec = 4; -
mergeTransferSpec
Transfer specification.
.google.storagetransfer.v1.TransferSpec transfer_spec = 4; -
clearTransferSpec
Transfer specification.
.google.storagetransfer.v1.TransferSpec transfer_spec = 4; -
getTransferSpecBuilder
Transfer specification.
.google.storagetransfer.v1.TransferSpec transfer_spec = 4; -
getTransferSpecOrBuilder
Transfer specification.
.google.storagetransfer.v1.TransferSpec transfer_spec = 4;- Specified by:
getTransferSpecOrBuilderin interfaceTransferTypes.TransferJobOrBuilder
-
hasReplicationSpec
public boolean hasReplicationSpec()Replication specification.
.google.storagetransfer.v1.ReplicationSpec replication_spec = 17;- Specified by:
hasReplicationSpecin interfaceTransferTypes.TransferJobOrBuilder- Returns:
- Whether the replicationSpec field is set.
-
getReplicationSpec
Replication specification.
.google.storagetransfer.v1.ReplicationSpec replication_spec = 17;- Specified by:
getReplicationSpecin interfaceTransferTypes.TransferJobOrBuilder- Returns:
- The replicationSpec.
-
setReplicationSpec
Replication specification.
.google.storagetransfer.v1.ReplicationSpec replication_spec = 17; -
setReplicationSpec
public TransferTypes.TransferJob.Builder setReplicationSpec(TransferTypes.ReplicationSpec.Builder builderForValue) Replication specification.
.google.storagetransfer.v1.ReplicationSpec replication_spec = 17; -
mergeReplicationSpec
Replication specification.
.google.storagetransfer.v1.ReplicationSpec replication_spec = 17; -
clearReplicationSpec
Replication specification.
.google.storagetransfer.v1.ReplicationSpec replication_spec = 17; -
getReplicationSpecBuilder
Replication specification.
.google.storagetransfer.v1.ReplicationSpec replication_spec = 17; -
getReplicationSpecOrBuilder
Replication specification.
.google.storagetransfer.v1.ReplicationSpec replication_spec = 17;- Specified by:
getReplicationSpecOrBuilderin interfaceTransferTypes.TransferJobOrBuilder
-
hasNotificationConfig
public boolean hasNotificationConfig()Notification configuration.
.google.storagetransfer.v1.NotificationConfig notification_config = 11;- Specified by:
hasNotificationConfigin interfaceTransferTypes.TransferJobOrBuilder- Returns:
- Whether the notificationConfig field is set.
-
getNotificationConfig
Notification configuration.
.google.storagetransfer.v1.NotificationConfig notification_config = 11;- Specified by:
getNotificationConfigin interfaceTransferTypes.TransferJobOrBuilder- Returns:
- The notificationConfig.
-
setNotificationConfig
public TransferTypes.TransferJob.Builder setNotificationConfig(TransferTypes.NotificationConfig value) Notification configuration.
.google.storagetransfer.v1.NotificationConfig notification_config = 11; -
setNotificationConfig
public TransferTypes.TransferJob.Builder setNotificationConfig(TransferTypes.NotificationConfig.Builder builderForValue) Notification configuration.
.google.storagetransfer.v1.NotificationConfig notification_config = 11; -
mergeNotificationConfig
public TransferTypes.TransferJob.Builder mergeNotificationConfig(TransferTypes.NotificationConfig value) Notification configuration.
.google.storagetransfer.v1.NotificationConfig notification_config = 11; -
clearNotificationConfig
Notification configuration.
.google.storagetransfer.v1.NotificationConfig notification_config = 11; -
getNotificationConfigBuilder
Notification configuration.
.google.storagetransfer.v1.NotificationConfig notification_config = 11; -
getNotificationConfigOrBuilder
Notification configuration.
.google.storagetransfer.v1.NotificationConfig notification_config = 11;- Specified by:
getNotificationConfigOrBuilderin interfaceTransferTypes.TransferJobOrBuilder
-
hasLoggingConfig
public boolean hasLoggingConfig()Logging configuration.
.google.storagetransfer.v1.LoggingConfig logging_config = 14;- Specified by:
hasLoggingConfigin interfaceTransferTypes.TransferJobOrBuilder- Returns:
- Whether the loggingConfig field is set.
-
getLoggingConfig
Logging configuration.
.google.storagetransfer.v1.LoggingConfig logging_config = 14;- Specified by:
getLoggingConfigin interfaceTransferTypes.TransferJobOrBuilder- Returns:
- The loggingConfig.
-
setLoggingConfig
Logging configuration.
.google.storagetransfer.v1.LoggingConfig logging_config = 14; -
setLoggingConfig
public TransferTypes.TransferJob.Builder setLoggingConfig(TransferTypes.LoggingConfig.Builder builderForValue) Logging configuration.
.google.storagetransfer.v1.LoggingConfig logging_config = 14; -
mergeLoggingConfig
Logging configuration.
.google.storagetransfer.v1.LoggingConfig logging_config = 14; -
clearLoggingConfig
Logging configuration.
.google.storagetransfer.v1.LoggingConfig logging_config = 14; -
getLoggingConfigBuilder
Logging configuration.
.google.storagetransfer.v1.LoggingConfig logging_config = 14; -
getLoggingConfigOrBuilder
Logging configuration.
.google.storagetransfer.v1.LoggingConfig logging_config = 14;- Specified by:
getLoggingConfigOrBuilderin interfaceTransferTypes.TransferJobOrBuilder
-
hasSchedule
public boolean hasSchedule()Specifies schedule for the transfer job. This is an optional field. When the field is not set, the job never executes a transfer, unless you invoke RunTransferJob or update the job to have a non-empty schedule.
.google.storagetransfer.v1.Schedule schedule = 5;- Specified by:
hasSchedulein interfaceTransferTypes.TransferJobOrBuilder- Returns:
- Whether the schedule field is set.
-
getSchedule
Specifies schedule for the transfer job. This is an optional field. When the field is not set, the job never executes a transfer, unless you invoke RunTransferJob or update the job to have a non-empty schedule.
.google.storagetransfer.v1.Schedule schedule = 5;- Specified by:
getSchedulein interfaceTransferTypes.TransferJobOrBuilder- Returns:
- The schedule.
-
setSchedule
Specifies schedule for the transfer job. This is an optional field. When the field is not set, the job never executes a transfer, unless you invoke RunTransferJob or update the job to have a non-empty schedule.
.google.storagetransfer.v1.Schedule schedule = 5; -
setSchedule
public TransferTypes.TransferJob.Builder setSchedule(TransferTypes.Schedule.Builder builderForValue) Specifies schedule for the transfer job. This is an optional field. When the field is not set, the job never executes a transfer, unless you invoke RunTransferJob or update the job to have a non-empty schedule.
.google.storagetransfer.v1.Schedule schedule = 5; -
mergeSchedule
Specifies schedule for the transfer job. This is an optional field. When the field is not set, the job never executes a transfer, unless you invoke RunTransferJob or update the job to have a non-empty schedule.
.google.storagetransfer.v1.Schedule schedule = 5; -
clearSchedule
Specifies schedule for the transfer job. This is an optional field. When the field is not set, the job never executes a transfer, unless you invoke RunTransferJob or update the job to have a non-empty schedule.
.google.storagetransfer.v1.Schedule schedule = 5; -
getScheduleBuilder
Specifies schedule for the transfer job. This is an optional field. When the field is not set, the job never executes a transfer, unless you invoke RunTransferJob or update the job to have a non-empty schedule.
.google.storagetransfer.v1.Schedule schedule = 5; -
getScheduleOrBuilder
Specifies schedule for the transfer job. This is an optional field. When the field is not set, the job never executes a transfer, unless you invoke RunTransferJob or update the job to have a non-empty schedule.
.google.storagetransfer.v1.Schedule schedule = 5;- Specified by:
getScheduleOrBuilderin interfaceTransferTypes.TransferJobOrBuilder
-
hasEventStream
public boolean hasEventStream()Specifies the event stream for the transfer job for event-driven transfers. When EventStream is specified, the Schedule fields are ignored.
.google.storagetransfer.v1.EventStream event_stream = 15;- Specified by:
hasEventStreamin interfaceTransferTypes.TransferJobOrBuilder- Returns:
- Whether the eventStream field is set.
-
getEventStream
Specifies the event stream for the transfer job for event-driven transfers. When EventStream is specified, the Schedule fields are ignored.
.google.storagetransfer.v1.EventStream event_stream = 15;- Specified by:
getEventStreamin interfaceTransferTypes.TransferJobOrBuilder- Returns:
- The eventStream.
-
setEventStream
Specifies the event stream for the transfer job for event-driven transfers. When EventStream is specified, the Schedule fields are ignored.
.google.storagetransfer.v1.EventStream event_stream = 15; -
setEventStream
public TransferTypes.TransferJob.Builder setEventStream(TransferTypes.EventStream.Builder builderForValue) Specifies the event stream for the transfer job for event-driven transfers. When EventStream is specified, the Schedule fields are ignored.
.google.storagetransfer.v1.EventStream event_stream = 15; -
mergeEventStream
Specifies the event stream for the transfer job for event-driven transfers. When EventStream is specified, the Schedule fields are ignored.
.google.storagetransfer.v1.EventStream event_stream = 15; -
clearEventStream
Specifies the event stream for the transfer job for event-driven transfers. When EventStream is specified, the Schedule fields are ignored.
.google.storagetransfer.v1.EventStream event_stream = 15; -
getEventStreamBuilder
Specifies the event stream for the transfer job for event-driven transfers. When EventStream is specified, the Schedule fields are ignored.
.google.storagetransfer.v1.EventStream event_stream = 15; -
getEventStreamOrBuilder
Specifies the event stream for the transfer job for event-driven transfers. When EventStream is specified, the Schedule fields are ignored.
.google.storagetransfer.v1.EventStream event_stream = 15;- Specified by:
getEventStreamOrBuilderin interfaceTransferTypes.TransferJobOrBuilder
-
getStatusValue
public int getStatusValue()Status of the job. This value MUST be specified for `CreateTransferJobRequests`. **Note:** The effect of the new job status takes place during a subsequent job run. For example, if you change the job status from [ENABLED][google.storagetransfer.v1.TransferJob.Status.ENABLED] to [DISABLED][google.storagetransfer.v1.TransferJob.Status.DISABLED], and an operation spawned by the transfer is running, the status change would not affect the current operation.
.google.storagetransfer.v1.TransferJob.Status status = 6;- Specified by:
getStatusValuein interfaceTransferTypes.TransferJobOrBuilder- Returns:
- The enum numeric value on the wire for status.
-
setStatusValue
Status of the job. This value MUST be specified for `CreateTransferJobRequests`. **Note:** The effect of the new job status takes place during a subsequent job run. For example, if you change the job status from [ENABLED][google.storagetransfer.v1.TransferJob.Status.ENABLED] to [DISABLED][google.storagetransfer.v1.TransferJob.Status.DISABLED], and an operation spawned by the transfer is running, the status change would not affect the current operation.
.google.storagetransfer.v1.TransferJob.Status status = 6;- Parameters:
value- The enum numeric value on the wire for status to set.- Returns:
- This builder for chaining.
-
getStatus
Status of the job. This value MUST be specified for `CreateTransferJobRequests`. **Note:** The effect of the new job status takes place during a subsequent job run. For example, if you change the job status from [ENABLED][google.storagetransfer.v1.TransferJob.Status.ENABLED] to [DISABLED][google.storagetransfer.v1.TransferJob.Status.DISABLED], and an operation spawned by the transfer is running, the status change would not affect the current operation.
.google.storagetransfer.v1.TransferJob.Status status = 6;- Specified by:
getStatusin interfaceTransferTypes.TransferJobOrBuilder- Returns:
- The status.
-
setStatus
Status of the job. This value MUST be specified for `CreateTransferJobRequests`. **Note:** The effect of the new job status takes place during a subsequent job run. For example, if you change the job status from [ENABLED][google.storagetransfer.v1.TransferJob.Status.ENABLED] to [DISABLED][google.storagetransfer.v1.TransferJob.Status.DISABLED], and an operation spawned by the transfer is running, the status change would not affect the current operation.
.google.storagetransfer.v1.TransferJob.Status status = 6;- Parameters:
value- The status to set.- Returns:
- This builder for chaining.
-
clearStatus
Status of the job. This value MUST be specified for `CreateTransferJobRequests`. **Note:** The effect of the new job status takes place during a subsequent job run. For example, if you change the job status from [ENABLED][google.storagetransfer.v1.TransferJob.Status.ENABLED] to [DISABLED][google.storagetransfer.v1.TransferJob.Status.DISABLED], and an operation spawned by the transfer is running, the status change would not affect the current operation.
.google.storagetransfer.v1.TransferJob.Status status = 6;- Returns:
- This builder for chaining.
-
hasCreationTime
public boolean hasCreationTime()Output only. The time that the transfer job was created.
.google.protobuf.Timestamp creation_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasCreationTimein interfaceTransferTypes.TransferJobOrBuilder- Returns:
- Whether the creationTime field is set.
-
getCreationTime
public com.google.protobuf.Timestamp getCreationTime()Output only. The time that the transfer job was created.
.google.protobuf.Timestamp creation_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreationTimein interfaceTransferTypes.TransferJobOrBuilder- Returns:
- The creationTime.
-
setCreationTime
Output only. The time that the transfer job was created.
.google.protobuf.Timestamp creation_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setCreationTime
public TransferTypes.TransferJob.Builder setCreationTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only. The time that the transfer job was created.
.google.protobuf.Timestamp creation_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeCreationTime
Output only. The time that the transfer job was created.
.google.protobuf.Timestamp creation_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearCreationTime
Output only. The time that the transfer job was created.
.google.protobuf.Timestamp creation_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getCreationTimeBuilder
public com.google.protobuf.Timestamp.Builder getCreationTimeBuilder()Output only. The time that the transfer job was created.
.google.protobuf.Timestamp creation_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getCreationTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreationTimeOrBuilder()Output only. The time that the transfer job was created.
.google.protobuf.Timestamp creation_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreationTimeOrBuilderin interfaceTransferTypes.TransferJobOrBuilder
-
hasLastModificationTime
public boolean hasLastModificationTime()Output only. The time that the transfer job was last modified.
.google.protobuf.Timestamp last_modification_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasLastModificationTimein interfaceTransferTypes.TransferJobOrBuilder- Returns:
- Whether the lastModificationTime field is set.
-
getLastModificationTime
public com.google.protobuf.Timestamp getLastModificationTime()Output only. The time that the transfer job was last modified.
.google.protobuf.Timestamp last_modification_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getLastModificationTimein interfaceTransferTypes.TransferJobOrBuilder- Returns:
- The lastModificationTime.
-
setLastModificationTime
public TransferTypes.TransferJob.Builder setLastModificationTime(com.google.protobuf.Timestamp value) Output only. The time that the transfer job was last modified.
.google.protobuf.Timestamp last_modification_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setLastModificationTime
public TransferTypes.TransferJob.Builder setLastModificationTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only. The time that the transfer job was last modified.
.google.protobuf.Timestamp last_modification_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeLastModificationTime
public TransferTypes.TransferJob.Builder mergeLastModificationTime(com.google.protobuf.Timestamp value) Output only. The time that the transfer job was last modified.
.google.protobuf.Timestamp last_modification_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearLastModificationTime
Output only. The time that the transfer job was last modified.
.google.protobuf.Timestamp last_modification_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getLastModificationTimeBuilder
public com.google.protobuf.Timestamp.Builder getLastModificationTimeBuilder()Output only. The time that the transfer job was last modified.
.google.protobuf.Timestamp last_modification_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getLastModificationTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getLastModificationTimeOrBuilder()Output only. The time that the transfer job was last modified.
.google.protobuf.Timestamp last_modification_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getLastModificationTimeOrBuilderin interfaceTransferTypes.TransferJobOrBuilder
-
hasDeletionTime
public boolean hasDeletionTime()Output only. The time that the transfer job was deleted.
.google.protobuf.Timestamp deletion_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasDeletionTimein interfaceTransferTypes.TransferJobOrBuilder- Returns:
- Whether the deletionTime field is set.
-
getDeletionTime
public com.google.protobuf.Timestamp getDeletionTime()Output only. The time that the transfer job was deleted.
.google.protobuf.Timestamp deletion_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getDeletionTimein interfaceTransferTypes.TransferJobOrBuilder- Returns:
- The deletionTime.
-
setDeletionTime
Output only. The time that the transfer job was deleted.
.google.protobuf.Timestamp deletion_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setDeletionTime
public TransferTypes.TransferJob.Builder setDeletionTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only. The time that the transfer job was deleted.
.google.protobuf.Timestamp deletion_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeDeletionTime
Output only. The time that the transfer job was deleted.
.google.protobuf.Timestamp deletion_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearDeletionTime
Output only. The time that the transfer job was deleted.
.google.protobuf.Timestamp deletion_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getDeletionTimeBuilder
public com.google.protobuf.Timestamp.Builder getDeletionTimeBuilder()Output only. The time that the transfer job was deleted.
.google.protobuf.Timestamp deletion_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getDeletionTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getDeletionTimeOrBuilder()Output only. The time that the transfer job was deleted.
.google.protobuf.Timestamp deletion_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getDeletionTimeOrBuilderin interfaceTransferTypes.TransferJobOrBuilder
-
getLatestOperationName
The name of the most recently started TransferOperation of this JobConfig. Present if a TransferOperation has been created for this JobConfig.
string latest_operation_name = 12;- Specified by:
getLatestOperationNamein interfaceTransferTypes.TransferJobOrBuilder- Returns:
- The latestOperationName.
-
getLatestOperationNameBytes
public com.google.protobuf.ByteString getLatestOperationNameBytes()The name of the most recently started TransferOperation of this JobConfig. Present if a TransferOperation has been created for this JobConfig.
string latest_operation_name = 12;- Specified by:
getLatestOperationNameBytesin interfaceTransferTypes.TransferJobOrBuilder- Returns:
- The bytes for latestOperationName.
-
setLatestOperationName
The name of the most recently started TransferOperation of this JobConfig. Present if a TransferOperation has been created for this JobConfig.
string latest_operation_name = 12;- Parameters:
value- The latestOperationName to set.- Returns:
- This builder for chaining.
-
clearLatestOperationName
The name of the most recently started TransferOperation of this JobConfig. Present if a TransferOperation has been created for this JobConfig.
string latest_operation_name = 12;- Returns:
- This builder for chaining.
-
setLatestOperationNameBytes
public TransferTypes.TransferJob.Builder setLatestOperationNameBytes(com.google.protobuf.ByteString value) The name of the most recently started TransferOperation of this JobConfig. Present if a TransferOperation has been created for this JobConfig.
string latest_operation_name = 12;- Parameters:
value- The bytes for latestOperationName to set.- Returns:
- This builder for chaining.
-