[[["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-28 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eFeatureValue\u003c/code\u003e class is part of the Vertex AI v1beta1 API and represents a value for a feature, inheriting from the \u003ccode\u003eobject\u003c/code\u003e class 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\u003eThe \u003ccode\u003eFeatureValue\u003c/code\u003e class has properties for different data types including \u003ccode\u003ebool\u003c/code\u003e, \u003ccode\u003ebyte\u003c/code\u003e, \u003ccode\u003edouble\u003c/code\u003e, \u003ccode\u003eint64\u003c/code\u003e, and \u003ccode\u003estring\u003c/code\u003e and arrays of \u003ccode\u003ebool\u003c/code\u003e, \u003ccode\u003edouble\u003c/code\u003e, \u003ccode\u003eint64\u003c/code\u003e, and \u003ccode\u003estring\u003c/code\u003e, as well as a struct type, supporting a wide variety of feature value representations.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eFeatureValue\u003c/code\u003e class has constructors for creating a new \u003ccode\u003eFeatureValue\u003c/code\u003e instance or cloning another instance.\u003c/p\u003e\n"],["\u003cp\u003eThere are properties that return a boolean to allow you to check whether a specific value has been set, such as \u003ccode\u003eHasBoolValue\u003c/code\u003e, \u003ccode\u003eHasBytesValue\u003c/code\u003e, \u003ccode\u003eHasDoubleValue\u003c/code\u003e, etc.\u003c/p\u003e\n"],["\u003cp\u003eIt includes a \u003ccode\u003eMetadata\u003c/code\u003e property that allows you to define metadata for the \u003ccode\u003eFeatureValue\u003c/code\u003e and a \u003ccode\u003eValueCase\u003c/code\u003e property to allow you to see which value type is currently being used.\u003c/p\u003e\n"]]],[],null,["# Vertex AI v1beta1 API - Class FeatureValue (1.0.0-beta47)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.0-beta47 (latest)](/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.FeatureValue)\n- [1.0.0-beta46](/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/1.0.0-beta46/Google.Cloud.AIPlatform.V1Beta1.FeatureValue) \n\n public sealed class FeatureValue : IMessage\u003cFeatureValue\u003e, IEquatable\u003cFeatureValue\u003e, IDeepCloneable\u003cFeatureValue\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Vertex AI v1beta1 API class FeatureValue.\n\nValue for a feature. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e FeatureValue \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[FeatureValue](/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.FeatureValue), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[FeatureValue](/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.FeatureValue), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[FeatureValue](/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.FeatureValue), [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.AIPlatform.V1Beta1](/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1)\n\nAssembly\n--------\n\nGoogle.Cloud.AIPlatform.V1Beta1.dll\n\nConstructors\n------------\n\n### FeatureValue()\n\n public FeatureValue()\n\n### FeatureValue(FeatureValue)\n\n public FeatureValue(FeatureValue other)\n\nProperties\n----------\n\n### BoolArrayValue\n\n public BoolArray BoolArrayValue { get; set; }\n\nA list of bool type feature value.\n\n### BoolValue\n\n public bool BoolValue { get; set; }\n\nBool type feature value.\n\n### BytesValue\n\n public ByteString BytesValue { get; set; }\n\nBytes feature value.\n\n### DoubleArrayValue\n\n public DoubleArray DoubleArrayValue { get; set; }\n\nA list of double type feature value.\n\n### DoubleValue\n\n public double DoubleValue { get; set; }\n\nDouble type feature value.\n\n### HasBoolValue\n\n public bool HasBoolValue { get; }\n\nGets whether the \"bool_value\" field is set\n\n### HasBytesValue\n\n public bool HasBytesValue { get; }\n\nGets whether the \"bytes_value\" field is set\n\n### HasDoubleValue\n\n public bool HasDoubleValue { get; }\n\nGets whether the \"double_value\" field is set\n\n### HasInt64Value\n\n public bool HasInt64Value { get; }\n\nGets whether the \"int64_value\" field is set\n\n### HasStringValue\n\n public bool HasStringValue { get; }\n\nGets whether the \"string_value\" field is set\n\n### Int64ArrayValue\n\n public Int64Array Int64ArrayValue { get; set; }\n\nA list of int64 type feature value.\n\n### Int64Value\n\n public long Int64Value { get; set; }\n\nInt64 feature value.\n\n### Metadata\n\n public FeatureValue.Types.Metadata Metadata { get; set; }\n\nMetadata of feature value.\n\n### StringArrayValue\n\n public StringArray StringArrayValue { get; set; }\n\nA list of string type feature value.\n\n### StringValue\n\n public string StringValue { get; set; }\n\nString feature value.\n\n### StructValue\n\n public StructValue StructValue { get; set; }\n\nA struct type feature value.\n\n### ValueCase\n\n public FeatureValue.ValueOneofCase ValueCase { get; }"]]