Class DaiSession.AdBreak.LinearBreak.Builder (0.58.0)

public static final class DaiSession.AdBreak.LinearBreak.Builder extends GeneratedMessage.Builder<DaiSession.AdBreak.LinearBreak.Builder> implements DaiSession.AdBreak.LinearBreakOrBuilder

Represents linear session related break information.

Protobuf type google.ads.admanager.v1.DaiSession.AdBreak.LinearBreak

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public DaiSession.AdBreak.LinearBreak build()
Returns
Type Description
DaiSession.AdBreak.LinearBreak

buildPartial()

public DaiSession.AdBreak.LinearBreak buildPartial()
Returns
Type Description
DaiSession.AdBreak.LinearBreak

clear()

public DaiSession.AdBreak.LinearBreak.Builder clear()
Returns
Type Description
DaiSession.AdBreak.LinearBreak.Builder
Overrides

clearBreakStartTime()

public DaiSession.AdBreak.LinearBreak.Builder clearBreakStartTime()

Output only. The timestamp of when the break started.

.google.protobuf.Timestamp break_start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DaiSession.AdBreak.LinearBreak.Builder

clearExpectedBreakDuration()

public DaiSession.AdBreak.LinearBreak.Builder clearExpectedBreakDuration()

Output only. The duration of the placement opportunity associated with the break.

.google.protobuf.Duration expected_break_duration = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DaiSession.AdBreak.LinearBreak.Builder

clearSlateDuration()

public DaiSession.AdBreak.LinearBreak.Builder clearSlateDuration()

Output only. The duration of slate that was inserted for this break.

.google.protobuf.Duration slate_duration = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DaiSession.AdBreak.LinearBreak.Builder

clearUnderlyingDuration()

public DaiSession.AdBreak.LinearBreak.Builder clearUnderlyingDuration()

Output only. The duration of underlying content that was inserted for this break.

.google.protobuf.Duration underlying_duration = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DaiSession.AdBreak.LinearBreak.Builder

getBreakStartTime()

public Timestamp getBreakStartTime()

Output only. The timestamp of when the break started.

.google.protobuf.Timestamp break_start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The breakStartTime.

getBreakStartTimeBuilder()

public Timestamp.Builder getBreakStartTimeBuilder()

Output only. The timestamp of when the break started.

.google.protobuf.Timestamp break_start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

getBreakStartTimeOrBuilder()

public TimestampOrBuilder getBreakStartTimeOrBuilder()

Output only. The timestamp of when the break started.

.google.protobuf.Timestamp break_start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

public DaiSession.AdBreak.LinearBreak getDefaultInstanceForType()
Returns
Type Description
DaiSession.AdBreak.LinearBreak

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getExpectedBreakDuration()

public Duration getExpectedBreakDuration()

Output only. The duration of the placement opportunity associated with the break.

.google.protobuf.Duration expected_break_duration = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Duration

The expectedBreakDuration.

getExpectedBreakDurationBuilder()

public Duration.Builder getExpectedBreakDurationBuilder()

Output only. The duration of the placement opportunity associated with the break.

.google.protobuf.Duration expected_break_duration = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

getExpectedBreakDurationOrBuilder()

public DurationOrBuilder getExpectedBreakDurationOrBuilder()

Output only. The duration of the placement opportunity associated with the break.

.google.protobuf.Duration expected_break_duration = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DurationOrBuilder

getSlateDuration()

public Duration getSlateDuration()

Output only. The duration of slate that was inserted for this break.

.google.protobuf.Duration slate_duration = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Duration

The slateDuration.

getSlateDurationBuilder()

public Duration.Builder getSlateDurationBuilder()

Output only. The duration of slate that was inserted for this break.

.google.protobuf.Duration slate_duration = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

getSlateDurationOrBuilder()

public DurationOrBuilder getSlateDurationOrBuilder()

Output only. The duration of slate that was inserted for this break.

.google.protobuf.Duration slate_duration = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DurationOrBuilder

getUnderlyingDuration()

public Duration getUnderlyingDuration()

Output only. The duration of underlying content that was inserted for this break.

.google.protobuf.Duration underlying_duration = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Duration

The underlyingDuration.

getUnderlyingDurationBuilder()

public Duration.Builder getUnderlyingDurationBuilder()

Output only. The duration of underlying content that was inserted for this break.

.google.protobuf.Duration underlying_duration = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

getUnderlyingDurationOrBuilder()

public DurationOrBuilder getUnderlyingDurationOrBuilder()

Output only. The duration of underlying content that was inserted for this break.

.google.protobuf.Duration underlying_duration = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DurationOrBuilder

hasBreakStartTime()

public boolean hasBreakStartTime()

Output only. The timestamp of when the break started.

.google.protobuf.Timestamp break_start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the breakStartTime field is set.

hasExpectedBreakDuration()

public boolean hasExpectedBreakDuration()

Output only. The duration of the placement opportunity associated with the break.

