Class TransferTypes.Schedule.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<TransferTypes.Schedule.Builder>
com.google.storagetransfer.v1.proto.TransferTypes.Schedule.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, TransferTypes.ScheduleOrBuilder, Cloneable
Enclosing class:
TransferTypes.Schedule

public static final class TransferTypes.Schedule.Builder extends com.google.protobuf.GeneratedMessage.Builder<TransferTypes.Schedule.Builder> implements TransferTypes.ScheduleOrBuilder
 Transfers can be scheduled to recur or to run just once.
 
Protobuf type google.storagetransfer.v1.Schedule
  • 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.Schedule.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.Schedule.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.Schedule.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public TransferTypes.Schedule.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.Schedule.Builder>
      Throws:
      IOException
    • hasScheduleStartDate

      public boolean hasScheduleStartDate()
       Required. The start date of a transfer. Date boundaries are determined
       relative to UTC time. If `schedule_start_date` and
       [start_time_of_day][google.storagetransfer.v1.Schedule.start_time_of_day]
       are in the past relative to the job's creation time, the transfer starts
       the day after you schedule the transfer request.
      
       **Note:** When starting jobs at or near midnight UTC it is possible that
       a job starts later than expected. For example, if you send an outbound
       request on June 1 one millisecond prior to midnight UTC and the Storage
       Transfer Service server receives the request on June 2, then it creates
       a TransferJob with `schedule_start_date` set to June 2 and a
       `start_time_of_day` set to midnight UTC. The first scheduled
       [TransferOperation][google.storagetransfer.v1.TransferOperation] takes
       place on June 3 at midnight UTC.
       
      .google.type.Date schedule_start_date = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasScheduleStartDate in interface TransferTypes.ScheduleOrBuilder
      Returns:
      Whether the scheduleStartDate field is set.
    • getScheduleStartDate

      public Date getScheduleStartDate()
       Required. The start date of a transfer. Date boundaries are determined
       relative to UTC time. If `schedule_start_date` and
       [start_time_of_day][google.storagetransfer.v1.Schedule.start_time_of_day]
       are in the past relative to the job's creation time, the transfer starts
       the day after you schedule the transfer request.
      
       **Note:** When starting jobs at or near midnight UTC it is possible that
       a job starts later than expected. For example, if you send an outbound
       request on June 1 one millisecond prior to midnight UTC and the Storage
       Transfer Service server receives the request on June 2, then it creates
       a TransferJob with `schedule_start_date` set to June 2 and a
       `start_time_of_day` set to midnight UTC. The first scheduled
       [TransferOperation][google.storagetransfer.v1.TransferOperation] takes
       place on June 3 at midnight UTC.
       
      .google.type.Date schedule_start_date = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getScheduleStartDate in interface TransferTypes.ScheduleOrBuilder
      Returns:
      The scheduleStartDate.
    • setScheduleStartDate

      public TransferTypes.Schedule.Builder setScheduleStartDate(Date value)
       Required. The start date of a transfer. Date boundaries are determined
       relative to UTC time. If `schedule_start_date` and
       [start_time_of_day][google.storagetransfer.v1.Schedule.start_time_of_day]
       are in the past relative to the job's creation time, the transfer starts
       the day after you schedule the transfer request.
      
       **Note:** When starting jobs at or near midnight UTC it is possible that
       a job starts later than expected. For example, if you send an outbound
       request on June 1 one millisecond prior to midnight UTC and the Storage
       Transfer Service server receives the request on June 2, then it creates
       a TransferJob with `schedule_start_date` set to June 2 and a
       `start_time_of_day` set to midnight UTC. The first scheduled
       [TransferOperation][google.storagetransfer.v1.TransferOperation] takes
       place on June 3 at midnight UTC.
       
      .google.type.Date schedule_start_date = 1 [(.google.api.field_behavior) = REQUIRED];
    • setScheduleStartDate

      public TransferTypes.Schedule.Builder setScheduleStartDate(Date.Builder builderForValue)
       Required. The start date of a transfer. Date boundaries are determined
       relative to UTC time. If `schedule_start_date` and
       [start_time_of_day][google.storagetransfer.v1.Schedule.start_time_of_day]
       are in the past relative to the job's creation time, the transfer starts
       the day after you schedule the transfer request.
      
       **Note:** When starting jobs at or near midnight UTC it is possible that
       a job starts later than expected. For example, if you send an outbound
       request on June 1 one millisecond prior to midnight UTC and the Storage
       Transfer Service server receives the request on June 2, then it creates
       a TransferJob with `schedule_start_date` set to June 2 and a
       `start_time_of_day` set to midnight UTC. The first scheduled
       [TransferOperation][google.storagetransfer.v1.TransferOperation] takes
       place on June 3 at midnight UTC.
       
      .google.type.Date schedule_start_date = 1 [(.google.api.field_behavior) = REQUIRED];
    • mergeScheduleStartDate

      public TransferTypes.Schedule.Builder mergeScheduleStartDate(Date value)
       Required. The start date of a transfer. Date boundaries are determined
       relative to UTC time. If `schedule_start_date` and
       [start_time_of_day][google.storagetransfer.v1.Schedule.start_time_of_day]
       are in the past relative to the job's creation time, the transfer starts
       the day after you schedule the transfer request.
      
       **Note:** When starting jobs at or near midnight UTC it is possible that
       a job starts later than expected. For example, if you send an outbound
       request on June 1 one millisecond prior to midnight UTC and the Storage
       Transfer Service server receives the request on June 2, then it creates
       a TransferJob with `schedule_start_date` set to June 2 and a
       `start_time_of_day` set to midnight UTC. The first scheduled
       [TransferOperation][google.storagetransfer.v1.TransferOperation] takes
       place on June 3 at midnight UTC.
       
      .google.type.Date schedule_start_date = 1 [(.google.api.field_behavior) = REQUIRED];
    • clearScheduleStartDate

      public TransferTypes.Schedule.Builder clearScheduleStartDate()
       Required. The start date of a transfer. Date boundaries are determined
       relative to UTC time. If `schedule_start_date` and
       [start_time_of_day][google.storagetransfer.v1.Schedule.start_time_of_day]
       are in the past relative to the job's creation time, the transfer starts
       the day after you schedule the transfer request.
      
       **Note:** When starting jobs at or near midnight UTC it is possible that
       a job starts later than expected. For example, if you send an outbound
       request on June 1 one millisecond prior to midnight UTC and the Storage
       Transfer Service server receives the request on June 2, then it creates
       a TransferJob with `schedule_start_date` set to June 2 and a
       `start_time_of_day` set to midnight UTC. The first scheduled
       [TransferOperation][google.storagetransfer.v1.TransferOperation] takes
       place on June 3 at midnight UTC.
       
      .google.type.Date schedule_start_date = 1 [(.google.api.field_behavior) = REQUIRED];
    • getScheduleStartDateBuilder

      public Date.Builder getScheduleStartDateBuilder()
       Required. The start date of a transfer. Date boundaries are determined
       relative to UTC time. If `schedule_start_date` and
       [start_time_of_day][google.storagetransfer.v1.Schedule.start_time_of_day]
       are in the past relative to the job's creation time, the transfer starts
       the day after you schedule the transfer request.
      
       **Note:** When starting jobs at or near midnight UTC it is possible that
       a job starts later than expected. For example, if you send an outbound
       request on June 1 one millisecond prior to midnight UTC and the Storage
       Transfer Service server receives the request on June 2, then it creates
       a TransferJob with `schedule_start_date` set to June 2 and a
       `start_time_of_day` set to midnight UTC. The first scheduled
       [TransferOperation][google.storagetransfer.v1.TransferOperation] takes
       place on June 3 at midnight UTC.
       
      .google.type.Date schedule_start_date = 1 [(.google.api.field_behavior) = REQUIRED];
    • getScheduleStartDateOrBuilder

      public DateOrBuilder getScheduleStartDateOrBuilder()
       Required. The start date of a transfer. Date boundaries are determined
       relative to UTC time. If `schedule_start_date` and
       [start_time_of_day][google.storagetransfer.v1.Schedule.start_time_of_day]
       are in the past relative to the job's creation time, the transfer starts
       the day after you schedule the transfer request.
      
       **Note:** When starting jobs at or near midnight UTC it is possible that
       a job starts later than expected. For example, if you send an outbound
       request on June 1 one millisecond prior to midnight UTC and the Storage
       Transfer Service server receives the request on June 2, then it creates
       a TransferJob with `schedule_start_date` set to June 2 and a
       `start_time_of_day` set to midnight UTC. The first scheduled
       [TransferOperation][google.storagetransfer.v1.TransferOperation] takes
       place on June 3 at midnight UTC.
       
      .google.type.Date schedule_start_date = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getScheduleStartDateOrBuilder in interface TransferTypes.ScheduleOrBuilder
    • hasScheduleEndDate

      public boolean hasScheduleEndDate()
       The last day a transfer runs. Date boundaries are determined relative to
       UTC time. A job runs once per 24 hours within the following guidelines:
      
       *   If `schedule_end_date` and
       [schedule_start_date][google.storagetransfer.v1.Schedule.schedule_start_date]
       are the same and in
       the future relative to UTC, the transfer is executed only one time.
       *   If `schedule_end_date` is later than `schedule_start_date`  and
       `schedule_end_date` is in the future relative to UTC, the job runs each
       day at
       [start_time_of_day][google.storagetransfer.v1.Schedule.start_time_of_day]
       through `schedule_end_date`.
       
      .google.type.Date schedule_end_date = 2;
      Specified by:
      hasScheduleEndDate in interface TransferTypes.ScheduleOrBuilder
      Returns:
      Whether the scheduleEndDate field is set.
    • getScheduleEndDate

      public Date getScheduleEndDate()
       The last day a transfer runs. Date boundaries are determined relative to
       UTC time. A job runs once per 24 hours within the following guidelines:
      
       *   If `schedule_end_date` and
       [schedule_start_date][google.storagetransfer.v1.Schedule.schedule_start_date]
       are the same and in
       the future relative to UTC, the transfer is executed only one time.
       *   If `schedule_end_date` is later than `schedule_start_date`  and
       `schedule_end_date` is in the future relative to UTC, the job runs each
       day at
       [start_time_of_day][google.storagetransfer.v1.Schedule.start_time_of_day]
       through `schedule_end_date`.
       
      .google.type.Date schedule_end_date = 2;
      Specified by:
      getScheduleEndDate in interface TransferTypes.ScheduleOrBuilder
      Returns:
      The scheduleEndDate.
    • setScheduleEndDate

      public TransferTypes.Schedule.Builder setScheduleEndDate(Date value)
       The last day a transfer runs. Date boundaries are determined relative to
       UTC time. A job runs once per 24 hours within the following guidelines:
      
       *   If `schedule_end_date` and
       [schedule_start_date][google.storagetransfer.v1.Schedule.schedule_start_date]
       are the same and in
       the future relative to UTC, the transfer is executed only one time.
       *   If `schedule_end_date` is later than `schedule_start_date`  and
       `schedule_end_date` is in the future relative to UTC, the job runs each
       day at
       [start_time_of_day][google.storagetransfer.v1.Schedule.start_time_of_day]
       through `schedule_end_date`.
       
      .google.type.Date schedule_end_date = 2;
    • setScheduleEndDate

      public TransferTypes.Schedule.Builder setScheduleEndDate(Date.Builder builderForValue)
       The last day a transfer runs. Date boundaries are determined relative to
       UTC time. A job runs once per 24 hours within the following guidelines:
      
       *   If `schedule_end_date` and
       [schedule_start_date][google.storagetransfer.v1.Schedule.schedule_start_date]
       are the same and in
       the future relative to UTC, the transfer is executed only one time.
       *   If `schedule_end_date` is later than `schedule_start_date`  and
       `schedule_end_date` is in the future relative to UTC, the job runs each
       day at
       [start_time_of_day][google.storagetransfer.v1.Schedule.start_time_of_day]
       through `schedule_end_date`.
       
      .google.type.Date schedule_end_date = 2;
    • mergeScheduleEndDate

      public TransferTypes.Schedule.Builder mergeScheduleEndDate(Date value)
       The last day a transfer runs. Date boundaries are determined relative to
       UTC time. A job runs once per 24 hours within the following guidelines:
      
       *   If `schedule_end_date` and
       [schedule_start_date][google.storagetransfer.v1.Schedule.schedule_start_date]
       are the same and in
       the future relative to UTC, the transfer is executed only one time.
       *   If `schedule_end_date` is later than `schedule_start_date`  and
       `schedule_end_date` is in the future relative to UTC, the job runs each
       day at
       [start_time_of_day][google.storagetransfer.v1.Schedule.start_time_of_day]
       through `schedule_end_date`.
       
      .google.type.Date schedule_end_date = 2;
    • clearScheduleEndDate

      public TransferTypes.Schedule.Builder clearScheduleEndDate()
       The last day a transfer runs. Date boundaries are determined relative to
       UTC time. A job runs once per 24 hours within the following guidelines:
      
       *   If `schedule_end_date` and
       [schedule_start_date][google.storagetransfer.v1.Schedule.schedule_start_date]
       are the same and in
       the future relative to UTC, the transfer is executed only one time.
       *   If `schedule_end_date` is later than `schedule_start_date`  and
       `schedule_end_date` is in the future relative to UTC, the job runs each
       day at
       [start_time_of_day][google.storagetransfer.v1.Schedule.start_time_of_day]
       through `schedule_end_date`.
       
      .google.type.Date schedule_end_date = 2;
    • getScheduleEndDateBuilder

      public Date.Builder getScheduleEndDateBuilder()
       The last day a transfer runs. Date boundaries are determined relative to
       UTC time. A job runs once per 24 hours within the following guidelines:
      
       *   If `schedule_end_date` and
       [schedule_start_date][google.storagetransfer.v1.Schedule.schedule_start_date]
       are the same and in
       the future relative to UTC, the transfer is executed only one time.
       *   If `schedule_end_date` is later than `schedule_start_date`  and
       `schedule_end_date` is in the future relative to UTC, the job runs each
       day at
       [start_time_of_day][google.storagetransfer.v1.Schedule.start_time_of_day]
       through `schedule_end_date`.
       
      .google.type.Date schedule_end_date = 2;
    • getScheduleEndDateOrBuilder

      public DateOrBuilder getScheduleEndDateOrBuilder()
       The last day a transfer runs. Date boundaries are determined relative to
       UTC time. A job runs once per 24 hours within the following guidelines:
      
       *   If `schedule_end_date` and
       [schedule_start_date][google.storagetransfer.v1.Schedule.schedule_start_date]
       are the same and in
       the future relative to UTC, the transfer is executed only one time.
       *   If `schedule_end_date` is later than `schedule_start_date`  and
       `schedule_end_date` is in the future relative to UTC, the job runs each
       day at
       [start_time_of_day][google.storagetransfer.v1.Schedule.start_time_of_day]
       through `schedule_end_date`.
       
      .google.type.Date schedule_end_date = 2;
      Specified by:
      getScheduleEndDateOrBuilder in interface TransferTypes.ScheduleOrBuilder
    • hasStartTimeOfDay

      public boolean hasStartTimeOfDay()
       The time in UTC that a transfer job is scheduled to run. Transfers may
       start later than this time.
      
       If `start_time_of_day` is not specified:
      
       *   One-time transfers run immediately.
       *   Recurring transfers run immediately, and each day at midnight UTC,
       through
       [schedule_end_date][google.storagetransfer.v1.Schedule.schedule_end_date].
      
       If `start_time_of_day` is specified:
      
       *   One-time transfers run at the specified time.
       *   Recurring transfers run at the specified time each day, through
       `schedule_end_date`.
       
      .google.type.TimeOfDay start_time_of_day = 3;
      Specified by:
      hasStartTimeOfDay in interface TransferTypes.ScheduleOrBuilder
      Returns:
      Whether the startTimeOfDay field is set.
    • getStartTimeOfDay

      public TimeOfDay getStartTimeOfDay()
       The time in UTC that a transfer job is scheduled to run. Transfers may
       start later than this time.
      
       If `start_time_of_day` is not specified:
      
       *   One-time transfers run immediately.
       *   Recurring transfers run immediately, and each day at midnight UTC,
       through
       [schedule_end_date][google.storagetransfer.v1.Schedule.schedule_end_date].
      
       If `start_time_of_day` is specified:
      
       *   One-time transfers run at the specified time.
       *   Recurring transfers run at the specified time each day, through
       `schedule_end_date`.
       
      .google.type.TimeOfDay start_time_of_day = 3;
      Specified by:
      getStartTimeOfDay in interface TransferTypes.ScheduleOrBuilder
      Returns:
      The startTimeOfDay.
    • setStartTimeOfDay

      public TransferTypes.Schedule.Builder setStartTimeOfDay(TimeOfDay value)
       The time in UTC that a transfer job is scheduled to run. Transfers may
       start later than this time.
      
       If `start_time_of_day` is not specified:
      
       *   One-time transfers run immediately.
       *   Recurring transfers run immediately, and each day at midnight UTC,
       through
       [schedule_end_date][google.storagetransfer.v1.Schedule.schedule_end_date].
      
       If `start_time_of_day` is specified:
      
       *   One-time transfers run at the specified time.
       *   Recurring transfers run at the specified time each day, through
       `schedule_end_date`.
       
      .google.type.TimeOfDay start_time_of_day = 3;
    • setStartTimeOfDay

      public TransferTypes.Schedule.Builder setStartTimeOfDay(TimeOfDay.Builder builderForValue)
       The time in UTC that a transfer job is scheduled to run. Transfers may
       start later than this time.
      
       If `start_time_of_day` is not specified:
      
       *   One-time transfers run immediately.
       *   Recurring transfers run immediately, and each day at midnight UTC,
       through
       [schedule_end_date][google.storagetransfer.v1.Schedule.schedule_end_date].
      
       If `start_time_of_day` is specified:
      
       *   One-time transfers run at the specified time.
       *   Recurring transfers run at the specified time each day, through
       `schedule_end_date`.
       
      .google.type.TimeOfDay start_time_of_day = 3;
    • mergeStartTimeOfDay

      public TransferTypes.Schedule.Builder mergeStartTimeOfDay(TimeOfDay value)
       The time in UTC that a transfer job is scheduled to run. Transfers may
       start later than this time.
      
       If `start_time_of_day` is not specified:
      
       *   One-time transfers run immediately.
       *   Recurring transfers run immediately, and each day at midnight UTC,
       through
       [schedule_end_date][google.storagetransfer.v1.Schedule.schedule_end_date].
      
       If `start_time_of_day` is specified:
      
       *   One-time transfers run at the specified time.
       *   Recurring transfers run at the specified time each day, through
       `schedule_end_date`.
       
      .google.type.TimeOfDay start_time_of_day = 3;
    • clearStartTimeOfDay

      public TransferTypes.Schedule.Builder clearStartTimeOfDay()
       The time in UTC that a transfer job is scheduled to run. Transfers may
       start later than this time.
      
       If `start_time_of_day` is not specified:
      
       *   One-time transfers run immediately.
       *   Recurring transfers run immediately, and each day at midnight UTC,
       through
       [schedule_end_date][google.storagetransfer.v1.Schedule.schedule_end_date].
      
       If `start_time_of_day` is specified:
      
       *   One-time transfers run at the specified time.
       *   Recurring transfers run at the specified time each day, through
       `schedule_end_date`.
       
      .google.type.TimeOfDay start_time_of_day = 3;
    • getStartTimeOfDayBuilder

      public TimeOfDay.Builder getStartTimeOfDayBuilder()
       The time in UTC that a transfer job is scheduled to run. Transfers may
       start later than this time.
      
       If `start_time_of_day` is not specified:
      
       *   One-time transfers run immediately.
       *   Recurring transfers run immediately, and each day at midnight UTC,
       through
       [schedule_end_date][google.storagetransfer.v1.Schedule.schedule_end_date].
      
       If `start_time_of_day` is specified:
      
       *   One-time transfers run at the specified time.
       *   Recurring transfers run at the specified time each day, through
       `schedule_end_date`.
       
      .google.type.TimeOfDay start_time_of_day = 3;
    • getStartTimeOfDayOrBuilder

      public TimeOfDayOrBuilder getStartTimeOfDayOrBuilder()
       The time in UTC that a transfer job is scheduled to run. Transfers may
       start later than this time.
      
       If `start_time_of_day` is not specified:
      
       *   One-time transfers run immediately.
       *   Recurring transfers run immediately, and each day at midnight UTC,
       through
       [schedule_end_date][google.storagetransfer.v1.Schedule.schedule_end_date].
      
       If `start_time_of_day` is specified:
      
       *   One-time transfers run at the specified time.
       *   Recurring transfers run at the specified time each day, through
       `schedule_end_date`.
       
      .google.type.TimeOfDay start_time_of_day = 3;
      Specified by:
      getStartTimeOfDayOrBuilder in interface TransferTypes.ScheduleOrBuilder
    • hasEndTimeOfDay

      public boolean hasEndTimeOfDay()
       The time in UTC that no further transfer operations are scheduled. Combined
       with
       [schedule_end_date][google.storagetransfer.v1.Schedule.schedule_end_date],
       `end_time_of_day` specifies the end date and time for starting new transfer
       operations. This field must be greater than or equal to the timestamp
       corresponding to the combination of
       [schedule_start_date][google.storagetransfer.v1.Schedule.schedule_start_date]
       and
       [start_time_of_day][google.storagetransfer.v1.Schedule.start_time_of_day],
       and is subject to the following:
      
       *   If `end_time_of_day` is not set and `schedule_end_date` is set, then
       a default value of `23:59:59` is used for `end_time_of_day`.
      
       *   If `end_time_of_day` is set and `schedule_end_date` is not set, then
       [INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT] is returned.
       
      .google.type.TimeOfDay end_time_of_day = 4;
      Specified by:
      hasEndTimeOfDay in interface TransferTypes.ScheduleOrBuilder
      Returns:
      Whether the endTimeOfDay field is set.
    • getEndTimeOfDay

      public TimeOfDay getEndTimeOfDay()
       The time in UTC that no further transfer operations are scheduled. Combined
       with
       [schedule_end_date][google.storagetransfer.v1.Schedule.schedule_end_date],
       `end_time_of_day` specifies the end date and time for starting new transfer
       operations. This field must be greater than or equal to the timestamp
       corresponding to the combination of
       [schedule_start_date][google.storagetransfer.v1.Schedule.schedule_start_date]
       and
       [start_time_of_day][google.storagetransfer.v1.Schedule.start_time_of_day],
       and is subject to the following:
      
       *   If `end_time_of_day` is not set and `schedule_end_date` is set, then
       a default value of `23:59:59` is used for `end_time_of_day`.
      
       *   If `end_time_of_day` is set and `schedule_end_date` is not set, then
       [INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT] is returned.
       
      .google.type.TimeOfDay end_time_of_day = 4;
      Specified by:
      getEndTimeOfDay in interface TransferTypes.ScheduleOrBuilder
      Returns:
      The endTimeOfDay.
    • setEndTimeOfDay

      public TransferTypes.Schedule.Builder setEndTimeOfDay(TimeOfDay value)
       The time in UTC that no further transfer operations are scheduled. Combined
       with
       [schedule_end_date][google.storagetransfer.v1.Schedule.schedule_end_date],
       `end_time_of_day` specifies the end date and time for starting new transfer
       operations. This field must be greater than or equal to the timestamp
       corresponding to the combination of
       [schedule_start_date][google.storagetransfer.v1.Schedule.schedule_start_date]
       and
       [start_time_of_day][google.storagetransfer.v1.Schedule.start_time_of_day],
       and is subject to the following:
      
       *   If `end_time_of_day` is not set and `schedule_end_date` is set, then
       a default value of `23:59:59` is used for `end_time_of_day`.
      
       *   If `end_time_of_day` is set and `schedule_end_date` is not set, then
       [INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT] is returned.
       
      .google.type.TimeOfDay end_time_of_day = 4;
    • setEndTimeOfDay

      public TransferTypes.Schedule.Builder setEndTimeOfDay(TimeOfDay.Builder builderForValue)
       The time in UTC that no further transfer operations are scheduled. Combined
       with
       [schedule_end_date][google.storagetransfer.v1.Schedule.schedule_end_date],
       `end_time_of_day` specifies the end date and time for starting new transfer
       operations. This field must be greater than or equal to the timestamp
       corresponding to the combination of
       [schedule_start_date][google.storagetransfer.v1.Schedule.schedule_start_date]
       and
       [start_time_of_day][google.storagetransfer.v1.Schedule.start_time_of_day],
       and is subject to the following:
      
       *   If `end_time_of_day` is not set and `schedule_end_date` is set, then
       a default value of `23:59:59` is used for `end_time_of_day`.
      
       *   If `end_time_of_day` is set and `schedule_end_date` is not set, then
       [INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT] is returned.
       
      .google.type.TimeOfDay end_time_of_day = 4;
    • mergeEndTimeOfDay

      public TransferTypes.Schedule.Builder mergeEndTimeOfDay(TimeOfDay value)
       The time in UTC that no further transfer operations are scheduled. Combined
       with
       [schedule_end_date][google.storagetransfer.v1.Schedule.schedule_end_date],
       `end_time_of_day` specifies the end date and time for starting new transfer
       operations. This field must be greater than or equal to the timestamp
       corresponding to the combination of
       [schedule_start_date][google.storagetransfer.v1.Schedule.schedule_start_date]
       and
       [start_time_of_day][google.storagetransfer.v1.Schedule.start_time_of_day],
       and is subject to the following:
      
       *   If `end_time_of_day` is not set and `schedule_end_date` is set, then
       a default value of `23:59:59` is used for `end_time_of_day`.
      
       *   If `end_time_of_day` is set and `schedule_end_date` is not set, then
       [INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT] is returned.
       
      .google.type.TimeOfDay end_time_of_day = 4;
    • clearEndTimeOfDay

      public TransferTypes.Schedule.Builder clearEndTimeOfDay()
       The time in UTC that no further transfer operations are scheduled. Combined
       with
       [schedule_end_date][google.storagetransfer.v1.Schedule.schedule_end_date],
       `end_time_of_day` specifies the end date and time for starting new transfer
       operations. This field must be greater than or equal to the timestamp
       corresponding to the combination of
       [schedule_start_date][google.storagetransfer.v1.Schedule.schedule_start_date]
       and
       [start_time_of_day][google.storagetransfer.v1.Schedule.start_time_of_day],
       and is subject to the following:
      
       *   If `end_time_of_day` is not set and `schedule_end_date` is set, then
       a default value of `23:59:59` is used for `end_time_of_day`.
      
       *   If `end_time_of_day` is set and `schedule_end_date` is not set, then
       [INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT] is returned.
       
      .google.type.TimeOfDay end_time_of_day = 4;
    • getEndTimeOfDayBuilder

      public TimeOfDay.Builder getEndTimeOfDayBuilder()
       The time in UTC that no further transfer operations are scheduled. Combined
       with
       [schedule_end_date][google.storagetransfer.v1.Schedule.schedule_end_date],
       `end_time_of_day` specifies the end date and time for starting new transfer
       operations. This field must be greater than or equal to the timestamp
       corresponding to the combination of
       [schedule_start_date][google.storagetransfer.v1.Schedule.schedule_start_date]
       and
       [start_time_of_day][google.storagetransfer.v1.Schedule.start_time_of_day],
       and is subject to the following:
      
       *   If `end_time_of_day` is not set and `schedule_end_date` is set, then
       a default value of `23:59:59` is used for `end_time_of_day`.
      
       *   If `end_time_of_day` is set and `schedule_end_date` is not set, then
       [INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT] is returned.
       
      .google.type.TimeOfDay end_time_of_day = 4;
    • getEndTimeOfDayOrBuilder

      public TimeOfDayOrBuilder getEndTimeOfDayOrBuilder()
       The time in UTC that no further transfer operations are scheduled. Combined
       with
       [schedule_end_date][google.storagetransfer.v1.Schedule.schedule_end_date],
       `end_time_of_day` specifies the end date and time for starting new transfer
       operations. This field must be greater than or equal to the timestamp
       corresponding to the combination of
       [schedule_start_date][google.storagetransfer.v1.Schedule.schedule_start_date]
       and
       [start_time_of_day][google.storagetransfer.v1.Schedule.start_time_of_day],
       and is subject to the following:
      
       *   If `end_time_of_day` is not set and `schedule_end_date` is set, then
       a default value of `23:59:59` is used for `end_time_of_day`.
      
       *   If `end_time_of_day` is set and `schedule_end_date` is not set, then
       [INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT] is returned.
       
      .google.type.TimeOfDay end_time_of_day = 4;
      Specified by:
      getEndTimeOfDayOrBuilder in interface TransferTypes.ScheduleOrBuilder
    • hasRepeatInterval

      public boolean hasRepeatInterval()
       Interval between the start of each scheduled TransferOperation. If
       unspecified, the default value is 24 hours. This value may not be less than
       1 hour.
       
      .google.protobuf.Duration repeat_interval = 5;
      Specified by:
      hasRepeatInterval in interface TransferTypes.ScheduleOrBuilder
      Returns:
      Whether the repeatInterval field is set.
    • getRepeatInterval

      public com.google.protobuf.Duration getRepeatInterval()
       Interval between the start of each scheduled TransferOperation. If
       unspecified, the default value is 24 hours. This value may not be less than
       1 hour.
       
      .google.protobuf.Duration repeat_interval = 5;
      Specified by:
      getRepeatInterval in interface TransferTypes.ScheduleOrBuilder
      Returns:
      The repeatInterval.
    • setRepeatInterval

      public TransferTypes.Schedule.Builder setRepeatInterval(com.google.protobuf.Duration value)
       Interval between the start of each scheduled TransferOperation. If
       unspecified, the default value is 24 hours. This value may not be less than
       1 hour.
       
      .google.protobuf.Duration repeat_interval = 5;
    • setRepeatInterval

      public TransferTypes.Schedule.Builder setRepeatInterval(com.google.protobuf.Duration.Builder builderForValue)
       Interval between the start of each scheduled TransferOperation. If
       unspecified, the default value is 24 hours. This value may not be less than
       1 hour.
       
      .google.protobuf.Duration repeat_interval = 5;
    • mergeRepeatInterval

      public TransferTypes.Schedule.Builder mergeRepeatInterval(com.google.protobuf.Duration value)
       Interval between the start of each scheduled TransferOperation. If
       unspecified, the default value is 24 hours. This value may not be less than
       1 hour.
       
      .google.protobuf.Duration repeat_interval = 5;
    • clearRepeatInterval

      public TransferTypes.Schedule.Builder clearRepeatInterval()
       Interval between the start of each scheduled TransferOperation. If
       unspecified, the default value is 24 hours. This value may not be less than
       1 hour.
       
      .google.protobuf.Duration repeat_interval = 5;
    • getRepeatIntervalBuilder

      public com.google.protobuf.Duration.Builder getRepeatIntervalBuilder()
       Interval between the start of each scheduled TransferOperation. If
       unspecified, the default value is 24 hours. This value may not be less than
       1 hour.
       
      .google.protobuf.Duration repeat_interval = 5;
    • getRepeatIntervalOrBuilder

      public com.google.protobuf.DurationOrBuilder getRepeatIntervalOrBuilder()
       Interval between the start of each scheduled TransferOperation. If
       unspecified, the default value is 24 hours. This value may not be less than
       1 hour.
       
      .google.protobuf.Duration repeat_interval = 5;
      Specified by:
      getRepeatIntervalOrBuilder in interface TransferTypes.ScheduleOrBuilder