Class AgentDB.Types.Wire.Types.Value
SQLite's five storage classes.
public sealed class AgentDB.Types.Wire.Types.Value : IMessage<AgentDB.Types.Wire.Types.Value>, IEquatable<AgentDB.Types.Wire.Types.Value>, IDeepCloneable<AgentDB.Types.Wire.Types.Value>, IBufferMessage, IMessage
- Inheritance
-
AgentDB.Types.Wire.Types.Value
- Implements
-
IBufferMessageIMessage
- Inherited Members
Constructors
Value()
public Value()
Value(Value)
public Value(AgentDB.Types.Wire.Types.Value other)
Parameters
Fields
BlobValueFieldNumber
Field number for the "blob_value" field.
public const int BlobValueFieldNumber = 5
Field Value
DoubleValueFieldNumber
Field number for the "double_value" field.
public const int DoubleValueFieldNumber = 3
Field Value
IntValueFieldNumber
Field number for the "int_value" field.
public const int IntValueFieldNumber = 2
Field Value
NullValueFieldNumber
Field number for the "null_value" field.
public const int NullValueFieldNumber = 1
Field Value
TextValueFieldNumber
Field number for the "text_value" field.
public const int TextValueFieldNumber = 4
Field Value
Properties
BlobValue
public ByteString BlobValue { get; set; }
Property Value
- ByteString
Descriptor
public static MessageDescriptor Descriptor { get; }
Property Value
- MessageDescriptor
DoubleValue
public double DoubleValue { get; set; }
Property Value
HasBlobValue
Gets whether the "blob_value" field is set
public bool HasBlobValue { get; }
Property Value
HasDoubleValue
Gets whether the "double_value" field is set
public bool HasDoubleValue { get; }
Property Value
HasIntValue
Gets whether the "int_value" field is set
public bool HasIntValue { get; }
Property Value
HasNullValue
Gets whether the "null_value" field is set
public bool HasNullValue { get; }
Property Value
HasTextValue
Gets whether the "text_value" field is set
public bool HasTextValue { get; }
Property Value
IntValue
public long IntValue { get; set; }
Property Value
NullValue
always true when set
public bool NullValue { get; set; }
Property Value
Parser
public static MessageParser<AgentDB.Types.Wire.Types.Value> Parser { get; }
Property Value
TextValue
public string TextValue { get; set; }
Property Value
ValueCase
public AgentDB.Types.Wire.Types.Value.ValueOneofCase ValueCase { get; }
Property Value
Methods
CalculateSize()
Calculates the size of this message in Protocol Buffer wire format, in bytes.
public int CalculateSize()
Returns
- int
The number of bytes required to write this message to a coded output stream.
ClearBlobValue()
Clears the value of the oneof if it's currently set to "blob_value"
public void ClearBlobValue()
ClearDoubleValue()
Clears the value of the oneof if it's currently set to "double_value"
public void ClearDoubleValue()
ClearIntValue()
Clears the value of the oneof if it's currently set to "int_value"
public void ClearIntValue()
ClearNullValue()
Clears the value of the oneof if it's currently set to "null_value"
public void ClearNullValue()
ClearTextValue()
Clears the value of the oneof if it's currently set to "text_value"
public void ClearTextValue()
ClearValue()
public void ClearValue()
Clone()
Creates a deep clone of this object.
public AgentDB.Types.Wire.Types.Value Clone()
Returns
Equals(Value)
public bool Equals(AgentDB.Types.Wire.Types.Value other)
Parameters
Returns
Equals(object)
public override bool Equals(object other)
Parameters
otherobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
MergeFrom(CodedInputStream)
Merges the data from the specified coded input stream with the current message.
public void MergeFrom(CodedInputStream input)
Parameters
inputCodedInputStream
Remarks
See the user guide for precise merge semantics.
MergeFrom(Value)
Merges the given message into this one.
public void MergeFrom(AgentDB.Types.Wire.Types.Value other)
Parameters
Remarks
See the user guide for precise merge semantics.
ToString()
public override string ToString()
Returns
WriteTo(CodedOutputStream)
Writes the data to the given coded output stream.
public void WriteTo(CodedOutputStream output)
Parameters
outputCodedOutputStreamCoded output stream to write the data to. Must not be null.