Class VideoStreamInputConfig (0.14.1)

public final class VideoStreamInputConfig extends GeneratedMessageV3 implements VideoStreamInputConfigOrBuilder

Message describing Video Stream Input Config. This message should only be used as a placeholder for builtin:stream-input processor, actual stream binding should be specified using corresponding API.

Protobuf type google.events.cloud.visionai.v1.VideoStreamInputConfig

Static Fields

STREAMS_FIELD_NUMBER

public static final int STREAMS_FIELD_NUMBER
Field Value
TypeDescription
int

STREAMS_WITH_ANNOTATION_FIELD_NUMBER

public static final int STREAMS_WITH_ANNOTATION_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static VideoStreamInputConfig getDefaultInstance()
Returns
TypeDescription
VideoStreamInputConfig

getDescriptor()

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

newBuilder()

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

newBuilder(VideoStreamInputConfig prototype)

public static VideoStreamInputConfig.Builder newBuilder(VideoStreamInputConfig prototype)
Parameter
NameDescription
prototypeVideoStreamInputConfig
Returns
TypeDescription
VideoStreamInputConfig.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public VideoStreamInputConfig getDefaultInstanceForType()
Returns
TypeDescription
VideoStreamInputConfig

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getStreams(int index)

public String getStreams(int index)

repeated string streams = 1;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The streams at the given index.

getStreamsBytes(int index)

public ByteString getStreamsBytes(int index)

repeated string streams = 1;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the streams at the given index.

getStreamsCount()

public int getStreamsCount()

repeated string streams = 1;

Returns
TypeDescription
int

The count of streams.

getStreamsList()

public ProtocolStringList getStreamsList()

repeated string streams = 1;

Returns
TypeDescription
ProtocolStringList

A list containing the streams.

getStreamsWithAnnotation(int index)

public StreamWithAnnotation getStreamsWithAnnotation(int index)

repeated .google.events.cloud.visionai.v1.StreamWithAnnotation streams_with_annotation = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
StreamWithAnnotation

getStreamsWithAnnotationCount()

public int getStreamsWithAnnotationCount()

repeated .google.events.cloud.visionai.v1.StreamWithAnnotation streams_with_annotation = 2;

Returns
TypeDescription
int

getStreamsWithAnnotationList()

public List<StreamWithAnnotation> getStreamsWithAnnotationList()

repeated .google.events.cloud.visionai.v1.StreamWithAnnotation streams_with_annotation = 2;

Returns
TypeDescription
List<StreamWithAnnotation>

getStreamsWithAnnotationOrBuilder(int index)

public StreamWithAnnotationOrBuilder getStreamsWithAnnotationOrBuilder(int index)

repeated .google.events.cloud.visionai.v1.StreamWithAnnotation streams_with_annotation = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
StreamWithAnnotationOrBuilder

getStreamsWithAnnotationOrBuilderList()

public List<? extends StreamWithAnnotationOrBuilder> getStreamsWithAnnotationOrBuilderList()

repeated .google.events.cloud.visionai.v1.StreamWithAnnotation streams_with_annotation = 2;

Returns
TypeDescription
List<? extends com.google.events.cloud.visionai.v1.StreamWithAnnotationOrBuilder>

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

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 VideoStreamInputConfig.Builder newBuilderForType()
Returns
TypeDescription
VideoStreamInputConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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