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.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
hasInputContent()
The video data to be annotated.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(StreamingAnnotateVideoRequest other)
StreamingAnnotateVideoRequest.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
StreamingAnnotateVideoRequest.Builder
mergeFrom(com.google.protobuf.Message 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 value)
Provides information to the annotator, specifing how to process the request.StreamingAnnotateVideoRequest.Builder
setVideoConfig(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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<StreamingAnnotateVideoRequest.Builder>
-
clear
public StreamingAnnotateVideoRequest.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<StreamingAnnotateVideoRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<StreamingAnnotateVideoRequest.Builder>
-
getDefaultInstanceForType
public StreamingAnnotateVideoRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public StreamingAnnotateVideoRequest build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public StreamingAnnotateVideoRequest buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public StreamingAnnotateVideoRequest.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<StreamingAnnotateVideoRequest.Builder>
-
setField
public StreamingAnnotateVideoRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<StreamingAnnotateVideoRequest.Builder>
-
clearField
public StreamingAnnotateVideoRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<StreamingAnnotateVideoRequest.Builder>
-
clearOneof
public StreamingAnnotateVideoRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<StreamingAnnotateVideoRequest.Builder>
-
setRepeatedField
public StreamingAnnotateVideoRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<StreamingAnnotateVideoRequest.Builder>
-
addRepeatedField
public StreamingAnnotateVideoRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<StreamingAnnotateVideoRequest.Builder>
-
mergeFrom
public StreamingAnnotateVideoRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<StreamingAnnotateVideoRequest.Builder>
-
mergeFrom
public StreamingAnnotateVideoRequest.Builder mergeFrom(StreamingAnnotateVideoRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<StreamingAnnotateVideoRequest.Builder>
- Throws:
IOException
-
getStreamingRequestCase
public StreamingAnnotateVideoRequest.StreamingRequestCase getStreamingRequestCase()
- Specified by:
getStreamingRequestCase
in 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:
hasVideoConfig
in 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:
getVideoConfig
in 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:
getVideoConfigOrBuilder
in 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:
hasInputContent
in 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:
getInputContent
in 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:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<StreamingAnnotateVideoRequest.Builder>
-
mergeUnknownFields
public final StreamingAnnotateVideoRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<StreamingAnnotateVideoRequest.Builder>
-
-