Class DvrSession.DvrWindow (0.66.0)

public static final class DvrSession.DvrWindow extends GeneratedMessageV3 implements DvrSession.DvrWindowOrBuilder

DvrWindow represents a DVR window.

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

Static Fields

TIME_INTERVAL_FIELD_NUMBER

public static final int TIME_INTERVAL_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static DvrSession.DvrWindow getDefaultInstance()
Returns
Type Description
DvrSession.DvrWindow

getDescriptor()

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

newBuilder()

public static DvrSession.DvrWindow.Builder newBuilder()
Returns
Type Description
DvrSession.DvrWindow.Builder

newBuilder(DvrSession.DvrWindow prototype)

public static DvrSession.DvrWindow.Builder newBuilder(DvrSession.DvrWindow prototype)
Parameter
Name Description
prototype DvrSession.DvrWindow
Returns
Type Description
DvrSession.DvrWindow.Builder

parseDelimitedFrom(InputStream input)

public static DvrSession.DvrWindow parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
DvrSession.DvrWindow
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DvrSession.DvrWindow parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DvrSession.DvrWindow
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static DvrSession.DvrWindow parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
DvrSession.DvrWindow
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static DvrSession.DvrWindow parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DvrSession.DvrWindow
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static DvrSession.DvrWindow parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
DvrSession.DvrWindow
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static DvrSession.DvrWindow parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DvrSession.DvrWindow
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static DvrSession.DvrWindow parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
DvrSession.DvrWindow
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static DvrSession.DvrWindow parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DvrSession.DvrWindow
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static DvrSession.DvrWindow parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
DvrSession.DvrWindow
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DvrSession.DvrWindow parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DvrSession.DvrWindow
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static DvrSession.DvrWindow parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
DvrSession.DvrWindow
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static DvrSession.DvrWindow parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DvrSession.DvrWindow
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<DvrSession.DvrWindow> parser()
Returns
Type Description
Parser<DvrWindow>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

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

getKindCase()

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

getParserForType()

public Parser<DvrSession.DvrWindow> getParserForType()
Returns
Type Description
Parser<DvrWindow>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected DvrSession.DvrWindow.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
DvrSession.DvrWindow.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException