Class LegacyAppInstallAdInfo.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<LegacyAppInstallAdInfo.Builder>
-
- com.google.ads.googleads.v14.common.LegacyAppInstallAdInfo.Builder
-
- All Implemented Interfaces:
LegacyAppInstallAdInfoOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,java.lang.Cloneable
- Enclosing class:
- LegacyAppInstallAdInfo
public static final class LegacyAppInstallAdInfo.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<LegacyAppInstallAdInfo.Builder> implements LegacyAppInstallAdInfoOrBuilder
A legacy app install ad that only can be used by a few select customers.
Protobuf typegoogle.ads.googleads.v14.common.LegacyAppInstallAdInfo
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description LegacyAppInstallAdInfo.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)LegacyAppInstallAdInfobuild()LegacyAppInstallAdInfobuildPartial()LegacyAppInstallAdInfo.Builderclear()LegacyAppInstallAdInfo.BuilderclearAppId()The ID of the mobile app.LegacyAppInstallAdInfo.BuilderclearAppStore()The app store the mobile app is available in.LegacyAppInstallAdInfo.BuilderclearDescription1()The first description line of the ad.LegacyAppInstallAdInfo.BuilderclearDescription2()The second description line of the ad.LegacyAppInstallAdInfo.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)LegacyAppInstallAdInfo.BuilderclearHeadline()The headline of the ad.LegacyAppInstallAdInfo.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)LegacyAppInstallAdInfo.Builderclone()java.lang.StringgetAppId()The ID of the mobile app.com.google.protobuf.ByteStringgetAppIdBytes()The ID of the mobile app.LegacyAppInstallAdAppStoreEnum.LegacyAppInstallAdAppStoregetAppStore()The app store the mobile app is available in.intgetAppStoreValue()The app store the mobile app is available in.LegacyAppInstallAdInfogetDefaultInstanceForType()java.lang.StringgetDescription1()The first description line of the ad.com.google.protobuf.ByteStringgetDescription1Bytes()The first description line of the ad.java.lang.StringgetDescription2()The second description line of the ad.com.google.protobuf.ByteStringgetDescription2Bytes()The second description line of the ad.static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()java.lang.StringgetHeadline()The headline of the ad.com.google.protobuf.ByteStringgetHeadlineBytes()The headline of the ad.booleanhasAppId()The ID of the mobile app.booleanhasDescription1()The first description line of the ad.booleanhasDescription2()The second description line of the ad.booleanhasHeadline()The headline of the ad.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()LegacyAppInstallAdInfo.BuildermergeFrom(LegacyAppInstallAdInfo other)LegacyAppInstallAdInfo.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)LegacyAppInstallAdInfo.BuildermergeFrom(com.google.protobuf.Message other)LegacyAppInstallAdInfo.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)LegacyAppInstallAdInfo.BuildersetAppId(java.lang.String value)The ID of the mobile app.LegacyAppInstallAdInfo.BuildersetAppIdBytes(com.google.protobuf.ByteString value)The ID of the mobile app.LegacyAppInstallAdInfo.BuildersetAppStore(LegacyAppInstallAdAppStoreEnum.LegacyAppInstallAdAppStore value)The app store the mobile app is available in.LegacyAppInstallAdInfo.BuildersetAppStoreValue(int value)The app store the mobile app is available in.LegacyAppInstallAdInfo.BuildersetDescription1(java.lang.String value)The first description line of the ad.LegacyAppInstallAdInfo.BuildersetDescription1Bytes(com.google.protobuf.ByteString value)The first description line of the ad.LegacyAppInstallAdInfo.BuildersetDescription2(java.lang.String value)The second description line of the ad.LegacyAppInstallAdInfo.BuildersetDescription2Bytes(com.google.protobuf.ByteString value)The second description line of the ad.LegacyAppInstallAdInfo.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)LegacyAppInstallAdInfo.BuildersetHeadline(java.lang.String value)The headline of the ad.LegacyAppInstallAdInfo.BuildersetHeadlineBytes(com.google.protobuf.ByteString value)The headline of the ad.LegacyAppInstallAdInfo.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)LegacyAppInstallAdInfo.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
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.Builder<LegacyAppInstallAdInfo.Builder>
-
clear
public LegacyAppInstallAdInfo.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<LegacyAppInstallAdInfo.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<LegacyAppInstallAdInfo.Builder>
-
getDefaultInstanceForType
public LegacyAppInstallAdInfo getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public LegacyAppInstallAdInfo build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public LegacyAppInstallAdInfo buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public LegacyAppInstallAdInfo.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<LegacyAppInstallAdInfo.Builder>
-
setField
public LegacyAppInstallAdInfo.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<LegacyAppInstallAdInfo.Builder>
-
clearField
public LegacyAppInstallAdInfo.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<LegacyAppInstallAdInfo.Builder>
-
clearOneof
public LegacyAppInstallAdInfo.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<LegacyAppInstallAdInfo.Builder>
-
setRepeatedField
public LegacyAppInstallAdInfo.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<LegacyAppInstallAdInfo.Builder>
-
addRepeatedField
public LegacyAppInstallAdInfo.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<LegacyAppInstallAdInfo.Builder>
-
mergeFrom
public LegacyAppInstallAdInfo.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<LegacyAppInstallAdInfo.Builder>
-
mergeFrom
public LegacyAppInstallAdInfo.Builder mergeFrom(LegacyAppInstallAdInfo other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<LegacyAppInstallAdInfo.Builder>
-
mergeFrom
public LegacyAppInstallAdInfo.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<LegacyAppInstallAdInfo.Builder>- Throws:
java.io.IOException
-
hasAppId
public boolean hasAppId()
The ID of the mobile app.
optional string app_id = 6;- Specified by:
hasAppIdin interfaceLegacyAppInstallAdInfoOrBuilder- Returns:
- Whether the appId field is set.
-
getAppId
public java.lang.String getAppId()
The ID of the mobile app.
optional string app_id = 6;- Specified by:
getAppIdin interfaceLegacyAppInstallAdInfoOrBuilder- Returns:
- The appId.
-
getAppIdBytes
public com.google.protobuf.ByteString getAppIdBytes()
The ID of the mobile app.
optional string app_id = 6;- Specified by:
getAppIdBytesin interfaceLegacyAppInstallAdInfoOrBuilder- Returns:
- The bytes for appId.
-
setAppId
public LegacyAppInstallAdInfo.Builder setAppId(java.lang.String value)
The ID of the mobile app.
optional string app_id = 6;- Parameters:
value- The appId to set.- Returns:
- This builder for chaining.
-
clearAppId
public LegacyAppInstallAdInfo.Builder clearAppId()
The ID of the mobile app.
optional string app_id = 6;- Returns:
- This builder for chaining.
-
setAppIdBytes
public LegacyAppInstallAdInfo.Builder setAppIdBytes(com.google.protobuf.ByteString value)
The ID of the mobile app.
optional string app_id = 6;- Parameters:
value- The bytes for appId to set.- Returns:
- This builder for chaining.
-
getAppStoreValue
public int getAppStoreValue()
The app store the mobile app is available in.
.google.ads.googleads.v14.enums.LegacyAppInstallAdAppStoreEnum.LegacyAppInstallAdAppStore app_store = 2;- Specified by:
getAppStoreValuein interfaceLegacyAppInstallAdInfoOrBuilder- Returns:
- The enum numeric value on the wire for appStore.
-
setAppStoreValue
public LegacyAppInstallAdInfo.Builder setAppStoreValue(int value)
The app store the mobile app is available in.
.google.ads.googleads.v14.enums.LegacyAppInstallAdAppStoreEnum.LegacyAppInstallAdAppStore app_store = 2;- Parameters:
value- The enum numeric value on the wire for appStore to set.- Returns:
- This builder for chaining.
-
getAppStore
public LegacyAppInstallAdAppStoreEnum.LegacyAppInstallAdAppStore getAppStore()
The app store the mobile app is available in.
.google.ads.googleads.v14.enums.LegacyAppInstallAdAppStoreEnum.LegacyAppInstallAdAppStore app_store = 2;- Specified by:
getAppStorein interfaceLegacyAppInstallAdInfoOrBuilder- Returns:
- The appStore.
-
setAppStore
public LegacyAppInstallAdInfo.Builder setAppStore(LegacyAppInstallAdAppStoreEnum.LegacyAppInstallAdAppStore value)
The app store the mobile app is available in.
.google.ads.googleads.v14.enums.LegacyAppInstallAdAppStoreEnum.LegacyAppInstallAdAppStore app_store = 2;- Parameters:
value- The appStore to set.- Returns:
- This builder for chaining.
-
clearAppStore
public LegacyAppInstallAdInfo.Builder clearAppStore()
The app store the mobile app is available in.
.google.ads.googleads.v14.enums.LegacyAppInstallAdAppStoreEnum.LegacyAppInstallAdAppStore app_store = 2;- Returns:
- This builder for chaining.
-
hasHeadline
public boolean hasHeadline()
The headline of the ad.
optional string headline = 7;- Specified by:
hasHeadlinein interfaceLegacyAppInstallAdInfoOrBuilder- Returns:
- Whether the headline field is set.
-
getHeadline
public java.lang.String getHeadline()
The headline of the ad.
optional string headline = 7;- Specified by:
getHeadlinein interfaceLegacyAppInstallAdInfoOrBuilder- Returns:
- The headline.
-
getHeadlineBytes
public com.google.protobuf.ByteString getHeadlineBytes()
The headline of the ad.
optional string headline = 7;- Specified by:
getHeadlineBytesin interfaceLegacyAppInstallAdInfoOrBuilder- Returns:
- The bytes for headline.
-
setHeadline
public LegacyAppInstallAdInfo.Builder setHeadline(java.lang.String value)
The headline of the ad.
optional string headline = 7;- Parameters:
value- The headline to set.- Returns:
- This builder for chaining.
-
clearHeadline
public LegacyAppInstallAdInfo.Builder clearHeadline()
The headline of the ad.
optional string headline = 7;- Returns:
- This builder for chaining.
-
setHeadlineBytes
public LegacyAppInstallAdInfo.Builder setHeadlineBytes(com.google.protobuf.ByteString value)
The headline of the ad.
optional string headline = 7;- Parameters:
value- The bytes for headline to set.- Returns:
- This builder for chaining.
-
hasDescription1
public boolean hasDescription1()
The first description line of the ad.
optional string description1 = 8;- Specified by:
hasDescription1in interfaceLegacyAppInstallAdInfoOrBuilder- Returns:
- Whether the description1 field is set.
-
getDescription1
public java.lang.String getDescription1()
The first description line of the ad.
optional string description1 = 8;- Specified by:
getDescription1in interfaceLegacyAppInstallAdInfoOrBuilder- Returns:
- The description1.
-
getDescription1Bytes
public com.google.protobuf.ByteString getDescription1Bytes()
The first description line of the ad.
optional string description1 = 8;- Specified by:
getDescription1Bytesin interfaceLegacyAppInstallAdInfoOrBuilder- Returns:
- The bytes for description1.
-
setDescription1
public LegacyAppInstallAdInfo.Builder setDescription1(java.lang.String value)
The first description line of the ad.
optional string description1 = 8;- Parameters:
value- The description1 to set.- Returns:
- This builder for chaining.
-
clearDescription1
public LegacyAppInstallAdInfo.Builder clearDescription1()
The first description line of the ad.
optional string description1 = 8;- Returns:
- This builder for chaining.
-
setDescription1Bytes
public LegacyAppInstallAdInfo.Builder setDescription1Bytes(com.google.protobuf.ByteString value)
The first description line of the ad.
optional string description1 = 8;- Parameters:
value- The bytes for description1 to set.- Returns:
- This builder for chaining.
-
hasDescription2
public boolean hasDescription2()
The second description line of the ad.
optional string description2 = 9;- Specified by:
hasDescription2in interfaceLegacyAppInstallAdInfoOrBuilder- Returns:
- Whether the description2 field is set.
-
getDescription2
public java.lang.String getDescription2()
The second description line of the ad.
optional string description2 = 9;- Specified by:
getDescription2in interfaceLegacyAppInstallAdInfoOrBuilder- Returns:
- The description2.
-
getDescription2Bytes
public com.google.protobuf.ByteString getDescription2Bytes()
The second description line of the ad.
optional string description2 = 9;- Specified by:
getDescription2Bytesin interfaceLegacyAppInstallAdInfoOrBuilder- Returns:
- The bytes for description2.
-
setDescription2
public LegacyAppInstallAdInfo.Builder setDescription2(java.lang.String value)
The second description line of the ad.
optional string description2 = 9;- Parameters:
value- The description2 to set.- Returns:
- This builder for chaining.
-
clearDescription2
public LegacyAppInstallAdInfo.Builder clearDescription2()
The second description line of the ad.
optional string description2 = 9;- Returns:
- This builder for chaining.
-
setDescription2Bytes
public LegacyAppInstallAdInfo.Builder setDescription2Bytes(com.google.protobuf.ByteString value)
The second description line of the ad.
optional string description2 = 9;- Parameters:
value- The bytes for description2 to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final LegacyAppInstallAdInfo.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<LegacyAppInstallAdInfo.Builder>
-
mergeUnknownFields
public final LegacyAppInstallAdInfo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<LegacyAppInstallAdInfo.Builder>
-
-