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.events.cloud.visionai.v1.VideoStreamInputConfig
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > VideoStreamInputConfigImplements
VideoStreamInputConfigOrBuilderStatic 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 |
getDefaultInstanceForType()
public VideoStreamInputConfig getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
VideoStreamInputConfig |
getParserForType()
public Parser<VideoStreamInputConfig> getParserForType()
Returns | |
---|---|
Type | Description |
Parser<VideoStreamInputConfig> |
getSerializedSize()
public int getSerializedSize()
Returns | |
---|---|
Type | Description |
int |
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 |
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> |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns | |
---|---|
Type | Description |
UnknownFieldSet |
hashCode()
public int hashCode()
Returns | |
---|---|
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
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 |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter | |
---|---|
Name | Description |
unused |
UnusedPrivateParameter |
Returns | |
---|---|
Type | Description |
Object |
toBuilder()
public VideoStreamInputConfig.Builder toBuilder()
Returns | |
---|---|
Type | Description |
VideoStreamInputConfig.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter | |
---|---|
Name | Description |
output |
CodedOutputStream |
Exceptions | |
---|---|
Type | Description |
IOException |