AnyValue Class
public sealed class AnyValue : IBufferMessage, IDeepCloneable<AnyValue>, IMessage, IMessage<AnyValue>, IEquatable<AnyValue>No documentation is available.
- Implements
IBufferMessageIDeepCloneable<AnyValue>IMessageIMessage<AnyValue>IEquatable<AnyValue>
Nested types
| Name | Description |
|---|---|
| AnyValue.ValueOneofCase | Enum of possible cases for the "value" oneof. |
Constructors
| Name | Description |
|---|---|
| AnyValue() | |
| AnyValue(AnyValue) |
Properties
| Name | Description |
|---|---|
| BoolValue | |
| BytesValue | |
| Descriptor | |
| DoubleValue | |
| HasBoolValue | Gets whether the "bool_value" field is set |
| HasBytesValue | Gets whether the "bytes_value" field is set |
| HasDoubleValue | Gets whether the "double_value" field is set |
| HasIntValue | Gets whether the "int_value" field is set |
| HasStringValue | Gets whether the "string_value" field is set |
| IntValue | |
| Parser | |
| StringValue | |
| ValueCase | |
| pb::Google.Protobuf.IMessage.Descriptor |
BoolValue
BytesValue
public ByteString BytesValue { get; set; }Property value
ByteString
No documentation is available.
Descriptor
public static MessageDescriptor Descriptor { get; }Property value
MessageDescriptor
No documentation is available.
DoubleValue
HasBoolValue
HasBytesValue
HasDoubleValue
HasIntValue
HasStringValue
IntValue
Parser
public static MessageParser<AnyValue> Parser { get; }Property value
MessageParser<AnyValue>
No documentation is available.
StringValue
ValueCase
pb::Google.Protobuf.IMessage.Descriptor
MessageDescriptor IMessage.Descriptor { get; }Property value
MessageDescriptor
No documentation is available.
Methods
| Name | Description |
|---|---|
| CalculateSize() | |
| ClearBoolValue() | Clears the value of the oneof if it's currently set to "bool_value" |
| ClearBytesValue() | Clears the value of the oneof if it's currently set to "bytes_value" |
| ClearDoubleValue() | Clears the value of the oneof if it's currently set to "double_value" |
| ClearIntValue() | Clears the value of the oneof if it's currently set to "int_value" |
| ClearStringValue() | Clears the value of the oneof if it's currently set to "string_value" |
| ClearValue() | |
| Clone() | |
| Equals(AnyValue) | |
| Equals(object) | |
| GetHashCode() | |
| MergeFrom(CodedInputStream) | |
| MergeFrom(AnyValue) | |
| ToString() | |
| WriteTo(CodedOutputStream) | |
| pb::Google.Protobuf.IBufferMessage.InternalMergeFrom(ParseContext) | |
| pb::Google.Protobuf.IBufferMessage.InternalWriteTo(WriteContext) |
CalculateSize()
ClearBoolValue()
Clears the value of the oneof if it's currently set to "bool_value"
public void ClearBoolValue()ClearBytesValue()
Clears the value of the oneof if it's currently set to "bytes_value"
public void ClearBytesValue()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()ClearStringValue()
Clears the value of the oneof if it's currently set to "string_value"
public void ClearStringValue()ClearValue()
public void ClearValue()No documentation is available.
Clone()
Equals overloads
Equals(AnyValue)
Equals(object)
GetHashCode()
MergeFrom overloads
MergeFrom(CodedInputStream)
public void MergeFrom(CodedInputStream input)Parameters
inputCodedInputStream
No documentation is available.
MergeFrom(AnyValue)
ToString()
WriteTo(CodedOutputStream)
public void WriteTo(CodedOutputStream output)Parameters
outputCodedOutputStream
No documentation is available.
pb::Google.Protobuf.IBufferMessage.InternalMergeFrom(ParseContext)
void IBufferMessage.InternalMergeFrom(ref ParseContext input)Parameters
inputParseContext
No documentation is available.
pb::Google.Protobuf.IBufferMessage.InternalWriteTo(WriteContext)
void IBufferMessage.InternalWriteTo(ref WriteContext output)Parameters
outputWriteContext
No documentation is available.
Constants
| Name | Description |
|---|---|
| BoolValueFieldNumber | Field number for the "bool_value" field. |
| BytesValueFieldNumber | Field number for the "bytes_value" field. |
| DoubleValueFieldNumber | Field number for the "double_value" field. |
| IntValueFieldNumber | Field number for the "int_value" field. |
| StringValueFieldNumber | Field number for the "string_value" field. |
BoolValueFieldNumber
Field number for the "bool_value" field.
public const int BoolValueFieldNumber = 2BytesValueFieldNumber
Field number for the "bytes_value" field.
public const int BytesValueFieldNumber = 5DoubleValueFieldNumber
Field number for the "double_value" field.
public const int DoubleValueFieldNumber = 4IntValueFieldNumber
Field number for the "int_value" field.
public const int IntValueFieldNumber = 3StringValueFieldNumber
Field number for the "string_value" field.
public const int StringValueFieldNumber = 1