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 Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<TransferTypes.TransferJob.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<TransferTypes.TransferJob.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<TransferTypes.TransferJob.Builder>
    • getDefaultInstanceForType

      public TransferTypes.TransferJob getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public TransferTypes.TransferJob build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public TransferTypes.TransferJob buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public TransferTypes.TransferJob.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<TransferTypes.TransferJob.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.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:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<TransferTypes.TransferJob.Builder>
      Throws:
      IOException
    • getName

      public String 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:
      getName in interface TransferTypes.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:
      getNameBytes in interface TransferTypes.TransferJobOrBuilder
      Returns:
      The bytes for name.
    • setName

      public TransferTypes.TransferJob.Builder setName(String value)
       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

      public TransferTypes.TransferJob.Builder setNameBytes(com.google.protobuf.ByteString value)
       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

      public String getDescription()
       A description provided by the user for the job. Its max length is 1024
       bytes when Unicode-encoded.
       
      string description = 2;
      Specified by:
      getDescription in interface TransferTypes.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:
      getDescriptionBytes in interface TransferTypes.TransferJobOrBuilder
      Returns:
      The bytes for description.
    • setDescription

      public TransferTypes.TransferJob.Builder setDescription(String value)
       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

      public TransferTypes.TransferJob.Builder 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

      public TransferTypes.TransferJob.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
       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

      public String getProjectId()
       The ID of the Google Cloud project that owns the job.
       
      string project_id = 3;
      Specified by:
      getProjectId in interface TransferTypes.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:
      getProjectIdBytes in interface TransferTypes.TransferJobOrBuilder
      Returns:
      The bytes for projectId.
    • setProjectId

      public TransferTypes.TransferJob.Builder setProjectId(String value)
       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

      public TransferTypes.TransferJob.Builder clearProjectId()
       The ID of the Google Cloud project that owns the job.
       
      string project_id = 3;
      Returns:
      This builder for chaining.
    • setProjectIdBytes

      public TransferTypes.TransferJob.Builder setProjectIdBytes(com.google.protobuf.ByteString value)
       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

      public String 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:
      getServiceAccount in interface TransferTypes.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:
      getServiceAccountBytes in interface TransferTypes.TransferJobOrBuilder
      Returns:
      The bytes for serviceAccount.
    • setServiceAccount

      public TransferTypes.TransferJob.Builder setServiceAccount(String 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 serviceAccount to set.
      Returns:
      This builder for chaining.
    • clearServiceAccount

      public TransferTypes.TransferJob.Builder 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:
      hasTransferSpec in interface TransferTypes.TransferJobOrBuilder
      Returns:
      Whether the transferSpec field is set.
    • getTransferSpec

      public TransferTypes.TransferSpec getTransferSpec()
       Transfer specification.
       
      .google.storagetransfer.v1.TransferSpec transfer_spec = 4;
      Specified by:
      getTransferSpec in interface TransferTypes.TransferJobOrBuilder
      Returns:
      The transferSpec.
    • setTransferSpec

       Transfer specification.
       
      .google.storagetransfer.v1.TransferSpec transfer_spec = 4;
    • setTransferSpec

       Transfer specification.
       
      .google.storagetransfer.v1.TransferSpec transfer_spec = 4;
    • mergeTransferSpec

       Transfer specification.
       
      .google.storagetransfer.v1.TransferSpec transfer_spec = 4;
    • clearTransferSpec

      public TransferTypes.TransferJob.Builder clearTransferSpec()
       Transfer specification.
       
      .google.storagetransfer.v1.TransferSpec transfer_spec = 4;
    • getTransferSpecBuilder

      public TransferTypes.TransferSpec.Builder getTransferSpecBuilder()
       Transfer specification.
       
      .google.storagetransfer.v1.TransferSpec transfer_spec = 4;
    • getTransferSpecOrBuilder

      public TransferTypes.TransferSpecOrBuilder getTransferSpecOrBuilder()
       Transfer specification.
       
      .google.storagetransfer.v1.TransferSpec transfer_spec = 4;
      Specified by:
      getTransferSpecOrBuilder in interface TransferTypes.TransferJobOrBuilder
    • hasReplicationSpec

      public boolean hasReplicationSpec()
       Replication specification.
       
      .google.storagetransfer.v1.ReplicationSpec replication_spec = 17;
      Specified by:
      hasReplicationSpec in interface TransferTypes.TransferJobOrBuilder
      Returns:
      Whether the replicationSpec field is set.
    • getReplicationSpec

      public TransferTypes.ReplicationSpec getReplicationSpec()
       Replication specification.
       
      .google.storagetransfer.v1.ReplicationSpec replication_spec = 17;
      Specified by:
      getReplicationSpec in interface TransferTypes.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

      public TransferTypes.TransferJob.Builder clearReplicationSpec()
       Replication specification.
       
      .google.storagetransfer.v1.ReplicationSpec replication_spec = 17;
    • getReplicationSpecBuilder

      public TransferTypes.ReplicationSpec.Builder getReplicationSpecBuilder()
       Replication specification.
       
      .google.storagetransfer.v1.ReplicationSpec replication_spec = 17;
    • getReplicationSpecOrBuilder

      public TransferTypes.ReplicationSpecOrBuilder getReplicationSpecOrBuilder()
       Replication specification.
       
      .google.storagetransfer.v1.ReplicationSpec replication_spec = 17;
      Specified by:
      getReplicationSpecOrBuilder in interface TransferTypes.TransferJobOrBuilder
    • hasNotificationConfig

      public boolean hasNotificationConfig()
       Notification configuration.
       
      .google.storagetransfer.v1.NotificationConfig notification_config = 11;
      Specified by:
      hasNotificationConfig in interface TransferTypes.TransferJobOrBuilder
      Returns:
      Whether the notificationConfig field is set.
    • getNotificationConfig

      public TransferTypes.NotificationConfig getNotificationConfig()
       Notification configuration.
       
      .google.storagetransfer.v1.NotificationConfig notification_config = 11;
      Specified by:
      getNotificationConfig in interface TransferTypes.TransferJobOrBuilder
      Returns:
      The notificationConfig.
    • setNotificationConfig

       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

       Notification configuration.
       
      .google.storagetransfer.v1.NotificationConfig notification_config = 11;
    • clearNotificationConfig

      public TransferTypes.TransferJob.Builder clearNotificationConfig()
       Notification configuration.
       
      .google.storagetransfer.v1.NotificationConfig notification_config = 11;
    • getNotificationConfigBuilder

      public TransferTypes.NotificationConfig.Builder getNotificationConfigBuilder()
       Notification configuration.
       
      .google.storagetransfer.v1.NotificationConfig notification_config = 11;
    • getNotificationConfigOrBuilder

      public TransferTypes.NotificationConfigOrBuilder getNotificationConfigOrBuilder()
       Notification configuration.
       
      .google.storagetransfer.v1.NotificationConfig notification_config = 11;
      Specified by:
      getNotificationConfigOrBuilder in interface TransferTypes.TransferJobOrBuilder
    • hasLoggingConfig

      public boolean hasLoggingConfig()
       Logging configuration.
       
      .google.storagetransfer.v1.LoggingConfig logging_config = 14;
      Specified by:
      hasLoggingConfig in interface TransferTypes.TransferJobOrBuilder
      Returns:
      Whether the loggingConfig field is set.
    • getLoggingConfig

      public TransferTypes.LoggingConfig getLoggingConfig()
       Logging configuration.
       
      .google.storagetransfer.v1.LoggingConfig logging_config = 14;
      Specified by:
      getLoggingConfig in interface TransferTypes.TransferJobOrBuilder
      Returns:
      The loggingConfig.
    • setLoggingConfig

       Logging configuration.
       
      .google.storagetransfer.v1.LoggingConfig logging_config = 14;
    • setLoggingConfig

       Logging configuration.
       
      .google.storagetransfer.v1.LoggingConfig logging_config = 14;
    • mergeLoggingConfig

       Logging configuration.
       
      .google.storagetransfer.v1.LoggingConfig logging_config = 14;
    • clearLoggingConfig

      public TransferTypes.TransferJob.Builder clearLoggingConfig()
       Logging configuration.
       
      .google.storagetransfer.v1.LoggingConfig logging_config = 14;
    • getLoggingConfigBuilder

      public TransferTypes.LoggingConfig.Builder getLoggingConfigBuilder()
       Logging configuration.
       
      .google.storagetransfer.v1.LoggingConfig logging_config = 14;
    • getLoggingConfigOrBuilder

      public TransferTypes.LoggingConfigOrBuilder getLoggingConfigOrBuilder()
       Logging configuration.
       
      .google.storagetransfer.v1.LoggingConfig logging_config = 14;
      Specified by:
      getLoggingConfigOrBuilder in interface TransferTypes.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:
      hasSchedule in interface TransferTypes.TransferJobOrBuilder
      Returns:
      Whether the schedule field is set.
    • getSchedule

      public TransferTypes.Schedule 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:
      getSchedule in interface TransferTypes.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

       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

      public TransferTypes.TransferJob.Builder 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

      public TransferTypes.Schedule.Builder 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

      public TransferTypes.ScheduleOrBuilder 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:
      getScheduleOrBuilder in interface TransferTypes.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:
      hasEventStream in interface TransferTypes.TransferJobOrBuilder
      Returns:
      Whether the eventStream field is set.
    • getEventStream

      public TransferTypes.EventStream 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:
      getEventStream in interface TransferTypes.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

       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

      public TransferTypes.TransferJob.Builder 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

      public TransferTypes.EventStream.Builder 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

      public TransferTypes.EventStreamOrBuilder 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:
      getEventStreamOrBuilder in interface TransferTypes.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:
      getStatusValue in interface TransferTypes.TransferJobOrBuilder
      Returns:
      The enum numeric value on the wire for status.
    • setStatusValue

      public TransferTypes.TransferJob.Builder setStatusValue(int value)
       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:
      getStatus in interface TransferTypes.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

      public TransferTypes.TransferJob.Builder 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:
      hasCreationTime in interface TransferTypes.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:
      getCreationTime in interface TransferTypes.TransferJobOrBuilder
      Returns:
      The creationTime.
    • setCreationTime

      public TransferTypes.TransferJob.Builder setCreationTime(com.google.protobuf.Timestamp value)
       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

      public TransferTypes.TransferJob.Builder mergeCreationTime(com.google.protobuf.Timestamp value)
       Output only. The time that the transfer job was created.
       
      .google.protobuf.Timestamp creation_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearCreationTime

      public TransferTypes.TransferJob.Builder 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:
      getCreationTimeOrBuilder in interface TransferTypes.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:
      hasLastModificationTime in interface TransferTypes.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:
      getLastModificationTime in interface TransferTypes.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

      public TransferTypes.TransferJob.Builder 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:
      getLastModificationTimeOrBuilder in interface TransferTypes.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:
      hasDeletionTime in interface TransferTypes.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:
      getDeletionTime in interface TransferTypes.TransferJobOrBuilder
      Returns:
      The deletionTime.
    • setDeletionTime

      public TransferTypes.TransferJob.Builder setDeletionTime(com.google.protobuf.Timestamp value)
       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

      public TransferTypes.TransferJob.Builder mergeDeletionTime(com.google.protobuf.Timestamp value)
       Output only. The time that the transfer job was deleted.
       
      .google.protobuf.Timestamp deletion_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearDeletionTime

      public TransferTypes.TransferJob.Builder 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:
      getDeletionTimeOrBuilder in interface TransferTypes.TransferJobOrBuilder
    • getLatestOperationName

      public String 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:
      getLatestOperationName in interface TransferTypes.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:
      getLatestOperationNameBytes in interface TransferTypes.TransferJobOrBuilder
      Returns:
      The bytes for latestOperationName.
    • setLatestOperationName

      public TransferTypes.TransferJob.Builder setLatestOperationName(String 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 latestOperationName to set.
      Returns:
      This builder for chaining.
    • clearLatestOperationName

      public TransferTypes.TransferJob.Builder 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.