Interface StreamingAnnotateVideoRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
StreamingAnnotateVideoRequest,StreamingAnnotateVideoRequest.Builder
public interface StreamingAnnotateVideoRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.google.protobuf.ByteStringgetInputContent()The video data to be annotated.StreamingAnnotateVideoRequest.StreamingRequestCasegetStreamingRequestCase()StreamingVideoConfiggetVideoConfig()Provides information to the annotator, specifing how to process the request.StreamingVideoConfigOrBuildergetVideoConfigOrBuilder()Provides information to the annotator, specifing how to process the request.booleanhasInputContent()The video data to be annotated.booleanhasVideoConfig()Provides information to the annotator, specifing how to process the request.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasVideoConfig
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:
- Whether the videoConfig field is set.
-
getVideoConfig
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:
- The videoConfig.
-
getVideoConfigOrBuilder
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;
-
hasInputContent
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:
- Whether the inputContent field is set.
-
getInputContent
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. Note: as with all bytes fields, protobuffers use a pure binary representation (not base64).
bytes input_content = 2;- Returns:
- The inputContent.
-
getStreamingRequestCase
StreamingAnnotateVideoRequest.StreamingRequestCase getStreamingRequestCase()
-
-