Skip to main content

Class: BadBinaryInfo

namespace.v1.BadBinaryInfo

Represents a BadBinaryInfo.

Implements#

Constructors#

constructor#

new BadBinaryInfo(properties?)

Constructs a new BadBinaryInfo.

Parameters#

NameType
properties?IBadBinaryInfo

Properties#

createTime#

Optional createTime: null | ITimestamp

BadBinaryInfo createTime.

Implementation of#

IBadBinaryInfo.createTime


operator#

operator: string

BadBinaryInfo operator.

Implementation of#

IBadBinaryInfo.operator


reason#

reason: string

BadBinaryInfo reason.

Implementation of#

IBadBinaryInfo.reason

Methods#

toJSON#

toJSON(): Object

Converts this BadBinaryInfo to JSON.

Returns#

Object

JSON object


decode#

Static decode(reader, length?): BadBinaryInfo

Decodes a BadBinaryInfo 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#

BadBinaryInfo

BadBinaryInfo


decodeDelimited#

Static decodeDelimited(reader): BadBinaryInfo

Decodes a BadBinaryInfo 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#

BadBinaryInfo

BadBinaryInfo


encode#

Static encode(message, writer?): Writer

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

Parameters#

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

Returns#

Writer

Writer


encodeDelimited#

Static encodeDelimited(message, writer?): Writer

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

Parameters#

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

Returns#

Writer

Writer


fromObject#

Static fromObject(object): BadBinaryInfo

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

Parameters#

NameTypeDescription
objectObjectPlain object

Returns#

BadBinaryInfo

BadBinaryInfo


toObject#

Static toObject(message, options?): Object

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

Parameters#

NameTypeDescription
messageBadBinaryInfoBadBinaryInfo
options?IConversionOptions-

Returns#

Object

Plain object