Class VideoStreamInputConfig (0.11.0)

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.cloud.visionai.v1.VideoStreamInputConfig

Static Fields

STREAMS_FIELD_NUMBER

public static final int STREAMS_FIELD_NUMBER
Field Value
Type Description
int

STREAMS_WITH_ANNOTATION_FIELD_NUMBER

public static final int STREAMS_WITH_ANNOTATION_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static VideoStreamInputConfig getDefaultInstance()
Returns
Type Description
VideoStreamInputConfig

getDescriptor()

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

newBuilder()

public static VideoStreamInputConfig.Builder newBuilder()
Returns
Type Description
VideoStreamInputConfig.Builder

newBuilder(VideoStreamInputConfig prototype)

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

parseDelimitedFrom(InputStream input)

public static VideoStreamInputConfig parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
VideoStreamInputConfig
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static VideoStreamInputConfig parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
VideoStreamInputConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static VideoStreamInputConfig parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
VideoStreamInputConfig
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static VideoStreamInputConfig parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
VideoStreamInputConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static VideoStreamInputConfig parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
VideoStreamInputConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<VideoStreamInputConfig> parser()
Returns
Type Description
Parser<VideoStreamInputConfig>

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public VideoStreamInputConfig getDefaultInstanceForType()
Returns
Type Description
VideoStreamInputConfig

getParserForType()

public Parser<VideoStreamInputConfig> getParserForType()
Returns
Type Description
Parser<VideoStreamInputConfig>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getStreams(int index) (deprecated)

public String getStreams(int index)

Deprecated. google.cloud.visionai.v1.VideoStreamInputConfig.streams is deprecated. See google/cloud/visionai/v1/platform.proto;l=2040

repeated string streams = 1 [deprecated = true];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The streams at the given index.

getStreamsBytes(int index) (deprecated)

public ByteString getStreamsBytes(int index)

Deprecated. google.cloud.visionai.v1.VideoStreamInputConfig.streams is deprecated. See google/cloud/visionai/v1/platform.proto;l=2040

repeated string streams = 1 [deprecated = true];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the streams at the given index.

getStreamsCount() (deprecated)

public int getStreamsCount()

Deprecated. google.cloud.visionai.v1.VideoStreamInputConfig.streams is deprecated. See google/cloud/visionai/v1/platform.proto;l=2040

repeated string streams = 1 [deprecated = true];

Returns
Type Description
int

The count of streams.

getStreamsList() (deprecated)

public ProtocolStringList getStreamsList()

Deprecated. google.cloud.visionai.v1.VideoStreamInputConfig.streams is deprecated. See google/cloud/visionai/v1/platform.proto;l=2040

repeated string streams = 1 [deprecated = true];

Returns
Type Description
ProtocolStringList

A list containing the streams.

getStreamsWithAnnotation(int index) (deprecated)

public StreamWithAnnotation getStreamsWithAnnotation(int index)

repeated .google.cloud.visionai.v1.StreamWithAnnotation streams_with_annotation = 2 [deprecated = true];

Parameter
Name Description
index int
Returns
Type Description
StreamWithAnnotation

getStreamsWithAnnotationCount() (deprecated)

public int getStreamsWithAnnotationCount()

repeated .google.cloud.visionai.v1.StreamWithAnnotation streams_with_annotation = 2 [deprecated = true];

Returns
Type Description
int

getStreamsWithAnnotationList() (deprecated)

public List<StreamWithAnnotation> getStreamsWithAnnotationList()

repeated .google.cloud.visionai.v1.StreamWithAnnotation streams_with_annotation = 2 [deprecated = true];

Returns
Type Description
List<StreamWithAnnotation>

getStreamsWithAnnotationOrBuilder(int index) (deprecated)

public StreamWithAnnotationOrBuilder getStreamsWithAnnotationOrBuilder(int index)

repeated .google.cloud.visionai.v1.StreamWithAnnotation streams_with_annotation = 2 [deprecated = true];

Parameter
Name Description
index int
Returns
Type Description
StreamWithAnnotationOrBuilder

getStreamsWithAnnotationOrBuilderList() (deprecated)

public List<? extends StreamWithAnnotationOrBuilder> getStreamsWithAnnotationOrBuilderList()

repeated .google.cloud.visionai.v1.StreamWithAnnotation streams_with_annotation = 2 [deprecated = true];

Returns
Type Description
List<? extends com.google.cloud.visionai.v1.StreamWithAnnotationOrBuilder>

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public VideoStreamInputConfig.Builder toBuilder()
Returns
Type Description
VideoStreamInputConfig.Builder

writeTo(CodedOutputStream output)

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