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.v18.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,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 type
google.ads.googleads.v18.common.LegacyAppInstallAdInfo-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()The ID of the mobile app.The app store the mobile app is available in.The first description line of the ad.The second description line of the ad.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) The headline of the ad.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) clone()getAppId()The ID of the mobile app.com.google.protobuf.ByteStringThe ID of the mobile app.The app store the mobile app is available in.intThe app store the mobile app is available in.The first description line of the ad.com.google.protobuf.ByteStringThe first description line of the ad.The second description line of the ad.com.google.protobuf.ByteStringThe second description line of the ad.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe headline of the ad.com.google.protobuf.ByteStringThe headline of the ad.booleanhasAppId()The ID of the mobile app.booleanThe first description line of the ad.booleanThe second description line of the ad.booleanThe headline of the ad.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(LegacyAppInstallAdInfo other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) The ID of the mobile app.setAppIdBytes(com.google.protobuf.ByteString value) The ID of the mobile app.The app store the mobile app is available in.setAppStoreValue(int value) The app store the mobile app is available in.setDescription1(String value) The first description line of the ad.setDescription1Bytes(com.google.protobuf.ByteString value) The first description line of the ad.setDescription2(String value) The second description line of the ad.setDescription2Bytes(com.google.protobuf.ByteString value) The second description line of the ad.setHeadline(String value) The headline of the ad.setHeadlineBytes(com.google.protobuf.ByteString value) The headline of the ad.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setUnknownFields(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, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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
- 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
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.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, 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, 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, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<LegacyAppInstallAdInfo.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<LegacyAppInstallAdInfo.Builder>
-
mergeFrom
-
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 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:
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
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
The ID of the mobile app.
optional string app_id = 6;- Parameters:
value- The appId to set.- Returns:
- This builder for chaining.
-
clearAppId
The ID of the mobile app.
optional string app_id = 6;- Returns:
- This builder for chaining.
-
setAppIdBytes
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.v18.enums.LegacyAppInstallAdAppStoreEnum.LegacyAppInstallAdAppStore app_store = 2;- Specified by:
getAppStoreValuein interfaceLegacyAppInstallAdInfoOrBuilder- Returns:
- The enum numeric value on the wire for appStore.
-
setAppStoreValue
The app store the mobile app is available in.
.google.ads.googleads.v18.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
The app store the mobile app is available in.
.google.ads.googleads.v18.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.v18.enums.LegacyAppInstallAdAppStoreEnum.LegacyAppInstallAdAppStore app_store = 2;- Parameters:
value- The appStore to set.- Returns:
- This builder for chaining.
-
clearAppStore
The app store the mobile app is available in.
.google.ads.googleads.v18.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
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
The headline of the ad.
optional string headline = 7;- Parameters:
value- The headline to set.- Returns:
- This builder for chaining.
-
clearHeadline
The headline of the ad.
optional string headline = 7;- Returns:
- This builder for chaining.
-
setHeadlineBytes
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
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
The first description line of the ad.
optional string description1 = 8;- Parameters:
value- The description1 to set.- Returns:
- This builder for chaining.
-
clearDescription1
The first description line of the ad.
optional string description1 = 8;- Returns:
- This builder for chaining.
-
setDescription1Bytes
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
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
The second description line of the ad.
optional string description2 = 9;- Parameters:
value- The description2 to set.- Returns:
- This builder for chaining.
-
clearDescription2
The second description line of the ad.
optional string description2 = 9;- Returns:
- This builder for chaining.
-
setDescription2Bytes
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>
-