public sealed class LabelAnnotation : IMessage<LabelAnnotation>, IEquatable<LabelAnnotation>, IDeepCloneable<LabelAnnotation>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Video Intelligence v1 API class LabelAnnotation.
public RepeatedField<Entity> CategoryEntities { get; }
Common categories for the detected entity.
For example, when the label is Terrier, the category is likely dog. And
in some cases there might be more than one categories e.g., Terrier could
also be a pet.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis document provides reference documentation for the \u003ccode\u003eLabelAnnotation\u003c/code\u003e class within the Google Cloud Video Intelligence v1 API.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eLabelAnnotation\u003c/code\u003e class, which is a sealed class, is used to represent label annotations within a video, inheriting from \u003ccode\u003eobject\u003c/code\u003e and implementing interfaces like \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of the \u003ccode\u003eLabelAnnotation\u003c/code\u003e class include \u003ccode\u003eCategoryEntities\u003c/code\u003e, providing common categories for the detected entity, \u003ccode\u003eEntity\u003c/code\u003e for the detected entity, \u003ccode\u003eFrames\u003c/code\u003e for frames with detected labels, \u003ccode\u003eSegments\u003c/code\u003e for video segments with detected labels, and \u003ccode\u003eVersion\u003c/code\u003e for the feature version.\u003c/p\u003e\n"],["\u003cp\u003eThe document details the class's constructors, which includes a default constructor and one that accepts another \u003ccode\u003eLabelAnnotation\u003c/code\u003e object, as well as showing the available versions of the API.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the API discussed in the document is version 3.4.0, with previous versions dating back to 2.2.0, all of which include the \u003ccode\u003eLabelAnnotation\u003c/code\u003e class.\u003c/p\u003e\n"]]],[],null,["# Google Cloud Video Intelligence v1 API - Class LabelAnnotation (3.4.0)\n\nVersion latestkeyboard_arrow_down\n\n- [3.4.0 (latest)](/dotnet/docs/reference/Google.Cloud.VideoIntelligence.V1/latest/Google.Cloud.VideoIntelligence.V1.LabelAnnotation)\n- [3.3.0](/dotnet/docs/reference/Google.Cloud.VideoIntelligence.V1/3.3.0/Google.Cloud.VideoIntelligence.V1.LabelAnnotation)\n- [3.2.0](/dotnet/docs/reference/Google.Cloud.VideoIntelligence.V1/3.2.0/Google.Cloud.VideoIntelligence.V1.LabelAnnotation)\n- [3.1.0](/dotnet/docs/reference/Google.Cloud.VideoIntelligence.V1/3.1.0/Google.Cloud.VideoIntelligence.V1.LabelAnnotation)\n- [3.0.0](/dotnet/docs/reference/Google.Cloud.VideoIntelligence.V1/3.0.0/Google.Cloud.VideoIntelligence.V1.LabelAnnotation)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.VideoIntelligence.V1/2.3.0/Google.Cloud.VideoIntelligence.V1.LabelAnnotation)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.VideoIntelligence.V1/2.2.0/Google.Cloud.VideoIntelligence.V1.LabelAnnotation) \n\n public sealed class LabelAnnotation : IMessage\u003cLabelAnnotation\u003e, IEquatable\u003cLabelAnnotation\u003e, IDeepCloneable\u003cLabelAnnotation\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Google Cloud Video Intelligence v1 API class LabelAnnotation.\n\nLabel annotation. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e LabelAnnotation \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[LabelAnnotation](/dotnet/docs/reference/Google.Cloud.VideoIntelligence.V1/latest/Google.Cloud.VideoIntelligence.V1.LabelAnnotation), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[LabelAnnotation](/dotnet/docs/reference/Google.Cloud.VideoIntelligence.V1/latest/Google.Cloud.VideoIntelligence.V1.LabelAnnotation), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[LabelAnnotation](/dotnet/docs/reference/Google.Cloud.VideoIntelligence.V1/latest/Google.Cloud.VideoIntelligence.V1.LabelAnnotation), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.VideoIntelligence.V1](/dotnet/docs/reference/Google.Cloud.VideoIntelligence.V1/latest/Google.Cloud.VideoIntelligence.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.VideoIntelligence.V1.dll\n\nConstructors\n------------\n\n### LabelAnnotation()\n\n public LabelAnnotation()\n\n### LabelAnnotation(LabelAnnotation)\n\n public LabelAnnotation(LabelAnnotation other)\n\nProperties\n----------\n\n### CategoryEntities\n\n public RepeatedField\u003cEntity\u003e CategoryEntities { get; }\n\nCommon categories for the detected entity.\nFor example, when the label is `Terrier`, the category is likely `dog`. And\nin some cases there might be more than one categories e.g., `Terrier` could\nalso be a `pet`.\n\n### Entity\n\n public Entity Entity { get; set; }\n\nDetected entity.\n\n### Frames\n\n public RepeatedField\u003cLabelFrame\u003e Frames { get; }\n\nAll video frames where a label was detected.\n\n### Segments\n\n public RepeatedField\u003cLabelSegment\u003e Segments { get; }\n\nAll video segments where a label was detected.\n\n### Version\n\n public string Version { get; set; }\n\nFeature version."]]