public sealed class GroundedGenerationContent.Types.Part : IMessage<GroundedGenerationContent.Types.Part>, IEquatable<GroundedGenerationContent.Types.Part>, IDeepCloneable<GroundedGenerationContent.Types.Part>, IBufferMessage, IMessage
Reference documentation and code samples for the Discovery Engine v1beta API class GroundedGenerationContent.Types.Part.
[[["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 documentation covers the \u003ccode\u003eGroundedGenerationContent.Types.Part\u003c/code\u003e class, which is part of the Google Cloud Discovery Engine v1beta API.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eGroundedGenerationContent.Types.Part\u003c/code\u003e class represents a single part of content within the API, which can be in the form of text or another type of data.\u003c/p\u003e\n"],["\u003cp\u003eThe class implements multiple interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e for functionality like message handling and cloning.\u003c/p\u003e\n"],["\u003cp\u003eIt contains two constructors, \u003ccode\u003ePart()\u003c/code\u003e and \u003ccode\u003ePart(Part)\u003c/code\u003e, allowing for default initialization and initialization from an existing \u003ccode\u003ePart\u003c/code\u003e object, respectively.\u003c/p\u003e\n"],["\u003cp\u003eKey properties include \u003ccode\u003eDataCase\u003c/code\u003e to determine the specific type of data the part represents, and \u003ccode\u003eText\u003c/code\u003e, which is used to store inline text content.\u003c/p\u003e\n"]]],[],null,["# Discovery Engine v1beta API - Class GroundedGenerationContent.Types.Part (1.0.0-beta19)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.0-beta19 (latest)](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.GroundedGenerationContent.Types.Part)\n- [1.0.0-beta18](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/1.0.0-beta18/Google.Cloud.DiscoveryEngine.V1Beta.GroundedGenerationContent.Types.Part) \n\n public sealed class GroundedGenerationContent.Types.Part : IMessage\u003cGroundedGenerationContent.Types.Part\u003e, IEquatable\u003cGroundedGenerationContent.Types.Part\u003e, IDeepCloneable\u003cGroundedGenerationContent.Types.Part\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Discovery Engine v1beta API class GroundedGenerationContent.Types.Part.\n\nSingle part of content. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e GroundedGenerationContent.Types.Part \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[GroundedGenerationContent](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.GroundedGenerationContent)[Types](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.GroundedGenerationContent.Types)[Part](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.GroundedGenerationContent.Types.Part), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[GroundedGenerationContent](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.GroundedGenerationContent)[Types](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.GroundedGenerationContent.Types)[Part](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.GroundedGenerationContent.Types.Part), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[GroundedGenerationContent](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.GroundedGenerationContent)[Types](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.GroundedGenerationContent.Types)[Part](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.GroundedGenerationContent.Types.Part), [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.DiscoveryEngine.V1Beta](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta)\n\nAssembly\n--------\n\nGoogle.Cloud.DiscoveryEngine.V1Beta.dll\n\nConstructors\n------------\n\n### Part()\n\n public Part()\n\n### Part(Part)\n\n public Part(GroundedGenerationContent.Types.Part other)\n\nProperties\n----------\n\n### DataCase\n\n public GroundedGenerationContent.Types.Part.DataOneofCase DataCase { get; }\n\n### HasText\n\n public bool HasText { get; }\n\nGets whether the \"text\" field is set\n\n### Text\n\n public string Text { get; set; }\n\nInline text."]]