Interface FrequencyCapOrBuilder (0.2.0)

public interface FrequencyCapOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getMaxImpressions()

public abstract long getMaxImpressions()

The maximum number of impressions for this frequency cap.

optional int64 max_impressions = 1;

Returns
Type Description
long

The maxImpressions.

getTimeAmount()

public abstract long getTimeAmount()

The number of time units over which the frequency cap is effective.

optional int64 time_amount = 2;

Returns
Type Description
long

The timeAmount.

getTimeUnit()

public abstract TimeUnitEnum.TimeUnit getTimeUnit()

The units of time of this frequency cap.

optional .google.ads.admanager.v1.TimeUnitEnum.TimeUnit time_unit = 3;

Returns
Type Description
TimeUnitEnum.TimeUnit

The timeUnit.

getTimeUnitValue()

public abstract int getTimeUnitValue()

The units of time of this frequency cap.

optional .google.ads.admanager.v1.TimeUnitEnum.TimeUnit time_unit = 3;

Returns
Type Description
int

The enum numeric value on the wire for timeUnit.

hasMaxImpressions()

public abstract boolean hasMaxImpressions()

The maximum number of impressions for this frequency cap.

optional int64 max_impressions = 1;

Returns
Type Description
boolean

Whether the maxImpressions field is set.

hasTimeAmount()

public abstract boolean hasTimeAmount()

The number of time units over which the frequency cap is effective.

optional int64 time_amount = 2;

Returns
Type Description
boolean

Whether the timeAmount field is set.

hasTimeUnit()

public abstract boolean hasTimeUnit()

The units of time of this frequency cap.

optional .google.ads.admanager.v1.TimeUnitEnum.TimeUnit time_unit = 3;

Returns
Type Description
boolean

Whether the timeUnit field is set.