Class VideoNonSkippableInStreamAdInfo.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<VideoNonSkippableInStreamAdInfo.Builder>
-
- com.google.ads.googleads.v14.common.VideoNonSkippableInStreamAdInfo.Builder
-
- All Implemented Interfaces:
VideoNonSkippableInStreamAdInfoOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,java.lang.Cloneable
- Enclosing class:
- VideoNonSkippableInStreamAdInfo
public static final class VideoNonSkippableInStreamAdInfo.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<VideoNonSkippableInStreamAdInfo.Builder> implements VideoNonSkippableInStreamAdInfoOrBuilder
Representation of video non-skippable in-stream ad format (15 second in-stream non-skippable video ad).
Protobuf typegoogle.ads.googleads.v14.common.VideoNonSkippableInStreamAdInfo
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description VideoNonSkippableInStreamAdInfo.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
VideoNonSkippableInStreamAdInfo
build()
VideoNonSkippableInStreamAdInfo
buildPartial()
VideoNonSkippableInStreamAdInfo.Builder
clear()
VideoNonSkippableInStreamAdInfo.Builder
clearActionButtonLabel()
Label on the "Call To Action" button taking the user to the video ad's final URL.VideoNonSkippableInStreamAdInfo.Builder
clearActionHeadline()
Additional text displayed with the "Call To Action" button to give context and encourage clicking on the button.VideoNonSkippableInStreamAdInfo.Builder
clearCompanionBanner()
The image assets of the companion banner used with the ad.VideoNonSkippableInStreamAdInfo.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
VideoNonSkippableInStreamAdInfo.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
VideoNonSkippableInStreamAdInfo.Builder
clone()
java.lang.String
getActionButtonLabel()
Label on the "Call To Action" button taking the user to the video ad's final URL.com.google.protobuf.ByteString
getActionButtonLabelBytes()
Label on the "Call To Action" button taking the user to the video ad's final URL.java.lang.String
getActionHeadline()
Additional text displayed with the "Call To Action" button to give context and encourage clicking on the button.com.google.protobuf.ByteString
getActionHeadlineBytes()
Additional text displayed with the "Call To Action" button to give context and encourage clicking on the button.AdImageAsset
getCompanionBanner()
The image assets of the companion banner used with the ad.AdImageAsset.Builder
getCompanionBannerBuilder()
The image assets of the companion banner used with the ad.AdImageAssetOrBuilder
getCompanionBannerOrBuilder()
The image assets of the companion banner used with the ad.VideoNonSkippableInStreamAdInfo
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
boolean
hasCompanionBanner()
The image assets of the companion banner used with the ad.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
VideoNonSkippableInStreamAdInfo.Builder
mergeCompanionBanner(AdImageAsset value)
The image assets of the companion banner used with the ad.VideoNonSkippableInStreamAdInfo.Builder
mergeFrom(VideoNonSkippableInStreamAdInfo other)
VideoNonSkippableInStreamAdInfo.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
VideoNonSkippableInStreamAdInfo.Builder
mergeFrom(com.google.protobuf.Message other)
VideoNonSkippableInStreamAdInfo.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
VideoNonSkippableInStreamAdInfo.Builder
setActionButtonLabel(java.lang.String value)
Label on the "Call To Action" button taking the user to the video ad's final URL.VideoNonSkippableInStreamAdInfo.Builder
setActionButtonLabelBytes(com.google.protobuf.ByteString value)
Label on the "Call To Action" button taking the user to the video ad's final URL.VideoNonSkippableInStreamAdInfo.Builder
setActionHeadline(java.lang.String value)
Additional text displayed with the "Call To Action" button to give context and encourage clicking on the button.VideoNonSkippableInStreamAdInfo.Builder
setActionHeadlineBytes(com.google.protobuf.ByteString value)
Additional text displayed with the "Call To Action" button to give context and encourage clicking on the button.VideoNonSkippableInStreamAdInfo.Builder
setCompanionBanner(AdImageAsset value)
The image assets of the companion banner used with the ad.VideoNonSkippableInStreamAdInfo.Builder
setCompanionBanner(AdImageAsset.Builder builderForValue)
The image assets of the companion banner used with the ad.VideoNonSkippableInStreamAdInfo.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
VideoNonSkippableInStreamAdInfo.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
VideoNonSkippableInStreamAdInfo.Builder
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, 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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<VideoNonSkippableInStreamAdInfo.Builder>
-
clear
public VideoNonSkippableInStreamAdInfo.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<VideoNonSkippableInStreamAdInfo.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<VideoNonSkippableInStreamAdInfo.Builder>
-
getDefaultInstanceForType
public VideoNonSkippableInStreamAdInfo getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public VideoNonSkippableInStreamAdInfo build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public VideoNonSkippableInStreamAdInfo buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public VideoNonSkippableInStreamAdInfo.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<VideoNonSkippableInStreamAdInfo.Builder>
-
setField
public VideoNonSkippableInStreamAdInfo.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<VideoNonSkippableInStreamAdInfo.Builder>
-
clearField
public VideoNonSkippableInStreamAdInfo.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<VideoNonSkippableInStreamAdInfo.Builder>
-
clearOneof
public VideoNonSkippableInStreamAdInfo.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<VideoNonSkippableInStreamAdInfo.Builder>
-
setRepeatedField
public VideoNonSkippableInStreamAdInfo.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<VideoNonSkippableInStreamAdInfo.Builder>
-
addRepeatedField
public VideoNonSkippableInStreamAdInfo.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<VideoNonSkippableInStreamAdInfo.Builder>
-
mergeFrom
public VideoNonSkippableInStreamAdInfo.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<VideoNonSkippableInStreamAdInfo.Builder>
-
mergeFrom
public VideoNonSkippableInStreamAdInfo.Builder mergeFrom(VideoNonSkippableInStreamAdInfo other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<VideoNonSkippableInStreamAdInfo.Builder>
-
mergeFrom
public VideoNonSkippableInStreamAdInfo.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<VideoNonSkippableInStreamAdInfo.Builder>
- Throws:
java.io.IOException
-
hasCompanionBanner
public boolean hasCompanionBanner()
The image assets of the companion banner used with the ad.
.google.ads.googleads.v14.common.AdImageAsset companion_banner = 5;
- Specified by:
hasCompanionBanner
in interfaceVideoNonSkippableInStreamAdInfoOrBuilder
- Returns:
- Whether the companionBanner field is set.
-
getCompanionBanner
public AdImageAsset getCompanionBanner()
The image assets of the companion banner used with the ad.
.google.ads.googleads.v14.common.AdImageAsset companion_banner = 5;
- Specified by:
getCompanionBanner
in interfaceVideoNonSkippableInStreamAdInfoOrBuilder
- Returns:
- The companionBanner.
-
setCompanionBanner
public VideoNonSkippableInStreamAdInfo.Builder setCompanionBanner(AdImageAsset value)
The image assets of the companion banner used with the ad.
.google.ads.googleads.v14.common.AdImageAsset companion_banner = 5;
-
setCompanionBanner
public VideoNonSkippableInStreamAdInfo.Builder setCompanionBanner(AdImageAsset.Builder builderForValue)
The image assets of the companion banner used with the ad.
.google.ads.googleads.v14.common.AdImageAsset companion_banner = 5;
-
mergeCompanionBanner
public VideoNonSkippableInStreamAdInfo.Builder mergeCompanionBanner(AdImageAsset value)
The image assets of the companion banner used with the ad.
.google.ads.googleads.v14.common.AdImageAsset companion_banner = 5;
-
clearCompanionBanner
public VideoNonSkippableInStreamAdInfo.Builder clearCompanionBanner()
The image assets of the companion banner used with the ad.
.google.ads.googleads.v14.common.AdImageAsset companion_banner = 5;
-
getCompanionBannerBuilder
public AdImageAsset.Builder getCompanionBannerBuilder()
The image assets of the companion banner used with the ad.
.google.ads.googleads.v14.common.AdImageAsset companion_banner = 5;
-
getCompanionBannerOrBuilder
public AdImageAssetOrBuilder getCompanionBannerOrBuilder()
The image assets of the companion banner used with the ad.
.google.ads.googleads.v14.common.AdImageAsset companion_banner = 5;
- Specified by:
getCompanionBannerOrBuilder
in interfaceVideoNonSkippableInStreamAdInfoOrBuilder
-
getActionButtonLabel
public java.lang.String getActionButtonLabel()
Label on the "Call To Action" button taking the user to the video ad's final URL.
string action_button_label = 3;
- Specified by:
getActionButtonLabel
in interfaceVideoNonSkippableInStreamAdInfoOrBuilder
- Returns:
- The actionButtonLabel.
-
getActionButtonLabelBytes
public com.google.protobuf.ByteString getActionButtonLabelBytes()
Label on the "Call To Action" button taking the user to the video ad's final URL.
string action_button_label = 3;
- Specified by:
getActionButtonLabelBytes
in interfaceVideoNonSkippableInStreamAdInfoOrBuilder
- Returns:
- The bytes for actionButtonLabel.
-
setActionButtonLabel
public VideoNonSkippableInStreamAdInfo.Builder setActionButtonLabel(java.lang.String value)
Label on the "Call To Action" button taking the user to the video ad's final URL.
string action_button_label = 3;
- Parameters:
value
- The actionButtonLabel to set.- Returns:
- This builder for chaining.
-
clearActionButtonLabel
public VideoNonSkippableInStreamAdInfo.Builder clearActionButtonLabel()
Label on the "Call To Action" button taking the user to the video ad's final URL.
string action_button_label = 3;
- Returns:
- This builder for chaining.
-
setActionButtonLabelBytes
public VideoNonSkippableInStreamAdInfo.Builder setActionButtonLabelBytes(com.google.protobuf.ByteString value)
Label on the "Call To Action" button taking the user to the video ad's final URL.
string action_button_label = 3;
- Parameters:
value
- The bytes for actionButtonLabel to set.- Returns:
- This builder for chaining.
-
getActionHeadline
public java.lang.String getActionHeadline()
Additional text displayed with the "Call To Action" button to give context and encourage clicking on the button.
string action_headline = 4;
- Specified by:
getActionHeadline
in interfaceVideoNonSkippableInStreamAdInfoOrBuilder
- Returns:
- The actionHeadline.
-
getActionHeadlineBytes
public com.google.protobuf.ByteString getActionHeadlineBytes()
Additional text displayed with the "Call To Action" button to give context and encourage clicking on the button.
string action_headline = 4;
- Specified by:
getActionHeadlineBytes
in interfaceVideoNonSkippableInStreamAdInfoOrBuilder
- Returns:
- The bytes for actionHeadline.
-
setActionHeadline
public VideoNonSkippableInStreamAdInfo.Builder setActionHeadline(java.lang.String value)
Additional text displayed with the "Call To Action" button to give context and encourage clicking on the button.
string action_headline = 4;
- Parameters:
value
- The actionHeadline to set.- Returns:
- This builder for chaining.
-
clearActionHeadline
public VideoNonSkippableInStreamAdInfo.Builder clearActionHeadline()
Additional text displayed with the "Call To Action" button to give context and encourage clicking on the button.
string action_headline = 4;
- Returns:
- This builder for chaining.
-
setActionHeadlineBytes
public VideoNonSkippableInStreamAdInfo.Builder setActionHeadlineBytes(com.google.protobuf.ByteString value)
Additional text displayed with the "Call To Action" button to give context and encourage clicking on the button.
string action_headline = 4;
- Parameters:
value
- The bytes for actionHeadline to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final VideoNonSkippableInStreamAdInfo.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<VideoNonSkippableInStreamAdInfo.Builder>
-
mergeUnknownFields
public final VideoNonSkippableInStreamAdInfo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<VideoNonSkippableInStreamAdInfo.Builder>
-
-