Skip to main content

Class: ListSearchAttributesResponse

operatorservice.v1.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

create(properties?): ListSearchAttributesResponse & $Properties

Creates a new ListSearchAttributesResponse instance using the specified properties.

Parameters

NameTypeDescription
properties?$PropertiesProperties to set

Returns

ListSearchAttributesResponse & $Properties

ListSearchAttributesResponse instance

create(properties?): ListSearchAttributesResponse

Parameters

NameType
properties?$Properties

Returns

ListSearchAttributesResponse


decode

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

Decodes a ListSearchAttributesResponse message from the specified reader or buffer.

Parameters

NameTypeDescription
readerUint8Array | ReaderReader or buffer to decode from
length?numberMessage 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

decodeDelimited(reader): ListSearchAttributesResponse & $Properties

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

Parameters

NameTypeDescription
readerUint8Array | ReaderReader 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

encode(message, writer?): Writer

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

Parameters

NameTypeDescription
message$PropertiesListSearchAttributesResponse message or plain object to encode
writer?WriterWriter to encode to

Returns

Writer

Writer


encodeDelimited

encodeDelimited(message, writer?): Writer

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

Parameters

NameTypeDescription
message$PropertiesListSearchAttributesResponse message or plain object to encode
writer?WriterWriter to encode to

Returns

Writer

Writer


fromObject

fromObject(object): ListSearchAttributesResponse

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

Parameters

NameTypeDescription
objectObjectPlain object

Returns

ListSearchAttributesResponse

ListSearchAttributesResponse


toObject

toObject(message, options?): Object

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

Parameters

NameTypeDescription
messageListSearchAttributesResponseListSearchAttributesResponse
options?IConversionOptionsConversion options

Returns

Object

Plain object