Class Campaign.VideoCampaignSettings.VideoAdSequenceStep.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Campaign.VideoCampaignSettings.VideoAdSequenceStep.Builder>
com.google.ads.googleads.v23.resources.Campaign.VideoCampaignSettings.VideoAdSequenceStep.Builder
- All Implemented Interfaces:
Campaign.VideoCampaignSettings.VideoAdSequenceStepOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Campaign.VideoCampaignSettings.VideoAdSequenceStep
public static final class Campaign.VideoCampaignSettings.VideoAdSequenceStep.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Campaign.VideoCampaignSettings.VideoAdSequenceStep.Builder>
implements Campaign.VideoCampaignSettings.VideoAdSequenceStepOrBuilder
Information about a step within a video sequence.Protobuf type
google.ads.googleads.v23.resources.Campaign.VideoCampaignSettings.VideoAdSequenceStep-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()The ad group type for this step (denoting the video format).The ID of the Asset for this step.The ID of the previous step.Type of interaction *on the previous step* required in order for the user to advance to this step.The ID of this sequence step.The ad group type for this step (denoting the video format).intThe ad group type for this step (denoting the video format).longThe ID of the Asset for this step.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorlongThe ID of the previous step.Type of interaction *on the previous step* required in order for the user to advance to this step.intType of interaction *on the previous step* required in order for the user to advance to this step.longThe ID of this sequence step.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) The ad group type for this step (denoting the video format).setAdGroupTypeValue(int value) The ad group type for this step (denoting the video format).setAssetId(long value) The ID of the Asset for this step.setPreviousStepId(long value) The ID of the previous step.setPreviousStepInteractionType(VideoAdSequenceInteractionTypeEnum.VideoAdSequenceInteractionType value) Type of interaction *on the previous step* required in order for the user to advance to this step.setPreviousStepInteractionTypeValue(int value) Type of interaction *on the previous step* required in order for the user to advance to this step.setVideoAdSequenceStepId(long value) The ID of this sequence step.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, 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.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<Campaign.VideoCampaignSettings.VideoAdSequenceStep.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<Campaign.VideoCampaignSettings.VideoAdSequenceStep.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.GeneratedMessage.Builder<Campaign.VideoCampaignSettings.VideoAdSequenceStep.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
-
mergeFrom
public Campaign.VideoCampaignSettings.VideoAdSequenceStep.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Campaign.VideoCampaignSettings.VideoAdSequenceStep.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Campaign.VideoCampaignSettings.VideoAdSequenceStep.Builder>
-
mergeFrom
public Campaign.VideoCampaignSettings.VideoAdSequenceStep.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<Campaign.VideoCampaignSettings.VideoAdSequenceStep.Builder>- Throws:
IOException
-
getVideoAdSequenceStepId
public long getVideoAdSequenceStepId()The ID of this sequence step.
int64 video_ad_sequence_step_id = 1;- Specified by:
getVideoAdSequenceStepIdin interfaceCampaign.VideoCampaignSettings.VideoAdSequenceStepOrBuilder- Returns:
- The videoAdSequenceStepId.
-
setVideoAdSequenceStepId
public Campaign.VideoCampaignSettings.VideoAdSequenceStep.Builder setVideoAdSequenceStepId(long value) The ID of this sequence step.
int64 video_ad_sequence_step_id = 1;- Parameters:
value- The videoAdSequenceStepId to set.- Returns:
- This builder for chaining.
-
clearVideoAdSequenceStepId
The ID of this sequence step.
int64 video_ad_sequence_step_id = 1;- Returns:
- This builder for chaining.
-
getAssetId
public long getAssetId()The ID of the Asset for this step. The asset must be type YOUTUBE_VIDEO.
int64 asset_id = 2;- Specified by:
getAssetIdin interfaceCampaign.VideoCampaignSettings.VideoAdSequenceStepOrBuilder- Returns:
- The assetId.
-
setAssetId
The ID of the Asset for this step. The asset must be type YOUTUBE_VIDEO.
int64 asset_id = 2;- Parameters:
value- The assetId to set.- Returns:
- This builder for chaining.
-
clearAssetId
The ID of the Asset for this step. The asset must be type YOUTUBE_VIDEO.
int64 asset_id = 2;- Returns:
- This builder for chaining.
-
getAdGroupTypeValue
public int getAdGroupTypeValue()The ad group type for this step (denoting the video format).
.google.ads.googleads.v23.enums.AdGroupTypeEnum.AdGroupType ad_group_type = 3;- Specified by:
getAdGroupTypeValuein interfaceCampaign.VideoCampaignSettings.VideoAdSequenceStepOrBuilder- Returns:
- The enum numeric value on the wire for adGroupType.
-
setAdGroupTypeValue
The ad group type for this step (denoting the video format).
.google.ads.googleads.v23.enums.AdGroupTypeEnum.AdGroupType ad_group_type = 3;- Parameters:
value- The enum numeric value on the wire for adGroupType to set.- Returns:
- This builder for chaining.
-
getAdGroupType
The ad group type for this step (denoting the video format).
.google.ads.googleads.v23.enums.AdGroupTypeEnum.AdGroupType ad_group_type = 3;- Specified by:
getAdGroupTypein interfaceCampaign.VideoCampaignSettings.VideoAdSequenceStepOrBuilder- Returns:
- The adGroupType.
-
setAdGroupType
public Campaign.VideoCampaignSettings.VideoAdSequenceStep.Builder setAdGroupType(AdGroupTypeEnum.AdGroupType value) The ad group type for this step (denoting the video format).
.google.ads.googleads.v23.enums.AdGroupTypeEnum.AdGroupType ad_group_type = 3;- Parameters:
value- The adGroupType to set.- Returns:
- This builder for chaining.
-
clearAdGroupType
The ad group type for this step (denoting the video format).
.google.ads.googleads.v23.enums.AdGroupTypeEnum.AdGroupType ad_group_type = 3;- Returns:
- This builder for chaining.
-
getPreviousStepId
public long getPreviousStepId()The ID of the previous step. This field is required for all steps except the first one. It must point to a step that appears in the step definition list before this step.
int64 previous_step_id = 4;- Specified by:
getPreviousStepIdin interfaceCampaign.VideoCampaignSettings.VideoAdSequenceStepOrBuilder- Returns:
- The previousStepId.
-
setPreviousStepId
The ID of the previous step. This field is required for all steps except the first one. It must point to a step that appears in the step definition list before this step.
int64 previous_step_id = 4;- Parameters:
value- The previousStepId to set.- Returns:
- This builder for chaining.
-
clearPreviousStepId
The ID of the previous step. This field is required for all steps except the first one. It must point to a step that appears in the step definition list before this step.
int64 previous_step_id = 4;- Returns:
- This builder for chaining.
-
getPreviousStepInteractionTypeValue
public int getPreviousStepInteractionTypeValue()Type of interaction *on the previous step* required in order for the user to advance to this step. As with the previous step ID, it's required for every step except for the first one.
.google.ads.googleads.v23.enums.VideoAdSequenceInteractionTypeEnum.VideoAdSequenceInteractionType previous_step_interaction_type = 5;- Specified by:
getPreviousStepInteractionTypeValuein interfaceCampaign.VideoCampaignSettings.VideoAdSequenceStepOrBuilder- Returns:
- The enum numeric value on the wire for previousStepInteractionType.
-
setPreviousStepInteractionTypeValue
public Campaign.VideoCampaignSettings.VideoAdSequenceStep.Builder setPreviousStepInteractionTypeValue(int value) Type of interaction *on the previous step* required in order for the user to advance to this step. As with the previous step ID, it's required for every step except for the first one.
.google.ads.googleads.v23.enums.VideoAdSequenceInteractionTypeEnum.VideoAdSequenceInteractionType previous_step_interaction_type = 5;- Parameters:
value- The enum numeric value on the wire for previousStepInteractionType to set.- Returns:
- This builder for chaining.
-
getPreviousStepInteractionType
public VideoAdSequenceInteractionTypeEnum.VideoAdSequenceInteractionType getPreviousStepInteractionType()Type of interaction *on the previous step* required in order for the user to advance to this step. As with the previous step ID, it's required for every step except for the first one.
.google.ads.googleads.v23.enums.VideoAdSequenceInteractionTypeEnum.VideoAdSequenceInteractionType previous_step_interaction_type = 5;- Specified by:
getPreviousStepInteractionTypein interfaceCampaign.VideoCampaignSettings.VideoAdSequenceStepOrBuilder- Returns:
- The previousStepInteractionType.
-
setPreviousStepInteractionType
public Campaign.VideoCampaignSettings.VideoAdSequenceStep.Builder setPreviousStepInteractionType(VideoAdSequenceInteractionTypeEnum.VideoAdSequenceInteractionType value) Type of interaction *on the previous step* required in order for the user to advance to this step. As with the previous step ID, it's required for every step except for the first one.
.google.ads.googleads.v23.enums.VideoAdSequenceInteractionTypeEnum.VideoAdSequenceInteractionType previous_step_interaction_type = 5;- Parameters:
value- The previousStepInteractionType to set.- Returns:
- This builder for chaining.
-
clearPreviousStepInteractionType
public Campaign.VideoCampaignSettings.VideoAdSequenceStep.Builder clearPreviousStepInteractionType()Type of interaction *on the previous step* required in order for the user to advance to this step. As with the previous step ID, it's required for every step except for the first one.
.google.ads.googleads.v23.enums.VideoAdSequenceInteractionTypeEnum.VideoAdSequenceInteractionType previous_step_interaction_type = 5;- Returns:
- This builder for chaining.
-