Class Clip.TimeSlice.Builder (0.56.0)

public static final class Clip.TimeSlice.Builder extends GeneratedMessageV3.Builder<Clip.TimeSlice.Builder> implements Clip.TimeSliceOrBuilder

TimeSlice represents a tuple of Unix epoch timestamps that specifies a time range.

Protobuf type google.cloud.video.livestream.v1.Clip.TimeSlice

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public Clip.TimeSlice build()
Returns
Type Description
Clip.TimeSlice

buildPartial()

public Clip.TimeSlice buildPartial()
Returns
Type Description
Clip.TimeSlice

clear()

public Clip.TimeSlice.Builder clear()
Returns
Type Description
Clip.TimeSlice.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearMarkinTime()

public Clip.TimeSlice.Builder clearMarkinTime()

The mark-in Unix epoch time in the original live stream manifest.

.google.protobuf.Timestamp markin_time = 1;

Returns
Type Description
Clip.TimeSlice.Builder

clearMarkoutTime()

public Clip.TimeSlice.Builder clearMarkoutTime()

The mark-out Unix epoch time in the original live stream manifest.

.google.protobuf.Timestamp markout_time = 2;

Returns
Type Description
Clip.TimeSlice.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public Clip.TimeSlice.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Clip.TimeSlice.Builder
Overrides

clone()

public Clip.TimeSlice.Builder clone()
Returns
Type Description
Clip.TimeSlice.Builder
Overrides

getDefaultInstanceForType()

public Clip.TimeSlice getDefaultInstanceForType()
Returns
Type Description
Clip.TimeSlice

getDescriptorForType()

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

getMarkinTime()

public Timestamp getMarkinTime()

The mark-in Unix epoch time in the original live stream manifest.

.google.protobuf.Timestamp markin_time = 1;

Returns
Type Description
Timestamp

The markinTime.

getMarkinTimeBuilder()

public Timestamp.Builder getMarkinTimeBuilder()

The mark-in Unix epoch time in the original live stream manifest.

.google.protobuf.Timestamp markin_time = 1;

Returns
Type Description
Builder

getMarkinTimeOrBuilder()

public TimestampOrBuilder getMarkinTimeOrBuilder()

The mark-in Unix epoch time in the original live stream manifest.

.google.protobuf.Timestamp markin_time = 1;

Returns
Type Description
TimestampOrBuilder

getMarkoutTime()

public Timestamp getMarkoutTime()

The mark-out Unix epoch time in the original live stream manifest.

.google.protobuf.Timestamp markout_time = 2;

Returns
Type Description
Timestamp

The markoutTime.

getMarkoutTimeBuilder()

public Timestamp.Builder getMarkoutTimeBuilder()

The mark-out Unix epoch time in the original live stream manifest.

.google.protobuf.Timestamp markout_time = 2;

Returns
Type Description
Builder

getMarkoutTimeOrBuilder()

public TimestampOrBuilder getMarkoutTimeOrBuilder()

The mark-out Unix epoch time in the original live stream manifest.

.google.protobuf.Timestamp markout_time = 2;

Returns
Type Description
TimestampOrBuilder

hasMarkinTime()

public boolean hasMarkinTime()

The mark-in Unix epoch time in the original live stream manifest.

.google.protobuf.Timestamp markin_time = 1;

Returns
Type Description
boolean

Whether the markinTime field is set.

hasMarkoutTime()

public boolean hasMarkoutTime()

The mark-out Unix epoch time in the original live stream manifest.

.google.protobuf.Timestamp markout_time = 2;

Returns
Type Description
boolean

Whether the markoutTime field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Clip.TimeSlice other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeMarkinTime(Timestamp value)

public Clip.TimeSlice.Builder mergeMarkinTime(Timestamp value)

The mark-in Unix epoch time in the original live stream manifest.

.google.protobuf.Timestamp markin_time = 1;

Parameter
Name Description
value Timestamp
Returns
Type Description
Clip.TimeSlice.Builder

mergeMarkoutTime(Timestamp value)

public Clip.TimeSlice.Builder mergeMarkoutTime(Timestamp value)

The mark-out Unix epoch time in the original live stream manifest.

.google.protobuf.Timestamp markout_time = 2;

Parameter
Name Description
value Timestamp
Returns
Type Description
Clip.TimeSlice.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setMarkinTime(Timestamp value)

public Clip.TimeSlice.Builder setMarkinTime(Timestamp value)

The mark-in Unix epoch time in the original live stream manifest.

.google.protobuf.Timestamp markin_time = 1;

Parameter
Name Description
value Timestamp
Returns
Type Description
Clip.TimeSlice.Builder

setMarkinTime(Timestamp.Builder builderForValue)

public Clip.TimeSlice.Builder setMarkinTime(Timestamp.Builder builderForValue)

The mark-in Unix epoch time in the original live stream manifest.

.google.protobuf.Timestamp markin_time = 1;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
Clip.TimeSlice.Builder

setMarkoutTime(Timestamp value)

public Clip.TimeSlice.Builder setMarkoutTime(Timestamp value)

The mark-out Unix epoch time in the original live stream manifest.

.google.protobuf.Timestamp markout_time = 2;

Parameter
Name Description
value Timestamp
Returns
Type Description
Clip.TimeSlice.Builder

setMarkoutTime(Timestamp.Builder builderForValue)

public Clip.TimeSlice.Builder setMarkoutTime(Timestamp.Builder builderForValue)

The mark-out Unix epoch time in the original live stream manifest.

.google.protobuf.Timestamp markout_time = 2;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
Clip.TimeSlice.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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