Class Campaign.VideoCampaignSettings.BookingDetails.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Campaign.VideoCampaignSettings.BookingDetails.Builder>
com.google.ads.googleads.v23.resources.Campaign.VideoCampaignSettings.BookingDetails.Builder
All Implemented Interfaces:
Campaign.VideoCampaignSettings.BookingDetailsOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
Campaign.VideoCampaignSettings.BookingDetails

public static final class Campaign.VideoCampaignSettings.BookingDetails.Builder extends com.google.protobuf.GeneratedMessage.Builder<Campaign.VideoCampaignSettings.BookingDetails.Builder> implements Campaign.VideoCampaignSettings.BookingDetailsOrBuilder
 Container for booking details for campaigns with the FIXED_CPM or
 FIXED_SHARE_OF_VOICE bidding strategies.
 
Protobuf type google.ads.googleads.v23.resources.Campaign.VideoCampaignSettings.BookingDetails
  • 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<Campaign.VideoCampaignSettings.BookingDetails.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<Campaign.VideoCampaignSettings.BookingDetails.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<Campaign.VideoCampaignSettings.BookingDetails.Builder>
    • getDefaultInstanceForType

      public Campaign.VideoCampaignSettings.BookingDetails getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public Campaign.VideoCampaignSettings.BookingDetails.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<Campaign.VideoCampaignSettings.BookingDetails.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<Campaign.VideoCampaignSettings.BookingDetails.Builder>
    • mergeFrom

      public Campaign.VideoCampaignSettings.BookingDetails.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<Campaign.VideoCampaignSettings.BookingDetails.Builder>
      Throws:
      IOException
    • getStatusValue

      public int getStatusValue()
       Output only. The status of the booking.
       
      .google.ads.googleads.v23.enums.BookingStatusEnum.BookingStatus status = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getStatusValue in interface Campaign.VideoCampaignSettings.BookingDetailsOrBuilder
      Returns:
      The enum numeric value on the wire for status.
    • setStatusValue

      public Campaign.VideoCampaignSettings.BookingDetails.Builder setStatusValue(int value)
       Output only. The status of the booking.
       
      .google.ads.googleads.v23.enums.BookingStatusEnum.BookingStatus status = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The enum numeric value on the wire for status to set.
      Returns:
      This builder for chaining.
    • getStatus

      public BookingStatusEnum.BookingStatus getStatus()
       Output only. The status of the booking.
       
      .google.ads.googleads.v23.enums.BookingStatusEnum.BookingStatus status = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getStatus in interface Campaign.VideoCampaignSettings.BookingDetailsOrBuilder
      Returns:
      The status.
    • setStatus

       Output only. The status of the booking.
       
      .google.ads.googleads.v23.enums.BookingStatusEnum.BookingStatus status = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The status to set.
      Returns:
      This builder for chaining.
    • clearStatus

       Output only. The status of the booking.
       
      .google.ads.googleads.v23.enums.BookingStatusEnum.BookingStatus status = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • getHoldExpirationDateTime

      public String getHoldExpirationDateTime()
       Output only. Time until which booked inventory will be held or has been
       held for this campaign. Available for status HELD and HOLD_EXPIRED.
       Format is "yyyy-MM-dd HH:mm:ss" in the customer's time zone.
       
      string hold_expiration_date_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getHoldExpirationDateTime in interface Campaign.VideoCampaignSettings.BookingDetailsOrBuilder
      Returns:
      The holdExpirationDateTime.
    • getHoldExpirationDateTimeBytes

      public com.google.protobuf.ByteString getHoldExpirationDateTimeBytes()
       Output only. Time until which booked inventory will be held or has been
       held for this campaign. Available for status HELD and HOLD_EXPIRED.
       Format is "yyyy-MM-dd HH:mm:ss" in the customer's time zone.
       
      string hold_expiration_date_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getHoldExpirationDateTimeBytes in interface Campaign.VideoCampaignSettings.BookingDetailsOrBuilder
      Returns:
      The bytes for holdExpirationDateTime.
    • setHoldExpirationDateTime

      public Campaign.VideoCampaignSettings.BookingDetails.Builder setHoldExpirationDateTime(String value)
       Output only. Time until which booked inventory will be held or has been
       held for this campaign. Available for status HELD and HOLD_EXPIRED.
       Format is "yyyy-MM-dd HH:mm:ss" in the customer's time zone.
       
      string hold_expiration_date_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The holdExpirationDateTime to set.
      Returns:
      This builder for chaining.
    • clearHoldExpirationDateTime

      public Campaign.VideoCampaignSettings.BookingDetails.Builder clearHoldExpirationDateTime()
       Output only. Time until which booked inventory will be held or has been
       held for this campaign. Available for status HELD and HOLD_EXPIRED.
       Format is "yyyy-MM-dd HH:mm:ss" in the customer's time zone.
       
      string hold_expiration_date_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setHoldExpirationDateTimeBytes

      public Campaign.VideoCampaignSettings.BookingDetails.Builder setHoldExpirationDateTimeBytes(com.google.protobuf.ByteString value)
       Output only. Time until which booked inventory will be held or has been
       held for this campaign. Available for status HELD and HOLD_EXPIRED.
       Format is "yyyy-MM-dd HH:mm:ss" in the customer's time zone.
       
      string hold_expiration_date_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for holdExpirationDateTime to set.
      Returns:
      This builder for chaining.
    • getCancellationDateTime

      public String getCancellationDateTime()
       Output only. Time when the booked inventory of this campaign will be
       cancelled or has been cancelled. Available for primary status
       NOT_ELIGIBLE if the campaign will be cancelled and for primary status
       reason BOOKING_CANCELLED. Format is "yyyy-MM-dd HH:mm:ss" in the
       customer's time zone.
       
      string cancellation_date_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCancellationDateTime in interface Campaign.VideoCampaignSettings.BookingDetailsOrBuilder
      Returns:
      The cancellationDateTime.
    • getCancellationDateTimeBytes

      public com.google.protobuf.ByteString getCancellationDateTimeBytes()
       Output only. Time when the booked inventory of this campaign will be
       cancelled or has been cancelled. Available for primary status
       NOT_ELIGIBLE if the campaign will be cancelled and for primary status
       reason BOOKING_CANCELLED. Format is "yyyy-MM-dd HH:mm:ss" in the
       customer's time zone.
       
      string cancellation_date_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCancellationDateTimeBytes in interface Campaign.VideoCampaignSettings.BookingDetailsOrBuilder
      Returns:
      The bytes for cancellationDateTime.
    • setCancellationDateTime

      public Campaign.VideoCampaignSettings.BookingDetails.Builder setCancellationDateTime(String value)
       Output only. Time when the booked inventory of this campaign will be
       cancelled or has been cancelled. Available for primary status
       NOT_ELIGIBLE if the campaign will be cancelled and for primary status
       reason BOOKING_CANCELLED. Format is "yyyy-MM-dd HH:mm:ss" in the
       customer's time zone.
       
      string cancellation_date_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The cancellationDateTime to set.
      Returns:
      This builder for chaining.
    • clearCancellationDateTime

      public Campaign.VideoCampaignSettings.BookingDetails.Builder clearCancellationDateTime()
       Output only. Time when the booked inventory of this campaign will be
       cancelled or has been cancelled. Available for primary status
       NOT_ELIGIBLE if the campaign will be cancelled and for primary status
       reason BOOKING_CANCELLED. Format is "yyyy-MM-dd HH:mm:ss" in the
       customer's time zone.
       
      string cancellation_date_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setCancellationDateTimeBytes

      public Campaign.VideoCampaignSettings.BookingDetails.Builder setCancellationDateTimeBytes(com.google.protobuf.ByteString value)
       Output only. Time when the booked inventory of this campaign will be
       cancelled or has been cancelled. Available for primary status
       NOT_ELIGIBLE if the campaign will be cancelled and for primary status
       reason BOOKING_CANCELLED. Format is "yyyy-MM-dd HH:mm:ss" in the
       customer's time zone.
       
      string cancellation_date_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for cancellationDateTime to set.
      Returns:
      This builder for chaining.