Class HotelAssetSuggestion
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.ads.googleads.v15.services.HotelAssetSuggestion
-
- All Implemented Interfaces:
HotelAssetSuggestionOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,java.io.Serializable
public final class HotelAssetSuggestion extends com.google.protobuf.GeneratedMessageV3 implements HotelAssetSuggestionOrBuilder
Message containing the asset suggestions for a hotel.
Protobuf typegoogle.ads.googleads.v15.services.HotelAssetSuggestion- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classHotelAssetSuggestion.BuilderMessage 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
-
-
Field Summary
Fields Modifier and Type Field Description static intCALL_TO_ACTION_FIELD_NUMBERstatic intFINAL_URL_FIELD_NUMBERstatic intHOTEL_NAME_FIELD_NUMBERstatic intIMAGE_ASSETS_FIELD_NUMBERstatic intPLACE_ID_FIELD_NUMBERstatic intSTATUS_FIELD_NUMBERstatic intTEXT_ASSETS_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)CallToActionTypeEnum.CallToActionTypegetCallToAction()Call to action type.intgetCallToActionValue()Call to action type.static HotelAssetSuggestiongetDefaultInstance()HotelAssetSuggestiongetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()java.lang.StringgetFinalUrl()Suggested final URL for an AssetGroup.com.google.protobuf.ByteStringgetFinalUrlBytes()Suggested final URL for an AssetGroup.java.lang.StringgetHotelName()Hotel name in requested language.com.google.protobuf.ByteStringgetHotelNameBytes()Hotel name in requested language.HotelImageAssetgetImageAssets(int index)Image assets such as landscape/portrait/square, etc.intgetImageAssetsCount()Image assets such as landscape/portrait/square, etc.java.util.List<HotelImageAsset>getImageAssetsList()Image assets such as landscape/portrait/square, etc.HotelImageAssetOrBuildergetImageAssetsOrBuilder(int index)Image assets such as landscape/portrait/square, etc.java.util.List<? extends HotelImageAssetOrBuilder>getImageAssetsOrBuilderList()Image assets such as landscape/portrait/square, etc.com.google.protobuf.Parser<HotelAssetSuggestion>getParserForType()java.lang.StringgetPlaceId()Google Places ID of the hotel.com.google.protobuf.ByteStringgetPlaceIdBytes()Google Places ID of the hotel.intgetSerializedSize()HotelAssetSuggestionStatusEnum.HotelAssetSuggestionStatusgetStatus()The status of the hotel asset suggestion.intgetStatusValue()The status of the hotel asset suggestion.HotelTextAssetgetTextAssets(int index)Text assets such as headline, description, etc.intgetTextAssetsCount()Text assets such as headline, description, etc.java.util.List<HotelTextAsset>getTextAssetsList()Text assets such as headline, description, etc.HotelTextAssetOrBuildergetTextAssetsOrBuilder(int index)Text assets such as headline, description, etc.java.util.List<? extends HotelTextAssetOrBuilder>getTextAssetsOrBuilderList()Text assets such as headline, description, etc.inthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static HotelAssetSuggestion.BuildernewBuilder()static HotelAssetSuggestion.BuildernewBuilder(HotelAssetSuggestion prototype)HotelAssetSuggestion.BuildernewBuilderForType()protected HotelAssetSuggestion.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected java.lang.ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static HotelAssetSuggestionparseDelimitedFrom(java.io.InputStream input)static HotelAssetSuggestionparseDelimitedFrom(java.io.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(java.io.InputStream input)static HotelAssetSuggestionparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static HotelAssetSuggestionparseFrom(java.nio.ByteBuffer data)static HotelAssetSuggestionparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<HotelAssetSuggestion>parser()HotelAssetSuggestion.BuildertoBuilder()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, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
PLACE_ID_FIELD_NUMBER
public static final int PLACE_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
FINAL_URL_FIELD_NUMBER
public static final int FINAL_URL_FIELD_NUMBER
- See Also:
- Constant Field Values
-
HOTEL_NAME_FIELD_NUMBER
public static final int HOTEL_NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CALL_TO_ACTION_FIELD_NUMBER
public static final int CALL_TO_ACTION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TEXT_ASSETS_FIELD_NUMBER
public static final int TEXT_ASSETS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
IMAGE_ASSETS_FIELD_NUMBER
public static final int IMAGE_ASSETS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STATUS_FIELD_NUMBER
public static final int STATUS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected java.lang.Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- 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
public java.lang.String 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
public java.lang.String 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
public java.lang.String 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.v15.enums.CallToActionTypeEnum.CallToActionType call_to_action = 4;- Specified by:
getCallToActionValuein interfaceHotelAssetSuggestionOrBuilder- Returns:
- The enum numeric value on the wire for callToAction.
-
getCallToAction
public CallToActionTypeEnum.CallToActionType getCallToAction()
Call to action type.
.google.ads.googleads.v15.enums.CallToActionTypeEnum.CallToActionType call_to_action = 4;- Specified by:
getCallToActionin interfaceHotelAssetSuggestionOrBuilder- Returns:
- The callToAction.
-
getTextAssetsList
public java.util.List<HotelTextAsset> getTextAssetsList()
Text assets such as headline, description, etc.
repeated .google.ads.googleads.v15.services.HotelTextAsset text_assets = 5;- Specified by:
getTextAssetsListin interfaceHotelAssetSuggestionOrBuilder
-
getTextAssetsOrBuilderList
public java.util.List<? extends HotelTextAssetOrBuilder> getTextAssetsOrBuilderList()
Text assets such as headline, description, etc.
repeated .google.ads.googleads.v15.services.HotelTextAsset text_assets = 5;- Specified by:
getTextAssetsOrBuilderListin interfaceHotelAssetSuggestionOrBuilder
-
getTextAssetsCount
public int getTextAssetsCount()
Text assets such as headline, description, etc.
repeated .google.ads.googleads.v15.services.HotelTextAsset text_assets = 5;- Specified by:
getTextAssetsCountin interfaceHotelAssetSuggestionOrBuilder
-
getTextAssets
public HotelTextAsset getTextAssets(int index)
Text assets such as headline, description, etc.
repeated .google.ads.googleads.v15.services.HotelTextAsset text_assets = 5;- Specified by:
getTextAssetsin interfaceHotelAssetSuggestionOrBuilder
-
getTextAssetsOrBuilder
public HotelTextAssetOrBuilder getTextAssetsOrBuilder(int index)
Text assets such as headline, description, etc.
repeated .google.ads.googleads.v15.services.HotelTextAsset text_assets = 5;- Specified by:
getTextAssetsOrBuilderin interfaceHotelAssetSuggestionOrBuilder
-
getImageAssetsList
public java.util.List<HotelImageAsset> getImageAssetsList()
Image assets such as landscape/portrait/square, etc.
repeated .google.ads.googleads.v15.services.HotelImageAsset image_assets = 6;- Specified by:
getImageAssetsListin interfaceHotelAssetSuggestionOrBuilder
-
getImageAssetsOrBuilderList
public java.util.List<? extends HotelImageAssetOrBuilder> getImageAssetsOrBuilderList()
Image assets such as landscape/portrait/square, etc.
repeated .google.ads.googleads.v15.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.v15.services.HotelImageAsset image_assets = 6;- Specified by:
getImageAssetsCountin interfaceHotelAssetSuggestionOrBuilder
-
getImageAssets
public HotelImageAsset getImageAssets(int index)
Image assets such as landscape/portrait/square, etc.
repeated .google.ads.googleads.v15.services.HotelImageAsset image_assets = 6;- Specified by:
getImageAssetsin interfaceHotelAssetSuggestionOrBuilder
-
getImageAssetsOrBuilder
public HotelImageAssetOrBuilder getImageAssetsOrBuilder(int index)
Image assets such as landscape/portrait/square, etc.
repeated .google.ads.googleads.v15.services.HotelImageAsset image_assets = 6;- Specified by:
getImageAssetsOrBuilderin interfaceHotelAssetSuggestionOrBuilder
-
getStatusValue
public int getStatusValue()
The status of the hotel asset suggestion.
.google.ads.googleads.v15.enums.HotelAssetSuggestionStatusEnum.HotelAssetSuggestionStatus status = 7;- Specified by:
getStatusValuein interfaceHotelAssetSuggestionOrBuilder- Returns:
- The enum numeric value on the wire for status.
-
getStatus
public HotelAssetSuggestionStatusEnum.HotelAssetSuggestionStatus getStatus()
The status of the hotel asset suggestion.
.google.ads.googleads.v15.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
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
java.io.IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(java.lang.Object obj)
- 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(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static HotelAssetSuggestion parseFrom(java.nio.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
public static HotelAssetSuggestion parseFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static HotelAssetSuggestion parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static HotelAssetSuggestion parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static HotelAssetSuggestion parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static HotelAssetSuggestion parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static HotelAssetSuggestion parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilderForType
public HotelAssetSuggestion.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static HotelAssetSuggestion.Builder newBuilder()
-
newBuilder
public static HotelAssetSuggestion.Builder newBuilder(HotelAssetSuggestion prototype)
-
toBuilder
public HotelAssetSuggestion.Builder 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
public static HotelAssetSuggestion getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<HotelAssetSuggestion> parser()
-
getParserForType
public com.google.protobuf.Parser<HotelAssetSuggestion> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public HotelAssetSuggestion getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-