Class PrimitiveValue

Namespace
EsriPBuffer.Graph
Assembly
ESRI.Server.SOESupport.dll
public sealed class PrimitiveValue : IMessage<PrimitiveValue>, IEquatable<PrimitiveValue>, IDeepCloneable<PrimitiveValue>, IBufferMessage, IMessage
Inheritance
PrimitiveValue
Implements
IMessage<PrimitiveValue>
IDeepCloneable<PrimitiveValue>
IBufferMessage
IMessage
Inherited Members

Constructors

PrimitiveValue()

public PrimitiveValue()

PrimitiveValue(PrimitiveValue)

public PrimitiveValue(PrimitiveValue other)

Parameters

other PrimitiveValue

Fields

BlobValueFieldNumber

Field number for the "blob_value" field.

public const int BlobValueFieldNumber = 10

Field Value

int

BoolValueFieldNumber

Field number for the "bool_value" field.

public const int BoolValueFieldNumber = 8

Field Value

int

DateOnlyValueFieldNumber

Field number for the "date_only_value" field.

public const int DateOnlyValueFieldNumber = 15

Field Value

int

DatetimeValueFieldNumber

Field number for the "datetime_value" field.

public const int DatetimeValueFieldNumber = 13

Field Value

int

DoubleCompressedAsFloatFieldNumber

Field number for the "double_compressed_as_float" field.

public const int DoubleCompressedAsFloatFieldNumber = 5

Field Value

int

DoubleCompressedAsInt64FieldNumber

Field number for the "double_compressed_as_int64" field.

public const int DoubleCompressedAsInt64FieldNumber = 6

Field Value

int

DoubleValueFieldNumber

Field number for the "double_value" field.

public const int DoubleValueFieldNumber = 4

Field Value

int

DurationValueFieldNumber

Field number for the "duration_value" field.

public const int DurationValueFieldNumber = 17

Field Value

int

FloatCompressedAsInt32FieldNumber

Field number for the "float_compressed_as_int32" field.

public const int FloatCompressedAsInt32FieldNumber = 3

Field Value

int

FloatValueFieldNumber

Field number for the "float_value" field.

public const int FloatValueFieldNumber = 2

Field Value

int

GeometryValueFieldNumber

Field number for the "geometry_value" field.

public const int GeometryValueFieldNumber = 11

Field Value

int

NullTagFieldNumber

Field number for the "null_tag" field.

public const int NullTagFieldNumber = 12

Field Value

int

Sint64ValueFieldNumber

Field number for the "sint64_value" field.

public const int Sint64ValueFieldNumber = 7

Field Value

int

StringValueFieldNumber

Field number for the "string_value" field.

public const int StringValueFieldNumber = 1

Field Value

int

TimeOnlyValueFieldNumber

Field number for the "time_only_value" field.

public const int TimeOnlyValueFieldNumber = 16

Field Value

int

TimestampOffsetValueFieldNumber

Field number for the "timestamp_offset_value" field.

public const int TimestampOffsetValueFieldNumber = 14

Field Value

int

UuidValueFieldNumber

Field number for the "uuid_value" field.

public const int UuidValueFieldNumber = 9

Field Value

int

Properties

BlobValue

public ByteString BlobValue { get; set; }

Property Value

ByteString

BoolValue

public bool BoolValue { get; set; }

Property Value

bool

DateOnlyValue

public DateOnlyValue DateOnlyValue { get; set; }

Property Value

DateOnlyValue

DatetimeValue

UTC UNIX timestamp in milliseconds since epoch.

public long DatetimeValue { get; set; }

Property Value

long

Descriptor

public static MessageDescriptor Descriptor { get; }

Property Value

MessageDescriptor

DoubleCompressedAsFloat

Only use when double((float)val) == val

public float DoubleCompressedAsFloat { get; set; }

Property Value

float

DoubleCompressedAsInt64

If double_value can be compressed as float and int, only compress as int when -1048576 <= val <= 1048575

public long DoubleCompressedAsInt64 { get; set; }

Property Value

long

DoubleValue

public double DoubleValue { get; set; }

Property Value

double

DurationValue

public DurationValue DurationValue { get; set; }

Property Value

DurationValue

FloatCompressedAsInt32

Only use when float((int32_t)val) == val && -1048576 <= val <= 1048575

public int FloatCompressedAsInt32 { get; set; }

Property Value

int

FloatValue

public float FloatValue { get; set; }

Property Value

float

GeometryValue

public GeometryValue GeometryValue { get; set; }

Property Value

GeometryValue

HasBlobValue

Gets whether the "blob_value" field is set

public bool HasBlobValue { get; }

Property Value

bool

HasBoolValue

Gets whether the "bool_value" field is set

