public static final class StreamingAnnotateVideoResponse.Builder extends 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
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public StreamingAnnotateVideoResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public StreamingAnnotateVideoResponse build()
Returns
buildPartial()
public StreamingAnnotateVideoResponse buildPartial()
Returns
clear()
public StreamingAnnotateVideoResponse.Builder clear()
Returns
Overrides
clearAnnotationResults()
public StreamingAnnotateVideoResponse.Builder clearAnnotationResults()
Streaming annotation results.
.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults annotation_results = 2;
Returns
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
clearError()
public StreamingAnnotateVideoResponse.Builder clearError()
If set, returns a google.rpc.Status message that
specifies the error for the operation.
.google.rpc.Status error = 1;
Returns
clearField(Descriptors.FieldDescriptor field)
public StreamingAnnotateVideoResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public StreamingAnnotateVideoResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public StreamingAnnotateVideoResponse.Builder clone()
Returns
Overrides
getAnnotationResults()
public StreamingVideoAnnotationResults getAnnotationResults()
Streaming annotation results.
.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults annotation_results = 2;
Returns
getAnnotationResultsBuilder()
public StreamingVideoAnnotationResults.Builder getAnnotationResultsBuilder()
Streaming annotation results.
.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults annotation_results = 2;
Returns
getAnnotationResultsOrBuilder()
public StreamingVideoAnnotationResultsOrBuilder getAnnotationResultsOrBuilder()
Streaming annotation results.
.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults annotation_results = 2;
Returns
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;
Returns
Type | Description |
String | The annotationResultsUri.
|
getAnnotationResultsUriBytes()
public 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;
Returns
Type | Description |
ByteString | The bytes for annotationResultsUri.
|
getDefaultInstanceForType()
public StreamingAnnotateVideoResponse getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getError()
If set, returns a google.rpc.Status message that
specifies the error for the operation.
.google.rpc.Status error = 1;
Returns
Type | Description |
com.google.rpc.Status | The error.
|
getErrorBuilder()
public Status.Builder getErrorBuilder()
If set, returns a google.rpc.Status message that
specifies the error for the operation.
.google.rpc.Status error = 1;
Returns
Type | Description |
com.google.rpc.Status.Builder | |
getErrorOrBuilder()
public StatusOrBuilder getErrorOrBuilder()
If set, returns a google.rpc.Status message that
specifies the error for the operation.
.google.rpc.Status error = 1;
Returns
Type | Description |
com.google.rpc.StatusOrBuilder | |
hasAnnotationResults()
public boolean hasAnnotationResults()
Streaming annotation results.
.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults annotation_results = 2;
Returns
Type | Description |
boolean | Whether the annotationResults field is set.
|
hasError()
public boolean hasError()
If set, returns a google.rpc.Status message that
specifies the error for the operation.
.google.rpc.Status error = 1;
Returns
Type | Description |
boolean | Whether the error field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeAnnotationResults(StreamingVideoAnnotationResults value)
public StreamingAnnotateVideoResponse.Builder mergeAnnotationResults(StreamingVideoAnnotationResults value)
Streaming annotation results.
.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults annotation_results = 2;
Parameter
Returns
mergeError(Status value)
public StreamingAnnotateVideoResponse.Builder mergeError(Status value)
If set, returns a google.rpc.Status message that
specifies the error for the operation.
.google.rpc.Status error = 1;
Parameter
Name | Description |
value | com.google.rpc.Status
|
Returns
mergeFrom(StreamingAnnotateVideoResponse other)
public StreamingAnnotateVideoResponse.Builder mergeFrom(StreamingAnnotateVideoResponse other)
Parameter
Returns
public StreamingAnnotateVideoResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public StreamingAnnotateVideoResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final StreamingAnnotateVideoResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setAnnotationResults(StreamingVideoAnnotationResults value)
public StreamingAnnotateVideoResponse.Builder setAnnotationResults(StreamingVideoAnnotationResults value)
Streaming annotation results.
.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults annotation_results = 2;
Parameter
Returns
setAnnotationResults(StreamingVideoAnnotationResults.Builder builderForValue)
public StreamingAnnotateVideoResponse.Builder setAnnotationResults(StreamingVideoAnnotationResults.Builder builderForValue)
Streaming annotation results.
.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults annotation_results = 2;
Parameter
Returns
setAnnotationResultsUri(String value)
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;
Parameter
Name | Description |
value | String
The annotationResultsUri to set.
|
Returns
setAnnotationResultsUriBytes(ByteString value)
public StreamingAnnotateVideoResponse.Builder setAnnotationResultsUriBytes(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;
Parameter
Name | Description |
value | ByteString
The bytes for annotationResultsUri to set.
|
Returns
setError(Status value)
public StreamingAnnotateVideoResponse.Builder setError(Status value)
If set, returns a google.rpc.Status message that
specifies the error for the operation.
.google.rpc.Status error = 1;
Parameter
Name | Description |
value | com.google.rpc.Status
|
Returns
setError(Status.Builder builderForValue)
public StreamingAnnotateVideoResponse.Builder setError(Status.Builder builderForValue)
If set, returns a google.rpc.Status message that
specifies the error for the operation.
.google.rpc.Status error = 1;
Parameter
Name | Description |
builderForValue | com.google.rpc.Status.Builder
|
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public StreamingAnnotateVideoResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public StreamingAnnotateVideoResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final StreamingAnnotateVideoResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides