Interface SuggestTravelAssetsRequestOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.String getCustomerId()
      Required.
      com.google.protobuf.ByteString getCustomerIdBytes()
      Required.
      java.lang.String getLanguageOption()
      Required.
      com.google.protobuf.ByteString getLanguageOptionBytes()
      Required.
      java.lang.String getPlaceIds​(int index)
      The Google Maps Place IDs of hotels for which assets are requested.
      com.google.protobuf.ByteString getPlaceIdsBytes​(int index)
      The Google Maps Place IDs of hotels for which assets are requested.
      int getPlaceIdsCount()
      The Google Maps Place IDs of hotels for which assets are requested.
      java.util.List<java.lang.String> getPlaceIdsList()
      The Google Maps Place IDs of hotels for which assets are requested.
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

      • getCustomerId

        java.lang.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

        java.lang.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

        java.util.List<java.lang.String> 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

        java.lang.String getPlaceIds​(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 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.