Interface StreamingAnnotateVideoRequestOrBuilder (2.11.0)

public interface StreamingAnnotateVideoRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getInputContent()

public abstract 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
TypeDescription
ByteString

The inputContent.

getStreamingRequestCase()

public abstract StreamingAnnotateVideoRequest.StreamingRequestCase getStreamingRequestCase()
Returns
TypeDescription
StreamingAnnotateVideoRequest.StreamingRequestCase

getVideoConfig()

public abstract 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
TypeDescription
StreamingVideoConfig

The videoConfig.

getVideoConfigOrBuilder()

public abstract 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
TypeDescription
StreamingVideoConfigOrBuilder

hasInputContent()

public abstract 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
TypeDescription
boolean

Whether the inputContent field is set.

hasVideoConfig()

public abstract 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
TypeDescription
boolean

Whether the videoConfig field is set.