Class ValueProto
This is a copy of storage/googlesql/public/value.proto. ValueProto represents the serialized form of the googlesql::Value. The intention is to support multiple languages including Java and C++, so we must be sensitive to the distinction between Java Strings and byte arrays or ByteStrings. We also want to support use-cases which do not want to serialize a copy of the GoogleSQL type for every instance (which might be very repetitive). Therefore, unlike googlesql::Value, ValueProto does not carry full type information with every instance, and can only be fully interpreted with an associated TypeProto.
Implements
Inherited Members
Namespace: Google.Apis.Cloudbilling.v1beta.Data
Assembly: Google.Apis.Cloudbilling.v1beta.dll
Syntax
public class ValueProto : IDirectResponseSchema
Properties
ArrayValue
An array of value
Declaration
[JsonProperty("arrayValue")]
public virtual Array ArrayValue { get; set; }
Property Value
| Type | Description |
|---|---|
| Array |
BignumericValue
Encoded bignumeric value. For the encoding format see documentation for BigNumericValue::SerializeAsProtoBytes().
Declaration
[JsonProperty("bignumericValue")]
public virtual string BignumericValue { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
BoolValue
Primitive for bool.
Declaration
[JsonProperty("boolValue")]
public virtual bool? BoolValue { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
BytesValue
Primitive for bytes.
Declaration
[JsonProperty("bytesValue")]
public virtual string BytesValue { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
DateValue
Primitive for date.
Declaration
[JsonProperty("dateValue")]
public virtual int? DateValue { get; set; }
Property Value
| Type | Description |
|---|---|
| int? |
DatetimeValue
primitive for datetime
Declaration
[JsonProperty("datetimeValue")]
public virtual Datetime DatetimeValue { get; set; }
Property Value
| Type | Description |
|---|---|
| Datetime |
DoubleValue
Primitive for double.
Declaration
[JsonProperty("doubleValue")]
public virtual double? DoubleValue { get; set; }
Property Value
| Type | Description |
|---|---|
| double? |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
EnumValue
Tag 11 was used for specifying micros timestamps as int64, now obsolete.
Declaration
[JsonProperty("enumValue")]
public virtual int? EnumValue { get; set; }
Property Value
| Type | Description |
|---|---|
| int? |
FloatValue
Primitive for float.
Declaration
[JsonProperty("floatValue")]
public virtual float? FloatValue { get; set; }
Property Value
| Type | Description |
|---|---|
| float? |
GeographyValue
Geography encoded using ::stlib::STGeographyEncoder
Declaration
[JsonProperty("geographyValue")]
public virtual string GeographyValue { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Int32Value
Primitive value for int32.
Declaration
[JsonProperty("int32Value")]
public virtual int? Int32Value { get; set; }
Property Value
| Type | Description |
|---|---|
| int? |
Int64Value
Primitive for int64.
Declaration
[JsonProperty("int64Value")]
public virtual long? Int64Value { get; set; }
Property Value
| Type | Description |
|---|---|
| long? |
IntervalValue
Encoded interval value. For the encoding format see documentation for IntervalValue::SerializeAsBytes().
Declaration
[JsonProperty("intervalValue")]
public virtual string IntervalValue { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
JsonValue
Tag 22 was used for json value as bytes, now obsolete. Json value represented as a string document.
Declaration
[JsonProperty("jsonValue")]
public virtual string JsonValue { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
MapValue
Encoded map value. See go/googlesql_map.
Declaration
[JsonProperty("mapValue")]
public virtual Map MapValue { get; set; }
Property Value
| Type | Description |
|---|---|
| Map |
NumericValue
Encoded numeric value. For the encoding format see documentation for NumericValue::SerializeAsProtoBytes().
Declaration
[JsonProperty("numericValue")]
public virtual string NumericValue { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ProtoValue
Stores a serialized protocol message.
Declaration
[JsonProperty("protoValue")]
public virtual string ProtoValue { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
RangeValue
Encoded range value. See go/googlesql_range.
Declaration
[JsonProperty("rangeValue")]
public virtual Range RangeValue { get; set; }
Property Value
| Type | Description |
|---|---|
| Range |
StringValue
Primitive for string.
Declaration
[JsonProperty("stringValue")]
public virtual string StringValue { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
StructValue
A struct of values
Declaration
[JsonProperty("structValue")]
public virtual Struct StructValue { get; set; }
Property Value
| Type | Description |
|---|---|
| Struct |
TimeValue
Bit field encoding of hour/minute/second/nanos. See TimeValue class for details.
Declaration
[JsonProperty("timeValue")]
public virtual long? TimeValue { get; set; }
Property Value
| Type | Description |
|---|---|
| long? |
TimestampPicoValue
Encoded timestamp_pico value. For the encoding format see documentation for googlesql::TimestampPico::SerializeAsBytes().
Declaration
[JsonProperty("timestampPicoValue")]
public virtual string TimestampPicoValue { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
TimestampValue
object representation of TimestampValueRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use TimestampValueDateTimeOffset instead.")]
public virtual object TimestampValue { get; set; }
Property Value
| Type | Description |
|---|---|
| object |
TimestampValueDateTimeOffset
DateTimeOffset representation of TimestampValueRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? TimestampValueDateTimeOffset { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTimeOffset? |
TimestampValueRaw
primitive for timestamp
Declaration
[JsonProperty("timestampValue")]
public virtual string TimestampValueRaw { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
TokenlistValue
Encoded tokenlist value. copybara:strip_begin(internal-comment) See //search/tokens:token_list. copybara:strip_end
Declaration
[JsonProperty("tokenlistValue")]
public virtual string TokenlistValue { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Uint32Value
Primitive for uint32.
Declaration
[JsonProperty("uint32Value")]
public virtual long? Uint32Value { get; set; }
Property Value
| Type | Description |
|---|---|
| long? |
Uint64Value
Primitive for uint64.
Declaration
[JsonProperty("uint64Value")]
public virtual ulong? Uint64Value { get; set; }
Property Value
| Type | Description |
|---|---|
| ulong? |
UuidValue
Encoded uuid value. For the encoding format see documentation for UuidValue::SerializeAsBytes().
Declaration
[JsonProperty("uuidValue")]
public virtual string UuidValue { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ValueProtoSwitchMustHaveADefault
User code that switches on this oneoff enum must have a default case so builds won't break when new fields are added.
Declaration
[JsonProperty("ValueProtoSwitchMustHaveADefault")]
public virtual bool? ValueProtoSwitchMustHaveADefault { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |