Class: Google::Protobuf::Value

Inherits:
Object
  • Object
show all
Extended by:
MessageExts::ClassMethods
Includes:
MessageExts
Defined in:
proto_docs/google/protobuf/struct.rb

Overview

Value represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of these variants. Absence of any variant indicates an error.

The JSON representation for Value is JSON value.

Instance Attribute Summary collapse

Instance Attribute Details

#bool_value::Boolean



83
84
85
86
# File 'proto_docs/google/protobuf/struct.rb', line 83

class Value
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#list_value::Google::Protobuf::ListValue



83
84
85
86
# File 'proto_docs/google/protobuf/struct.rb', line 83

class Value
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#null_value::Google::Protobuf::NullValue



83
84
85
86
# File 'proto_docs/google/protobuf/struct.rb', line 83

class Value
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#number_value::Float



83
84
85
86
# File 'proto_docs/google/protobuf/struct.rb', line 83

class Value
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#string_value::String



83
84
85
86
# File 'proto_docs/google/protobuf/struct.rb', line 83

class Value
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#struct_value::Google::Protobuf::Struct



83
84
85
86
# File 'proto_docs/google/protobuf/struct.rb', line 83

class Value
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end