Class DvrSession.DvrWindow.Builder (0.66.0)

public static final class DvrSession.DvrWindow.Builder extends GeneratedMessageV3.Builder<DvrSession.DvrWindow.Builder> implements DvrSession.DvrWindowOrBuilder

DvrWindow represents a DVR window.

Protobuf type google.cloud.video.livestream.v1.DvrSession.DvrWindow

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public DvrSession.DvrWindow build()
Returns
Type Description
DvrSession.DvrWindow

buildPartial()

public DvrSession.DvrWindow buildPartial()
Returns
Type Description
DvrSession.DvrWindow

clear()

public DvrSession.DvrWindow.Builder clear()
Returns
Type Description
DvrSession.DvrWindow.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearKind()

public DvrSession.DvrWindow.Builder clearKind()
Returns
Type Description
DvrSession.DvrWindow.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public DvrSession.DvrWindow.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
DvrSession.DvrWindow.Builder
Overrides

clearTimeInterval()

public DvrSession.DvrWindow.Builder clearTimeInterval()

A time interval in the form of a tuple of Unix epoch time.

.google.cloud.video.livestream.v1.TimeInterval time_interval = 1;

Returns
Type Description
DvrSession.DvrWindow.Builder

clone()

public DvrSession.DvrWindow.Builder clone()
Returns
Type Description
DvrSession.DvrWindow.Builder
Overrides

getDefaultInstanceForType()

public DvrSession.DvrWindow getDefaultInstanceForType()
Returns
Type Description
DvrSession.DvrWindow

getDescriptorForType()

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

getKindCase()

public DvrSession.DvrWindow.KindCase getKindCase()
Returns
Type Description
DvrSession.DvrWindow.KindCase

getTimeInterval()

public TimeInterval getTimeInterval()

A time interval in the form of a tuple of Unix epoch time.

.google.cloud.video.livestream.v1.TimeInterval time_interval = 1;

Returns
Type Description
TimeInterval

The timeInterval.

getTimeIntervalBuilder()

public TimeInterval.Builder getTimeIntervalBuilder()

A time interval in the form of a tuple of Unix epoch time.

.google.cloud.video.livestream.v1.TimeInterval time_interval = 1;

Returns
Type Description
TimeInterval.Builder

getTimeIntervalOrBuilder()

public TimeIntervalOrBuilder getTimeIntervalOrBuilder()

A time interval in the form of a tuple of Unix epoch time.

.google.cloud.video.livestream.v1.TimeInterval time_interval = 1;

Returns
Type Description
TimeIntervalOrBuilder

hasTimeInterval()

public boolean hasTimeInterval()

A time interval in the form of a tuple of Unix epoch time.

.google.cloud.video.livestream.v1.TimeInterval time_interval = 1;

Returns
Type Description
boolean

Whether the timeInterval field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(DvrSession.DvrWindow other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeTimeInterval(TimeInterval value)

public DvrSession.DvrWindow.Builder mergeTimeInterval(TimeInterval value)

A time interval in the form of a tuple of Unix epoch time.

.google.cloud.video.livestream.v1.TimeInterval time_interval = 1;

Parameter
Name Description
value TimeInterval
Returns
Type Description
DvrSession.DvrWindow.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setTimeInterval(TimeInterval value)

public DvrSession.DvrWindow.Builder setTimeInterval(TimeInterval value)

A time interval in the form of a tuple of Unix epoch time.

.google.cloud.video.livestream.v1.TimeInterval time_interval = 1;

Parameter
Name Description
value TimeInterval
Returns
Type Description
DvrSession.DvrWindow.Builder

setTimeInterval(TimeInterval.Builder builderForValue)

public DvrSession.DvrWindow.Builder setTimeInterval(TimeInterval.Builder builderForValue)

A time interval in the form of a tuple of Unix epoch time.

.google.cloud.video.livestream.v1.TimeInterval time_interval = 1;

Parameter
Name Description
builderForValue TimeInterval.Builder
Returns
Type Description
DvrSession.DvrWindow.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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