public static final class StreamingAnnotateVideoRequest.Builder extends 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 type google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public StreamingAnnotateVideoRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public StreamingAnnotateVideoRequest build()
buildPartial()
public StreamingAnnotateVideoRequest buildPartial()
clear()
public StreamingAnnotateVideoRequest.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public StreamingAnnotateVideoRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
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;
clearOneof(Descriptors.OneofDescriptor oneof)
public StreamingAnnotateVideoRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearStreamingRequest()
public StreamingAnnotateVideoRequest.Builder clearStreamingRequest()
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;
clone()
public StreamingAnnotateVideoRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public StreamingAnnotateVideoRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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;
getStreamingRequestCase()
public StreamingAnnotateVideoRequest.StreamingRequestCase getStreamingRequestCase()
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;
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;
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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(StreamingAnnotateVideoRequest other)
public StreamingAnnotateVideoRequest.Builder mergeFrom(StreamingAnnotateVideoRequest other)
public StreamingAnnotateVideoRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public StreamingAnnotateVideoRequest.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final StreamingAnnotateVideoRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
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;
setField(Descriptors.FieldDescriptor field, Object value)
public StreamingAnnotateVideoRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
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 | ByteString
The inputContent to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public StreamingAnnotateVideoRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final StreamingAnnotateVideoRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
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;
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;