Class ExpandedTextAdInfo.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<ExpandedTextAdInfo.Builder>
com.google.ads.googleads.v18.common.ExpandedTextAdInfo.Builder
- All Implemented Interfaces:
ExpandedTextAdInfoOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ExpandedTextAdInfo
public static final class ExpandedTextAdInfo.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<ExpandedTextAdInfo.Builder>
implements ExpandedTextAdInfoOrBuilder
An expanded text ad.Protobuf type
google.ads.googleads.v18.common.ExpandedTextAdInfo-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()The description of the ad.The second description of the ad.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) The first part of the ad's headline.The second part of the ad's headline.The third part of the ad's headline.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) The text that can appear alongside the ad's displayed URL.Additional text that can appear alongside the ad's displayed URL.clone()The description of the ad.The second description of the ad.com.google.protobuf.ByteStringThe second description of the ad.com.google.protobuf.ByteStringThe description of the ad.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe first part of the ad's headline.com.google.protobuf.ByteStringThe first part of the ad's headline.The second part of the ad's headline.com.google.protobuf.ByteStringThe second part of the ad's headline.The third part of the ad's headline.com.google.protobuf.ByteStringThe third part of the ad's headline.getPath1()The text that can appear alongside the ad's displayed URL.com.google.protobuf.ByteStringThe text that can appear alongside the ad's displayed URL.getPath2()Additional text that can appear alongside the ad's displayed URL.com.google.protobuf.ByteStringAdditional text that can appear alongside the ad's displayed URL.booleanThe description of the ad.booleanThe second description of the ad.booleanThe first part of the ad's headline.booleanThe second part of the ad's headline.booleanThe third part of the ad's headline.booleanhasPath1()The text that can appear alongside the ad's displayed URL.booleanhasPath2()Additional text that can appear alongside the ad's displayed URL.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(ExpandedTextAdInfo other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setDescription(String value) The description of the ad.setDescription2(String value) The second description of the ad.setDescription2Bytes(com.google.protobuf.ByteString value) The second description of the ad.setDescriptionBytes(com.google.protobuf.ByteString value) The description of the ad.setHeadlinePart1(String value) The first part of the ad's headline.setHeadlinePart1Bytes(com.google.protobuf.ByteString value) The first part of the ad's headline.setHeadlinePart2(String value) The second part of the ad's headline.setHeadlinePart2Bytes(com.google.protobuf.ByteString value) The second part of the ad's headline.setHeadlinePart3(String value) The third part of the ad's headline.setHeadlinePart3Bytes(com.google.protobuf.ByteString value) The third part of the ad's headline.The text that can appear alongside the ad's displayed URL.setPath1Bytes(com.google.protobuf.ByteString value) The text that can appear alongside the ad's displayed URL.Additional text that can appear alongside the ad's displayed URL.setPath2Bytes(com.google.protobuf.ByteString value) Additional text that can appear alongside the ad's displayed URL.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<ExpandedTextAdInfo.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<ExpandedTextAdInfo.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<ExpandedTextAdInfo.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<ExpandedTextAdInfo.Builder>
-
setField
public ExpandedTextAdInfo.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<ExpandedTextAdInfo.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ExpandedTextAdInfo.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<ExpandedTextAdInfo.Builder>
-
setRepeatedField
public ExpandedTextAdInfo.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<ExpandedTextAdInfo.Builder>
-
addRepeatedField
public ExpandedTextAdInfo.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<ExpandedTextAdInfo.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ExpandedTextAdInfo.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<ExpandedTextAdInfo.Builder>
-
mergeFrom
public ExpandedTextAdInfo.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<ExpandedTextAdInfo.Builder>- Throws:
IOException
-
hasHeadlinePart1
public boolean hasHeadlinePart1()The first part of the ad's headline.
optional string headline_part1 = 8;- Specified by:
hasHeadlinePart1in interfaceExpandedTextAdInfoOrBuilder- Returns:
- Whether the headlinePart1 field is set.
-
getHeadlinePart1
The first part of the ad's headline.
optional string headline_part1 = 8;- Specified by:
getHeadlinePart1in interfaceExpandedTextAdInfoOrBuilder- Returns:
- The headlinePart1.
-
getHeadlinePart1Bytes
public com.google.protobuf.ByteString getHeadlinePart1Bytes()The first part of the ad's headline.
optional string headline_part1 = 8;- Specified by:
getHeadlinePart1Bytesin interfaceExpandedTextAdInfoOrBuilder- Returns:
- The bytes for headlinePart1.
-
setHeadlinePart1
The first part of the ad's headline.
optional string headline_part1 = 8;- Parameters:
value- The headlinePart1 to set.- Returns:
- This builder for chaining.
-
clearHeadlinePart1
The first part of the ad's headline.
optional string headline_part1 = 8;- Returns:
- This builder for chaining.
-
setHeadlinePart1Bytes
The first part of the ad's headline.
optional string headline_part1 = 8;- Parameters:
value- The bytes for headlinePart1 to set.- Returns:
- This builder for chaining.
-
hasHeadlinePart2
public boolean hasHeadlinePart2()The second part of the ad's headline.
optional string headline_part2 = 9;- Specified by:
hasHeadlinePart2in interfaceExpandedTextAdInfoOrBuilder- Returns:
- Whether the headlinePart2 field is set.
-
getHeadlinePart2
The second part of the ad's headline.
optional string headline_part2 = 9;- Specified by:
getHeadlinePart2in interfaceExpandedTextAdInfoOrBuilder- Returns:
- The headlinePart2.
-
getHeadlinePart2Bytes
public com.google.protobuf.ByteString getHeadlinePart2Bytes()The second part of the ad's headline.
optional string headline_part2 = 9;- Specified by:
getHeadlinePart2Bytesin interfaceExpandedTextAdInfoOrBuilder- Returns:
- The bytes for headlinePart2.
-
setHeadlinePart2
The second part of the ad's headline.
optional string headline_part2 = 9;- Parameters:
value- The headlinePart2 to set.- Returns:
- This builder for chaining.
-
clearHeadlinePart2
The second part of the ad's headline.
optional string headline_part2 = 9;- Returns:
- This builder for chaining.
-
setHeadlinePart2Bytes
The second part of the ad's headline.
optional string headline_part2 = 9;- Parameters:
value- The bytes for headlinePart2 to set.- Returns:
- This builder for chaining.
-
hasHeadlinePart3
public boolean hasHeadlinePart3()The third part of the ad's headline.
optional string headline_part3 = 10;- Specified by:
hasHeadlinePart3in interfaceExpandedTextAdInfoOrBuilder- Returns:
- Whether the headlinePart3 field is set.
-
getHeadlinePart3
The third part of the ad's headline.
optional string headline_part3 = 10;- Specified by:
getHeadlinePart3in interfaceExpandedTextAdInfoOrBuilder- Returns:
- The headlinePart3.
-
getHeadlinePart3Bytes
public com.google.protobuf.ByteString getHeadlinePart3Bytes()The third part of the ad's headline.
optional string headline_part3 = 10;- Specified by:
getHeadlinePart3Bytesin interfaceExpandedTextAdInfoOrBuilder- Returns:
- The bytes for headlinePart3.
-
setHeadlinePart3
The third part of the ad's headline.
optional string headline_part3 = 10;- Parameters:
value- The headlinePart3 to set.- Returns:
- This builder for chaining.
-
clearHeadlinePart3
The third part of the ad's headline.
optional string headline_part3 = 10;- Returns:
- This builder for chaining.
-
setHeadlinePart3Bytes
The third part of the ad's headline.
optional string headline_part3 = 10;- Parameters:
value- The bytes for headlinePart3 to set.- Returns:
- This builder for chaining.
-
hasDescription
public boolean hasDescription()The description of the ad.
optional string description = 11;- Specified by:
hasDescriptionin interfaceExpandedTextAdInfoOrBuilder- Returns:
- Whether the description field is set.
-
getDescription
The description of the ad.
optional string description = 11;- Specified by:
getDescriptionin interfaceExpandedTextAdInfoOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()The description of the ad.
optional string description = 11;- Specified by:
getDescriptionBytesin interfaceExpandedTextAdInfoOrBuilder- Returns:
- The bytes for description.
-
setDescription
The description of the ad.
optional string description = 11;- Parameters:
value- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
The description of the ad.
optional string description = 11;- Returns:
- This builder for chaining.
-
setDescriptionBytes
The description of the ad.
optional string description = 11;- Parameters:
value- The bytes for description to set.- Returns:
- This builder for chaining.
-
hasDescription2
public boolean hasDescription2()The second description of the ad.
optional string description2 = 12;- Specified by:
hasDescription2in interfaceExpandedTextAdInfoOrBuilder- Returns:
- Whether the description2 field is set.
-
getDescription2
The second description of the ad.
optional string description2 = 12;- Specified by:
getDescription2in interfaceExpandedTextAdInfoOrBuilder- Returns:
- The description2.
-
getDescription2Bytes
public com.google.protobuf.ByteString getDescription2Bytes()The second description of the ad.
optional string description2 = 12;- Specified by:
getDescription2Bytesin interfaceExpandedTextAdInfoOrBuilder- Returns:
- The bytes for description2.
-
setDescription2
The second description of the ad.
optional string description2 = 12;- Parameters:
value- The description2 to set.- Returns:
- This builder for chaining.
-
clearDescription2
The second description of the ad.
optional string description2 = 12;- Returns:
- This builder for chaining.
-
setDescription2Bytes
The second description of the ad.
optional string description2 = 12;- Parameters:
value- The bytes for description2 to set.- Returns:
- This builder for chaining.
-
hasPath1
public boolean hasPath1()The text that can appear alongside the ad's displayed URL.
optional string path1 = 13;- Specified by:
hasPath1in interfaceExpandedTextAdInfoOrBuilder- Returns:
- Whether the path1 field is set.
-
getPath1
The text that can appear alongside the ad's displayed URL.
optional string path1 = 13;- Specified by:
getPath1in interfaceExpandedTextAdInfoOrBuilder- Returns:
- The path1.
-
getPath1Bytes
public com.google.protobuf.ByteString getPath1Bytes()The text that can appear alongside the ad's displayed URL.
optional string path1 = 13;- Specified by:
getPath1Bytesin interfaceExpandedTextAdInfoOrBuilder- Returns:
- The bytes for path1.
-
setPath1
The text that can appear alongside the ad's displayed URL.
optional string path1 = 13;- Parameters:
value- The path1 to set.- Returns:
- This builder for chaining.
-
clearPath1
The text that can appear alongside the ad's displayed URL.
optional string path1 = 13;- Returns:
- This builder for chaining.
-
setPath1Bytes
The text that can appear alongside the ad's displayed URL.
optional string path1 = 13;- Parameters:
value- The bytes for path1 to set.- Returns:
- This builder for chaining.
-
hasPath2
public boolean hasPath2()Additional text that can appear alongside the ad's displayed URL.
optional string path2 = 14;- Specified by:
hasPath2in interfaceExpandedTextAdInfoOrBuilder- Returns:
- Whether the path2 field is set.
-
getPath2
Additional text that can appear alongside the ad's displayed URL.
optional string path2 = 14;- Specified by:
getPath2in interfaceExpandedTextAdInfoOrBuilder- Returns:
- The path2.
-
getPath2Bytes
public com.google.protobuf.ByteString getPath2Bytes()Additional text that can appear alongside the ad's displayed URL.
optional string path2 = 14;- Specified by:
getPath2Bytesin interfaceExpandedTextAdInfoOrBuilder- Returns:
- The bytes for path2.
-
setPath2
Additional text that can appear alongside the ad's displayed URL.
optional string path2 = 14;- Parameters:
value- The path2 to set.- Returns:
- This builder for chaining.
-
clearPath2
Additional text that can appear alongside the ad's displayed URL.
optional string path2 = 14;- Returns:
- This builder for chaining.
-
setPath2Bytes
Additional text that can appear alongside the ad's displayed URL.
optional string path2 = 14;- Parameters:
value- The bytes for path2 to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final ExpandedTextAdInfo.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ExpandedTextAdInfo.Builder>
-
mergeUnknownFields
public final ExpandedTextAdInfo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ExpandedTextAdInfo.Builder>
-