public static final class StreamingAnnotateVideoRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<StreamingAnnotateVideoRequest.Builder> implements StreamingAnnotateVideoRequestOrBuilder
The top-level message sent by the client for the `StreamingAnnotateVideo` method. Multiple `StreamingAnnotateVideoRequest` messages are sent. The first message must only contain a `StreamingVideoConfig` message. All subsequent messages must only contain `input_content` data.Protobuf type
google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest| Modifier and Type | Method and Description |
|---|---|
StreamingAnnotateVideoRequest.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
StreamingAnnotateVideoRequest |
build() |
StreamingAnnotateVideoRequest |
buildPartial() |
StreamingAnnotateVideoRequest.Builder |
clear() |
StreamingAnnotateVideoRequest.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
StreamingAnnotateVideoRequest.Builder |
clearInputContent()
The video data to be annotated.
|
StreamingAnnotateVideoRequest.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
StreamingAnnotateVideoRequest.Builder |
clearStreamingRequest() |
StreamingAnnotateVideoRequest.Builder |
clearVideoConfig()
Provides information to the annotator, specifing how to process the
request.
|
StreamingAnnotateVideoRequest.Builder |
clone() |
StreamingAnnotateVideoRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
com.google.protobuf.ByteString |
getInputContent()
The video data to be annotated.
|
StreamingAnnotateVideoRequest.StreamingRequestCase |
getStreamingRequestCase() |
StreamingVideoConfig |
getVideoConfig()
Provides information to the annotator, specifing how to process the
request.
|
StreamingVideoConfig.Builder |
getVideoConfigBuilder()
Provides information to the annotator, specifing how to process the
request.
|
StreamingVideoConfigOrBuilder |
getVideoConfigOrBuilder()
Provides information to the annotator, specifing how to process the
request.
|
boolean |
hasVideoConfig()
Provides information to the annotator, specifing how to process the
request.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
StreamingAnnotateVideoRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
StreamingAnnotateVideoRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
StreamingAnnotateVideoRequest.Builder |
mergeFrom(StreamingAnnotateVideoRequest other) |
StreamingAnnotateVideoRequest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
StreamingAnnotateVideoRequest.Builder |
mergeVideoConfig(StreamingVideoConfig value)
Provides information to the annotator, specifing how to process the
request.
|
StreamingAnnotateVideoRequest.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
StreamingAnnotateVideoRequest.Builder |
setInputContent(com.google.protobuf.ByteString value)
The video data to be annotated.
|
StreamingAnnotateVideoRequest.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
StreamingAnnotateVideoRequest.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
StreamingAnnotateVideoRequest.Builder |
setVideoConfig(StreamingVideoConfig.Builder builderForValue)
Provides information to the annotator, specifing how to process the
request.
|
StreamingAnnotateVideoRequest.Builder |
setVideoConfig(StreamingVideoConfig value)
Provides information to the annotator, specifing how to process the
request.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<StreamingAnnotateVideoRequest.Builder>public StreamingAnnotateVideoRequest.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<StreamingAnnotateVideoRequest.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<StreamingAnnotateVideoRequest.Builder>public StreamingAnnotateVideoRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic StreamingAnnotateVideoRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic StreamingAnnotateVideoRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic StreamingAnnotateVideoRequest.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<StreamingAnnotateVideoRequest.Builder>public StreamingAnnotateVideoRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<StreamingAnnotateVideoRequest.Builder>public StreamingAnnotateVideoRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<StreamingAnnotateVideoRequest.Builder>public StreamingAnnotateVideoRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<StreamingAnnotateVideoRequest.Builder>public StreamingAnnotateVideoRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<StreamingAnnotateVideoRequest.Builder>public StreamingAnnotateVideoRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<StreamingAnnotateVideoRequest.Builder>public StreamingAnnotateVideoRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<StreamingAnnotateVideoRequest.Builder>public StreamingAnnotateVideoRequest.Builder mergeFrom(StreamingAnnotateVideoRequest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<StreamingAnnotateVideoRequest.Builder>public StreamingAnnotateVideoRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<StreamingAnnotateVideoRequest.Builder>IOExceptionpublic StreamingAnnotateVideoRequest.StreamingRequestCase getStreamingRequestCase()
getStreamingRequestCase in interface StreamingAnnotateVideoRequestOrBuilderpublic StreamingAnnotateVideoRequest.Builder clearStreamingRequest()
public boolean hasVideoConfig()
Provides information to the annotator, specifing how to process the request. The first `AnnotateStreamingVideoRequest` message must only contain a `video_config` message.
.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig video_config = 1;hasVideoConfig in interface StreamingAnnotateVideoRequestOrBuilderpublic StreamingVideoConfig getVideoConfig()
Provides information to the annotator, specifing how to process the request. The first `AnnotateStreamingVideoRequest` message must only contain a `video_config` message.
.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig video_config = 1;getVideoConfig in interface StreamingAnnotateVideoRequestOrBuilderpublic StreamingAnnotateVideoRequest.Builder setVideoConfig(StreamingVideoConfig value)
Provides information to the annotator, specifing how to process the request. The first `AnnotateStreamingVideoRequest` message must only contain a `video_config` message.
.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig video_config = 1;public StreamingAnnotateVideoRequest.Builder setVideoConfig(StreamingVideoConfig.Builder builderForValue)
Provides information to the annotator, specifing how to process the request. The first `AnnotateStreamingVideoRequest` message must only contain a `video_config` message.
.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig video_config = 1;public StreamingAnnotateVideoRequest.Builder mergeVideoConfig(StreamingVideoConfig value)
Provides information to the annotator, specifing how to process the request. The first `AnnotateStreamingVideoRequest` message must only contain a `video_config` message.
.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig video_config = 1;public StreamingAnnotateVideoRequest.Builder clearVideoConfig()
Provides information to the annotator, specifing how to process the request. The first `AnnotateStreamingVideoRequest` message must only contain a `video_config` message.
.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig video_config = 1;public StreamingVideoConfig.Builder getVideoConfigBuilder()
Provides information to the annotator, specifing how to process the request. The first `AnnotateStreamingVideoRequest` message must only contain a `video_config` message.
.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig video_config = 1;public StreamingVideoConfigOrBuilder getVideoConfigOrBuilder()
Provides information to the annotator, specifing how to process the request. The first `AnnotateStreamingVideoRequest` message must only contain a `video_config` message.
.google.cloud.videointelligence.v1p3beta1.StreamingVideoConfig video_config = 1;getVideoConfigOrBuilder in interface StreamingAnnotateVideoRequestOrBuilderpublic com.google.protobuf.ByteString getInputContent()
The video data to be annotated. Chunks of video data are sequentially sent in `StreamingAnnotateVideoRequest` messages. Except the initial `StreamingAnnotateVideoRequest` message containing only `video_config`, all subsequent `AnnotateStreamingVideoRequest` messages must only contain `input_content` field.
bytes input_content = 2;getInputContent in interface StreamingAnnotateVideoRequestOrBuilderpublic StreamingAnnotateVideoRequest.Builder setInputContent(com.google.protobuf.ByteString value)
The video data to be annotated. Chunks of video data are sequentially sent in `StreamingAnnotateVideoRequest` messages. Except the initial `StreamingAnnotateVideoRequest` message containing only `video_config`, all subsequent `AnnotateStreamingVideoRequest` messages must only contain `input_content` field.
bytes input_content = 2;public StreamingAnnotateVideoRequest.Builder clearInputContent()
The video data to be annotated. Chunks of video data are sequentially sent in `StreamingAnnotateVideoRequest` messages. Except the initial `StreamingAnnotateVideoRequest` message containing only `video_config`, all subsequent `AnnotateStreamingVideoRequest` messages must only contain `input_content` field.
bytes input_content = 2;public final StreamingAnnotateVideoRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<StreamingAnnotateVideoRequest.Builder>public final StreamingAnnotateVideoRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<StreamingAnnotateVideoRequest.Builder>Copyright © 2019 Google LLC. All rights reserved.