Class StreamingAnnotateVideoResponse.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.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.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 typegoogle.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StreamingAnnotateVideoResponse.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)StreamingAnnotateVideoResponsebuild()StreamingAnnotateVideoResponsebuildPartial()StreamingAnnotateVideoResponse.Builderclear()StreamingAnnotateVideoResponse.BuilderclearAnnotationResults()Streaming annotation results.StreamingAnnotateVideoResponse.BuilderclearAnnotationResultsUri()Google Cloud Storage(GCS) URI that stores annotation results of one streaming session in JSON format.StreamingAnnotateVideoResponse.BuilderclearError()If set, returns a [google.rpc.Status][google.rpc.Status] message that specifies the error for the operation.StreamingAnnotateVideoResponse.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)StreamingAnnotateVideoResponse.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)StreamingAnnotateVideoResponse.Builderclone()StreamingVideoAnnotationResultsgetAnnotationResults()Streaming annotation results.StreamingVideoAnnotationResults.BuildergetAnnotationResultsBuilder()Streaming annotation results.StreamingVideoAnnotationResultsOrBuildergetAnnotationResultsOrBuilder()Streaming annotation results.StringgetAnnotationResultsUri()Google Cloud Storage(GCS) URI that stores annotation results of one streaming session in JSON format.com.google.protobuf.ByteStringgetAnnotationResultsUriBytes()Google Cloud Storage(GCS) URI that stores annotation results of one streaming session in JSON format.StreamingAnnotateVideoResponsegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()com.google.rpc.StatusgetError()If set, returns a [google.rpc.Status][google.rpc.Status] message that specifies the error for the operation.com.google.rpc.Status.BuildergetErrorBuilder()If set, returns a [google.rpc.Status][google.rpc.Status] message that specifies the error for the operation.com.google.rpc.StatusOrBuildergetErrorOrBuilder()If set, returns a [google.rpc.Status][google.rpc.Status] message that specifies the error for the operation.booleanhasAnnotationResults()Streaming 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.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()StreamingAnnotateVideoResponse.BuildermergeAnnotationResults(StreamingVideoAnnotationResults value)Streaming annotation results.StreamingAnnotateVideoResponse.BuildermergeError(com.google.rpc.Status value)If set, returns a [google.rpc.Status][google.rpc.Status] message that specifies the error for the operation.StreamingAnnotateVideoResponse.BuildermergeFrom(StreamingAnnotateVideoResponse other)StreamingAnnotateVideoResponse.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)StreamingAnnotateVideoResponse.BuildermergeFrom(com.google.protobuf.Message other)StreamingAnnotateVideoResponse.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)StreamingAnnotateVideoResponse.BuildersetAnnotationResults(StreamingVideoAnnotationResults value)Streaming annotation results.StreamingAnnotateVideoResponse.BuildersetAnnotationResults(StreamingVideoAnnotationResults.Builder builderForValue)Streaming annotation results.StreamingAnnotateVideoResponse.BuildersetAnnotationResultsUri(String value)Google Cloud Storage(GCS) URI that stores annotation results of one streaming session in JSON format.StreamingAnnotateVideoResponse.BuildersetAnnotationResultsUriBytes(com.google.protobuf.ByteString value)Google Cloud Storage(GCS) URI that stores annotation results of one streaming session in JSON format.StreamingAnnotateVideoResponse.BuildersetError(com.google.rpc.Status value)If set, returns a [google.rpc.Status][google.rpc.Status] message that specifies the error for the operation.StreamingAnnotateVideoResponse.BuildersetError(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.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)StreamingAnnotateVideoResponse.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)StreamingAnnotateVideoResponse.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
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<StreamingAnnotateVideoResponse.Builder>
-
clear
public StreamingAnnotateVideoResponse.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<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.GeneratedMessageV3.Builder<StreamingAnnotateVideoResponse.Builder>
-
getDefaultInstanceForType
public StreamingAnnotateVideoResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public StreamingAnnotateVideoResponse build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public StreamingAnnotateVideoResponse buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public StreamingAnnotateVideoResponse.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<StreamingAnnotateVideoResponse.Builder>
-
setField
public StreamingAnnotateVideoResponse.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<StreamingAnnotateVideoResponse.Builder>
-
clearField
public StreamingAnnotateVideoResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<StreamingAnnotateVideoResponse.Builder>
-
clearOneof
public StreamingAnnotateVideoResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<StreamingAnnotateVideoResponse.Builder>
-
setRepeatedField
public StreamingAnnotateVideoResponse.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<StreamingAnnotateVideoResponse.Builder>
-
addRepeatedField
public StreamingAnnotateVideoResponse.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<StreamingAnnotateVideoResponse.Builder>
-
mergeFrom
public StreamingAnnotateVideoResponse.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<StreamingAnnotateVideoResponse.Builder>
-
mergeFrom
public StreamingAnnotateVideoResponse.Builder mergeFrom(StreamingAnnotateVideoResponse other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.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
public 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;- Specified by:
getErrorin interfaceStreamingAnnotateVideoResponseOrBuilder- Returns:
- The error.
-
setError
public 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;
-
setError
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;
-
mergeError
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;
-
clearError
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;
-
getErrorBuilder
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;
-
getErrorOrBuilder
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;- 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
public StreamingVideoAnnotationResults 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
public StreamingAnnotateVideoResponse.Builder clearAnnotationResults()
Streaming annotation results.
.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults annotation_results = 2;
-
getAnnotationResultsBuilder
public StreamingVideoAnnotationResults.Builder getAnnotationResultsBuilder()
Streaming annotation results.
.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults annotation_results = 2;
-
getAnnotationResultsOrBuilder
public StreamingVideoAnnotationResultsOrBuilder getAnnotationResultsOrBuilder()
Streaming annotation results.
.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults annotation_results = 2;- Specified by:
getAnnotationResultsOrBuilderin interfaceStreamingAnnotateVideoResponseOrBuilder
-
getAnnotationResultsUri
public String 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
public StreamingAnnotateVideoResponse.Builder setAnnotationResultsUri(String 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 annotationResultsUri to set.- Returns:
- This builder for chaining.
-
clearAnnotationResultsUri
public StreamingAnnotateVideoResponse.Builder 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.
-
setUnknownFields
public final StreamingAnnotateVideoResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<StreamingAnnotateVideoResponse.Builder>
-
mergeUnknownFields
public final StreamingAnnotateVideoResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<StreamingAnnotateVideoResponse.Builder>
-
-