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 Summary
Modifier and TypeMethodDescriptionbuild()clear()Output only.Output only.Output only.Output only.com.google.protobuf.ByteStringOutput only.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorOutput only.com.google.protobuf.ByteStringOutput only.Output only.intOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setCancellationDateTime(String value) Output only.setCancellationDateTimeBytes(com.google.protobuf.ByteString value) Output only.setHoldExpirationDateTime(String value) Output only.setHoldExpirationDateTimeBytes(com.google.protobuf.ByteString value) Output only.Output only.setStatusValue(int value) Output only.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<Campaign.VideoCampaignSettings.BookingDetails.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<Campaign.VideoCampaignSettings.BookingDetails.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<Campaign.VideoCampaignSettings.BookingDetails.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public Campaign.VideoCampaignSettings.BookingDetails.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Campaign.VideoCampaignSettings.BookingDetails.Builder>
-
mergeFrom
public Campaign.VideoCampaignSettings.BookingDetails.Builder mergeFrom(Campaign.VideoCampaignSettings.BookingDetails other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.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:
getStatusValuein interfaceCampaign.VideoCampaignSettings.BookingDetailsOrBuilder- Returns:
- The enum numeric value on the wire for status.
-
setStatusValue
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
Output only. The status of the booking.
.google.ads.googleads.v23.enums.BookingStatusEnum.BookingStatus status = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStatusin interfaceCampaign.VideoCampaignSettings.BookingDetailsOrBuilder- Returns:
- The status.
-
setStatus
public Campaign.VideoCampaignSettings.BookingDetails.Builder setStatus(BookingStatusEnum.BookingStatus 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 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
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:
getHoldExpirationDateTimein interfaceCampaign.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:
getHoldExpirationDateTimeBytesin interfaceCampaign.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
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
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:
getCancellationDateTimein interfaceCampaign.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:
getCancellationDateTimeBytesin interfaceCampaign.VideoCampaignSettings.BookingDetailsOrBuilder- Returns:
- The bytes for cancellationDateTime.
-
setCancellationDateTime
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
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.
-