Class DaiSession.AdBreak.LinearBreak (0.58.0)

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

Represents linear session related break information.

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

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > DaiSession.AdBreak.LinearBreak

Static Fields

BREAK_START_TIME_FIELD_NUMBER

public static final int BREAK_START_TIME_FIELD_NUMBER
Field Value
Type Description
int

EXPECTED_BREAK_DURATION_FIELD_NUMBER

public static final int EXPECTED_BREAK_DURATION_FIELD_NUMBER
Field Value
Type Description
int

SLATE_DURATION_FIELD_NUMBER

public static final int SLATE_DURATION_FIELD_NUMBER
Field Value
Type Description
int

UNDERLYING_DURATION_FIELD_NUMBER

public static final int UNDERLYING_DURATION_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static DaiSession.AdBreak.LinearBreak getDefaultInstance()
Returns
Type Description
DaiSession.AdBreak.LinearBreak

getDescriptor()

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

newBuilder()

public static DaiSession.AdBreak.LinearBreak.Builder newBuilder()
Returns
Type Description
DaiSession.AdBreak.LinearBreak.Builder

newBuilder(DaiSession.AdBreak.LinearBreak prototype)

public static DaiSession.AdBreak.LinearBreak.Builder newBuilder(DaiSession.AdBreak.LinearBreak prototype)
Parameter
Name Description
prototype DaiSession.AdBreak.LinearBreak
Returns
Type Description
DaiSession.AdBreak.LinearBreak.Builder

parseDelimitedFrom(InputStream input)

public static DaiSession.AdBreak.LinearBreak parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
DaiSession.AdBreak.LinearBreak
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DaiSession.AdBreak.LinearBreak parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DaiSession.AdBreak.LinearBreak
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static DaiSession.AdBreak.LinearBreak parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
DaiSession.AdBreak.LinearBreak
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static DaiSession.AdBreak.LinearBreak parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DaiSession.AdBreak.LinearBreak
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static DaiSession.AdBreak.LinearBreak parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
DaiSession.AdBreak.LinearBreak
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static DaiSession.AdBreak.LinearBreak parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DaiSession.AdBreak.LinearBreak
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static DaiSession.AdBreak.LinearBreak parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
DaiSession.AdBreak.LinearBreak
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static DaiSession.AdBreak.LinearBreak parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DaiSession.AdBreak.LinearBreak
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static DaiSession.AdBreak.LinearBreak parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
DaiSession.AdBreak.LinearBreak
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DaiSession.AdBreak.LinearBreak parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DaiSession.AdBreak.LinearBreak
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static DaiSession.AdBreak.LinearBreak parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
DaiSession.AdBreak.LinearBreak
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static DaiSession.AdBreak.LinearBreak parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DaiSession.AdBreak.LinearBreak
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<DaiSession.AdBreak.LinearBreak> parser()
Returns
Type Description
Parser<LinearBreak>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

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.

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

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.

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

getParserForType()

public Parser<DaiSession.AdBreak.LinearBreak> getParserForType()
Returns
Type Description
Parser<LinearBreak>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

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.

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public DaiSession.AdBreak.LinearBreak.Builder newBuilderForType()
Returns
Type Description
DaiSession.AdBreak.LinearBreak.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected DaiSession.AdBreak.LinearBreak.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
DaiSession.AdBreak.LinearBreak.Builder
Overrides

toBuilder()

public DaiSession.AdBreak.LinearBreak.Builder toBuilder()
Returns
Type Description
DaiSession.AdBreak.LinearBreak.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException