Value

google.protobuf. Value

Represents a Value.

Constructor

new Value(propertiesopt)

Constructs a new Value.

Parameters:
Name Type Attributes Description
properties google.protobuf.IValue <optional>

Properties to set

Implements:
  • IValue

Members

boolValue :boolean

Value boolValue.

boolValue :boolean

Value boolValue.

boolValue :boolean

Value boolValue.

kind :"nullValue"|"numberValue"|"stringValue"|"boolValue"|"structValue"|"listValue"|undefined

Value kind.

kind :"nullValue"|"numberValue"|"stringValue"|"boolValue"|"structValue"|"listValue"|undefined

Value kind.

kind :"nullValue"|"numberValue"|"stringValue"|"boolValue"|"structValue"|"listValue"|undefined

Value kind.

listValue :google.protobuf.IListValue|null|undefined

Value listValue.

listValue :google.protobuf.IListValue|null|undefined

Value listValue.

listValue :google.protobuf.IListValue|null|undefined

Value listValue.

nullValue :google.protobuf.NullValue

Value nullValue.

nullValue :google.protobuf.NullValue

Value nullValue.

nullValue :google.protobuf.NullValue

Value nullValue.

numberValue :number

Value numberValue.

numberValue :number

Value numberValue.

numberValue :number

Value numberValue.

stringValue :string

Value stringValue.

stringValue :string

Value stringValue.

stringValue :string

Value stringValue.

structValue :google.protobuf.IStruct|null|undefined

Value structValue.

structValue :google.protobuf.IStruct|null|undefined

Value structValue.

structValue :google.protobuf.IStruct|null|undefined

Value structValue.

Methods

(static) fromObject(object) → {google.protobuf.Value}

Creates a Value message from a plain object. Also converts values to their respective internal types.

Parameters:
Name Type Description
object Object.<string, *>

Plain object

(static) fromObject(object) → {google.protobuf.Value}

Creates a Value message from a plain object. Also converts values to their respective internal types.

Parameters:
Name Type Description
object Object.<string, *>

Plain object

(static) fromObject(object) → {google.protobuf.Value}

Creates a Value message from a plain object. Also converts values to their respective internal types.

Parameters:
Name Type Description
object Object.<string, *>

Plain object

(static) toObject(message, optionsopt) → {Object.<string, *>}

Creates a plain object from a Value message. Also converts values to other types if specified.

Parameters:
Name Type Attributes Description
message google.protobuf.Value

Value

options $protobuf.IConversionOptions <optional>

Conversion options

(static) toObject(message, optionsopt) → {Object.<string, *>}

Creates a plain object from a Value message. Also converts values to other types if specified.

Parameters:
Name Type Attributes Description
message google.protobuf.Value

Value

options $protobuf.IConversionOptions <optional>

Conversion options

(static) toObject(message, optionsopt) → {Object.<string, *>}

Creates a plain object from a Value message. Also converts values to other types if specified.

Parameters:
Name Type Attributes Description
message google.protobuf.Value

Value

options $protobuf.IConversionOptions <optional>

Conversion options

toJSON() → {Object.<string, *>}

Converts this Value to JSON.

toJSON() → {Object.<string, *>}

Converts this Value to JSON.

toJSON() → {Object.<string, *>}

Converts this Value to JSON.

google.protobuf. Value

Represents a Value.

Constructor

new Value(propertiesopt)

Constructs a new Value.

Parameters:
Name Type Attributes Description
properties google.protobuf.IValue <optional>

Properties to set

Implements:
  • IValue

Members

boolValue :boolean

Value boolValue.

boolValue :boolean

Value boolValue.

boolValue :boolean

Value boolValue.

kind :"nullValue"|"numberValue"|"stringValue"|"boolValue"|"structValue"|"listValue"|undefined

Value kind.

kind :"nullValue"|"numberValue"|"stringValue"|"boolValue"|"structValue"|"listValue"|undefined

Value kind.

kind :"nullValue"|"numberValue"|"stringValue"|"boolValue"|"structValue"|"listValue"|undefined

Value kind.

listValue :google.protobuf.IListValue|null|undefined

Value listValue.

listValue :google.protobuf.IListValue|null|undefined

Value listValue.

listValue :google.protobuf.IListValue|null|undefined

Value listValue.

nullValue :google.protobuf.NullValue

Value nullValue.

nullValue :google.protobuf.NullValue

Value nullValue.

nullValue :google.protobuf.NullValue

Value nullValue.

numberValue :number

Value numberValue.

numberValue :number

Value numberValue.

numberValue :number

Value numberValue.

stringValue :string

Value stringValue.

stringValue :string

Value stringValue.

stringValue :string

Value stringValue.

structValue :google.protobuf.IStruct|null|undefined

Value structValue.

structValue :google.protobuf.IStruct|null|undefined

Value structValue.

structValue :google.protobuf.IStruct|null|undefined

Value structValue.

