Struct

google.protobuf. Struct

Represents a Struct.

Constructor

new Struct(propertiesopt)

Constructs a new Struct.

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

Properties to set

Implements:
  • IStruct

Members

fields :Object.<string, google.protobuf.IValue>

Struct fields.

fields :Object.<string, google.protobuf.IValue>

Struct fields.

fields :Object.<string, google.protobuf.IValue>

Struct fields.

Methods

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

Creates a Struct 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.Struct}

Creates a Struct 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.Struct}

Creates a Struct 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 Struct message. Also converts values to other types if specified.

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

Struct

options $protobuf.IConversionOptions <optional>

Conversion options

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

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

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

Struct

options $protobuf.IConversionOptions <optional>

Conversion options

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

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

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

Struct

options $protobuf.IConversionOptions <optional>

Conversion options

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

Converts this Struct to JSON.

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

Converts this Struct to JSON.

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

Converts this Struct to JSON.

google.protobuf. Struct

Represents a Struct.

Constructor

new Struct(propertiesopt)

Constructs a new Struct.

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

Properties to set

Implements:
  • IStruct

Members

fields :Object.<string, google.protobuf.IValue>

Struct fields.

fields :Object.<string, google.protobuf.IValue>

Struct fields.

fields :Object.<string, google.protobuf.IValue>

Struct fields.

Methods

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

Creates a Struct 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.Struct}

Creates a Struct 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.Struct}

Creates a Struct 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 Struct message. Also converts values to other types if specified.

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

Struct

options $protobuf.IConversionOptions <optional>

Conversion options

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

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

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

Struct

options $protobuf.IConversionOptions <optional>

Conversion options

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

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

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

Struct

options $protobuf.IConversionOptions <optional>

Conversion options

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

Converts this Struct to JSON.

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

Converts this Struct to JSON.

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

Converts this Struct to JSON.

google.protobuf. Struct

Represents a Struct.

Constructor

new Struct(propertiesopt)

Constructs a new Struct.

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

Properties to set

Implements:
  • IStruct

Members

fields :Object.<string, google.protobuf.IValue>

Struct fields.

fields :Object.<string, google.protobuf.IValue>

Struct fields.

fields :Object.<string, google.protobuf.IValue>

Struct fields.

Methods

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

Creates a Struct 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.Struct}

Creates a Struct 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.Struct}

Creates a Struct 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 Struct message. Also converts values to other types if specified.

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

Struct

options $protobuf.IConversionOptions <optional>

Conversion options

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

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

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

Struct

options $protobuf.IConversionOptions <optional>

Conversion options

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

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

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

Struct

options $protobuf.IConversionOptions <optional>

Conversion options

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

Converts this Struct to JSON.

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

Converts this Struct to JSON.

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

Converts this Struct to JSON.