Class VideoStreamProperty (0.5.0)

public final class VideoStreamProperty extends GeneratedMessageV3 implements VideoStreamPropertyOrBuilder

Properties of the video stream.

Protobuf type google.cloud.video.livestream.v1.VideoStreamProperty

Static Fields

INDEX_FIELD_NUMBER

public static final int INDEX_FIELD_NUMBER
Field Value
TypeDescription
int

VIDEO_FORMAT_FIELD_NUMBER

public static final int VIDEO_FORMAT_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static VideoStreamProperty getDefaultInstance()
Returns
TypeDescription
VideoStreamProperty

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static VideoStreamProperty.Builder newBuilder()
Returns
TypeDescription
VideoStreamProperty.Builder

newBuilder(VideoStreamProperty prototype)

public static VideoStreamProperty.Builder newBuilder(VideoStreamProperty prototype)
Parameter
NameDescription
prototypeVideoStreamProperty
Returns
TypeDescription
VideoStreamProperty.Builder

parseDelimitedFrom(InputStream input)

public static VideoStreamProperty parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
VideoStreamProperty
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static VideoStreamProperty parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VideoStreamProperty
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static VideoStreamProperty parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
VideoStreamProperty
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static VideoStreamProperty parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VideoStreamProperty
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static VideoStreamProperty parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
VideoStreamProperty
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static VideoStreamProperty parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VideoStreamProperty
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static VideoStreamProperty parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
VideoStreamProperty
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static VideoStreamProperty parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VideoStreamProperty
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static VideoStreamProperty parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
VideoStreamProperty
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static VideoStreamProperty parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VideoStreamProperty
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static VideoStreamProperty parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
VideoStreamProperty
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static VideoStreamProperty parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VideoStreamProperty
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<VideoStreamProperty> parser()
Returns
TypeDescription
Parser<VideoStreamProperty>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public VideoStreamProperty getDefaultInstanceForType()
Returns
TypeDescription
VideoStreamProperty

getIndex()

public int getIndex()

Index of this video stream.

int32 index = 1;

Returns
TypeDescription
int

The index.

getParserForType()

public Parser<VideoStreamProperty> getParserForType()
Returns
TypeDescription
Parser<VideoStreamProperty>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

getVideoFormat()

public VideoFormat getVideoFormat()

Properties of the video format.

.google.cloud.video.livestream.v1.VideoFormat video_format = 2;

Returns
TypeDescription
VideoFormat

The videoFormat.

getVideoFormatOrBuilder()

public VideoFormatOrBuilder getVideoFormatOrBuilder()

Properties of the video format.

.google.cloud.video.livestream.v1.VideoFormat video_format = 2;

Returns
TypeDescription
VideoFormatOrBuilder

hasVideoFormat()

public boolean hasVideoFormat()

Properties of the video format.

.google.cloud.video.livestream.v1.VideoFormat video_format = 2;

Returns
TypeDescription
boolean

Whether the videoFormat field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public VideoStreamProperty.Builder newBuilderForType()
Returns
TypeDescription
VideoStreamProperty.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected VideoStreamProperty.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
VideoStreamProperty.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public VideoStreamProperty.Builder toBuilder()
Returns
TypeDescription
VideoStreamProperty.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException