Class VideoStreamInputConfig.Builder (0.16.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.events.cloud.visionai.v1.VideoStreamInputConfig

Static Methods

getDescriptor()

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

Methods

addAllStreams(Iterable<String> values)

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

repeated string streams = 1;

Parameter
Name Description
values Iterable<String>

The streams to add.

Returns
Type Description
VideoStreamInputConfig.Builder

This builder for chaining.

addAllStreamsWithAnnotation(Iterable<? extends StreamWithAnnotation> values)

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

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

Parameter
Name Description
values Iterable<? extends com.google.events.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)

public VideoStreamInputConfig.Builder addStreams(String value)

repeated string streams = 1;

Parameter
Name Description
value String

The streams to add.

Returns
Type Description
VideoStreamInputConfig.Builder

This builder for chaining.

addStreamsBytes(ByteString value)

public VideoStreamInputConfig.Builder addStreamsBytes(ByteString value)

repeated string streams = 1;

Parameter
Name Description
value ByteString

The bytes of the streams to add.

Returns
Type Description
VideoStreamInputConfig.Builder

This builder for chaining.

addStreamsWithAnnotation(StreamWithAnnotation value)

public VideoStreamInputConfig.Builder addStreamsWithAnnotation(StreamWithAnnotation value)

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

Parameter
Name Description
value StreamWithAnnotation
Returns
Type Description
VideoStreamInputConfig.Builder

addStreamsWithAnnotation(StreamWithAnnotation.Builder builderForValue)

public VideoStreamInputConfig.Builder addStreamsWithAnnotation(StreamWithAnnotation.Builder builderForValue)

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

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

addStreamsWithAnnotation(int index, StreamWithAnnotation value)

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

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

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

addStreamsWithAnnotation(int index, StreamWithAnnotation.Builder builderForValue)

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

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

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

addStreamsWithAnnotationBuilder()

public StreamWithAnnotation.Builder addStreamsWithAnnotationBuilder()

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

Returns
Type Description
StreamWithAnnotation.Builder

addStreamsWithAnnotationBuilder(int index)

public StreamWithAnnotation.Builder addStreamsWithAnnotationBuilder(int index)

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

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()

public VideoStreamInputConfig.Builder clearStreams()

repeated string streams = 1;

Returns
Type Description
VideoStreamInputConfig.Builder

This builder for chaining.

clearStreamsWithAnnotation()

public VideoStreamInputConfig.Builder clearStreamsWithAnnotation()

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

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)

public String getStreams(int index)

repeated string streams = 1;

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)

public ByteString getStreamsBytes(int index)

repeated string streams = 1;

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()

public int getStreamsCount()

repeated string streams = 1;

Returns
Type Description
int

The count of streams.

getStreamsList()

public ProtocolStringList getStreamsList()

repeated string streams = 1;

Returns
Type Description
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
Name Description
index int
Returns
Type Description
StreamWithAnnotation

getStreamsWithAnnotationBuilder(int index)

public StreamWithAnnotation.Builder getStreamsWithAnnotationBuilder(int index)

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

Parameter
Name Description
index int
Returns
Type Description
StreamWithAnnotation.Builder

getStreamsWithAnnotationBuilderList()

public List<StreamWithAnnotation.Builder> getStreamsWithAnnotationBuilderList()

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

Returns
Type Description
List<Builder>

getStreamsWithAnnotationCount()

public int getStreamsWithAnnotationCount()

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

Returns
Type Description
int

getStreamsWithAnnotationList()

public List<StreamWithAnnotation> getStreamsWithAnnotationList()

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

Returns
Type Description
List<StreamWithAnnotation>

getStreamsWithAnnotationOrBuilder(int index)

public StreamWithAnnotationOrBuilder getStreamsWithAnnotationOrBuilder(int index)

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

Parameter
Name Description
index int
Returns
Type Description
StreamWithAnnotationOrBuilder

getStreamsWithAnnotationOrBuilderList()

public List<? extends StreamWithAnnotationOrBuilder> getStreamsWithAnnotationOrBuilderList()

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

Returns
Type Description
List<? extends com.google.events.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)

public VideoStreamInputConfig.Builder removeStreamsWithAnnotation(int index)

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

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)

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

repeated string streams = 1;

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)

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

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

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

setStreamsWithAnnotation(int index, StreamWithAnnotation.Builder builderForValue)

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

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

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