Skip to main content

Class: ListSearchAttributesResponse

Represents a ListSearchAttributesResponse.

Properties​

customAttributes​

customAttributes: object

Mapping between custom (user-registered) search attribute name to its IndexedValueType.

Index Signature​

[k: string]: IndexedValueType


storageSchema​

storageSchema: object

Mapping from the attribute name to the visibility storage native type.

Index Signature​

[k: string]: string


systemAttributes​

systemAttributes: object

Mapping between system (predefined) search attribute name to its IndexedValueType.

Index Signature​

[k: string]: IndexedValueType

Methods​

toJSON()​

toJSON(): object

Converts this ListSearchAttributesResponse to JSON.

Returns​

object

JSON object


create()​

Call Signature​

static create(properties?): ListSearchAttributesResponse & $Properties

Creates a new ListSearchAttributesResponse instance using the specified properties.

Parameters​
properties?​

$Properties

Properties to set

Returns​

ListSearchAttributesResponse & $Properties

ListSearchAttributesResponse instance

Call Signature​

static create(properties?): ListSearchAttributesResponse

Creates a new ListSearchAttributesResponse instance using the specified properties.

Parameters​
properties?​

$Properties

Properties to set

Returns​

ListSearchAttributesResponse

ListSearchAttributesResponse instance


decode()​

static decode(reader, length?): ListSearchAttributesResponse & $Properties

Decodes a ListSearchAttributesResponse message from the specified reader or buffer.

Parameters​

reader​

Uint8Array<ArrayBufferLike> | Reader

Reader or buffer to decode from

length?​

number

Message length if known beforehand

Returns​

ListSearchAttributesResponse & $Properties

ListSearchAttributesResponse

Throws​

If the payload is not a reader or valid buffer

Throws​

If required fields are missing


decodeDelimited()​

static decodeDelimited(reader): ListSearchAttributesResponse & $Properties

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

Parameters​

reader​

Uint8Array<ArrayBufferLike> | Reader

Reader or buffer to decode from

Returns​

ListSearchAttributesResponse & $Properties

ListSearchAttributesResponse

Throws​

If the payload is not a reader or valid buffer

Throws​

If required fields are missing


encode()​

static encode(message, writer?): Writer

Encodes the specified ListSearchAttributesResponse message. Does not implicitly temporal.api.operatorservice.v1.ListSearchAttributesResponse.verify|verify messages.

Parameters​

message​

$Properties

ListSearchAttributesResponse message or plain object to encode

writer?​

Writer

Writer to encode to

Returns​

Writer

Writer


encodeDelimited()​

static encodeDelimited(message, writer?): Writer

Encodes the specified ListSearchAttributesResponse message, length delimited. Does not implicitly temporal.api.operatorservice.v1.ListSearchAttributesResponse.verify|verify messages.

Parameters​

message​

$Properties

ListSearchAttributesResponse message or plain object to encode

writer?​

Writer

Writer to encode to

Returns​

Writer

Writer


fromObject()​

static fromObject(object): ListSearchAttributesResponse

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

Parameters​

object​

Plain object

Returns​

ListSearchAttributesResponse

ListSearchAttributesResponse


toObject()​

static toObject(message, options?): object

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

Parameters​

message​

ListSearchAttributesResponse

ListSearchAttributesResponse

options?​

IConversionOptions

Conversion options

Returns​

object

Plain object