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>IBufferMessageIMessage
- Inherited Members
Constructors
PrimitiveValue()
public PrimitiveValue()
PrimitiveValue(PrimitiveValue)
public PrimitiveValue(PrimitiveValue other)
Parameters
otherPrimitiveValue
Fields
BlobValueFieldNumber
Field number for the "blob_value" field.
public const int BlobValueFieldNumber = 10
Field Value
BoolValueFieldNumber
Field number for the "bool_value" field.
public const int BoolValueFieldNumber = 8
Field Value
DateOnlyValueFieldNumber
Field number for the "date_only_value" field.
public const int DateOnlyValueFieldNumber = 15
Field Value
DatetimeValueFieldNumber
Field number for the "datetime_value" field.
public const int DatetimeValueFieldNumber = 13
Field Value
DoubleCompressedAsFloatFieldNumber
Field number for the "double_compressed_as_float" field.
public const int DoubleCompressedAsFloatFieldNumber = 5
Field Value
DoubleCompressedAsInt64FieldNumber
Field number for the "double_compressed_as_int64" field.
public const int DoubleCompressedAsInt64FieldNumber = 6
Field Value
DoubleValueFieldNumber
Field number for the "double_value" field.
public const int DoubleValueFieldNumber = 4
Field Value
DurationValueFieldNumber
Field number for the "duration_value" field.
public const int DurationValueFieldNumber = 17
Field Value
FloatCompressedAsInt32FieldNumber
Field number for the "float_compressed_as_int32" field.
public const int FloatCompressedAsInt32FieldNumber = 3
Field Value
FloatValueFieldNumber
Field number for the "float_value" field.
public const int FloatValueFieldNumber = 2
Field Value
GeometryValueFieldNumber
Field number for the "geometry_value" field.
public const int GeometryValueFieldNumber = 11
Field Value
NullTagFieldNumber
Field number for the "null_tag" field.
public const int NullTagFieldNumber = 12
Field Value
Sint64ValueFieldNumber
Field number for the "sint64_value" field.
public const int Sint64ValueFieldNumber = 7
Field Value
StringValueFieldNumber
Field number for the "string_value" field.
public const int StringValueFieldNumber = 1
Field Value
TimeOnlyValueFieldNumber
Field number for the "time_only_value" field.
public const int TimeOnlyValueFieldNumber = 16
Field Value
TimestampOffsetValueFieldNumber
Field number for the "timestamp_offset_value" field.
public const int TimestampOffsetValueFieldNumber = 14
Field Value
UuidValueFieldNumber
Field number for the "uuid_value" field.
public const int UuidValueFieldNumber = 9
Field Value
Properties
BlobValue
public ByteString BlobValue { get; set; }
Property Value
- ByteString
BoolValue
public bool BoolValue { get; set; }
Property Value
DateOnlyValue
public DateOnlyValue DateOnlyValue { get; set; }
Property Value
DatetimeValue
UTC UNIX timestamp in milliseconds since epoch.
public long DatetimeValue { get; set; }
Property Value
Descriptor
public static MessageDescriptor Descriptor { get; }
Property Value
- MessageDescriptor
DoubleCompressedAsFloat
Only use when double((float)val) == val
public float DoubleCompressedAsFloat { get; set; }
Property Value
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
DoubleValue
public double DoubleValue { get; set; }
Property Value
DurationValue
public DurationValue DurationValue { get; set; }
Property Value
FloatCompressedAsInt32
Only use when float((int32_t)val) == val && -1048576 <= val <= 1048575
public int FloatCompressedAsInt32 { get; set; }
Property Value
FloatValue
public float FloatValue { get; set; }
Property Value
GeometryValue
public GeometryValue GeometryValue { get; set; }
Property Value
HasBlobValue
Gets whether the "blob_value" field is set
public bool HasBlobValue { get; }
Property Value
HasBoolValue
Gets whether the "bool_value" field is set
public bool HasBoolValue { get; }
Property Value
HasDatetimeValue
Gets whether the "datetime_value" field is set
public bool HasDatetimeValue { get; }
Property Value
HasDoubleCompressedAsFloat
Gets whether the "double_compressed_as_float" field is set
public bool HasDoubleCompressedAsFloat { get; }
Property Value
HasDoubleCompressedAsInt64
Gets whether the "double_compressed_as_int64" field is set
public bool HasDoubleCompressedAsInt64 { get; }
Property Value
HasDoubleValue
Gets whether the "double_value" field is set
public bool HasDoubleValue { get; }
Property Value
HasFloatCompressedAsInt32
Gets whether the "float_compressed_as_int32" field is set
public bool HasFloatCompressedAsInt32 { get; }
Property Value
HasFloatValue
Gets whether the "float_value" field is set
public bool HasFloatValue { get; }
Property Value
HasNullTag
Gets whether the "null_tag" field is set
public bool HasNullTag { get; }
Property Value
HasSint64Value
Gets whether the "sint64_value" field is set
public bool HasSint64Value { get; }
Property Value
HasStringValue
Gets whether the "string_value" field is set
public bool HasStringValue { get; }
Property Value
HasUuidValue
Gets whether the "uuid_value" field is set
public bool HasUuidValue { get; }
Property Value
NullTag
more types
public bool NullTag { get; set; }
Property Value
Parser
public static MessageParser<PrimitiveValue> Parser { get; }
Property Value
- MessageParser<PrimitiveValue>
Sint64Value
public long Sint64Value { get; set; }
Property Value
StringValue
public string StringValue { get; set; }
Property Value
TimeOnlyValue
public TimeOnlyValue TimeOnlyValue { get; set; }
Property Value
TimestampOffsetValue
public TimestampOffsetValue TimestampOffsetValue { get; set; }
Property Value
UuidValue
16-byte RFC4122 UUID
public ByteString UuidValue { get; set; }
Property Value
- ByteString
ValueTypeCase
public PrimitiveValue.ValueTypeOneofCase ValueTypeCase { get; }
Property Value
Methods
CalculateSize()
public int CalculateSize()
Returns
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
Equals(PrimitiveValue)
public bool Equals(PrimitiveValue other)
Parameters
otherPrimitiveValue
Returns
Equals(object)
public override bool Equals(object other)
Parameters
otherobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
MergeFrom(PrimitiveValue)
public void MergeFrom(PrimitiveValue other)
Parameters
otherPrimitiveValue
MergeFrom(CodedInputStream)
public void MergeFrom(CodedInputStream input)
Parameters
inputCodedInputStream
ToString()
public override string ToString()
Returns
WriteTo(CodedOutputStream)
public void WriteTo(CodedOutputStream output)
Parameters
outputCodedOutputStream