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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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 StreamingAnnotateVideoResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public StreamingAnnotateVideoResponse build()
buildPartial()
public StreamingAnnotateVideoResponse buildPartial()
clear()
public StreamingAnnotateVideoResponse.Builder clear()
Overrides
clearAnnotationResults()
public StreamingAnnotateVideoResponse.Builder clearAnnotationResults()
Streaming annotation results.
.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults annotation_results = 2;
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;
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;
clearField(Descriptors.FieldDescriptor field)
public StreamingAnnotateVideoResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public StreamingAnnotateVideoResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public StreamingAnnotateVideoResponse.Builder clone()
Overrides
getAnnotationResults()
public StreamingVideoAnnotationResults getAnnotationResults()
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;
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()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeAnnotationResults(StreamingVideoAnnotationResults value)
public StreamingAnnotateVideoResponse.Builder mergeAnnotationResults(StreamingVideoAnnotationResults value)
Streaming annotation results.
.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults annotation_results = 2;
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
|
mergeFrom(StreamingAnnotateVideoResponse other)
public StreamingAnnotateVideoResponse.Builder mergeFrom(StreamingAnnotateVideoResponse other)
public StreamingAnnotateVideoResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public StreamingAnnotateVideoResponse.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final StreamingAnnotateVideoResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setAnnotationResults(StreamingVideoAnnotationResults value)
public StreamingAnnotateVideoResponse.Builder setAnnotationResults(StreamingVideoAnnotationResults value)
Streaming annotation results.
.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults annotation_results = 2;
setAnnotationResults(StreamingVideoAnnotationResults.Builder builderForValue)
public StreamingAnnotateVideoResponse.Builder setAnnotationResults(StreamingVideoAnnotationResults.Builder builderForValue)
Streaming annotation results.
.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults annotation_results = 2;
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.
|
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.
|
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
|
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
|
setField(Descriptors.FieldDescriptor field, Object value)
public StreamingAnnotateVideoResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public StreamingAnnotateVideoResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final StreamingAnnotateVideoResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides