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.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#boolean_value
def boolean_value() -> ::Boolean
Returns
- (::Boolean) — boolean
#boolean_value=
def boolean_value=(value) -> ::Boolean
Parameter
- value (::Boolean) — boolean
Returns
- (::Boolean) — boolean
#date_value
def date_value() -> ::Google::Type::Date
Returns
- (::Google::Type::Date) — date
#date_value=
def date_value=(value) -> ::Google::Type::Date
Parameter
- value (::Google::Type::Date) — date
Returns
- (::Google::Type::Date) — date
#day_of_week_value
def day_of_week_value() -> ::Google::Type::DayOfWeek
Returns
- (::Google::Type::DayOfWeek) — day of week
#day_of_week_value=
def day_of_week_value=(value) -> ::Google::Type::DayOfWeek
Parameter
- value (::Google::Type::DayOfWeek) — day of week
Returns
- (::Google::Type::DayOfWeek) — day of week
#float_value
def float_value() -> ::Float
Returns
- (::Float) — float
#float_value=
def float_value=(value) -> ::Float
Parameter
- value (::Float) — float
Returns
- (::Float) — float
#integer_value
def integer_value() -> ::Integer
Returns
- (::Integer) — integer
#integer_value=
def integer_value=(value) -> ::Integer
Parameter
- value (::Integer) — integer
Returns
- (::Integer) — integer
#string_value
def string_value() -> ::String
Returns
- (::String) — string
#string_value=
def string_value=(value) -> ::String
Parameter
- value (::String) — string
Returns
- (::String) — string
#time_value
def time_value() -> ::Google::Type::TimeOfDay
Returns
- (::Google::Type::TimeOfDay) — time of day
#time_value=
def time_value=(value) -> ::Google::Type::TimeOfDay
Parameter
- value (::Google::Type::TimeOfDay) — time of day
Returns
- (::Google::Type::TimeOfDay) — time of day
#timestamp_value
def timestamp_value() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — timestamp
#timestamp_value=
def timestamp_value=(value) -> ::Google::Protobuf::Timestamp
Parameter
- value (::Google::Protobuf::Timestamp) — timestamp
Returns
- (::Google::Protobuf::Timestamp) — timestamp