Methods

(static) fromObject(object) → {google.protobuf.Value}

Creates a Value message from a plain object. Also converts values to their respective internal types.

Parameters:
Name Type Description
object Object.<string, *>

Plain object

(static) fromObject(object) → {google.protobuf.Value}

Creates a Value message from a plain object. Also converts values to their respective internal types.

Parameters:
Name Type Description
object Object.<string, *>

Plain object

(static) fromObject(object) → {google.protobuf.Value}

Creates a Value message from a plain object. Also converts values to their respective internal types.

Parameters:
Name Type Description
object Object.<string, *>

Plain object

(static) toObject(message, optionsopt) → {Object.<string, *>}

Creates a plain object from a Value message. Also converts values to other types if specified.

Parameters:
Name Type Attributes Description
message google.protobuf.Value

Value

options $protobuf.IConversionOptions <optional>

Conversion options

(static) toObject(message, optionsopt) → {Object.<string, *>}

Creates a plain object from a Value message. Also converts values to other types if specified.

Parameters:
Name Type Attributes Description
message google.protobuf.Value

Value

options $protobuf.IConversionOptions <optional>

Conversion options

(static) toObject(message, optionsopt) → {Object.<string, *>}

Creates a plain object from a Value message. Also converts values to other types if specified.

Parameters:
Name Type Attributes Description
message google.protobuf.Value

Value

options $protobuf.IConversionOptions <optional>

Conversion options

toJSON() → {Object.<string, *>}

Converts this Value to JSON.

toJSON() → {Object.<string, *>}

Converts this Value to JSON.

toJSON() → {Object.<string, *>}

Converts this Value to JSON.

google.protobuf. Value

Represents a Value.

Constructor

new Value(propertiesopt)

Constructs a new Value.

Parameters:
Name Type Attributes Description
properties google.protobuf.IValue <optional>

Properties to set

Implements:
  • IValue

Members

boolValue :boolean

Value boolValue.

boolValue :boolean

Value boolValue.

boolValue :boolean

Value boolValue.

kind :"nullValue"|"numberValue"|"stringValue"|"boolValue"|"structValue"|"listValue"|undefined

Value kind.

kind :"nullValue"|"numberValue"|"stringValue"|"boolValue"|"structValue"|"listValue"|undefined

Value kind.

kind :"nullValue"|"numberValue"|"stringValue"|"boolValue"|"structValue"|"listValue"|undefined

Value kind.

listValue :google.protobuf.IListValue|null|undefined

Value listValue.

listValue :google.protobuf.IListValue|null|undefined

Value listValue.

listValue :google.protobuf.IListValue|null|undefined

Value listValue.

nullValue :google.protobuf.NullValue

Value nullValue.

nullValue :google.protobuf.NullValue

Value nullValue.

nullValue :google.protobuf.NullValue

Value nullValue.

numberValue :number

Value numberValue.

numberValue :number

Value numberValue.

numberValue :number

Value numberValue.

stringValue :string

Value stringValue.

stringValue :string

Value stringValue.

stringValue :string

Value stringValue.

structValue :google.protobuf.IStruct|null|undefined

Value structValue.

structValue :google.protobuf.IStruct|null|undefined

Value structValue.

structValue :google.protobuf.IStruct|null|undefined

Value structValue.

Methods

(static) fromObject(object) → {google.protobuf.Value}

Creates a Value message from a plain object. Also converts values to their respective internal types.

Parameters:
Name Type Description
object Object.<string, *>

Plain object

(static) fromObject(object) → {google.protobuf.Value}

Creates a Value message from a plain object. Also converts values to their respective internal types.

Parameters:
Name Type Description
object Object.<string, *>

Plain object

(static) fromObject(object) → {google.protobuf.Value}

Creates a Value message from a plain object. Also converts values to their respective internal types.

Parameters:
Name Type Description
object Object.<string, *>

Plain object

(static) toObject(message, optionsopt) → {Object.<string, *>}

Creates a plain object from a Value message. Also converts values to other types if specified.

Parameters:
Name Type Attributes Description
message google.protobuf.Value

Value

options $protobuf.IConversionOptions <optional>

Conversion options

(static) toObject(message, optionsopt) → {Object.<string, *>}

Creates a plain object from a Value message. Also converts values to other types if specified.

Parameters:
Name Type Attributes Description
message google.protobuf.Value

Value

options $protobuf.IConversionOptions <optional>

Conversion options

(static) toObject(message, optionsopt) → {Object.<string, *>}

Creates a plain object from a Value message. Also converts values to other types if specified.

Parameters:
Name Type Attributes Description
message google.protobuf.Value

Value

options $protobuf.IConversionOptions <optional>

Conversion options

toJSON() → {Object.<string, *>}

Converts this Value to JSON.

toJSON() → {Object.<string, *>}

Converts this Value to JSON.

toJSON() → {Object.<string, *>}

Converts this Value to JSON.