Class LocalAdInfo
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.ads.googleads.v10.common.LocalAdInfo
-
- All Implemented Interfaces:
LocalAdInfoOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,java.io.Serializable
public final class LocalAdInfo extends com.google.protobuf.GeneratedMessageV3 implements LocalAdInfoOrBuilder
A local ad.
Protobuf typegoogle.ads.googleads.v10.common.LocalAdInfo- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classLocalAdInfo.BuilderA local ad.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intCALL_TO_ACTIONS_FIELD_NUMBERstatic intDESCRIPTIONS_FIELD_NUMBERstatic intHEADLINES_FIELD_NUMBERstatic intLOGO_IMAGES_FIELD_NUMBERstatic intMARKETING_IMAGES_FIELD_NUMBERstatic intPATH1_FIELD_NUMBERstatic intPATH2_FIELD_NUMBERstatic intVIDEOS_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)AdTextAssetgetCallToActions(int index)List of text assets for call-to-actions.intgetCallToActionsCount()List of text assets for call-to-actions.java.util.List<AdTextAsset>getCallToActionsList()List of text assets for call-to-actions.AdTextAssetOrBuildergetCallToActionsOrBuilder(int index)List of text assets for call-to-actions.java.util.List<? extends AdTextAssetOrBuilder>getCallToActionsOrBuilderList()List of text assets for call-to-actions.static LocalAdInfogetDefaultInstance()LocalAdInfogetDefaultInstanceForType()AdTextAssetgetDescriptions(int index)List of text assets for descriptions.intgetDescriptionsCount()List of text assets for descriptions.java.util.List<AdTextAsset>getDescriptionsList()List of text assets for descriptions.AdTextAssetOrBuildergetDescriptionsOrBuilder(int index)List of text assets for descriptions.java.util.List<? extends AdTextAssetOrBuilder>getDescriptionsOrBuilderList()List of text assets for descriptions.static com.google.protobuf.Descriptors.DescriptorgetDescriptor()AdTextAssetgetHeadlines(int index)List of text assets for headlines.intgetHeadlinesCount()List of text assets for headlines.java.util.List<AdTextAsset>getHeadlinesList()List of text assets for headlines.AdTextAssetOrBuildergetHeadlinesOrBuilder(int index)List of text assets for headlines.java.util.List<? extends AdTextAssetOrBuilder>getHeadlinesOrBuilderList()List of text assets for headlines.AdImageAssetgetLogoImages(int index)List of logo image assets that may be displayed with the ad.intgetLogoImagesCount()List of logo image assets that may be displayed with the ad.java.util.List<AdImageAsset>getLogoImagesList()List of logo image assets that may be displayed with the ad.AdImageAssetOrBuildergetLogoImagesOrBuilder(int index)List of logo image assets that may be displayed with the ad.java.util.List<? extends AdImageAssetOrBuilder>getLogoImagesOrBuilderList()List of logo image assets that may be displayed with the ad.AdImageAssetgetMarketingImages(int index)List of marketing image assets that may be displayed with the ad.intgetMarketingImagesCount()List of marketing image assets that may be displayed with the ad.java.util.List<AdImageAsset>getMarketingImagesList()List of marketing image assets that may be displayed with the ad.AdImageAssetOrBuildergetMarketingImagesOrBuilder(int index)List of marketing image assets that may be displayed with the ad.java.util.List<? extends AdImageAssetOrBuilder>getMarketingImagesOrBuilderList()List of marketing image assets that may be displayed with the ad.com.google.protobuf.Parser<LocalAdInfo>getParserForType()java.lang.StringgetPath1()First part of optional text that can be appended to the URL in the ad.com.google.protobuf.ByteStringgetPath1Bytes()First part of optional text that can be appended to the URL in the ad.java.lang.StringgetPath2()Second part of optional text that can be appended to the URL in the ad.com.google.protobuf.ByteStringgetPath2Bytes()Second part of optional text that can be appended to the URL in the ad.intgetSerializedSize()com.google.protobuf.UnknownFieldSetgetUnknownFields()AdVideoAssetgetVideos(int index)List of YouTube video assets that may be displayed with the ad.intgetVideosCount()List of YouTube video assets that may be displayed with the ad.java.util.List<AdVideoAsset>getVideosList()List of YouTube video assets that may be displayed with the ad.AdVideoAssetOrBuildergetVideosOrBuilder(int index)List of YouTube video assets that may be displayed with the ad.java.util.List<? extends AdVideoAssetOrBuilder>getVideosOrBuilderList()List of YouTube video assets that may be displayed with the ad.inthashCode()booleanhasPath1()First part of optional text that can be appended to the URL in the ad.booleanhasPath2()Second part of optional text that can be appended to the URL in the ad.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static LocalAdInfo.BuildernewBuilder()static LocalAdInfo.BuildernewBuilder(LocalAdInfo prototype)LocalAdInfo.BuildernewBuilderForType()protected LocalAdInfo.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected java.lang.ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static LocalAdInfoparseDelimitedFrom(java.io.InputStream input)static LocalAdInfoparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static LocalAdInfoparseFrom(byte[] data)static LocalAdInfoparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static LocalAdInfoparseFrom(com.google.protobuf.ByteString data)static LocalAdInfoparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static LocalAdInfoparseFrom(com.google.protobuf.CodedInputStream input)static LocalAdInfoparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static LocalAdInfoparseFrom(java.io.InputStream input)static LocalAdInfoparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static LocalAdInfoparseFrom(java.nio.ByteBuffer data)static LocalAdInfoparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<LocalAdInfo>parser()LocalAdInfo.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, 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
-
HEADLINES_FIELD_NUMBER
public static final int HEADLINES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DESCRIPTIONS_FIELD_NUMBER
public static final int DESCRIPTIONS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CALL_TO_ACTIONS_FIELD_NUMBER
public static final int CALL_TO_ACTIONS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MARKETING_IMAGES_FIELD_NUMBER
public static final int MARKETING_IMAGES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LOGO_IMAGES_FIELD_NUMBER
public static final int LOGO_IMAGES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
VIDEOS_FIELD_NUMBER
public static final int VIDEOS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PATH1_FIELD_NUMBER
public static final int PATH1_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PATH2_FIELD_NUMBER
public static final int PATH2_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
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin 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
-
getHeadlinesList
public java.util.List<AdTextAsset> getHeadlinesList()
List of text assets for headlines. When the ad serves the headlines will be selected from this list. At least 1 and at most 5 headlines must be specified.
repeated .google.ads.googleads.v10.common.AdTextAsset headlines = 1;- Specified by:
getHeadlinesListin interfaceLocalAdInfoOrBuilder
-
getHeadlinesOrBuilderList
public java.util.List<? extends AdTextAssetOrBuilder> getHeadlinesOrBuilderList()
List of text assets for headlines. When the ad serves the headlines will be selected from this list. At least 1 and at most 5 headlines must be specified.
repeated .google.ads.googleads.v10.common.AdTextAsset headlines = 1;- Specified by:
getHeadlinesOrBuilderListin interfaceLocalAdInfoOrBuilder
-
getHeadlinesCount
public int getHeadlinesCount()
List of text assets for headlines. When the ad serves the headlines will be selected from this list. At least 1 and at most 5 headlines must be specified.
repeated .google.ads.googleads.v10.common.AdTextAsset headlines = 1;- Specified by:
getHeadlinesCountin interfaceLocalAdInfoOrBuilder
-
getHeadlines
public AdTextAsset getHeadlines(int index)
List of text assets for headlines. When the ad serves the headlines will be selected from this list. At least 1 and at most 5 headlines must be specified.
repeated .google.ads.googleads.v10.common.AdTextAsset headlines = 1;- Specified by:
getHeadlinesin interfaceLocalAdInfoOrBuilder
-
getHeadlinesOrBuilder
public AdTextAssetOrBuilder getHeadlinesOrBuilder(int index)
List of text assets for headlines. When the ad serves the headlines will be selected from this list. At least 1 and at most 5 headlines must be specified.
repeated .google.ads.googleads.v10.common.AdTextAsset headlines = 1;- Specified by:
getHeadlinesOrBuilderin interfaceLocalAdInfoOrBuilder
-
getDescriptionsList
public java.util.List<AdTextAsset> getDescriptionsList()
List of text assets for descriptions. When the ad serves the descriptions will be selected from this list. At least 1 and at most 5 descriptions must be specified.
repeated .google.ads.googleads.v10.common.AdTextAsset descriptions = 2;- Specified by:
getDescriptionsListin interfaceLocalAdInfoOrBuilder
-
getDescriptionsOrBuilderList
public java.util.List<? extends AdTextAssetOrBuilder> getDescriptionsOrBuilderList()
List of text assets for descriptions. When the ad serves the descriptions will be selected from this list. At least 1 and at most 5 descriptions must be specified.
repeated .google.ads.googleads.v10.common.AdTextAsset descriptions = 2;- Specified by:
getDescriptionsOrBuilderListin interfaceLocalAdInfoOrBuilder
-
getDescriptionsCount
public int getDescriptionsCount()
List of text assets for descriptions. When the ad serves the descriptions will be selected from this list. At least 1 and at most 5 descriptions must be specified.
repeated .google.ads.googleads.v10.common.AdTextAsset descriptions = 2;- Specified by:
getDescriptionsCountin interfaceLocalAdInfoOrBuilder
-
getDescriptions
public AdTextAsset getDescriptions(int index)
List of text assets for descriptions. When the ad serves the descriptions will be selected from this list. At least 1 and at most 5 descriptions must be specified.
repeated .google.ads.googleads.v10.common.AdTextAsset descriptions = 2;- Specified by:
getDescriptionsin interfaceLocalAdInfoOrBuilder
-
getDescriptionsOrBuilder
public AdTextAssetOrBuilder getDescriptionsOrBuilder(int index)
List of text assets for descriptions. When the ad serves the descriptions will be selected from this list. At least 1 and at most 5 descriptions must be specified.
repeated .google.ads.googleads.v10.common.AdTextAsset descriptions = 2;- Specified by:
getDescriptionsOrBuilderin interfaceLocalAdInfoOrBuilder
-
getCallToActionsList
public java.util.List<AdTextAsset> getCallToActionsList()
List of text assets for call-to-actions. When the ad serves the call-to-actions will be selected from this list. Call-to-actions are optional and at most 5 can be specified.
repeated .google.ads.googleads.v10.common.AdTextAsset call_to_actions = 3;- Specified by:
getCallToActionsListin interfaceLocalAdInfoOrBuilder
-
getCallToActionsOrBuilderList
public java.util.List<? extends AdTextAssetOrBuilder> getCallToActionsOrBuilderList()
List of text assets for call-to-actions. When the ad serves the call-to-actions will be selected from this list. Call-to-actions are optional and at most 5 can be specified.
repeated .google.ads.googleads.v10.common.AdTextAsset call_to_actions = 3;- Specified by:
getCallToActionsOrBuilderListin interfaceLocalAdInfoOrBuilder
-
getCallToActionsCount
public int getCallToActionsCount()
List of text assets for call-to-actions. When the ad serves the call-to-actions will be selected from this list. Call-to-actions are optional and at most 5 can be specified.
repeated .google.ads.googleads.v10.common.AdTextAsset call_to_actions = 3;- Specified by:
getCallToActionsCountin interfaceLocalAdInfoOrBuilder
-
getCallToActions
public AdTextAsset getCallToActions(int index)
List of text assets for call-to-actions. When the ad serves the call-to-actions will be selected from this list. Call-to-actions are optional and at most 5 can be specified.
repeated .google.ads.googleads.v10.common.AdTextAsset call_to_actions = 3;- Specified by:
getCallToActionsin interfaceLocalAdInfoOrBuilder
-
getCallToActionsOrBuilder
public AdTextAssetOrBuilder getCallToActionsOrBuilder(int index)
List of text assets for call-to-actions. When the ad serves the call-to-actions will be selected from this list. Call-to-actions are optional and at most 5 can be specified.
repeated .google.ads.googleads.v10.common.AdTextAsset call_to_actions = 3;- Specified by:
getCallToActionsOrBuilderin interfaceLocalAdInfoOrBuilder
-
getMarketingImagesList
public java.util.List<AdImageAsset> getMarketingImagesList()
List of marketing image assets that may be displayed with the ad. The images must be 314x600 pixels or 320x320 pixels. At least 1 and at most 20 image assets must be specified.
repeated .google.ads.googleads.v10.common.AdImageAsset marketing_images = 4;- Specified by:
getMarketingImagesListin interfaceLocalAdInfoOrBuilder
-
getMarketingImagesOrBuilderList
public java.util.List<? extends AdImageAssetOrBuilder> getMarketingImagesOrBuilderList()
List of marketing image assets that may be displayed with the ad. The images must be 314x600 pixels or 320x320 pixels. At least 1 and at most 20 image assets must be specified.
repeated .google.ads.googleads.v10.common.AdImageAsset marketing_images = 4;- Specified by:
getMarketingImagesOrBuilderListin interfaceLocalAdInfoOrBuilder
-
getMarketingImagesCount
public int getMarketingImagesCount()
List of marketing image assets that may be displayed with the ad. The images must be 314x600 pixels or 320x320 pixels. At least 1 and at most 20 image assets must be specified.
repeated .google.ads.googleads.v10.common.AdImageAsset marketing_images = 4;- Specified by:
getMarketingImagesCountin interfaceLocalAdInfoOrBuilder
-
getMarketingImages
public AdImageAsset getMarketingImages(int index)
List of marketing image assets that may be displayed with the ad. The images must be 314x600 pixels or 320x320 pixels. At least 1 and at most 20 image assets must be specified.
repeated .google.ads.googleads.v10.common.AdImageAsset marketing_images = 4;- Specified by:
getMarketingImagesin interfaceLocalAdInfoOrBuilder
-
getMarketingImagesOrBuilder
public AdImageAssetOrBuilder getMarketingImagesOrBuilder(int index)
List of marketing image assets that may be displayed with the ad. The images must be 314x600 pixels or 320x320 pixels. At least 1 and at most 20 image assets must be specified.
repeated .google.ads.googleads.v10.common.AdImageAsset marketing_images = 4;- Specified by:
getMarketingImagesOrBuilderin interfaceLocalAdInfoOrBuilder
-
getLogoImagesList
public java.util.List<AdImageAsset> getLogoImagesList()
List of logo image assets that may be displayed with the ad. The images must be 128x128 pixels and not larger than 120KB. At least 1 and at most 5 image assets must be specified.
repeated .google.ads.googleads.v10.common.AdImageAsset logo_images = 5;- Specified by:
getLogoImagesListin interfaceLocalAdInfoOrBuilder
-
getLogoImagesOrBuilderList
public java.util.List<? extends AdImageAssetOrBuilder> getLogoImagesOrBuilderList()
List of logo image assets that may be displayed with the ad. The images must be 128x128 pixels and not larger than 120KB. At least 1 and at most 5 image assets must be specified.
repeated .google.ads.googleads.v10.common.AdImageAsset logo_images = 5;- Specified by:
getLogoImagesOrBuilderListin interfaceLocalAdInfoOrBuilder
-
getLogoImagesCount
public int getLogoImagesCount()
List of logo image assets that may be displayed with the ad. The images must be 128x128 pixels and not larger than 120KB. At least 1 and at most 5 image assets must be specified.
repeated .google.ads.googleads.v10.common.AdImageAsset logo_images = 5;- Specified by:
getLogoImagesCountin interfaceLocalAdInfoOrBuilder
-
getLogoImages
public AdImageAsset getLogoImages(int index)
List of logo image assets that may be displayed with the ad. The images must be 128x128 pixels and not larger than 120KB. At least 1 and at most 5 image assets must be specified.
repeated .google.ads.googleads.v10.common.AdImageAsset logo_images = 5;- Specified by:
getLogoImagesin interfaceLocalAdInfoOrBuilder
-
getLogoImagesOrBuilder
public AdImageAssetOrBuilder getLogoImagesOrBuilder(int index)
List of logo image assets that may be displayed with the ad. The images must be 128x128 pixels and not larger than 120KB. At least 1 and at most 5 image assets must be specified.
repeated .google.ads.googleads.v10.common.AdImageAsset logo_images = 5;- Specified by:
getLogoImagesOrBuilderin interfaceLocalAdInfoOrBuilder
-
getVideosList
public java.util.List<AdVideoAsset> getVideosList()
List of YouTube video assets that may be displayed with the ad. Videos are optional and at most 20 can be specified.
repeated .google.ads.googleads.v10.common.AdVideoAsset videos = 6;- Specified by:
getVideosListin interfaceLocalAdInfoOrBuilder
-
getVideosOrBuilderList
public java.util.List<? extends AdVideoAssetOrBuilder> getVideosOrBuilderList()
List of YouTube video assets that may be displayed with the ad. Videos are optional and at most 20 can be specified.
repeated .google.ads.googleads.v10.common.AdVideoAsset videos = 6;- Specified by:
getVideosOrBuilderListin interfaceLocalAdInfoOrBuilder
-
getVideosCount
public int getVideosCount()
List of YouTube video assets that may be displayed with the ad. Videos are optional and at most 20 can be specified.
repeated .google.ads.googleads.v10.common.AdVideoAsset videos = 6;- Specified by:
getVideosCountin interfaceLocalAdInfoOrBuilder
-
getVideos
public AdVideoAsset getVideos(int index)
List of YouTube video assets that may be displayed with the ad. Videos are optional and at most 20 can be specified.
repeated .google.ads.googleads.v10.common.AdVideoAsset videos = 6;- Specified by:
getVideosin interfaceLocalAdInfoOrBuilder
-
getVideosOrBuilder
public AdVideoAssetOrBuilder getVideosOrBuilder(int index)
List of YouTube video assets that may be displayed with the ad. Videos are optional and at most 20 can be specified.
repeated .google.ads.googleads.v10.common.AdVideoAsset videos = 6;- Specified by:
getVideosOrBuilderin interfaceLocalAdInfoOrBuilder
-
hasPath1
public boolean hasPath1()
First part of optional text that can be appended to the URL in the ad.
optional string path1 = 9;- Specified by:
hasPath1in interfaceLocalAdInfoOrBuilder- Returns:
- Whether the path1 field is set.
-
getPath1
public java.lang.String getPath1()
First part of optional text that can be appended to the URL in the ad.
optional string path1 = 9;- Specified by:
getPath1in interfaceLocalAdInfoOrBuilder- Returns:
- The path1.
-
getPath1Bytes
public com.google.protobuf.ByteString getPath1Bytes()
First part of optional text that can be appended to the URL in the ad.
optional string path1 = 9;- Specified by:
getPath1Bytesin interfaceLocalAdInfoOrBuilder- Returns:
- The bytes for path1.
-
hasPath2
public boolean hasPath2()
Second part of optional text that can be appended to the URL in the ad. This field can only be set when `path1` is also set.
optional string path2 = 10;- Specified by:
hasPath2in interfaceLocalAdInfoOrBuilder- Returns:
- Whether the path2 field is set.
-
getPath2
public java.lang.String getPath2()
Second part of optional text that can be appended to the URL in the ad. This field can only be set when `path1` is also set.
optional string path2 = 10;- Specified by:
getPath2in interfaceLocalAdInfoOrBuilder- Returns:
- The path2.
-
getPath2Bytes
public com.google.protobuf.ByteString getPath2Bytes()
Second part of optional text that can be appended to the URL in the ad. This field can only be set when `path1` is also set.
optional string path2 = 10;- Specified by:
getPath2Bytesin interfaceLocalAdInfoOrBuilder- Returns:
- The bytes for path2.
-
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 LocalAdInfo parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static LocalAdInfo parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static LocalAdInfo parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static LocalAdInfo parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static LocalAdInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static LocalAdInfo parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static LocalAdInfo parseFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static LocalAdInfo parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static LocalAdInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static LocalAdInfo parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static LocalAdInfo parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static LocalAdInfo parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilderForType
public LocalAdInfo.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static LocalAdInfo.Builder newBuilder()
-
newBuilder
public static LocalAdInfo.Builder newBuilder(LocalAdInfo prototype)
-
toBuilder
public LocalAdInfo.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected LocalAdInfo.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static LocalAdInfo getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<LocalAdInfo> parser()
-
getParserForType
public com.google.protobuf.Parser<LocalAdInfo> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public LocalAdInfo getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-