.google.protobuf.Duration expected_break_duration = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the expectedBreakDuration field is set.

hasSlateDuration()

public boolean hasSlateDuration()

Output only. The duration of slate that was inserted for this break.

.google.protobuf.Duration slate_duration = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the slateDuration field is set.

hasUnderlyingDuration()

public boolean hasUnderlyingDuration()

Output only. The duration of underlying content that was inserted for this break.

.google.protobuf.Duration underlying_duration = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the underlyingDuration field is set.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeBreakStartTime(Timestamp value)

public DaiSession.AdBreak.LinearBreak.Builder mergeBreakStartTime(Timestamp value)

Output only. The timestamp of when the break started.

.google.protobuf.Timestamp break_start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
DaiSession.AdBreak.LinearBreak.Builder

mergeExpectedBreakDuration(Duration value)

public DaiSession.AdBreak.LinearBreak.Builder mergeExpectedBreakDuration(Duration value)

Output only. The duration of the placement opportunity associated with the break.

.google.protobuf.Duration expected_break_duration = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Duration
Returns
Type Description
DaiSession.AdBreak.LinearBreak.Builder

mergeFrom(DaiSession.AdBreak.LinearBreak other)

public DaiSession.AdBreak.LinearBreak.Builder mergeFrom(DaiSession.AdBreak.LinearBreak other)
Parameter
Name Description
other DaiSession.AdBreak.LinearBreak
Returns
Type Description
DaiSession.AdBreak.LinearBreak.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DaiSession.AdBreak.LinearBreak.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DaiSession.AdBreak.LinearBreak.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public DaiSession.AdBreak.LinearBreak.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
DaiSession.AdBreak.LinearBreak.Builder
Overrides

mergeSlateDuration(Duration value)

public DaiSession.AdBreak.LinearBreak.Builder mergeSlateDuration(Duration value)

Output only. The duration of slate that was inserted for this break.

.google.protobuf.Duration slate_duration = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Duration
Returns
Type Description
DaiSession.AdBreak.LinearBreak.Builder

mergeUnderlyingDuration(Duration value)

public DaiSession.AdBreak.LinearBreak.Builder mergeUnderlyingDuration(Duration value)

Output only. The duration of underlying content that was inserted for this break.

.google.protobuf.Duration underlying_duration = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Duration
Returns
Type Description
DaiSession.AdBreak.LinearBreak.Builder

setBreakStartTime(Timestamp value)

public DaiSession.AdBreak.LinearBreak.Builder setBreakStartTime(Timestamp value)

Output only. The timestamp of when the break started.

.google.protobuf.Timestamp break_start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
DaiSession.AdBreak.LinearBreak.Builder

setBreakStartTime(Timestamp.Builder builderForValue)

public DaiSession.AdBreak.LinearBreak.Builder setBreakStartTime(Timestamp.Builder builderForValue)

Output only. The timestamp of when the break started.

.google.protobuf.Timestamp break_start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
DaiSession.AdBreak.LinearBreak.Builder

setExpectedBreakDuration(Duration value)

public DaiSession.AdBreak.LinearBreak.Builder setExpectedBreakDuration(Duration value)

Output only. The duration of the placement opportunity associated with the break.

.google.protobuf.Duration expected_break_duration = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Duration
Returns
Type Description
DaiSession.AdBreak.LinearBreak.Builder

setExpectedBreakDuration(Duration.Builder builderForValue)

public DaiSession.AdBreak.LinearBreak.Builder setExpectedBreakDuration(Duration.Builder builderForValue)

Output only. The duration of the placement opportunity associated with the break.

.google.protobuf.Duration expected_break_duration = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
DaiSession.AdBreak.LinearBreak.Builder

setSlateDuration(Duration value)

public DaiSession.AdBreak.LinearBreak.Builder setSlateDuration(Duration value)

Output only. The duration of slate that was inserted for this break.

.google.protobuf.Duration slate_duration = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Duration
Returns
Type Description
DaiSession.AdBreak.LinearBreak.Builder

setSlateDuration(Duration.Builder builderForValue)

public DaiSession.AdBreak.LinearBreak.Builder setSlateDuration(Duration.Builder builderForValue)

Output only. The duration of slate that was inserted for this break.

.google.protobuf.Duration slate_duration = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
DaiSession.AdBreak.LinearBreak.Builder

setUnderlyingDuration(Duration value)

public DaiSession.AdBreak.LinearBreak.Builder setUnderlyingDuration(Duration value)

Output only. The duration of underlying content that was inserted for this break.

.google.protobuf.Duration underlying_duration = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Duration
Returns
Type Description
DaiSession.AdBreak.LinearBreak.Builder

setUnderlyingDuration(Duration.Builder builderForValue)

public DaiSession.AdBreak.LinearBreak.Builder setUnderlyingDuration(Duration.Builder builderForValue)

Output only. The duration of underlying content that was inserted for this break.

.google.protobuf.Duration underlying_duration = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
DaiSession.AdBreak.LinearBreak.Builder