Interface DayPartTargetingOrBuilder (0.62.0)

public interface DayPartTargetingOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDaypartingTimeZone()

public abstract DaypartingTimeZoneEnum.DaypartingTimeZone getDaypartingTimeZone()

Required. The time zone to use for the day parts.

optional .google.ads.admanager.v1.DaypartingTimeZoneEnum.DaypartingTimeZone dayparting_time_zone = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
DaypartingTimeZoneEnum.DaypartingTimeZone

The daypartingTimeZone.

getDaypartingTimeZoneValue()

public abstract int getDaypartingTimeZoneValue()

Required. The time zone to use for the day parts.

optional .google.ads.admanager.v1.DaypartingTimeZoneEnum.DaypartingTimeZone dayparting_time_zone = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The enum numeric value on the wire for daypartingTimeZone.

getTargetedDayParts(int index)

public abstract DayPart getTargetedDayParts(int index)

Optional. The targeted day parts.

repeated .google.ads.admanager.v1.DayPart targeted_day_parts = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
DayPart

getTargetedDayPartsCount()

public abstract int getTargetedDayPartsCount()

Optional. The targeted day parts.

repeated .google.ads.admanager.v1.DayPart targeted_day_parts = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getTargetedDayPartsList()

public abstract List<DayPart> getTargetedDayPartsList()

Optional. The targeted day parts.

repeated .google.ads.admanager.v1.DayPart targeted_day_parts = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<DayPart>

getTargetedDayPartsOrBuilder(int index)

public abstract DayPartOrBuilder getTargetedDayPartsOrBuilder(int index)

Optional. The targeted day parts.

repeated .google.ads.admanager.v1.DayPart targeted_day_parts = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
DayPartOrBuilder

getTargetedDayPartsOrBuilderList()

public abstract List<? extends DayPartOrBuilder> getTargetedDayPartsOrBuilderList()

Optional. The targeted day parts.

repeated .google.ads.admanager.v1.DayPart targeted_day_parts = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<? extends com.google.ads.admanager.v1.DayPartOrBuilder>

hasDaypartingTimeZone()

public abstract boolean hasDaypartingTimeZone()

Required. The time zone to use for the day parts.

optional .google.ads.admanager.v1.DaypartingTimeZoneEnum.DaypartingTimeZone dayparting_time_zone = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the daypartingTimeZone field is set.