Class StreamingAnnotateVideoRequest.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<StreamingAnnotateVideoRequest.Builder>
-
- com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest.Builder
-
- All Implemented Interfaces:
StreamingAnnotateVideoRequestOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- StreamingAnnotateVideoRequest
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 typegoogle.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StreamingAnnotateVideoRequest.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)StreamingAnnotateVideoRequestbuild()StreamingAnnotateVideoRequestbuildPartial()StreamingAnnotateVideoRequest.Builderclear()StreamingAnnotateVideoRequest.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)StreamingAnnotateVideoRequest.BuilderclearInputContent()The video data to be annotated.StreamingAnnotateVideoRequest.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)StreamingAnnotateVideoRequest.BuilderclearStreamingRequest()StreamingAnnotateVideoRequest.BuilderclearVideoConfig()Provides information to the annotator, specifing how to process the request.StreamingAnnotateVideoRequest.Builderclone()StreamingAnnotateVideoRequestgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()com.google.protobuf.ByteStringgetInputContent()The video data to be annotated.StreamingAnnotateVideoRequest.StreamingRequestCasegetStreamingRequestCase()StreamingVideoConfiggetVideoConfig()Provides information to the annotator, specifing how to process the request.StreamingVideoConfig.BuildergetVideoConfigBuilder()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.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()StreamingAnnotateVideoRequest.BuildermergeFrom(StreamingAnnotateVideoRequest other)StreamingAnnotateVideoRequest.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)StreamingAnnotateVideoRequest.BuildermergeFrom(com.google.protobuf.Message other)StreamingAnnotateVideoRequest.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)StreamingAnnotateVideoRequest.BuildermergeVideoConfig(StreamingVideoConfig value)Provides information to the annotator, specifing how to process the request.StreamingAnnotateVideoRequest.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)StreamingAnnotateVideoRequest.BuildersetInputContent(com.google.protobuf.ByteString value)The video data to be annotated.StreamingAnnotateVideoRequest.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)StreamingAnnotateVideoRequest.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)StreamingAnnotateVideoRequest.BuildersetVideoConfig(StreamingVideoConfig value)Provides information to the annotator, specifing how to process the request.StreamingAnnotateVideoRequest.BuildersetVideoConfig(StreamingVideoConfig.Builder builderForValue)Provides information to the annotator, specifing how to process the request.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<StreamingAnnotateVideoRequest.Builder>
-
clear
public StreamingAnnotateVideoRequest.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<StreamingAnnotateVideoRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<StreamingAnnotateVideoRequest.Builder>
-
getDefaultInstanceForType
public StreamingAnnotateVideoRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public StreamingAnnotateVideoRequest build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public StreamingAnnotateVideoRequest buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public StreamingAnnotateVideoRequest.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<StreamingAnnotateVideoRequest.Builder>
-
setField
public StreamingAnnotateVideoRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<StreamingAnnotateVideoRequest.Builder>
-
clearField
public StreamingAnnotateVideoRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<StreamingAnnotateVideoRequest.Builder>
-
clearOneof
public StreamingAnnotateVideoRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<StreamingAnnotateVideoRequest.Builder>
-
setRepeatedField
public StreamingAnnotateVideoRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<StreamingAnnotateVideoRequest.Builder>
-
addRepeatedField
public StreamingAnnotateVideoRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<StreamingAnnotateVideoRequest.Builder>
-
mergeFrom
public StreamingAnnotateVideoRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<StreamingAnnotateVideoRequest.Builder>
-
mergeFrom
public StreamingAnnotateVideoRequest.Builder mergeFrom(StreamingAnnotateVideoRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<StreamingAnnotateVideoRequest.Builder>
-
mergeFrom
public StreamingAnnotateVideoRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<StreamingAnnotateVideoRequest.Builder>- Throws:
IOException
-
getStreamingRequestCase
public StreamingAnnotateVideoRequest.StreamingRequestCase getStreamingRequestCase()
- Specified by:
getStreamingRequestCasein interfaceStreamingAnnotateVideoRequestOrBuilder
-
clearStreamingRequest
public StreamingAnnotateVideoRequest.Builder clearStreamingRequest()
-
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;- Specified by:
hasVideoConfigin interfaceStreamingAnnotateVideoRequestOrBuilder- Returns:
- Whether the videoConfig field is set.
-
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;- Specified by:
getVideoConfigin interfaceStreamingAnnotateVideoRequestOrBuilder- Returns:
- The videoConfig.
-
setVideoConfig
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;
-
setVideoConfig
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;
-
mergeVideoConfig
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;
-
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;
-
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;
-
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;- Specified by:
getVideoConfigOrBuilderin interfaceStreamingAnnotateVideoRequestOrBuilder
-
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;- Specified by:
hasInputContentin interfaceStreamingAnnotateVideoRequestOrBuilder- Returns:
- Whether the inputContent field is set.
-
getInputContent
public 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;- Specified by:
getInputContentin interfaceStreamingAnnotateVideoRequestOrBuilder- Returns:
- The inputContent.
-
setInputContent
public 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. Note: as with all bytes fields, protobuffers use a pure binary representation (not base64).
bytes input_content = 2;- Parameters:
value- The inputContent to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setUnknownFields
public final StreamingAnnotateVideoRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<StreamingAnnotateVideoRequest.Builder>
-
mergeUnknownFields
public final StreamingAnnotateVideoRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<StreamingAnnotateVideoRequest.Builder>
-
-