Class HotelAssetSuggestion
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.google.ads.googleads.v18.services.HotelAssetSuggestion
- All Implemented Interfaces:
HotelAssetSuggestionOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class HotelAssetSuggestion
extends com.google.protobuf.GeneratedMessageV3
implements HotelAssetSuggestionOrBuilder
Message containing the asset suggestions for a hotel.Protobuf type
google.ads.googleads.v18.services.HotelAssetSuggestion- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classMessage containing the asset suggestions for a hotel.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 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 TypeMethodDescriptionbooleanCall to action type.intCall to action type.static HotelAssetSuggestionstatic final com.google.protobuf.Descriptors.DescriptorSuggested final URL for an AssetGroup.com.google.protobuf.ByteStringSuggested final URL for an AssetGroup.Hotel name in requested language.com.google.protobuf.ByteStringHotel name in requested language.getImageAssets(int index) Image assets such as landscape/portrait/square, etc.intImage assets such as landscape/portrait/square, etc.Image assets such as landscape/portrait/square, etc.getImageAssetsOrBuilder(int index) Image assets such as landscape/portrait/square, etc.List<? extends HotelImageAssetOrBuilder>Image assets such as landscape/portrait/square, etc.com.google.protobuf.Parser<HotelAssetSuggestion>Google Places ID of the hotel.com.google.protobuf.ByteStringGoogle Places ID of the hotel.intThe status of the hotel asset suggestion.intThe status of the hotel asset suggestion.getTextAssets(int index) Text assets such as headline, description, etc.intText assets such as headline, description, etc.Text assets such as headline, description, etc.getTextAssetsOrBuilder(int index) Text assets such as headline, description, etc.List<? extends HotelTextAssetOrBuilder>Text assets such as headline, description, etc.inthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanstatic HotelAssetSuggestion.Builderstatic HotelAssetSuggestion.BuildernewBuilder(HotelAssetSuggestion prototype) protected HotelAssetSuggestion.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static HotelAssetSuggestionparseDelimitedFrom(InputStream input) static HotelAssetSuggestionparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static HotelAssetSuggestionparseFrom(byte[] data) static HotelAssetSuggestionparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static HotelAssetSuggestionparseFrom(com.google.protobuf.ByteString data) static HotelAssetSuggestionparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static HotelAssetSuggestionparseFrom(com.google.protobuf.CodedInputStream input) static HotelAssetSuggestionparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static HotelAssetSuggestionparseFrom(InputStream input) static HotelAssetSuggestionparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static HotelAssetSuggestionparseFrom(ByteBuffer data) static HotelAssetSuggestionparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<HotelAssetSuggestion>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
-
PLACE_ID_FIELD_NUMBER
public static final int PLACE_ID_FIELD_NUMBER- See Also:
-
FINAL_URL_FIELD_NUMBER
public static final int FINAL_URL_FIELD_NUMBER- See Also:
-
HOTEL_NAME_FIELD_NUMBER
public static final int HOTEL_NAME_FIELD_NUMBER- See Also:
-
CALL_TO_ACTION_FIELD_NUMBER
public static final int CALL_TO_ACTION_FIELD_NUMBER- See Also:
-
TEXT_ASSETS_FIELD_NUMBER
public static final int TEXT_ASSETS_FIELD_NUMBER- See Also:
-
IMAGE_ASSETS_FIELD_NUMBER
public static final int IMAGE_ASSETS_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
-
getPlaceId
Google Places ID of the hotel.
string place_id = 1;- Specified by:
getPlaceIdin interfaceHotelAssetSuggestionOrBuilder- Returns:
- The placeId.
-
getPlaceIdBytes
public com.google.protobuf.ByteString getPlaceIdBytes()Google Places ID of the hotel.
string place_id = 1;- Specified by:
getPlaceIdBytesin interfaceHotelAssetSuggestionOrBuilder- Returns:
- The bytes for placeId.
-
getFinalUrl
Suggested final URL for an AssetGroup.
string final_url = 2;- Specified by:
getFinalUrlin interfaceHotelAssetSuggestionOrBuilder- Returns:
- The finalUrl.
-
getFinalUrlBytes
public com.google.protobuf.ByteString getFinalUrlBytes()Suggested final URL for an AssetGroup.
string final_url = 2;- Specified by:
getFinalUrlBytesin interfaceHotelAssetSuggestionOrBuilder- Returns:
- The bytes for finalUrl.
-
getHotelName
Hotel name in requested language.
string hotel_name = 3;- Specified by:
getHotelNamein interfaceHotelAssetSuggestionOrBuilder- Returns:
- The hotelName.
-
getHotelNameBytes
public com.google.protobuf.ByteString getHotelNameBytes()Hotel name in requested language.
string hotel_name = 3;- Specified by:
getHotelNameBytesin interfaceHotelAssetSuggestionOrBuilder- Returns:
- The bytes for hotelName.
-
getCallToActionValue
public int getCallToActionValue()Call to action type.
.google.ads.googleads.v18.enums.CallToActionTypeEnum.CallToActionType call_to_action = 4;- Specified by:
getCallToActionValuein interfaceHotelAssetSuggestionOrBuilder- Returns:
- The enum numeric value on the wire for callToAction.
-
getCallToAction
Call to action type.
.google.ads.googleads.v18.enums.CallToActionTypeEnum.CallToActionType call_to_action = 4;- Specified by:
getCallToActionin interfaceHotelAssetSuggestionOrBuilder- Returns:
- The callToAction.
-
getTextAssetsList
Text assets such as headline, description, etc.
repeated .google.ads.googleads.v18.services.HotelTextAsset text_assets = 5;- Specified by:
getTextAssetsListin interfaceHotelAssetSuggestionOrBuilder
-
getTextAssetsOrBuilderList
Text assets such as headline, description, etc.
repeated .google.ads.googleads.v18.services.HotelTextAsset text_assets = 5;- Specified by:
getTextAssetsOrBuilderListin interfaceHotelAssetSuggestionOrBuilder
-
getTextAssetsCount
public int getTextAssetsCount()Text assets such as headline, description, etc.
repeated .google.ads.googleads.v18.services.HotelTextAsset text_assets = 5;- Specified by:
getTextAssetsCountin interfaceHotelAssetSuggestionOrBuilder
-
getTextAssets
Text assets such as headline, description, etc.
repeated .google.ads.googleads.v18.services.HotelTextAsset text_assets = 5;- Specified by:
getTextAssetsin interfaceHotelAssetSuggestionOrBuilder
-
getTextAssetsOrBuilder
Text assets such as headline, description, etc.
repeated .google.ads.googleads.v18.services.HotelTextAsset text_assets = 5;- Specified by:
getTextAssetsOrBuilderin interfaceHotelAssetSuggestionOrBuilder
-
getImageAssetsList
Image assets such as landscape/portrait/square, etc.
repeated .google.ads.googleads.v18.services.HotelImageAsset image_assets = 6;- Specified by:
getImageAssetsListin interfaceHotelAssetSuggestionOrBuilder
-
getImageAssetsOrBuilderList
Image assets such as landscape/portrait/square, etc.
repeated .google.ads.googleads.v18.services.HotelImageAsset image_assets = 6;- Specified by:
getImageAssetsOrBuilderListin interfaceHotelAssetSuggestionOrBuilder
-
getImageAssetsCount
public int getImageAssetsCount()Image assets such as landscape/portrait/square, etc.
repeated .google.ads.googleads.v18.services.HotelImageAsset image_assets = 6;- Specified by:
getImageAssetsCountin interfaceHotelAssetSuggestionOrBuilder
-
getImageAssets
Image assets such as landscape/portrait/square, etc.
repeated .google.ads.googleads.v18.services.HotelImageAsset image_assets = 6;- Specified by:
getImageAssetsin interfaceHotelAssetSuggestionOrBuilder
-
getImageAssetsOrBuilder
Image assets such as landscape/portrait/square, etc.
repeated .google.ads.googleads.v18.services.HotelImageAsset image_assets = 6;- Specified by:
getImageAssetsOrBuilderin interfaceHotelAssetSuggestionOrBuilder
-
getStatusValue
public int getStatusValue()The status of the hotel asset suggestion.
.google.ads.googleads.v18.enums.HotelAssetSuggestionStatusEnum.HotelAssetSuggestionStatus status = 7;- Specified by:
getStatusValuein interfaceHotelAssetSuggestionOrBuilder- Returns:
- The enum numeric value on the wire for status.
-
getStatus
The status of the hotel asset suggestion.
.google.ads.googleads.v18.enums.HotelAssetSuggestionStatusEnum.HotelAssetSuggestionStatus status = 7;- Specified by:
getStatusin interfaceHotelAssetSuggestionOrBuilder- 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 HotelAssetSuggestion parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static HotelAssetSuggestion parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static HotelAssetSuggestion parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static HotelAssetSuggestion parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static HotelAssetSuggestion parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static HotelAssetSuggestion parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static HotelAssetSuggestion parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static HotelAssetSuggestion parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static HotelAssetSuggestion parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static HotelAssetSuggestion 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 HotelAssetSuggestion.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
-