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)repeated string

The collection of string values


DoubleVector

DoubleVector represents a vector (list) of double-precision floating-point values

items (1)repeated double

The collection of double-precision floating-point values


BoolVector

BoolVector represents a vector (list) of boolean values

items (1)repeated bool

The collection of boolean values


Int64Vector

Int64Vector represents a vector (list) of signed 64-bit integer values

items (1)repeated sint64

The collection of signed 64-bit integer values


VariantMap

VariantMap represents a map (dictionary) with string keys and Variant values

item (1)repeated ItemEntry

The map entries with string keys and Variant values


VariantVector

VariantVector represents a vector (list) of Variant values, allowing heterogeneous collections

items (1)repeated Variant

The 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 Empty

Represents an empty or null value

bool_state (2)oneof as bool

Holds a boolean value

int64_state (3)oneof as sint64

Holds a signed 64-bit integer value

double_state (5)oneof as double

Holds a double-precision floating-point value

string_state (6)oneof as string

Holds a string value

bool_vector_state (7)oneof as BoolVector

Holds a vector of boolean values

int64_vector_state (8)oneof as Int64Vector

Holds a vector of signed 64-bit integer values

double_vector_state (9)oneof as DoubleVector

Holds a vector of double-precision floating-point values

string_vector_state (10)oneof as StringVector

Holds a vector of string values

variant_vector_state (11)oneof as VariantVector

Holds a vector of Variant values (nested heterogeneous collection)

variant_map_state (12)oneof as VariantMap

Holds a map with string keys and Variant values