Class HotelReconciliation
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.google.ads.googleads.v18.resources.HotelReconciliation
- All Implemented Interfaces:
HotelReconciliationOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class HotelReconciliation
extends com.google.protobuf.GeneratedMessageV3
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 through Bulk Uploads.Protobuf type
google.ads.googleads.v18.resources.HotelReconciliation- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA hotel reconciliation.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanOutput only.Output only.com.google.protobuf.ByteStringOutput only.Output only.com.google.protobuf.ByteStringOutput only.Output only.com.google.protobuf.ByteStringOutput only.Required.com.google.protobuf.ByteStringRequired.static HotelReconciliationstatic final com.google.protobuf.Descriptors.DescriptorlongOutput only.Output only.com.google.protobuf.ByteStringOutput only.Output only.com.google.protobuf.ByteStringOutput only.com.google.protobuf.Parser<HotelReconciliation>longRequired.Immutable.com.google.protobuf.ByteStringImmutable.intRequired.intRequired.inthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanstatic HotelReconciliation.Builderstatic HotelReconciliation.BuildernewBuilder(HotelReconciliation prototype) protected HotelReconciliation.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static HotelReconciliationparseDelimitedFrom(InputStream input) static HotelReconciliationparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static HotelReconciliationparseFrom(byte[] data) static HotelReconciliationparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static HotelReconciliationparseFrom(com.google.protobuf.ByteString data) static HotelReconciliationparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static HotelReconciliationparseFrom(com.google.protobuf.CodedInputStream input) static HotelReconciliationparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static HotelReconciliationparseFrom(InputStream input) static HotelReconciliationparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static HotelReconciliationparseFrom(ByteBuffer data) static HotelReconciliationparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<HotelReconciliation>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
RESOURCE_NAME_FIELD_NUMBER
public static final int RESOURCE_NAME_FIELD_NUMBER- See Also:
-
COMMISSION_ID_FIELD_NUMBER
public static final int COMMISSION_ID_FIELD_NUMBER- See Also:
-
ORDER_ID_FIELD_NUMBER
public static final int ORDER_ID_FIELD_NUMBER- See Also:
-
CAMPAIGN_FIELD_NUMBER
public static final int CAMPAIGN_FIELD_NUMBER- See Also:
-
HOTEL_CENTER_ID_FIELD_NUMBER
public static final int HOTEL_CENTER_ID_FIELD_NUMBER- See Also:
-
HOTEL_ID_FIELD_NUMBER
public static final int HOTEL_ID_FIELD_NUMBER- See Also:
-
CHECK_IN_DATE_FIELD_NUMBER
public static final int CHECK_IN_DATE_FIELD_NUMBER- See Also:
-
CHECK_OUT_DATE_FIELD_NUMBER
public static final int CHECK_OUT_DATE_FIELD_NUMBER- See Also:
-
RECONCILED_VALUE_MICROS_FIELD_NUMBER
public static final int RECONCILED_VALUE_MICROS_FIELD_NUMBER- See Also:
-
BILLED_FIELD_NUMBER
public static final int BILLED_FIELD_NUMBER- See Also:
-
STATUS_FIELD_NUMBER
public static final int STATUS_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
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
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.v18.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.
-
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.v18.enums.HotelReconciliationStatusEnum.HotelReconciliationStatus status = 10 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStatusin interfaceHotelReconciliationOrBuilder- Returns:
- The status.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static HotelReconciliation parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static HotelReconciliation parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static HotelReconciliation parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static HotelReconciliation parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static HotelReconciliation parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static HotelReconciliation parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static HotelReconciliation parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static HotelReconciliation parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static HotelReconciliation parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static HotelReconciliation parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected HotelReconciliation.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-