Class AdBreak.Builder (1.50.0)

public static final class AdBreak.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AdBreak.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AdBreak.Builder
Overrides

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

clearField(Descriptors.FieldDescriptor field)

public AdBreak.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
AdBreak.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public AdBreak.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
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

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AdBreak.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AdBreak.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public AdBreak.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AdBreak.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public AdBreak.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
AdBreak.Builder
Overrides

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

setUnknownFields(UnknownFieldSet unknownFields)

public final AdBreak.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AdBreak.Builder
Overrides