public sealed class LocationMetadata : IMessage<LocationMetadata>, IEquatable<LocationMetadata>, IDeepCloneable<LocationMetadata>, IBufferMessage, IMessage
Reference documentation and code samples for the Dataproc Metastore v1alpha API class LocationMetadata.
public RepeatedField<LocationMetadata.Types.HiveMetastoreVersion> SupportedHiveMetastoreVersions { get; }
The versions of Hive Metastore that can be used when creating a new
metastore service in this location. The server guarantees that exactly one
HiveMetastoreVersion in the list will set is_default.
[[["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-09-04 UTC."],[[["\u003cp\u003eThe latest version of the \u003ccode\u003eLocationMetadata\u003c/code\u003e class in the Dataproc Metastore v1alpha API is 2.0.0-alpha11, with prior versions including 2.0.0-alpha10 and 1.0.0-alpha04.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eLocationMetadata\u003c/code\u003e is a class that provides metadata about the service in a specific location and it inherits from \u003ccode\u003eobject\u003c/code\u003e while implementing several interfaces, including \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\u003eThe class includes two constructors: a default constructor, \u003ccode\u003eLocationMetadata()\u003c/code\u003e, and a copy constructor, \u003ccode\u003eLocationMetadata(LocationMetadata other)\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eLocationMetadata\u003c/code\u003e includes a property called \u003ccode\u003eSupportedHiveMetastoreVersions\u003c/code\u003e, which returns a list of Hive Metastore versions that can be used when creating a new metastore service, with one version guaranteed to be the default.\u003c/p\u003e\n"]]],[],null,["# Dataproc Metastore v1alpha API - Class LocationMetadata (2.0.0-alpha11)\n\nVersion latestkeyboard_arrow_down\n\n- [2.0.0-alpha11 (latest)](/dotnet/docs/reference/Google.Cloud.Metastore.V1Alpha/latest/Google.Cloud.Metastore.V1Alpha.LocationMetadata)\n- [2.0.0-alpha10](/dotnet/docs/reference/Google.Cloud.Metastore.V1Alpha/2.0.0-alpha10/Google.Cloud.Metastore.V1Alpha.LocationMetadata)\n- [1.0.0-alpha04](/dotnet/docs/reference/Google.Cloud.Metastore.V1Alpha/1.0.0-alpha04/Google.Cloud.Metastore.V1Alpha.LocationMetadata) \n\n public sealed class LocationMetadata : IMessage\u003cLocationMetadata\u003e, IEquatable\u003cLocationMetadata\u003e, IDeepCloneable\u003cLocationMetadata\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Dataproc Metastore v1alpha API class LocationMetadata.\n\nMetadata about the service in a location. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e LocationMetadata \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[LocationMetadata](/dotnet/docs/reference/Google.Cloud.Metastore.V1Alpha/latest/Google.Cloud.Metastore.V1Alpha.LocationMetadata), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[LocationMetadata](/dotnet/docs/reference/Google.Cloud.Metastore.V1Alpha/latest/Google.Cloud.Metastore.V1Alpha.LocationMetadata), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[LocationMetadata](/dotnet/docs/reference/Google.Cloud.Metastore.V1Alpha/latest/Google.Cloud.Metastore.V1Alpha.LocationMetadata), [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.Metastore.V1Alpha](/dotnet/docs/reference/Google.Cloud.Metastore.V1Alpha/latest/Google.Cloud.Metastore.V1Alpha)\n\nAssembly\n--------\n\nGoogle.Cloud.Metastore.V1Alpha.dll\n\nConstructors\n------------\n\n### LocationMetadata()\n\n public LocationMetadata()\n\n### LocationMetadata(LocationMetadata)\n\n public LocationMetadata(LocationMetadata other)\n\nProperties\n----------\n\n### SupportedHiveMetastoreVersions\n\n public RepeatedField\u003cLocationMetadata.Types.HiveMetastoreVersion\u003e SupportedHiveMetastoreVersions { get; }\n\nThe versions of Hive Metastore that can be used when creating a new\nmetastore service in this location. The server guarantees that exactly one\n`HiveMetastoreVersion` in the list will set `is_default`."]]