Class HotelReconciliation.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<HotelReconciliation.Builder>
-
- com.google.ads.googleads.v10.resources.HotelReconciliation.Builder
-
- All Implemented Interfaces:
HotelReconciliationOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,java.lang.Cloneable
- Enclosing class:
- HotelReconciliation
public static final class HotelReconciliation.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<HotelReconciliation.Builder> implements HotelReconciliationOrBuilder
A hotel reconciliation. It contains conversion information from Hotel bookings to reconcile with advertiser records. These rows may be updated or canceled before billing via Bulk Uploads.
Protobuf typegoogle.ads.googleads.v10.resources.HotelReconciliation
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description HotelReconciliation.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)HotelReconciliationbuild()HotelReconciliationbuildPartial()HotelReconciliation.Builderclear()HotelReconciliation.BuilderclearBilled()Output only.HotelReconciliation.BuilderclearCampaign()Output only.HotelReconciliation.BuilderclearCheckInDate()Output only.HotelReconciliation.BuilderclearCheckOutDate()Output only.HotelReconciliation.BuilderclearCommissionId()Required.HotelReconciliation.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)HotelReconciliation.BuilderclearHotelCenterId()Output only.HotelReconciliation.BuilderclearHotelId()Output only.HotelReconciliation.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)HotelReconciliation.BuilderclearOrderId()Output only.HotelReconciliation.BuilderclearReconciledValueMicros()Required.HotelReconciliation.BuilderclearResourceName()Immutable.HotelReconciliation.BuilderclearStatus()Required.HotelReconciliation.Builderclone()booleangetBilled()Output only.java.lang.StringgetCampaign()Output only.com.google.protobuf.ByteStringgetCampaignBytes()Output only.java.lang.StringgetCheckInDate()Output only.com.google.protobuf.ByteStringgetCheckInDateBytes()Output only.java.lang.StringgetCheckOutDate()Output only.com.google.protobuf.ByteStringgetCheckOutDateBytes()Output only.java.lang.StringgetCommissionId()Required.com.google.protobuf.ByteStringgetCommissionIdBytes()Required.HotelReconciliationgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()longgetHotelCenterId()Output only.java.lang.StringgetHotelId()Output only.com.google.protobuf.ByteStringgetHotelIdBytes()Output only.java.lang.StringgetOrderId()Output only.com.google.protobuf.ByteStringgetOrderIdBytes()Output only.longgetReconciledValueMicros()Required.java.lang.StringgetResourceName()Immutable.com.google.protobuf.ByteStringgetResourceNameBytes()Immutable.HotelReconciliationStatusEnum.HotelReconciliationStatusgetStatus()Required.intgetStatusValue()Required.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()HotelReconciliation.BuildermergeFrom(HotelReconciliation other)HotelReconciliation.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)HotelReconciliation.BuildermergeFrom(com.google.protobuf.Message other)HotelReconciliation.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)HotelReconciliation.BuildersetBilled(boolean value)Output only.HotelReconciliation.BuildersetCampaign(java.lang.String value)Output only.HotelReconciliation.BuildersetCampaignBytes(com.google.protobuf.ByteString value)Output only.HotelReconciliation.BuildersetCheckInDate(java.lang.String value)Output only.HotelReconciliation.BuildersetCheckInDateBytes(com.google.protobuf.ByteString value)Output only.HotelReconciliation.BuildersetCheckOutDate(java.lang.String value)Output only.HotelReconciliation.BuildersetCheckOutDateBytes(com.google.protobuf.ByteString value)Output only.HotelReconciliation.BuildersetCommissionId(java.lang.String value)Required.HotelReconciliation.BuildersetCommissionIdBytes(com.google.protobuf.ByteString value)Required.HotelReconciliation.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)HotelReconciliation.BuildersetHotelCenterId(long value)Output only.HotelReconciliation.BuildersetHotelId(java.lang.String value)Output only.HotelReconciliation.BuildersetHotelIdBytes(com.google.protobuf.ByteString value)Output only.HotelReconciliation.BuildersetOrderId(java.lang.String value)Output only.HotelReconciliation.BuildersetOrderIdBytes(com.google.protobuf.ByteString value)Output only.HotelReconciliation.BuildersetReconciledValueMicros(long value)Required.HotelReconciliation.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)HotelReconciliation.BuildersetResourceName(java.lang.String value)Immutable.HotelReconciliation.BuildersetResourceNameBytes(com.google.protobuf.ByteString value)Immutable.HotelReconciliation.BuildersetStatus(HotelReconciliationStatusEnum.HotelReconciliationStatus value)Required.HotelReconciliation.BuildersetStatusValue(int value)Required.HotelReconciliation.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<HotelReconciliation.Builder>
-
clear
public HotelReconciliation.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<HotelReconciliation.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.GeneratedMessageV3.Builder<HotelReconciliation.Builder>
-
getDefaultInstanceForType
public HotelReconciliation getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public HotelReconciliation build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public HotelReconciliation buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public HotelReconciliation.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<HotelReconciliation.Builder>
-
setField
public HotelReconciliation.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<HotelReconciliation.Builder>
-
clearField
public HotelReconciliation.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<HotelReconciliation.Builder>
-
clearOneof
public HotelReconciliation.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<HotelReconciliation.Builder>
-
setRepeatedField
public HotelReconciliation.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<HotelReconciliation.Builder>
-
addRepeatedField
public HotelReconciliation.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<HotelReconciliation.Builder>
-
mergeFrom
public HotelReconciliation.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<HotelReconciliation.Builder>
-
mergeFrom
public HotelReconciliation.Builder mergeFrom(HotelReconciliation other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<HotelReconciliation.Builder>
-
mergeFrom
public HotelReconciliation.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<HotelReconciliation.Builder>- Throws:
java.io.IOException
-
getResourceName
public java.lang.String getResourceName()
Immutable. The resource name of the hotel reconciliation. Hotel reconciliation resource names have the form: `customers/{customer_id}/hotelReconciliations/{commission_id}`string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Specified by:
getResourceNamein interfaceHotelReconciliationOrBuilder- Returns:
- The resourceName.
-
getResourceNameBytes
public com.google.protobuf.ByteString getResourceNameBytes()
Immutable. The resource name of the hotel reconciliation. Hotel reconciliation resource names have the form: `customers/{customer_id}/hotelReconciliations/{commission_id}`string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Specified by:
getResourceNameBytesin interfaceHotelReconciliationOrBuilder- Returns:
- The bytes for resourceName.
-
setResourceName
public HotelReconciliation.Builder setResourceName(java.lang.String value)
Immutable. The resource name of the hotel reconciliation. Hotel reconciliation resource names have the form: `customers/{customer_id}/hotelReconciliations/{commission_id}`string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Parameters:
value- The resourceName to set.- Returns:
- This builder for chaining.
-
clearResourceName
public HotelReconciliation.Builder clearResourceName()
Immutable. The resource name of the hotel reconciliation. Hotel reconciliation resource names have the form: `customers/{customer_id}/hotelReconciliations/{commission_id}`string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Returns:
- This builder for chaining.
-
setResourceNameBytes
public HotelReconciliation.Builder setResourceNameBytes(com.google.protobuf.ByteString value)
Immutable. The resource name of the hotel reconciliation. Hotel reconciliation resource names have the form: `customers/{customer_id}/hotelReconciliations/{commission_id}`string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Parameters:
value- The bytes for resourceName to set.- Returns:
- This builder for chaining.
-
getCommissionId
public java.lang.String getCommissionId()
Required. Output only. The commission ID is Google's ID for this booking. Every booking event is assigned a Commission ID to help you match it to a guest stay.
string commission_id = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCommissionIdin interfaceHotelReconciliationOrBuilder- Returns:
- The commissionId.
-
getCommissionIdBytes
public com.google.protobuf.ByteString getCommissionIdBytes()
Required. Output only. The commission ID is Google's ID for this booking. Every booking event is assigned a Commission ID to help you match it to a guest stay.
string commission_id = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCommissionIdBytesin interfaceHotelReconciliationOrBuilder- Returns:
- The bytes for commissionId.
-
setCommissionId
public HotelReconciliation.Builder setCommissionId(java.lang.String value)
Required. Output only. The commission ID is Google's ID for this booking. Every booking event is assigned a Commission ID to help you match it to a guest stay.
string commission_id = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The commissionId to set.- Returns:
- This builder for chaining.
-
clearCommissionId
public HotelReconciliation.Builder clearCommissionId()
Required. Output only. The commission ID is Google's ID for this booking. Every booking event is assigned a Commission ID to help you match it to a guest stay.
string commission_id = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setCommissionIdBytes
public HotelReconciliation.Builder setCommissionIdBytes(com.google.protobuf.ByteString value)
Required. Output only. The commission ID is Google's ID for this booking. Every booking event is assigned a Commission ID to help you match it to a guest stay.
string commission_id = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for commissionId to set.- Returns:
- This builder for chaining.
-
getOrderId
public java.lang.String getOrderId()
Output only. The order ID is the identifier for this booking as provided in the 'transaction_id' parameter of the conversion tracking tag.
string order_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getOrderIdin interfaceHotelReconciliationOrBuilder- Returns:
- The orderId.
-
getOrderIdBytes
public com.google.protobuf.ByteString getOrderIdBytes()
Output only. The order ID is the identifier for this booking as provided in the 'transaction_id' parameter of the conversion tracking tag.
string order_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getOrderIdBytesin interfaceHotelReconciliationOrBuilder- Returns:
- The bytes for orderId.
-
setOrderId
public HotelReconciliation.Builder setOrderId(java.lang.String value)
Output only. The order ID is the identifier for this booking as provided in the 'transaction_id' parameter of the conversion tracking tag.
string order_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The orderId to set.- Returns:
- This builder for chaining.
-
clearOrderId
public HotelReconciliation.Builder clearOrderId()
Output only. The order ID is the identifier for this booking as provided in the 'transaction_id' parameter of the conversion tracking tag.
string order_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setOrderIdBytes
public HotelReconciliation.Builder setOrderIdBytes(com.google.protobuf.ByteString value)
Output only. The order ID is the identifier for this booking as provided in the 'transaction_id' parameter of the conversion tracking tag.
string order_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for orderId to set.- Returns:
- This builder for chaining.
-
getCampaign
public java.lang.String getCampaign()
Output only. The resource name for the Campaign associated with the conversion.
string campaign = 11 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Specified by:
getCampaignin interfaceHotelReconciliationOrBuilder- Returns:
- The campaign.
-
getCampaignBytes
public com.google.protobuf.ByteString getCampaignBytes()
Output only. The resource name for the Campaign associated with the conversion.
string campaign = 11 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Specified by:
getCampaignBytesin interfaceHotelReconciliationOrBuilder- Returns:
- The bytes for campaign.
-
setCampaign
public HotelReconciliation.Builder setCampaign(java.lang.String value)
Output only. The resource name for the Campaign associated with the conversion.
string campaign = 11 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Parameters:
value- The campaign to set.- Returns:
- This builder for chaining.
-
clearCampaign
public HotelReconciliation.Builder clearCampaign()
Output only. The resource name for the Campaign associated with the conversion.
string campaign = 11 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Returns:
- This builder for chaining.
-
setCampaignBytes
public HotelReconciliation.Builder setCampaignBytes(com.google.protobuf.ByteString value)
Output only. The resource name for the Campaign associated with the conversion.
string campaign = 11 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Parameters:
value- The bytes for campaign to set.- Returns:
- This builder for chaining.
-
getHotelCenterId
public long getHotelCenterId()
Output only. Identifier for the Hotel Center account which provides the rates for the Hotel campaign.
int64 hotel_center_id = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getHotelCenterIdin interfaceHotelReconciliationOrBuilder- Returns:
- The hotelCenterId.
-
setHotelCenterId
public HotelReconciliation.Builder setHotelCenterId(long value)
Output only. Identifier for the Hotel Center account which provides the rates for the Hotel campaign.
int64 hotel_center_id = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The hotelCenterId to set.- Returns:
- This builder for chaining.
-
clearHotelCenterId
public HotelReconciliation.Builder clearHotelCenterId()
Output only. Identifier for the Hotel Center account which provides the rates for the Hotel campaign.
int64 hotel_center_id = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
getHotelId
public java.lang.String getHotelId()
Output only. Unique identifier for the booked property, as provided in the Hotel Center feed. The hotel ID comes from the 'ID' parameter of the conversion tracking tag.
string hotel_id = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getHotelIdin interfaceHotelReconciliationOrBuilder- Returns:
- The hotelId.
-
getHotelIdBytes
public com.google.protobuf.ByteString getHotelIdBytes()
Output only. Unique identifier for the booked property, as provided in the Hotel Center feed. The hotel ID comes from the 'ID' parameter of the conversion tracking tag.
string hotel_id = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getHotelIdBytesin interfaceHotelReconciliationOrBuilder- Returns:
- The bytes for hotelId.
-
setHotelId
public HotelReconciliation.Builder setHotelId(java.lang.String value)
Output only. Unique identifier for the booked property, as provided in the Hotel Center feed. The hotel ID comes from the 'ID' parameter of the conversion tracking tag.
string hotel_id = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The hotelId to set.- Returns:
- This builder for chaining.
-
clearHotelId
public HotelReconciliation.Builder clearHotelId()
Output only. Unique identifier for the booked property, as provided in the Hotel Center feed. The hotel ID comes from the 'ID' parameter of the conversion tracking tag.
string hotel_id = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setHotelIdBytes
public HotelReconciliation.Builder setHotelIdBytes(com.google.protobuf.ByteString value)
Output only. Unique identifier for the booked property, as provided in the Hotel Center feed. The hotel ID comes from the 'ID' parameter of the conversion tracking tag.
string hotel_id = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for hotelId to set.- Returns:
- This builder for chaining.
-
getCheckInDate
public java.lang.String getCheckInDate()
Output only. Check-in date recorded when the booking is made. If the check-in date is modified at reconciliation, the revised date will then take the place of the original date in this column. Format is YYYY-MM-DD.
string check_in_date = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCheckInDatein interfaceHotelReconciliationOrBuilder- Returns:
- The checkInDate.
-
getCheckInDateBytes
public com.google.protobuf.ByteString getCheckInDateBytes()
Output only. Check-in date recorded when the booking is made. If the check-in date is modified at reconciliation, the revised date will then take the place of the original date in this column. Format is YYYY-MM-DD.
string check_in_date = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCheckInDateBytesin interfaceHotelReconciliationOrBuilder- Returns:
- The bytes for checkInDate.
-
setCheckInDate
public HotelReconciliation.Builder setCheckInDate(java.lang.String value)
Output only. Check-in date recorded when the booking is made. If the check-in date is modified at reconciliation, the revised date will then take the place of the original date in this column. Format is YYYY-MM-DD.
string check_in_date = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The checkInDate to set.- Returns:
- This builder for chaining.
-
clearCheckInDate
public HotelReconciliation.Builder clearCheckInDate()
Output only. Check-in date recorded when the booking is made. If the check-in date is modified at reconciliation, the revised date will then take the place of the original date in this column. Format is YYYY-MM-DD.
string check_in_date = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setCheckInDateBytes
public HotelReconciliation.Builder setCheckInDateBytes(com.google.protobuf.ByteString value)
Output only. Check-in date recorded when the booking is made. If the check-in date is modified at reconciliation, the revised date will then take the place of the original date in this column. Format is YYYY-MM-DD.
string check_in_date = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for checkInDate to set.- Returns:
- This builder for chaining.
-
getCheckOutDate
public java.lang.String getCheckOutDate()
Output only. Check-out date recorded when the booking is made. If the check-in date is modified at reconciliation, the revised date will then take the place of the original date in this column. Format is YYYY-MM-DD.
string check_out_date = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCheckOutDatein interfaceHotelReconciliationOrBuilder- Returns:
- The checkOutDate.
-
getCheckOutDateBytes
public com.google.protobuf.ByteString getCheckOutDateBytes()
Output only. Check-out date recorded when the booking is made. If the check-in date is modified at reconciliation, the revised date will then take the place of the original date in this column. Format is YYYY-MM-DD.
string check_out_date = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCheckOutDateBytesin interfaceHotelReconciliationOrBuilder- Returns:
- The bytes for checkOutDate.
-
setCheckOutDate
public HotelReconciliation.Builder setCheckOutDate(java.lang.String value)
Output only. Check-out date recorded when the booking is made. If the check-in date is modified at reconciliation, the revised date will then take the place of the original date in this column. Format is YYYY-MM-DD.
string check_out_date = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The checkOutDate to set.- Returns:
- This builder for chaining.
-
clearCheckOutDate
public HotelReconciliation.Builder clearCheckOutDate()
Output only. Check-out date recorded when the booking is made. If the check-in date is modified at reconciliation, the revised date will then take the place of the original date in this column. Format is YYYY-MM-DD.
string check_out_date = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setCheckOutDateBytes
public HotelReconciliation.Builder setCheckOutDateBytes(com.google.protobuf.ByteString value)
Output only. Check-out date recorded when the booking is made. If the check-in date is modified at reconciliation, the revised date will then take the place of the original date in this column. Format is YYYY-MM-DD.
string check_out_date = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for checkOutDate to set.- Returns:
- This builder for chaining.
-
getReconciledValueMicros
public long getReconciledValueMicros()
Required. Output only. Reconciled value is the final value of a booking as paid by the guest. If original booking value changes for any reason, such as itinerary changes or room upsells, the reconciled value should be the full final amount collected. If a booking is canceled, the reconciled value should include the value of any cancellation fees or non-refundable nights charged. Value is in millionths of the base unit currency. For example, $12.35 would be represented as 12350000. Currency unit is in the default customer currency.
int64 reconciled_value_micros = 8 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getReconciledValueMicrosin interfaceHotelReconciliationOrBuilder- Returns:
- The reconciledValueMicros.
-
setReconciledValueMicros
public HotelReconciliation.Builder setReconciledValueMicros(long value)
Required. Output only. Reconciled value is the final value of a booking as paid by the guest. If original booking value changes for any reason, such as itinerary changes or room upsells, the reconciled value should be the full final amount collected. If a booking is canceled, the reconciled value should include the value of any cancellation fees or non-refundable nights charged. Value is in millionths of the base unit currency. For example, $12.35 would be represented as 12350000. Currency unit is in the default customer currency.
int64 reconciled_value_micros = 8 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The reconciledValueMicros to set.- Returns:
- This builder for chaining.
-
clearReconciledValueMicros
public HotelReconciliation.Builder clearReconciledValueMicros()
Required. Output only. Reconciled value is the final value of a booking as paid by the guest. If original booking value changes for any reason, such as itinerary changes or room upsells, the reconciled value should be the full final amount collected. If a booking is canceled, the reconciled value should include the value of any cancellation fees or non-refundable nights charged. Value is in millionths of the base unit currency. For example, $12.35 would be represented as 12350000. Currency unit is in the default customer currency.
int64 reconciled_value_micros = 8 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
getBilled
public boolean getBilled()
Output only. Whether a given booking has been billed. Once billed, a booking can't be modified.
bool billed = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getBilledin interfaceHotelReconciliationOrBuilder- Returns:
- The billed.
-
setBilled
public HotelReconciliation.Builder setBilled(boolean value)
Output only. Whether a given booking has been billed. Once billed, a booking can't be modified.
bool billed = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The billed to set.- Returns:
- This builder for chaining.
-
clearBilled
public HotelReconciliation.Builder clearBilled()
Output only. Whether a given booking has been billed. Once billed, a booking can't be modified.
bool billed = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
getStatusValue
public int getStatusValue()
Required. Output only. Current status of a booking with regards to reconciliation and billing. Bookings should be reconciled within 45 days after the check-out date. Any booking not reconciled within 45 days will be billed at its original value.
.google.ads.googleads.v10.enums.HotelReconciliationStatusEnum.HotelReconciliationStatus status = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStatusValuein interfaceHotelReconciliationOrBuilder- Returns:
- The enum numeric value on the wire for status.
-
setStatusValue
public HotelReconciliation.Builder setStatusValue(int value)
Required. Output only. Current status of a booking with regards to reconciliation and billing. Bookings should be reconciled within 45 days after the check-out date. Any booking not reconciled within 45 days will be billed at its original value.
.google.ads.googleads.v10.enums.HotelReconciliationStatusEnum.HotelReconciliationStatus status = 10 [(.google.api.field_behavior) = REQUIRED, (.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 HotelReconciliationStatusEnum.HotelReconciliationStatus getStatus()
Required. Output only. Current status of a booking with regards to reconciliation and billing. Bookings should be reconciled within 45 days after the check-out date. Any booking not reconciled within 45 days will be billed at its original value.
.google.ads.googleads.v10.enums.HotelReconciliationStatusEnum.HotelReconciliationStatus status = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStatusin interfaceHotelReconciliationOrBuilder- Returns:
- The status.
-
setStatus
public HotelReconciliation.Builder setStatus(HotelReconciliationStatusEnum.HotelReconciliationStatus value)
Required. Output only. Current status of a booking with regards to reconciliation and billing. Bookings should be reconciled within 45 days after the check-out date. Any booking not reconciled within 45 days will be billed at its original value.
.google.ads.googleads.v10.enums.HotelReconciliationStatusEnum.HotelReconciliationStatus status = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The status to set.- Returns:
- This builder for chaining.
-
clearStatus
public HotelReconciliation.Builder clearStatus()
Required. Output only. Current status of a booking with regards to reconciliation and billing. Bookings should be reconciled within 45 days after the check-out date. Any booking not reconciled within 45 days will be billed at its original value.
.google.ads.googleads.v10.enums.HotelReconciliationStatusEnum.HotelReconciliationStatus status = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setUnknownFields
public final HotelReconciliation.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<HotelReconciliation.Builder>
-
mergeUnknownFields
public final HotelReconciliation.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<HotelReconciliation.Builder>
-
-