Class Clip.Slice.Builder (0.57.0)

public static final class Clip.Slice.Builder extends GeneratedMessageV3.Builder<Clip.Slice.Builder> implements Clip.SliceOrBuilder

Slice represents a slice of the requested clip.

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

Implements

Clip.SliceOrBuilder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearKind()

public Clip.Slice.Builder clearKind()
Returns
Type Description
Clip.Slice.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearTimeSlice()

public Clip.Slice.Builder clearTimeSlice()

A slice in form of a tuple of Unix epoch time.

.google.cloud.video.livestream.v1.Clip.TimeSlice time_slice = 1;

Returns
Type Description
Clip.Slice.Builder

clone()

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

getDefaultInstanceForType()

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

getDescriptorForType()

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

getKindCase()

public Clip.Slice.KindCase getKindCase()
Returns
Type Description
Clip.Slice.KindCase

getTimeSlice()

public Clip.TimeSlice getTimeSlice()

A slice in form of a tuple of Unix epoch time.

.google.cloud.video.livestream.v1.Clip.TimeSlice time_slice = 1;

Returns
Type Description
Clip.TimeSlice

The timeSlice.

getTimeSliceBuilder()

public Clip.TimeSlice.Builder getTimeSliceBuilder()

A slice in form of a tuple of Unix epoch time.

.google.cloud.video.livestream.v1.Clip.TimeSlice time_slice = 1;

Returns
Type Description
Clip.TimeSlice.Builder

getTimeSliceOrBuilder()

public Clip.TimeSliceOrBuilder getTimeSliceOrBuilder()

A slice in form of a tuple of Unix epoch time.

.google.cloud.video.livestream.v1.Clip.TimeSlice time_slice = 1;

Returns
Type Description
Clip.TimeSliceOrBuilder

hasTimeSlice()

public boolean hasTimeSlice()

A slice in form of a tuple of Unix epoch time.

.google.cloud.video.livestream.v1.Clip.TimeSlice time_slice = 1;

Returns
Type Description
boolean

Whether the timeSlice 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.Slice other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeTimeSlice(Clip.TimeSlice value)

public Clip.Slice.Builder mergeTimeSlice(Clip.TimeSlice value)

A slice in form of a tuple of Unix epoch time.

.google.cloud.video.livestream.v1.Clip.TimeSlice time_slice = 1;

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setTimeSlice(Clip.TimeSlice value)

public Clip.Slice.Builder setTimeSlice(Clip.TimeSlice value)

A slice in form of a tuple of Unix epoch time.

.google.cloud.video.livestream.v1.Clip.TimeSlice time_slice = 1;

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

setTimeSlice(Clip.TimeSlice.Builder builderForValue)

public Clip.Slice.Builder setTimeSlice(Clip.TimeSlice.Builder builderForValue)

A slice in form of a tuple of Unix epoch time.

.google.cloud.video.livestream.v1.Clip.TimeSlice time_slice = 1;

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

setUnknownFields(UnknownFieldSet unknownFields)

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