public static final class StreamingAnnotateVideoRequest.Builder extends GeneratedMessage.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
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > StreamingAnnotateVideoRequest.BuilderImplements
StreamingAnnotateVideoRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public StreamingAnnotateVideoRequest build()| Returns | |
|---|---|
| Type | Description |
StreamingAnnotateVideoRequest |
|
buildPartial()
public StreamingAnnotateVideoRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
StreamingAnnotateVideoRequest |
|
clear()
public StreamingAnnotateVideoRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
StreamingAnnotateVideoRequest.Builder |
|
clearInputContent()
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.
Note: as with all bytes fields, protobuffers use a pure binary
representation (not base64).
bytes input_content = 2;
| Returns | |
|---|---|
| Type | Description |
StreamingAnnotateVideoRequest.Builder |
This builder for chaining. |
clearStreamingRequest()
public StreamingAnnotateVideoRequest.Builder clearStreamingRequest()| Returns | |
|---|---|
| Type | Description |
StreamingAnnotateVideoRequest.Builder |
|
clearVideoConfig()
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;
| Returns | |
|---|---|
| Type | Description |
StreamingAnnotateVideoRequest.Builder |
|
getDefaultInstanceForType()
public StreamingAnnotateVideoRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
StreamingAnnotateVideoRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getInputContent()
public 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.
Note: as with all bytes fields, protobuffers use a pure binary
representation (not base64).
bytes input_content = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The inputContent. |
getStreamingRequestCase()
public StreamingAnnotateVideoRequest.StreamingRequestCase getStreamingRequestCase()| Returns | |
|---|---|
| Type | Description |
StreamingAnnotateVideoRequest.StreamingRequestCase |
|
getVideoConfig()
public 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;
| Returns | |
|---|---|
| Type | Description |
StreamingVideoConfig |
The videoConfig. |
getVideoConfigBuilder()
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;
| Returns | |
|---|---|
| Type | Description |
StreamingVideoConfig.Builder |
|
getVideoConfigOrBuilder()
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;
| Returns | |
|---|---|
| Type | Description |
StreamingVideoConfigOrBuilder |
|
hasInputContent()
public boolean hasInputContent() 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.
Note: as with all bytes fields, protobuffers use a pure binary
representation (not base64).
bytes input_content = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the inputContent field is set. |
hasVideoConfig()
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;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the videoConfig field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(StreamingAnnotateVideoRequest other)
public StreamingAnnotateVideoRequest.Builder mergeFrom(StreamingAnnotateVideoRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
StreamingAnnotateVideoRequest |
| Returns | |
|---|---|
| Type | Description |
StreamingAnnotateVideoRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public StreamingAnnotateVideoRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
StreamingAnnotateVideoRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public StreamingAnnotateVideoRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
StreamingAnnotateVideoRequest.Builder |
|
mergeVideoConfig(StreamingVideoConfig value)
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;
| Parameter | |
|---|---|
| Name | Description |
value |
StreamingVideoConfig |
| Returns | |
|---|---|
| Type | Description |
StreamingAnnotateVideoRequest.Builder |
|
setInputContent(ByteString value)
public StreamingAnnotateVideoRequest.Builder setInputContent(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.
Note: as with all bytes fields, protobuffers use a pure binary
representation (not base64).
bytes input_content = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe inputContent to set. |
| Returns | |
|---|---|
| Type | Description |
StreamingAnnotateVideoRequest.Builder |
This builder for chaining. |
setVideoConfig(StreamingVideoConfig value)
public 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;
| Parameter | |
|---|---|
| Name | Description |
value |
StreamingVideoConfig |
| Returns | |
|---|---|
| Type | Description |
StreamingAnnotateVideoRequest.Builder |
|
setVideoConfig(StreamingVideoConfig.Builder builderForValue)
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;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
StreamingVideoConfig.Builder |
| Returns | |
|---|---|
| Type | Description |
StreamingAnnotateVideoRequest.Builder |
|