Skip to main content

Class: ReleaseInfo

version.v1.ReleaseInfo

Represents a ReleaseInfo.

Implements#

Constructors#

constructor#

new ReleaseInfo(properties?)

Constructs a new ReleaseInfo.

Parameters#

NameType
properties?IReleaseInfo

Properties#

notes#

notes: string

ReleaseInfo notes.

Implementation of#

IReleaseInfo.notes


releaseTime#

Optional releaseTime: null | ITimestamp

ReleaseInfo releaseTime.

Implementation of#

IReleaseInfo.releaseTime


version#

version: string

ReleaseInfo version.

Implementation of#

IReleaseInfo.version

Methods#

toJSON#

toJSON(): Object

Converts this ReleaseInfo to JSON.

Returns#

Object

JSON object


decode#

Static decode(reader, length?): ReleaseInfo

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

ReleaseInfo

ReleaseInfo


decodeDelimited#

Static decodeDelimited(reader): ReleaseInfo

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

ReleaseInfo

ReleaseInfo


encode#

Static encode(message, writer?): Writer

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

Parameters#

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

Returns#

Writer

Writer


encodeDelimited#

Static encodeDelimited(message, writer?): Writer

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

Parameters#

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

Returns#

Writer

Writer


fromObject#

Static fromObject(object): ReleaseInfo

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

Parameters#

NameTypeDescription
objectObjectPlain object

Returns#

ReleaseInfo

ReleaseInfo


toObject#

Static toObject(message, options?): Object

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

Parameters#

NameTypeDescription
messageReleaseInfoReleaseInfo
options?IConversionOptions-

Returns#

Object

Plain object