Class AdBreak.Builder (1.18.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AdBreak.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
AdBreak.Builder
Overrides

build()

public AdBreak build()
Returns
TypeDescription
AdBreak

buildPartial()

public AdBreak buildPartial()
Returns
TypeDescription
AdBreak

clear()

public AdBreak.Builder clear()
Returns
TypeDescription
AdBreak.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public AdBreak.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
AdBreak.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public AdBreak.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
AdBreak.Builder

clone()

public AdBreak.Builder clone()
Returns
TypeDescription
AdBreak.Builder
Overrides

getDefaultInstanceForType()

public AdBreak getDefaultInstanceForType()
Returns
TypeDescription
AdBreak

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the startTimeOffset field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(AdBreak other)

public AdBreak.Builder mergeFrom(AdBreak other)
Parameter
NameDescription
otherAdBreak
Returns
TypeDescription
AdBreak.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AdBreak.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AdBreak.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public AdBreak.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueDuration
Returns
TypeDescription
AdBreak.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AdBreak.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
AdBreak.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public AdBreak.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
AdBreak.Builder
Overrides

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

public AdBreak.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueDuration
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
AdBreak.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final AdBreak.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
AdBreak.Builder
Overrides