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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Methods
public VideoStreamInputConfig.Builder addAllStreams(Iterable<String> values)
repeated string streams = 1;
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>
|
public VideoStreamInputConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public VideoStreamInputConfig.Builder addStreams(String value)
repeated string streams = 1;
Parameter |
---|
Name | Description |
value | String
The streams to add.
|
public VideoStreamInputConfig.Builder addStreamsBytes(ByteString value)
repeated string streams = 1;
Parameter |
---|
Name | Description |
value | ByteString
The bytes of the streams to add.
|
public VideoStreamInputConfig.Builder addStreamsWithAnnotation(StreamWithAnnotation value)
repeated .google.events.cloud.visionai.v1.StreamWithAnnotation streams_with_annotation = 2;
public VideoStreamInputConfig.Builder addStreamsWithAnnotation(StreamWithAnnotation.Builder builderForValue)
repeated .google.events.cloud.visionai.v1.StreamWithAnnotation streams_with_annotation = 2;
public VideoStreamInputConfig.Builder addStreamsWithAnnotation(int index, StreamWithAnnotation value)
repeated .google.events.cloud.visionai.v1.StreamWithAnnotation streams_with_annotation = 2;
public VideoStreamInputConfig.Builder addStreamsWithAnnotation(int index, StreamWithAnnotation.Builder builderForValue)
repeated .google.events.cloud.visionai.v1.StreamWithAnnotation streams_with_annotation = 2;
public StreamWithAnnotation.Builder addStreamsWithAnnotationBuilder()
repeated .google.events.cloud.visionai.v1.StreamWithAnnotation streams_with_annotation = 2;
public StreamWithAnnotation.Builder addStreamsWithAnnotationBuilder(int index)
repeated .google.events.cloud.visionai.v1.StreamWithAnnotation streams_with_annotation = 2;
Parameter |
---|
Name | Description |
index | int
|
public VideoStreamInputConfig build()
public VideoStreamInputConfig buildPartial()
public VideoStreamInputConfig.Builder clear()
Overrides
public VideoStreamInputConfig.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public VideoStreamInputConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public VideoStreamInputConfig.Builder clearStreams()
repeated string streams = 1;
public VideoStreamInputConfig.Builder clearStreamsWithAnnotation()
repeated .google.events.cloud.visionai.v1.StreamWithAnnotation streams_with_annotation = 2;
public VideoStreamInputConfig.Builder clone()
Overrides
public VideoStreamInputConfig getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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.
|
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.
|
public int getStreamsCount()
repeated string streams = 1;
Returns |
---|
Type | Description |
int | The count of streams.
|
public ProtocolStringList getStreamsList()
repeated string streams = 1;
public StreamWithAnnotation getStreamsWithAnnotation(int index)
repeated .google.events.cloud.visionai.v1.StreamWithAnnotation streams_with_annotation = 2;
Parameter |
---|
Name | Description |
index | int
|
public StreamWithAnnotation.Builder getStreamsWithAnnotationBuilder(int index)
repeated .google.events.cloud.visionai.v1.StreamWithAnnotation streams_with_annotation = 2;
Parameter |
---|
Name | Description |
index | int
|
public List<StreamWithAnnotation.Builder> getStreamsWithAnnotationBuilderList()
repeated .google.events.cloud.visionai.v1.StreamWithAnnotation streams_with_annotation = 2;
public int getStreamsWithAnnotationCount()
repeated .google.events.cloud.visionai.v1.StreamWithAnnotation streams_with_annotation = 2;
Returns |
---|
Type | Description |
int | |
public List<StreamWithAnnotation> getStreamsWithAnnotationList()
repeated .google.events.cloud.visionai.v1.StreamWithAnnotation streams_with_annotation = 2;
public StreamWithAnnotationOrBuilder getStreamsWithAnnotationOrBuilder(int index)
repeated .google.events.cloud.visionai.v1.StreamWithAnnotation streams_with_annotation = 2;
Parameter |
---|
Name | Description |
index | int
|
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> | |
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public VideoStreamInputConfig.Builder mergeFrom(VideoStreamInputConfig other)
public VideoStreamInputConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public VideoStreamInputConfig.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
public final VideoStreamInputConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public VideoStreamInputConfig.Builder removeStreamsWithAnnotation(int index)
repeated .google.events.cloud.visionai.v1.StreamWithAnnotation streams_with_annotation = 2;
Parameter |
---|
Name | Description |
index | int
|
public VideoStreamInputConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public VideoStreamInputConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
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.
|
public VideoStreamInputConfig.Builder setStreamsWithAnnotation(int index, StreamWithAnnotation value)
repeated .google.events.cloud.visionai.v1.StreamWithAnnotation streams_with_annotation = 2;
public VideoStreamInputConfig.Builder setStreamsWithAnnotation(int index, StreamWithAnnotation.Builder builderForValue)
repeated .google.events.cloud.visionai.v1.StreamWithAnnotation streams_with_annotation = 2;
public final VideoStreamInputConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides