Class AdBreak.Builder (1.82.0)

public static final class AdBreak.Builder extends GeneratedMessage.Builder<AdBreak.Builder> implements AdBreakOrBuilder

Ad break.

Protobuf type google.cloud.video.transcoder.v1.AdBreak

Implements

AdBreakOrBuilder

Static Methods

getDescriptor()

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

Methods

build()

public AdBreak build()
Returns
Type Description
AdBreak

buildPartial()

public AdBreak buildPartial()
Returns
Type Description
AdBreak

clear()

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

clearStartTimeOffset()

public AdBreak.Builder clearStartTimeOffset()

Start time in seconds for the ad break, relative to the output file timeline. The default is 0s.

.google.protobuf.Duration start_time_offset = 1;

Returns
Type Description
AdBreak.Builder

getDefaultInstanceForType()

public AdBreak getDefaultInstanceForType()
Returns
Type Description
AdBreak

getDescriptorForType()

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

getStartTimeOffset()

public Duration getStartTimeOffset()

Start time in seconds for the ad break, relative to the output file timeline. The default is 0s.

.google.protobuf.Duration start_time_offset = 1;

Returns
Type Description
Duration

The startTimeOffset.

getStartTimeOffsetBuilder()

public Duration.Builder getStartTimeOffsetBuilder()

Start time in seconds for the ad break, relative to the output file timeline. The default is 0s.

.google.protobuf.Duration start_time_offset = 1;

Returns
Type Description
Builder

getStartTimeOffsetOrBuilder()

public DurationOrBuilder getStartTimeOffsetOrBuilder()

Start time in seconds for the ad break, relative to the output file timeline. The default is 0s.

.google.protobuf.Duration start_time_offset = 1;

Returns
Type Description
DurationOrBuilder

hasStartTimeOffset()

public boolean hasStartTimeOffset()

Start time in seconds for the ad break, relative to the output file timeline. The default is 0s.

.google.protobuf.Duration start_time_offset = 1;

Returns
Type Description
boolean

Whether the startTimeOffset field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(AdBreak other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeStartTimeOffset(Duration value)

public AdBreak.Builder mergeStartTimeOffset(Duration value)

Start time in seconds for the ad break, relative to the output file timeline. The default is 0s.

.google.protobuf.Duration start_time_offset = 1;

Parameter
Name Description
value Duration
Returns
Type Description
AdBreak.Builder

setStartTimeOffset(Duration value)

public AdBreak.Builder setStartTimeOffset(Duration value)

Start time in seconds for the ad break, relative to the output file timeline. The default is 0s.

.google.protobuf.Duration start_time_offset = 1;

Parameter
Name Description
value Duration
Returns
Type Description
AdBreak.Builder

setStartTimeOffset(Duration.Builder builderForValue)

public AdBreak.Builder setStartTimeOffset(Duration.Builder builderForValue)

Start time in seconds for the ad break, relative to the output file timeline. The default is 0s.

.google.protobuf.Duration start_time_offset = 1;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
AdBreak.Builder