Interface SuggestTravelAssetsRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
SuggestTravelAssetsRequest,SuggestTravelAssetsRequest.Builder
public interface SuggestTravelAssetsRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionRequired.com.google.protobuf.ByteStringRequired.Required.com.google.protobuf.ByteStringRequired.getPlaceIds(int index) The Google Maps Place IDs of hotels for which assets are requested.com.google.protobuf.ByteStringgetPlaceIdsBytes(int index) The Google Maps Place IDs of hotels for which assets are requested.intThe Google Maps Place IDs of hotels for which assets are requested.The Google Maps Place IDs of hotels for which assets are requested.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getCustomerId
String getCustomerId()Required. The ID of the customer.
string customer_id = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The customerId.
-
getCustomerIdBytes
com.google.protobuf.ByteString getCustomerIdBytes()Required. The ID of the customer.
string customer_id = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for customerId.
-
getLanguageOption
String getLanguageOption()Required. The language specifications in BCP 47 format (for example, en-US, zh-CN, etc.) for the asset suggestions. Text will be in this language. Usually matches one of the campaign target languages.
string language_option = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The languageOption.
-
getLanguageOptionBytes
com.google.protobuf.ByteString getLanguageOptionBytes()Required. The language specifications in BCP 47 format (for example, en-US, zh-CN, etc.) for the asset suggestions. Text will be in this language. Usually matches one of the campaign target languages.
string language_option = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for languageOption.
-
getPlaceIdsList
The Google Maps Place IDs of hotels for which assets are requested. See https://developers.google.com/places/web-service/place-id for more information.
repeated string place_ids = 4;- Returns:
- A list containing the placeIds.
-
getPlaceIdsCount
int getPlaceIdsCount()The Google Maps Place IDs of hotels for which assets are requested. See https://developers.google.com/places/web-service/place-id for more information.
repeated string place_ids = 4;- Returns:
- The count of placeIds.
-
getPlaceIds
The Google Maps Place IDs of hotels for which assets are requested. See https://developers.google.com/places/web-service/place-id for more information.
repeated string place_ids = 4;- Parameters:
index- The index of the element to return.- Returns:
- The placeIds at the given index.
-
getPlaceIdsBytes
com.google.protobuf.ByteString getPlaceIdsBytes(int index) The Google Maps Place IDs of hotels for which assets are requested. See https://developers.google.com/places/web-service/place-id for more information.
repeated string place_ids = 4;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the placeIds at the given index.
-