Class DaiSession.AdBreak.VodBreak.Builder (0.62.0)
Stay organized with collections
Save and categorize content based on your preferences.
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
Inherited Members
com.google.protobuf.GeneratedMessage.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessage.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessage.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldsProto3(com.google.protobuf.UnknownFieldSet)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
build()
public DaiSession.AdBreak.VodBreak build()
buildPartial()
public DaiSession.AdBreak.VodBreak buildPartial()
clear()
public DaiSession.AdBreak.VodBreak.Builder clear()
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];
getDefaultInstanceForType()
public DaiSession.AdBreak.VodBreak getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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];
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];
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(DaiSession.AdBreak.VodBreak other)
public DaiSession.AdBreak.VodBreak.Builder mergeFrom(DaiSession.AdBreak.VodBreak other)
public DaiSession.AdBreak.VodBreak.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public DaiSession.AdBreak.VodBreak.Builder mergeFrom(Message other)
| Parameter |
| Name |
Description |
other |
Message
|
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
|
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
|
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
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-11-18 UTC.
[null,null,["Last updated 2026-11-18 UTC."],[],[]]