Class StreamingAnnotateVideoResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<StreamingAnnotateVideoResponse.Builder>
com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse.Builder
- All Implemented Interfaces:
StreamingAnnotateVideoResponseOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- StreamingAnnotateVideoResponse
public static final class StreamingAnnotateVideoResponse.Builder
extends com.google.protobuf.GeneratedMessage.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-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Streaming annotation results.Google Cloud Storage(GCS) URI that stores annotation results of one streaming session in JSON format.If set, returns a [google.rpc.Status][google.rpc.Status] message that specifies the error for the operation.Streaming annotation results.Streaming annotation results.Streaming annotation results.Google Cloud Storage(GCS) URI that stores annotation results of one streaming session in JSON format.com.google.protobuf.ByteStringGoogle Cloud Storage(GCS) URI that stores annotation results of one streaming session in JSON format.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetError()If set, returns a [google.rpc.Status][google.rpc.Status] message that specifies the error for the operation.If set, returns a [google.rpc.Status][google.rpc.Status] message that specifies the error for the operation.If set, returns a [google.rpc.Status][google.rpc.Status] message that specifies the error for the operation.booleanStreaming annotation results.booleanhasError()If set, returns a [google.rpc.Status][google.rpc.Status] message that specifies the error for the operation.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanStreaming annotation results.mergeError(Status value) If set, returns a [google.rpc.Status][google.rpc.Status] message that specifies the error for the operation.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Streaming annotation results.setAnnotationResults(StreamingVideoAnnotationResults.Builder builderForValue) Streaming annotation results.setAnnotationResultsUri(String value) Google Cloud Storage(GCS) URI that stores annotation results of one streaming session in JSON format.setAnnotationResultsUriBytes(com.google.protobuf.ByteString value) Google Cloud Storage(GCS) URI that stores annotation results of one streaming session in JSON format.If set, returns a [google.rpc.Status][google.rpc.Status] message that specifies the error for the operation.setError(Status.Builder builderForValue) If set, returns a [google.rpc.Status][google.rpc.Status] message that specifies the error for the operation.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<StreamingAnnotateVideoResponse.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<StreamingAnnotateVideoResponse.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.GeneratedMessage.Builder<StreamingAnnotateVideoResponse.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<StreamingAnnotateVideoResponse.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<StreamingAnnotateVideoResponse.Builder>
-
mergeFrom
public StreamingAnnotateVideoResponse.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<StreamingAnnotateVideoResponse.Builder>- Throws:
IOException
-
hasError
public 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;- Specified by:
hasErrorin interfaceStreamingAnnotateVideoResponseOrBuilder- Returns:
- Whether the error field is set.
-
getError
If set, returns a [google.rpc.Status][google.rpc.Status] message that specifies the error for the operation.
.google.rpc.Status error = 1;- Specified by:
getErrorin interfaceStreamingAnnotateVideoResponseOrBuilder- Returns:
- The error.
-
setError
If set, returns a [google.rpc.Status][google.rpc.Status] message that specifies the error for the operation.
.google.rpc.Status error = 1; -
setError
If set, returns a [google.rpc.Status][google.rpc.Status] message that specifies the error for the operation.
.google.rpc.Status error = 1; -
mergeError
If set, returns a [google.rpc.Status][google.rpc.Status] message that specifies the error for the operation.
.google.rpc.Status error = 1; -
clearError
If set, returns a [google.rpc.Status][google.rpc.Status] message that specifies the error for the operation.
.google.rpc.Status error = 1; -
getErrorBuilder
If set, returns a [google.rpc.Status][google.rpc.Status] message that specifies the error for the operation.
.google.rpc.Status error = 1; -
getErrorOrBuilder
If set, returns a [google.rpc.Status][google.rpc.Status] message that specifies the error for the operation.
.google.rpc.Status error = 1;- Specified by:
getErrorOrBuilderin interfaceStreamingAnnotateVideoResponseOrBuilder
-
hasAnnotationResults
public boolean hasAnnotationResults()Streaming annotation results.
.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults annotation_results = 2;- Specified by:
hasAnnotationResultsin interfaceStreamingAnnotateVideoResponseOrBuilder- Returns:
- Whether the annotationResults field is set.
-
getAnnotationResults
Streaming annotation results.
.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults annotation_results = 2;- Specified by:
getAnnotationResultsin interfaceStreamingAnnotateVideoResponseOrBuilder- Returns:
- The annotationResults.
-
setAnnotationResults
public StreamingAnnotateVideoResponse.Builder setAnnotationResults(StreamingVideoAnnotationResults value) Streaming annotation results.
.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults annotation_results = 2; -
setAnnotationResults
public StreamingAnnotateVideoResponse.Builder setAnnotationResults(StreamingVideoAnnotationResults.Builder builderForValue) Streaming annotation results.
.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults annotation_results = 2; -
mergeAnnotationResults
public StreamingAnnotateVideoResponse.Builder mergeAnnotationResults(StreamingVideoAnnotationResults value) Streaming annotation results.
.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults annotation_results = 2; -
clearAnnotationResults
Streaming annotation results.
.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults annotation_results = 2; -
getAnnotationResultsBuilder
Streaming annotation results.
.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults annotation_results = 2; -
getAnnotationResultsOrBuilder
Streaming annotation results.
.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults annotation_results = 2;- Specified by:
getAnnotationResultsOrBuilderin interfaceStreamingAnnotateVideoResponseOrBuilder
-
getAnnotationResultsUri
Google Cloud Storage(GCS) URI that stores annotation results of one streaming session in JSON format. It is the annotation_result_storage_directory from the request followed by '/cloud_project_number-session_id'.
string annotation_results_uri = 3;- Specified by:
getAnnotationResultsUriin interfaceStreamingAnnotateVideoResponseOrBuilder- Returns:
- The annotationResultsUri.
-
getAnnotationResultsUriBytes
public com.google.protobuf.ByteString getAnnotationResultsUriBytes()Google Cloud Storage(GCS) URI that stores annotation results of one streaming session in JSON format. It is the annotation_result_storage_directory from the request followed by '/cloud_project_number-session_id'.
string annotation_results_uri = 3;- Specified by:
getAnnotationResultsUriBytesin interfaceStreamingAnnotateVideoResponseOrBuilder- Returns:
- The bytes for annotationResultsUri.
-
setAnnotationResultsUri
Google Cloud Storage(GCS) URI that stores annotation results of one streaming session in JSON format. It is the annotation_result_storage_directory from the request followed by '/cloud_project_number-session_id'.
string annotation_results_uri = 3;- Parameters:
value- The annotationResultsUri to set.- Returns:
- This builder for chaining.
-
clearAnnotationResultsUri
Google Cloud Storage(GCS) URI that stores annotation results of one streaming session in JSON format. It is the annotation_result_storage_directory from the request followed by '/cloud_project_number-session_id'.
string annotation_results_uri = 3;- Returns:
- This builder for chaining.
-
setAnnotationResultsUriBytes
public StreamingAnnotateVideoResponse.Builder setAnnotationResultsUriBytes(com.google.protobuf.ByteString value) Google Cloud Storage(GCS) URI that stores annotation results of one streaming session in JSON format. It is the annotation_result_storage_directory from the request followed by '/cloud_project_number-session_id'.
string annotation_results_uri = 3;- Parameters:
value- The bytes for annotationResultsUri to set.- Returns:
- This builder for chaining.
-