Class VideoStreamInputConfig.Builder (0.14.1)

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
TypeDescription
Descriptor

Methods

addAllStreams(Iterable<String> values)

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

repeated string streams = 1;

Parameter
NameDescription
valuesIterable<String>

The streams to add.

Returns
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.events.cloud.visionai.v1.StreamWithAnnotation>
Returns
TypeDescription
VideoStreamInputConfig.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public VideoStreamInputConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
VideoStreamInputConfig.Builder
Overrides

addStreams(String value)

public VideoStreamInputConfig.Builder addStreams(String value)

repeated string streams = 1;

Parameter
NameDescription
valueString

The streams to add.

Returns
TypeDescription
VideoStreamInputConfig.Builder

This builder for chaining.

addStreamsBytes(ByteString value)

public VideoStreamInputConfig.Builder addStreamsBytes(ByteString value)

repeated string streams = 1;

Parameter
NameDescription
valueByteString

The bytes of the streams to add.

Returns
TypeDescription
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
NameDescription
valueStreamWithAnnotation
Returns
TypeDescription
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
NameDescription
builderForValueStreamWithAnnotation.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueStreamWithAnnotation
Returns
TypeDescription
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
NameDescription
indexint
builderForValueStreamWithAnnotation.Builder
Returns
TypeDescription
VideoStreamInputConfig.Builder

addStreamsWithAnnotationBuilder()

public StreamWithAnnotation.Builder addStreamsWithAnnotationBuilder()

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

Returns
TypeDescription
StreamWithAnnotation.Builder

addStreamsWithAnnotationBuilder(int index)

public StreamWithAnnotation.Builder addStreamsWithAnnotationBuilder(int index)

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

Parameter
NameDescription
indexint
Returns
TypeDescription
StreamWithAnnotation.Builder

build()

public VideoStreamInputConfig build()
Returns
TypeDescription
VideoStreamInputConfig

buildPartial()

public VideoStreamInputConfig buildPartial()
Returns
TypeDescription
VideoStreamInputConfig

clear()

public VideoStreamInputConfig.Builder clear()
Returns
TypeDescription
VideoStreamInputConfig.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public VideoStreamInputConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
VideoStreamInputConfig.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public VideoStreamInputConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
VideoStreamInputConfig.Builder
Overrides

clearStreams()

public VideoStreamInputConfig.Builder clearStreams()

repeated string streams = 1;

Returns
TypeDescription
VideoStreamInputConfig.Builder

This builder for chaining.

clearStreamsWithAnnotation()

public VideoStreamInputConfig.Builder clearStreamsWithAnnotation()

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

Returns
TypeDescription
VideoStreamInputConfig.Builder

clone()

public VideoStreamInputConfig.Builder clone()
Returns
TypeDescription
VideoStreamInputConfig.Builder
Overrides

getDefaultInstanceForType()

public VideoStreamInputConfig getDefaultInstanceForType()
Returns
TypeDescription
VideoStreamInputConfig

getDescriptorForType()

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

getStreamsWithAnnotationBuilder(int index)

public StreamWithAnnotation.Builder getStreamsWithAnnotationBuilder(int index)

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

Parameter
NameDescription
indexint
Returns
TypeDescription
StreamWithAnnotation.Builder

getStreamsWithAnnotationBuilderList()

public List<StreamWithAnnotation.Builder> getStreamsWithAnnotationBuilderList()

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

Returns
TypeDescription
List<Builder>

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>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(VideoStreamInputConfig other)

public VideoStreamInputConfig.Builder mergeFrom(VideoStreamInputConfig other)
Parameter
NameDescription
otherVideoStreamInputConfig
Returns
TypeDescription
VideoStreamInputConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public VideoStreamInputConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VideoStreamInputConfig.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public VideoStreamInputConfig.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
VideoStreamInputConfig.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final VideoStreamInputConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
VideoStreamInputConfig.Builder
Overrides

removeStreamsWithAnnotation(int index)

public VideoStreamInputConfig.Builder removeStreamsWithAnnotation(int index)

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

Parameter
NameDescription
indexint
Returns
TypeDescription
VideoStreamInputConfig.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public VideoStreamInputConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
VideoStreamInputConfig.Builder
Overrides

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

public VideoStreamInputConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
VideoStreamInputConfig.Builder
Overrides

setStreams(int index, String value)

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

repeated string streams = 1;

Parameters
NameDescription
indexint

The index to set the value at.

valueString

The streams to set.

Returns
TypeDescription
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
NameDescription
indexint
valueStreamWithAnnotation
Returns
TypeDescription
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
NameDescription
indexint
builderForValueStreamWithAnnotation.Builder
Returns
TypeDescription
VideoStreamInputConfig.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final VideoStreamInputConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
VideoStreamInputConfig.Builder
Overrides