public sealed class LogDescriptor : IMessage<LogDescriptor>, IEquatable<LogDescriptor>, IDeepCloneable<LogDescriptor>, IBufferMessage, IMessage
A description of a log type. Example in YAML format:
- name: library.googleapis.com/activity_history
description: The history of borrowing and returning library items.
display_name: Activity
labels:
- key: /customer_id
description: Identifier of a library customer
The name of the log. It must be less than 512 characters long and can
include the following characters: upper- and lower-case alphanumeric
characters [A-Za-z0-9], and punctuation characters including
slash, underscore, hyphen, period [/_-.].
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eLogDescriptor\u003c/code\u003e class in the \u003ccode\u003eGoogle.Api.CommonProtos\u003c/code\u003e namespace provides a detailed description of a log type, including its name, display name, and associated labels.\u003c/p\u003e\n"],["\u003cp\u003eThis class inherits from \u003ccode\u003eobject\u003c/code\u003e and implements multiple interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, offering functionalities like deep cloning, message equality checks, and buffer message handling.\u003c/p\u003e\n"],["\u003cp\u003eIt contains fields such as \u003ccode\u003eDescriptionFieldNumber\u003c/code\u003e, \u003ccode\u003eDisplayNameFieldNumber\u003c/code\u003e, \u003ccode\u003eLabelsFieldNumber\u003c/code\u003e, and \u003ccode\u003eNameFieldNumber\u003c/code\u003e, representing different aspects of a log's metadata.\u003c/p\u003e\n"],["\u003cp\u003eThe class also has properties like \u003ccode\u003eDescription\u003c/code\u003e, \u003ccode\u003eDisplayName\u003c/code\u003e, \u003ccode\u003eLabels\u003c/code\u003e, and \u003ccode\u003eName\u003c/code\u003e for setting and retrieving information about the log, plus a static \u003ccode\u003eParser\u003c/code\u003e and \u003ccode\u003eDescriptor\u003c/code\u003e for handling message parsing and description.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eLogDescriptor\u003c/code\u003e includes methods like \u003ccode\u003eCalculateSize\u003c/code\u003e, \u003ccode\u003eClone\u003c/code\u003e, \u003ccode\u003eEquals\u003c/code\u003e, \u003ccode\u003eGetHashCode\u003c/code\u003e, \u003ccode\u003eMergeFrom\u003c/code\u003e, \u003ccode\u003eToString\u003c/code\u003e, and \u003ccode\u003eWriteTo\u003c/code\u003e, which are for measuring the size of the message, deep cloning, comparing messages, generating a hashcode, merging messages, converting the message to a string, and writing the data to a coded output stream, respectively.\u003c/p\u003e\n"]]],[],null,["# Class LogDescriptor (2.17.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.17.0 (latest)](/dotnet/docs/reference/Google.Api.CommonProtos/latest/Google.Api.LogDescriptor)\n- [2.15.0](/dotnet/docs/reference/Google.Api.CommonProtos/2.15.0/Google.Api.LogDescriptor)\n- [2.10.0](/dotnet/docs/reference/Google.Api.CommonProtos/2.10.0/Google.Api.LogDescriptor)\n- [2.2.0](/dotnet/docs/reference/Google.Api.CommonProtos/2.2.0/Google.Api.LogDescriptor) \n\n public sealed class LogDescriptor : IMessage\u003cLogDescriptor\u003e, IEquatable\u003cLogDescriptor\u003e, IDeepCloneable\u003cLogDescriptor\u003e, IBufferMessage, IMessage\n\nA description of a log type. Example in YAML format: \n\n - name: library.googleapis.com/activity_history\n description: The history of borrowing and returning library items.\n display_name: Activity\n labels:\n - key: /customer_id\n description: Identifier of a library customer\n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e LogDescriptor \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[LogDescriptor](/dotnet/docs/reference/Google.Api.CommonProtos/latest/Google.Api.LogDescriptor), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[LogDescriptor](/dotnet/docs/reference/Google.Api.CommonProtos/latest/Google.Api.LogDescriptor), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[LogDescriptor](/dotnet/docs/reference/Google.Api.CommonProtos/latest/Google.Api.LogDescriptor), [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.Equals(object, object)](https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object)) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ReferenceEquals(object, object)](https://learn.microsoft.com/dotnet/api/system.object.referenceequals)\n\nNamespace\n---------\n\n[Google.Api](/dotnet/docs/reference/Google.Api.CommonProtos/latest/Google.Api)\n\nAssembly\n--------\n\nGoogle.Api.CommonProtos.dll\n\nConstructors\n------------\n\n### LogDescriptor()\n\n public LogDescriptor()\n\n### LogDescriptor(LogDescriptor)\n\n public LogDescriptor(LogDescriptor other)\n\nFields\n------\n\n### DescriptionFieldNumber\n\n public const int DescriptionFieldNumber = 3\n\nField number for the \"description\" field.\n\n### DisplayNameFieldNumber\n\n public const int DisplayNameFieldNumber = 4\n\nField number for the \"display_name\" field.\n\n### LabelsFieldNumber\n\n public const int LabelsFieldNumber = 2\n\nField number for the \"labels\" field.\n\n### NameFieldNumber\n\n public const int NameFieldNumber = 1\n\nField number for the \"name\" field.\n\nProperties\n----------\n\n### Description\n\n public string Description { get; set; }\n\nA human-readable description of this log. This information appears in\nthe documentation and can contain details.\n\n### Descriptor\n\n public static MessageDescriptor Descriptor { get; }\n\n### DisplayName\n\n public string DisplayName { get; set; }\n\nThe human-readable name for this log. This information appears on\nthe user interface and should be concise.\n\n### Labels\n\n public RepeatedField\u003cLabelDescriptor\u003e Labels { get; }\n\nThe set of labels that are available to describe a specific log entry.\nRuntime requests that contain labels not specified here are\nconsidered invalid.\n\n### Name\n\n public string Name { get; set; }\n\nThe name of the log. It must be less than 512 characters long and can\ninclude the following characters: upper- and lower-case alphanumeric\ncharacters \\[A-Za-z0-9\\], and punctuation characters including\nslash, underscore, hyphen, period \\[/_-.\\].\n\n### Parser\n\n public static MessageParser\u003cLogDescriptor\u003e Parser { get; }\n\nMethods\n-------\n\n### CalculateSize()\n\n public int CalculateSize()\n\n### Clone()\n\n public LogDescriptor Clone()\n\n### Equals(LogDescriptor)\n\n public bool Equals(LogDescriptor other)\n\n### Equals(object)\n\n public override bool Equals(object other)\n\n**Overrides** \n[object.Equals(object)](https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object))\n\n### GetHashCode()\n\n public override int GetHashCode()\n\n**Overrides** \n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode)\n\n### MergeFrom(LogDescriptor)\n\n public void MergeFrom(LogDescriptor other)\n\n### MergeFrom(CodedInputStream)\n\n public void MergeFrom(CodedInputStream input)\n\n### ToString()\n\n public override string ToString()\n\n**Overrides** \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\n### WriteTo(CodedOutputStream)\n\n public void WriteTo(CodedOutputStream output)"]]