Class AnnotateVideoResponse (2.10.0)

public final class AnnotateVideoResponse extends GeneratedMessageV3 implements AnnotateVideoResponseOrBuilder

Video annotation response. Included in the response field of the Operation returned by the GetOperation call of the google::longrunning::Operations service.

Protobuf type google.cloud.videointelligence.v1.AnnotateVideoResponse

Static Fields

ANNOTATION_RESULTS_FIELD_NUMBER

public static final int ANNOTATION_RESULTS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static AnnotateVideoResponse getDefaultInstance()
Returns
TypeDescription
AnnotateVideoResponse

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static AnnotateVideoResponse.Builder newBuilder()
Returns
TypeDescription
AnnotateVideoResponse.Builder

newBuilder(AnnotateVideoResponse prototype)

public static AnnotateVideoResponse.Builder newBuilder(AnnotateVideoResponse prototype)
Parameter
NameDescription
prototypeAnnotateVideoResponse
Returns
TypeDescription
AnnotateVideoResponse.Builder

parseDelimitedFrom(InputStream input)

public static AnnotateVideoResponse parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
AnnotateVideoResponse
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AnnotateVideoResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AnnotateVideoResponse
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static AnnotateVideoResponse parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
AnnotateVideoResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static AnnotateVideoResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AnnotateVideoResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static AnnotateVideoResponse parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
AnnotateVideoResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static AnnotateVideoResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AnnotateVideoResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static AnnotateVideoResponse parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
AnnotateVideoResponse
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static AnnotateVideoResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AnnotateVideoResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static AnnotateVideoResponse parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
AnnotateVideoResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AnnotateVideoResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AnnotateVideoResponse
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static AnnotateVideoResponse parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
AnnotateVideoResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static AnnotateVideoResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AnnotateVideoResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<AnnotateVideoResponse> parser()
Returns
TypeDescription
Parser<AnnotateVideoResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getAnnotationResults(int index)

public VideoAnnotationResults getAnnotationResults(int index)

Annotation results for all videos specified in AnnotateVideoRequest.

repeated .google.cloud.videointelligence.v1.VideoAnnotationResults annotation_results = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
VideoAnnotationResults

getAnnotationResultsCount()

public int getAnnotationResultsCount()

Annotation results for all videos specified in AnnotateVideoRequest.

repeated .google.cloud.videointelligence.v1.VideoAnnotationResults annotation_results = 1;

Returns
TypeDescription
int

getAnnotationResultsList()

public List<VideoAnnotationResults> getAnnotationResultsList()

Annotation results for all videos specified in AnnotateVideoRequest.

repeated .google.cloud.videointelligence.v1.VideoAnnotationResults annotation_results = 1;

Returns
TypeDescription
List<VideoAnnotationResults>

getAnnotationResultsOrBuilder(int index)

public VideoAnnotationResultsOrBuilder getAnnotationResultsOrBuilder(int index)

Annotation results for all videos specified in AnnotateVideoRequest.

repeated .google.cloud.videointelligence.v1.VideoAnnotationResults annotation_results = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
VideoAnnotationResultsOrBuilder

getAnnotationResultsOrBuilderList()

public List<? extends VideoAnnotationResultsOrBuilder> getAnnotationResultsOrBuilderList()

Annotation results for all videos specified in AnnotateVideoRequest.

repeated .google.cloud.videointelligence.v1.VideoAnnotationResults annotation_results = 1;

Returns
TypeDescription
List<? extends com.google.cloud.videointelligence.v1.VideoAnnotationResultsOrBuilder>

getDefaultInstanceForType()

public AnnotateVideoResponse getDefaultInstanceForType()
Returns
TypeDescription
AnnotateVideoResponse

getParserForType()

public Parser<AnnotateVideoResponse> getParserForType()
Returns
TypeDescription
Parser<AnnotateVideoResponse>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public AnnotateVideoResponse.Builder newBuilderForType()
Returns
TypeDescription
AnnotateVideoResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected AnnotateVideoResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
AnnotateVideoResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public AnnotateVideoResponse.Builder toBuilder()
Returns
TypeDescription
AnnotateVideoResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException