public sealed class Value : IMessage<Value>, IEquatable<Value>, IDeepCloneable<Value>, IBufferMessage, IMessage
Set of primitive values supported by the system. Note that for the purposes of inspection or transformation, the number of bytes considered to comprise a 'Value' is based on its representation as a UTF-8 encoded string. For example, if 'integer_value' is set to 123456789, the number of bytes would be counted as 9, even though an int64 only holds up to 8 bytes of data.
Namespace
Google.Cloud.Dlp.V2Assembly
Google.Cloud.Dlp.V2.dll
Constructors
Value()
public Value()
Value(Value)
public Value(Value other)
Parameter | |
---|---|
Name | Description |
other | Value |
Properties
BooleanValue
public bool BooleanValue { get; set; }
boolean
Property Value | |
---|---|
Type | Description |
Boolean |
DateValue
public Date DateValue { get; set; }
date
Property Value | |
---|---|
Type | Description |
Date |
DayOfWeekValue
public DayOfWeek DayOfWeekValue { get; set; }
day of week
Property Value | |
---|---|
Type | Description |
DayOfWeek |
FloatValue
public double FloatValue { get; set; }
float
Property Value | |
---|---|
Type | Description |
Double |
IntegerValue
public long IntegerValue { get; set; }
integer
Property Value | |
---|---|
Type | Description |
Int64 |
StringValue
public string StringValue { get; set; }
string
Property Value | |
---|---|
Type | Description |
String |
TimestampValue
public Timestamp TimestampValue { get; set; }
timestamp
Property Value | |
---|---|
Type | Description |
Timestamp |
TimeValue
public TimeOfDay TimeValue { get; set; }
time of day
Property Value | |
---|---|
Type | Description |
TimeOfDay |
TypeCase
public Value.TypeOneofCase TypeCase { get; }
Property Value | |
---|---|
Type | Description |
Value.TypeOneofCase |