public bool HasBoolValue { get; }

Property Value

bool

HasDatetimeValue

Gets whether the "datetime_value" field is set

public bool HasDatetimeValue { get; }

Property Value

bool

HasDoubleCompressedAsFloat

Gets whether the "double_compressed_as_float" field is set

public bool HasDoubleCompressedAsFloat { get; }

Property Value

bool

HasDoubleCompressedAsInt64

Gets whether the "double_compressed_as_int64" field is set

public bool HasDoubleCompressedAsInt64 { get; }

Property Value

bool

HasDoubleValue

Gets whether the "double_value" field is set

public bool HasDoubleValue { get; }

Property Value

bool

HasFloatCompressedAsInt32

Gets whether the "float_compressed_as_int32" field is set

public bool HasFloatCompressedAsInt32 { get; }

Property Value

bool

HasFloatValue

Gets whether the "float_value" field is set

public bool HasFloatValue { get; }

Property Value

bool

HasNullTag

Gets whether the "null_tag" field is set

public bool HasNullTag { get; }

Property Value

bool

HasSint64Value

Gets whether the "sint64_value" field is set

public bool HasSint64Value { get; }

Property Value

bool

HasStringValue

Gets whether the "string_value" field is set

public bool HasStringValue { get; }

Property Value

bool

HasUuidValue

Gets whether the "uuid_value" field is set

public bool HasUuidValue { get; }

Property Value

bool

NullTag

more types

public bool NullTag { get; set; }

Property Value

bool

Parser

public static MessageParser<PrimitiveValue> Parser { get; }

Property Value

MessageParser<PrimitiveValue>

Sint64Value

public long Sint64Value { get; set; }

Property Value

long

StringValue

public string StringValue { get; set; }

Property Value

string

TimeOnlyValue

public TimeOnlyValue TimeOnlyValue { get; set; }

Property Value

TimeOnlyValue

TimestampOffsetValue

public TimestampOffsetValue TimestampOffsetValue { get; set; }

Property Value

TimestampOffsetValue

UuidValue

16-byte RFC4122 UUID

public ByteString UuidValue { get; set; }

Property Value

ByteString

ValueTypeCase

public PrimitiveValue.ValueTypeOneofCase ValueTypeCase { get; }

Property Value

PrimitiveValue.ValueTypeOneofCase

Methods

CalculateSize()

public int CalculateSize()

Returns

int

ClearBlobValue()

Clears the value of the oneof if it's currently set to "blob_value"

public void ClearBlobValue()

ClearBoolValue()

Clears the value of the oneof if it's currently set to "bool_value"

public void ClearBoolValue()

ClearDatetimeValue()

Clears the value of the oneof if it's currently set to "datetime_value"

public void ClearDatetimeValue()

ClearDoubleCompressedAsFloat()

Clears the value of the oneof if it's currently set to "double_compressed_as_float"

public void ClearDoubleCompressedAsFloat()

ClearDoubleCompressedAsInt64()

Clears the value of the oneof if it's currently set to "double_compressed_as_int64"

public void ClearDoubleCompressedAsInt64()

ClearDoubleValue()

Clears the value of the oneof if it's currently set to "double_value"

public void ClearDoubleValue()

ClearFloatCompressedAsInt32()

Clears the value of the oneof if it's currently set to "float_compressed_as_int32"

public void ClearFloatCompressedAsInt32()

ClearFloatValue()

Clears the value of the oneof if it's currently set to "float_value"

public void ClearFloatValue()

ClearNullTag()

Clears the value of the oneof if it's currently set to "null_tag"

public void ClearNullTag()

ClearSint64Value()

Clears the value of the oneof if it's currently set to "sint64_value"

public void ClearSint64Value()

ClearStringValue()

Clears the value of the oneof if it's currently set to "string_value"

public void ClearStringValue()

ClearUuidValue()

Clears the value of the oneof if it's currently set to "uuid_value"

public void ClearUuidValue()

ClearValueType()

public void ClearValueType()

Clone()

public PrimitiveValue Clone()

Returns

PrimitiveValue

Equals(PrimitiveValue)

public bool Equals(PrimitiveValue other)

Parameters

other PrimitiveValue

Returns

bool

Equals(object)

public override bool Equals(object other)

Parameters

other object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

MergeFrom(PrimitiveValue)

public void MergeFrom(PrimitiveValue other)

Parameters

other PrimitiveValue

MergeFrom(CodedInputStream)

public void MergeFrom(CodedInputStream input)

Parameters

input CodedInputStream

ToString()

public override string ToString()

Returns

string

WriteTo(CodedOutputStream)

public void WriteTo(CodedOutputStream output)

Parameters

output CodedOutputStream