Class DaiSession.AdBreak.VodBreak.Builder (0.58.0)

public static final class DaiSession.AdBreak.VodBreak.Builder extends GeneratedMessage.Builder<DaiSession.AdBreak.VodBreak.Builder> implements DaiSession.AdBreak.VodBreakOrBuilder

Represents Video on Demand related break information.

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

Static Methods

getDescriptor()

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

Methods

build()

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

buildPartial()

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

clear()

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

clearTimeOffset()

public DaiSession.AdBreak.VodBreak.Builder clearTimeOffset()

Output only. The time difference between the start of this break and the start of the session. Includes the time for any preceding ad breaks.

.google.protobuf.Duration time_offset = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DaiSession.AdBreak.VodBreak.Builder

getDefaultInstanceForType()

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

getDescriptorForType()

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

getTimeOffset()

public Duration getTimeOffset()

Output only. The time difference between the start of this break and the start of the session. Includes the time for any preceding ad breaks.

.google.protobuf.Duration time_offset = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Duration

The timeOffset.

getTimeOffsetBuilder()

public Duration.Builder getTimeOffsetBuilder()

Output only. The time difference between the start of this break and the start of the session. Includes the time for any preceding ad breaks.

.google.protobuf.Duration time_offset = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

getTimeOffsetOrBuilder()

public DurationOrBuilder getTimeOffsetOrBuilder()

Output only. The time difference between the start of this break and the start of the session. Includes the time for any preceding ad breaks.

.google.protobuf.Duration time_offset = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DurationOrBuilder

hasTimeOffset()

public boolean hasTimeOffset()

Output only. The time difference between the start of this break and the start of the session. Includes the time for any preceding ad breaks.

.google.protobuf.Duration time_offset = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the timeOffset field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(DaiSession.AdBreak.VodBreak other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeTimeOffset(Duration value)

public DaiSession.AdBreak.VodBreak.Builder mergeTimeOffset(Duration value)

Output only. The time difference between the start of this break and the start of the session. Includes the time for any preceding ad breaks.

.google.protobuf.Duration time_offset = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

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

setTimeOffset(Duration value)

public DaiSession.AdBreak.VodBreak.Builder setTimeOffset(Duration value)

Output only. The time difference between the start of this break and the start of the session. Includes the time for any preceding ad breaks.

.google.protobuf.Duration time_offset = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

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

setTimeOffset(Duration.Builder builderForValue)

public DaiSession.AdBreak.VodBreak.Builder setTimeOffset(Duration.Builder builderForValue)

Output only. The time difference between the start of this break and the start of the session. Includes the time for any preceding ad breaks.

.google.protobuf.Duration time_offset = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

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