Not documented
A representation of a generic value with a dynamic type.
Each value has a declared type in type indicating which of the remaining type-specific fields contains the value, expect for VOID, where no value is transported at all (most useful for return types).
Code author: Johannes Wienke <jwienke@techfak.uni-bielefeld.de>
Type : | rst.generic.Value.Type |
---|
The type of the value transported in this message.
Type : | INT64 |
---|
Not documented
Type : | FLOAT64 |
---|
Not documented
Type : | ASCII-STRING |
---|
Not documented
Type : | BOOL |
---|
Not documented
Type : | OCTET-VECTOR |
---|
Not documented
Type : | array of rst.generic.Value |
---|
Contained elements can be of different types and ordering is important.
package rst.generic;
option java_outer_classname = "ValueType";
/**
* A representation of a generic value with a dynamic type.
*
* Each value has a declared type in @ref .type indicating which of the
* remaining type-specific fields contains the value, expect for
* @ref .Type.VOID, where no value is transported at all (most useful for return
* types).
*
* @author Johannes Wienke <jwienke@techfak.uni-bielefeld.de>
*/
message Value {
/**
* The list of supported types.
*/
enum Type {
VOID = 1;
INT = 2;
DOUBLE = 3;
STRING = 4;
BOOL = 5;
BINARY = 6;
/**
* Indicate that a list of Values is contained in @ref Value.array
* representing an array.
*/
ARRAY = 7;
}
/**
* The type of the value transported in this message.
*/
required Type type = 1;
optional int64 int = 2;
optional double double = 3;
optional string string = 4;
optional bool bool = 5;
optional bytes binary = 6;
/**
* Contained elements can be of different types and ordering is important.
*/
repeated Value array = 7;
}
The list of supported types.
Not documented
Not documented
Not documented
Not documented
Not documented
Not documented
Indicate that a list of Values is contained in <Could not resolve reference to Value.array> representing an array.
enum Type {
VOID = 1;
INT = 2;
DOUBLE = 3;
STRING = 4;
BOOL = 5;
BINARY = 6;
/**
* Indicate that a list of Values is contained in @ref Value.array
* representing an array.
*/
ARRAY = 7;
}
Enter search terms or a module, class or function name.