public static final class StreamingAnnotateVideoResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<StreamingAnnotateVideoResponse.Builder> implements StreamingAnnotateVideoResponseOrBuilder
`StreamingAnnotateVideoResponse` is the only message returned to the client by `StreamingAnnotateVideo`. A series of zero or more `StreamingAnnotateVideoResponse` messages are streamed back to the client.Protobuf type
google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse| Modifier and Type | Method and Description |
|---|---|
StreamingAnnotateVideoResponse.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
StreamingAnnotateVideoResponse |
build() |
StreamingAnnotateVideoResponse |
buildPartial() |
StreamingAnnotateVideoResponse.Builder |
clear() |
StreamingAnnotateVideoResponse.Builder |
clearAnnotationResults()
Streaming annotation results.
|
StreamingAnnotateVideoResponse.Builder |
clearAnnotationResultsUri()
GCS URI that stores annotation results of one streaming session.
|
StreamingAnnotateVideoResponse.Builder |
clearError()
If set, returns a [google.rpc.Status][google.rpc.Status] message that
specifies the error for the operation.
|
StreamingAnnotateVideoResponse.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
StreamingAnnotateVideoResponse.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
StreamingAnnotateVideoResponse.Builder |
clone() |
StreamingVideoAnnotationResults |
getAnnotationResults()
Streaming annotation results.
|
StreamingVideoAnnotationResults.Builder |
getAnnotationResultsBuilder()
Streaming annotation results.
|
StreamingVideoAnnotationResultsOrBuilder |
getAnnotationResultsOrBuilder()
Streaming annotation results.
|
String |
getAnnotationResultsUri()
GCS URI that stores annotation results of one streaming session.
|
com.google.protobuf.ByteString |
getAnnotationResultsUriBytes()
GCS URI that stores annotation results of one streaming session.
|
StreamingAnnotateVideoResponse |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
com.google.rpc.Status |
getError()
If set, returns a [google.rpc.Status][google.rpc.Status] message that
specifies the error for the operation.
|
com.google.rpc.Status.Builder |
getErrorBuilder()
If set, returns a [google.rpc.Status][google.rpc.Status] message that
specifies the error for the operation.
|
com.google.rpc.StatusOrBuilder |
getErrorOrBuilder()
If set, returns a [google.rpc.Status][google.rpc.Status] message that
specifies the error for the operation.
|
boolean |
hasAnnotationResults()
Streaming annotation results.
|
boolean |
hasError()
If set, returns a [google.rpc.Status][google.rpc.Status] message that
specifies the error for the operation.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
StreamingAnnotateVideoResponse.Builder |
mergeAnnotationResults(StreamingVideoAnnotationResults value)
Streaming annotation results.
|
StreamingAnnotateVideoResponse.Builder |
mergeError(com.google.rpc.Status value)
If set, returns a [google.rpc.Status][google.rpc.Status] message that
specifies the error for the operation.
|
StreamingAnnotateVideoResponse.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
StreamingAnnotateVideoResponse.Builder |
mergeFrom(com.google.protobuf.Message other) |
StreamingAnnotateVideoResponse.Builder |
mergeFrom(StreamingAnnotateVideoResponse other) |
StreamingAnnotateVideoResponse.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
StreamingAnnotateVideoResponse.Builder |
setAnnotationResults(StreamingVideoAnnotationResults.Builder builderForValue)
Streaming annotation results.
|
StreamingAnnotateVideoResponse.Builder |
setAnnotationResults(StreamingVideoAnnotationResults value)
Streaming annotation results.
|
StreamingAnnotateVideoResponse.Builder |
setAnnotationResultsUri(String value)
GCS URI that stores annotation results of one streaming session.
|
StreamingAnnotateVideoResponse.Builder |
setAnnotationResultsUriBytes(com.google.protobuf.ByteString value)
GCS URI that stores annotation results of one streaming session.
|
StreamingAnnotateVideoResponse.Builder |
setError(com.google.rpc.Status.Builder builderForValue)
If set, returns a [google.rpc.Status][google.rpc.Status] message that
specifies the error for the operation.
|
StreamingAnnotateVideoResponse.Builder |
setError(com.google.rpc.Status value)
If set, returns a [google.rpc.Status][google.rpc.Status] message that
specifies the error for the operation.
|
StreamingAnnotateVideoResponse.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
StreamingAnnotateVideoResponse.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
StreamingAnnotateVideoResponse.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<StreamingAnnotateVideoResponse.Builder>public StreamingAnnotateVideoResponse.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<StreamingAnnotateVideoResponse.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<StreamingAnnotateVideoResponse.Builder>public StreamingAnnotateVideoResponse getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic StreamingAnnotateVideoResponse build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic StreamingAnnotateVideoResponse buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic StreamingAnnotateVideoResponse.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<StreamingAnnotateVideoResponse.Builder>public StreamingAnnotateVideoResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<StreamingAnnotateVideoResponse.Builder>public StreamingAnnotateVideoResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<StreamingAnnotateVideoResponse.Builder>public StreamingAnnotateVideoResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<StreamingAnnotateVideoResponse.Builder>public StreamingAnnotateVideoResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<StreamingAnnotateVideoResponse.Builder>public StreamingAnnotateVideoResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<StreamingAnnotateVideoResponse.Builder>public StreamingAnnotateVideoResponse.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<StreamingAnnotateVideoResponse.Builder>public StreamingAnnotateVideoResponse.Builder mergeFrom(StreamingAnnotateVideoResponse other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<StreamingAnnotateVideoResponse.Builder>public StreamingAnnotateVideoResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<StreamingAnnotateVideoResponse.Builder>IOExceptionpublic boolean hasError()
If set, returns a [google.rpc.Status][google.rpc.Status] message that specifies the error for the operation.
.google.rpc.Status error = 1;hasError in interface StreamingAnnotateVideoResponseOrBuilderpublic com.google.rpc.Status getError()
If set, returns a [google.rpc.Status][google.rpc.Status] message that specifies the error for the operation.
.google.rpc.Status error = 1;getError in interface StreamingAnnotateVideoResponseOrBuilderpublic StreamingAnnotateVideoResponse.Builder setError(com.google.rpc.Status value)
If set, returns a [google.rpc.Status][google.rpc.Status] message that specifies the error for the operation.
.google.rpc.Status error = 1;public StreamingAnnotateVideoResponse.Builder setError(com.google.rpc.Status.Builder builderForValue)
If set, returns a [google.rpc.Status][google.rpc.Status] message that specifies the error for the operation.
.google.rpc.Status error = 1;public StreamingAnnotateVideoResponse.Builder mergeError(com.google.rpc.Status value)
If set, returns a [google.rpc.Status][google.rpc.Status] message that specifies the error for the operation.
.google.rpc.Status error = 1;public StreamingAnnotateVideoResponse.Builder clearError()
If set, returns a [google.rpc.Status][google.rpc.Status] message that specifies the error for the operation.
.google.rpc.Status error = 1;public com.google.rpc.Status.Builder getErrorBuilder()
If set, returns a [google.rpc.Status][google.rpc.Status] message that specifies the error for the operation.
.google.rpc.Status error = 1;public com.google.rpc.StatusOrBuilder getErrorOrBuilder()
If set, returns a [google.rpc.Status][google.rpc.Status] message that specifies the error for the operation.
.google.rpc.Status error = 1;getErrorOrBuilder in interface StreamingAnnotateVideoResponseOrBuilderpublic boolean hasAnnotationResults()
Streaming annotation results.
.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults annotation_results = 2;
hasAnnotationResults in interface StreamingAnnotateVideoResponseOrBuilderpublic StreamingVideoAnnotationResults getAnnotationResults()
Streaming annotation results.
.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults annotation_results = 2;
getAnnotationResults in interface StreamingAnnotateVideoResponseOrBuilderpublic StreamingAnnotateVideoResponse.Builder setAnnotationResults(StreamingVideoAnnotationResults value)
Streaming annotation results.
.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults annotation_results = 2;
public StreamingAnnotateVideoResponse.Builder setAnnotationResults(StreamingVideoAnnotationResults.Builder builderForValue)
Streaming annotation results.
.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults annotation_results = 2;
public StreamingAnnotateVideoResponse.Builder mergeAnnotationResults(StreamingVideoAnnotationResults value)
Streaming annotation results.
.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults annotation_results = 2;
public StreamingAnnotateVideoResponse.Builder clearAnnotationResults()
Streaming annotation results.
.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults annotation_results = 2;
public StreamingVideoAnnotationResults.Builder getAnnotationResultsBuilder()
Streaming annotation results.
.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults annotation_results = 2;
public StreamingVideoAnnotationResultsOrBuilder getAnnotationResultsOrBuilder()
Streaming annotation results.
.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults annotation_results = 2;
getAnnotationResultsOrBuilder in interface StreamingAnnotateVideoResponseOrBuilderpublic String getAnnotationResultsUri()
GCS URI that stores annotation results of one streaming session. It is a directory that can hold multiple files in JSON format. Example uri format: gs://bucket_id/object_id/cloud_project_name-session_id
string annotation_results_uri = 3;getAnnotationResultsUri in interface StreamingAnnotateVideoResponseOrBuilderpublic com.google.protobuf.ByteString getAnnotationResultsUriBytes()
GCS URI that stores annotation results of one streaming session. It is a directory that can hold multiple files in JSON format. Example uri format: gs://bucket_id/object_id/cloud_project_name-session_id
string annotation_results_uri = 3;getAnnotationResultsUriBytes in interface StreamingAnnotateVideoResponseOrBuilderpublic StreamingAnnotateVideoResponse.Builder setAnnotationResultsUri(String value)
GCS URI that stores annotation results of one streaming session. It is a directory that can hold multiple files in JSON format. Example uri format: gs://bucket_id/object_id/cloud_project_name-session_id
string annotation_results_uri = 3;public StreamingAnnotateVideoResponse.Builder clearAnnotationResultsUri()
GCS URI that stores annotation results of one streaming session. It is a directory that can hold multiple files in JSON format. Example uri format: gs://bucket_id/object_id/cloud_project_name-session_id
string annotation_results_uri = 3;public StreamingAnnotateVideoResponse.Builder setAnnotationResultsUriBytes(com.google.protobuf.ByteString value)
GCS URI that stores annotation results of one streaming session. It is a directory that can hold multiple files in JSON format. Example uri format: gs://bucket_id/object_id/cloud_project_name-session_id
string annotation_results_uri = 3;public final StreamingAnnotateVideoResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<StreamingAnnotateVideoResponse.Builder>public final StreamingAnnotateVideoResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<StreamingAnnotateVideoResponse.Builder>Copyright © 2019 Google LLC. All rights reserved.