Variant#
Generated reference
- Source file:
ansys/api/fluent/v1/variant.proto- Proto package:
ansys.api.fluent.v1.variant- Contains:
8 messages
Messages
Empty
Empty represents an empty or null state
StringVector
StringVector represents a vector (list) of string values
items(1)repeatedstringThe collection of string values
DoubleVector
DoubleVector represents a vector (list) of double-precision floating-point values
items(1)repeateddoubleThe collection of double-precision floating-point values
BoolVector
BoolVector represents a vector (list) of boolean values
items(1)repeatedboolThe collection of boolean values
Int64Vector
Int64Vector represents a vector (list) of signed 64-bit integer values
items(1)repeatedsint64The collection of signed 64-bit integer values
VariantMap
VariantMap represents a map (dictionary) with string keys and Variant values
item(1)repeatedItemEntryThe map entries with string keys and Variant values
VariantVector
VariantVector represents a vector (list) of Variant values, allowing heterogeneous collections
items(1)repeated VariantThe collection of Variant values
Variant
Variant represents a dynamically-typed value that can hold various types including primitives (bool, int64, double, string), vectors of these types, or nested structures (VariantVector, VariantMap). Only one field will be set at a time via the oneof.
empty_state(1)oneof as EmptyRepresents an empty or null value
bool_state(2)oneof asboolHolds a boolean value
int64_state(3)oneof assint64Holds a signed 64-bit integer value
double_state(5)oneof asdoubleHolds a double-precision floating-point value
string_state(6)oneof asstringHolds a string value
bool_vector_state(7)oneof as BoolVectorHolds a vector of boolean values
int64_vector_state(8)oneof as Int64VectorHolds a vector of signed 64-bit integer values
double_vector_state(9)oneof as DoubleVectorHolds a vector of double-precision floating-point values
string_vector_state(10)oneof as StringVectorHolds a vector of string values
variant_vector_state(11)oneof as VariantVectorHolds a vector of Variant values (nested heterogeneous collection)
variant_map_state(12)oneof as VariantMapHolds a map with string keys and Variant values