Class StreamingAnnotateVideoResponse
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse
-
- All Implemented Interfaces:
StreamingAnnotateVideoResponseOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class StreamingAnnotateVideoResponse extends com.google.protobuf.GeneratedMessageV3 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- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classStreamingAnnotateVideoResponse.Builder`StreamingAnnotateVideoResponse` is the only message returned to the client by `StreamingAnnotateVideo`.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intANNOTATION_RESULTS_FIELD_NUMBERstatic intANNOTATION_RESULTS_URI_FIELD_NUMBERstatic intERROR_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)StreamingVideoAnnotationResultsgetAnnotationResults()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.static StreamingAnnotateVideoResponsegetDefaultInstance()StreamingAnnotateVideoResponsegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()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.StatusOrBuildergetErrorOrBuilder()If set, returns a [google.rpc.Status][google.rpc.Status] message that specifies the error for the operation.com.google.protobuf.Parser<StreamingAnnotateVideoResponse>getParserForType()intgetSerializedSize()booleanhasAnnotationResults()Streaming annotation results.booleanhasError()If set, returns a [google.rpc.Status][google.rpc.Status] message that specifies the error for the operation.inthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static StreamingAnnotateVideoResponse.BuildernewBuilder()static StreamingAnnotateVideoResponse.BuildernewBuilder(StreamingAnnotateVideoResponse prototype)StreamingAnnotateVideoResponse.BuildernewBuilderForType()protected StreamingAnnotateVideoResponse.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static StreamingAnnotateVideoResponseparseDelimitedFrom(InputStream input)static StreamingAnnotateVideoResponseparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static StreamingAnnotateVideoResponseparseFrom(byte[] data)static StreamingAnnotateVideoResponseparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static StreamingAnnotateVideoResponseparseFrom(com.google.protobuf.ByteString data)static StreamingAnnotateVideoResponseparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static StreamingAnnotateVideoResponseparseFrom(com.google.protobuf.CodedInputStream input)static StreamingAnnotateVideoResponseparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static StreamingAnnotateVideoResponseparseFrom(InputStream input)static StreamingAnnotateVideoResponseparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static StreamingAnnotateVideoResponseparseFrom(ByteBuffer data)static StreamingAnnotateVideoResponseparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<StreamingAnnotateVideoResponse>parser()StreamingAnnotateVideoResponse.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
ERROR_FIELD_NUMBER
public static final int ERROR_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ANNOTATION_RESULTS_FIELD_NUMBER
public static final int ANNOTATION_RESULTS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ANNOTATION_RESULTS_URI_FIELD_NUMBER
public static final int ANNOTATION_RESULTS_URI_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
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
-
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.
-
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.
-
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.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static StreamingAnnotateVideoResponse parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static StreamingAnnotateVideoResponse parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static StreamingAnnotateVideoResponse parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static StreamingAnnotateVideoResponse parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static StreamingAnnotateVideoResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static StreamingAnnotateVideoResponse parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static StreamingAnnotateVideoResponse parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static StreamingAnnotateVideoResponse parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static StreamingAnnotateVideoResponse parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static StreamingAnnotateVideoResponse parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static StreamingAnnotateVideoResponse parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static StreamingAnnotateVideoResponse parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public StreamingAnnotateVideoResponse.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static StreamingAnnotateVideoResponse.Builder newBuilder()
-
newBuilder
public static StreamingAnnotateVideoResponse.Builder newBuilder(StreamingAnnotateVideoResponse prototype)
-
toBuilder
public StreamingAnnotateVideoResponse.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected StreamingAnnotateVideoResponse.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static StreamingAnnotateVideoResponse getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<StreamingAnnotateVideoResponse> parser()
-
getParserForType
public com.google.protobuf.Parser<StreamingAnnotateVideoResponse> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public StreamingAnnotateVideoResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-