Skip to main content

Class: BadBinaries

namespace.v1.BadBinaries

Represents a BadBinaries.

Implements#

Constructors#

constructor#

new BadBinaries(properties?)

Constructs a new BadBinaries.

Parameters#

NameType
properties?IBadBinaries

Properties#

binaries#

binaries: Object

BadBinaries binaries.

Index signature#

▪ [k: string]: IBadBinaryInfo

Implementation of#

IBadBinaries.binaries

Methods#

toJSON#

toJSON(): Object

Converts this BadBinaries to JSON.

Returns#

Object

JSON object


decode#

Static decode(reader, length?): BadBinaries

Decodes a BadBinaries message from the specified reader or buffer.

throws {Error} If the payload is not a reader or valid buffer

throws {$protobuf.util.ProtocolError} If required fields are missing

Parameters#

NameTypeDescription
readerUint8Array | ReaderReader or buffer to decode from
length?number-

Returns#

BadBinaries

BadBinaries


decodeDelimited#

Static decodeDelimited(reader): BadBinaries

Decodes a BadBinaries message from the specified reader or buffer, length delimited.

throws {Error} If the payload is not a reader or valid buffer

throws {$protobuf.util.ProtocolError} If required fields are missing

Parameters#

NameTypeDescription
readerUint8Array | ReaderReader or buffer to decode from

Returns#

BadBinaries

BadBinaries


encode#

Static encode(message, writer?): Writer

Encodes the specified BadBinaries message. Does not implicitly {@link temporal.api.namespace.v1.BadBinaries.verify|verify} messages.

Parameters#

NameTypeDescription
messageIBadBinariesBadBinaries message or plain object to encode
writer?Writer-

Returns#

Writer

Writer


encodeDelimited#

Static encodeDelimited(message, writer?): Writer

Encodes the specified BadBinaries message, length delimited. Does not implicitly {@link temporal.api.namespace.v1.BadBinaries.verify|verify} messages.

Parameters#

NameTypeDescription
messageIBadBinariesBadBinaries message or plain object to encode
writer?Writer-

Returns#

Writer

Writer


fromObject#

Static fromObject(object): BadBinaries

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

Parameters#

NameTypeDescription
objectObjectPlain object

Returns#

BadBinaries

BadBinaries


toObject#

Static toObject(message, options?): Object

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

Parameters#

NameTypeDescription
messageBadBinariesBadBinaries
options?IConversionOptions-

Returns#

Object

Plain object