Class VideoStreamInputConfig.Builder (0.5.0)

public static final class VideoStreamInputConfig.Builder extends GeneratedMessageV3.Builder<VideoStreamInputConfig.Builder> 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 Methods

getDescriptor()

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

Methods

addAllStreams(Iterable<String> values) (deprecated)

public VideoStreamInputConfig.Builder addAllStreams(Iterable<String> values)

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
values Iterable<String>

The streams to add.

Returns
Type Description
VideoStreamInputConfig.Builder

This builder for chaining.

addAllStreamsWithAnnotation(Iterable<? extends StreamWithAnnotation> values) (deprecated)

public VideoStreamInputConfig.Builder addAllStreamsWithAnnotation(Iterable<? extends StreamWithAnnotation> values)

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

Parameter
Name Description
values Iterable<? extends com.google.cloud.visionai.v1.StreamWithAnnotation>
Returns
Type Description
VideoStreamInputConfig.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addStreams(String value) (deprecated)

public VideoStreamInputConfig.Builder addStreams(String value)

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
value String

The streams to add.

Returns
Type Description
VideoStreamInputConfig.Builder

This builder for chaining.

addStreamsBytes(ByteString value) (deprecated)

public VideoStreamInputConfig.Builder addStreamsBytes(ByteString value)

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
value ByteString

The bytes of the streams to add.

Returns
Type Description
VideoStreamInputConfig.Builder

This builder for chaining.

addStreamsWithAnnotation(StreamWithAnnotation value) (deprecated)

public VideoStreamInputConfig.Builder addStreamsWithAnnotation(StreamWithAnnotation value)

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

Parameter
Name Description
value StreamWithAnnotation
Returns
Type Description
VideoStreamInputConfig.Builder

addStreamsWithAnnotation(StreamWithAnnotation.Builder builderForValue) (deprecated)

public VideoStreamInputConfig.Builder addStreamsWithAnnotation(StreamWithAnnotation.Builder builderForValue)

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

Parameter
Name Description
builderForValue StreamWithAnnotation.Builder
Returns
Type Description
VideoStreamInputConfig.Builder

addStreamsWithAnnotation(int index, StreamWithAnnotation value) (deprecated)

public VideoStreamInputConfig.Builder addStreamsWithAnnotation(int index, StreamWithAnnotation value)

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

Parameters
Name Description
index int
value StreamWithAnnotation
Returns
Type Description
VideoStreamInputConfig.Builder

addStreamsWithAnnotation(int index, StreamWithAnnotation.Builder builderForValue) (deprecated)

public VideoStreamInputConfig.Builder addStreamsWithAnnotation(int index, StreamWithAnnotation.Builder builderForValue)

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

Parameters
Name Description
index int
builderForValue StreamWithAnnotation.Builder
Returns
Type Description
VideoStreamInputConfig.Builder

addStreamsWithAnnotationBuilder() (deprecated)

public StreamWithAnnotation.Builder addStreamsWithAnnotationBuilder()

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

Returns
Type Description
StreamWithAnnotation.Builder

addStreamsWithAnnotationBuilder(int index) (deprecated)

public StreamWithAnnotation.Builder addStreamsWithAnnotationBuilder(int index)

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

Parameter
Name Description
index int
Returns
Type Description
StreamWithAnnotation.Builder

build()

public VideoStreamInputConfig build()
Returns
Type Description
VideoStreamInputConfig

buildPartial()

public VideoStreamInputConfig buildPartial()
Returns
Type Description
VideoStreamInputConfig

clear()

public VideoStreamInputConfig.Builder clear()
Returns
Type Description
VideoStreamInputConfig.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearStreams() (deprecated)

public VideoStreamInputConfig.Builder clearStreams()

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
VideoStreamInputConfig.Builder

This builder for chaining.

clearStreamsWithAnnotation() (deprecated)

public VideoStreamInputConfig.Builder clearStreamsWithAnnotation()

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

Returns
Type Description
VideoStreamInputConfig.Builder

clone()

public VideoStreamInputConfig.Builder clone()
Returns
Type Description
VideoStreamInputConfig.Builder
Overrides

getDefaultInstanceForType()

public VideoStreamInputConfig getDefaultInstanceForType()
Returns
Type Description
VideoStreamInputConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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

getStreamsWithAnnotationBuilder(int index) (deprecated)

public StreamWithAnnotation.Builder getStreamsWithAnnotationBuilder(int index)

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

Parameter
Name Description
index int
Returns
Type Description
StreamWithAnnotation.Builder

getStreamsWithAnnotationBuilderList() (deprecated)

public List<StreamWithAnnotation.Builder> getStreamsWithAnnotationBuilderList()

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

Returns
Type Description
List<Builder>

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>

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(VideoStreamInputConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeStreamsWithAnnotation(int index) (deprecated)

public VideoStreamInputConfig.Builder removeStreamsWithAnnotation(int index)

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

Parameter
Name Description
index int
Returns
Type Description
VideoStreamInputConfig.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setStreams(int index, String value) (deprecated)

public VideoStreamInputConfig.Builder setStreams(int index, String value)

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

repeated string streams = 1 [deprecated = true];

Parameters
Name Description
index int

The index to set the value at.

value String

The streams to set.

Returns
Type Description
VideoStreamInputConfig.Builder

This builder for chaining.

setStreamsWithAnnotation(int index, StreamWithAnnotation value) (deprecated)

public VideoStreamInputConfig.Builder setStreamsWithAnnotation(int index, StreamWithAnnotation value)

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

Parameters
Name Description
index int
value StreamWithAnnotation
Returns
Type Description
VideoStreamInputConfig.Builder

setStreamsWithAnnotation(int index, StreamWithAnnotation.Builder builderForValue) (deprecated)

public VideoStreamInputConfig.Builder setStreamsWithAnnotation(int index, StreamWithAnnotation.Builder builderForValue)

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

Parameters
Name Description
index int
builderForValue StreamWithAnnotation.Builder
Returns
Type Description
VideoStreamInputConfig.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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