Class: ConfigMetadata
Represents a ConfigMetadata.
Implements
Constructors
constructor
• new ConfigMetadata(properties?
): ConfigMetadata
Constructs a new ConfigMetadata.
Parameters
Name | Type | Description |
---|---|---|
properties? | IConfigMetadata | Properties to set |
Returns
Properties
reason
• reason: string
Reason for why the config was set.
Implementation of
updateIdentity
• updateIdentity: string
Identity of the last updater. Set by the request's identity field.
Implementation of
IConfigMetadata.updateIdentity
updateTime
• Optional
updateTime: null
| ITimestamp
Time of the last update.
Implementation of
Methods
toJSON
▸ toJSON(): Object
Converts this ConfigMetadata to JSON.
Returns
Object
JSON object
create
▸ create(properties?
): ConfigMetadata
Creates a new ConfigMetadata instance using the specified properties.
Parameters
Name | Type | Description |
---|---|---|
properties? | IConfigMetadata | Properties to set |
Returns
ConfigMetadata instance
decode
▸ decode(reader
, length?
): ConfigMetadata
Decodes a ConfigMetadata message from the specified reader or buffer.
Parameters
Name | Type | Description |
---|---|---|
reader | Uint8Array | Reader | Reader or buffer to decode from |
length? | number | Message length if known beforehand |
Returns
ConfigMetadata
Throws
If the payload is not a reader or valid buffer
Throws
If required fields are missing
decodeDelimited
▸ decodeDelimited(reader
): ConfigMetadata
Decodes a ConfigMetadata message from the specified reader or buffer, length delimited.
Parameters
Name | Type | Description |
---|---|---|
reader | Uint8Array | Reader | Reader or buffer to decode from |
Returns
ConfigMetadata
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 ConfigMetadata message. Does not implicitly temporal.api.taskqueue.v1.ConfigMetadata.verify|verify messages.
Parameters
Name | Type | Description |
---|---|---|
message | IConfigMetadata | ConfigMetadata message or plain object to encode |
writer? | Writer | Writer to encode to |
Returns
Writer
Writer
encodeDelimited
▸ encodeDelimited(message
, writer?
): Writer
Encodes the specified ConfigMetadata message, length delimited. Does not implicitly temporal.api.taskqueue.v1.ConfigMetadata.verify|verify messages.
Parameters
Name | Type | Description |
---|---|---|
message | IConfigMetadata | ConfigMetadata message or plain object to encode |
writer? | Writer | Writer to encode to |
Returns
Writer
Writer
fromObject
▸ fromObject(object
): ConfigMetadata
Creates a ConfigMetadata message from a plain object. Also converts values to their respective internal types.
Parameters
Name | Type | Description |
---|---|---|
object | Object | Plain object |
Returns
ConfigMetadata
getTypeUrl
▸ getTypeUrl(typeUrlPrefix?
): string
Gets the default type url for ConfigMetadata
Parameters
Name | Type | Description |
---|---|---|
typeUrlPrefix? | string | your custom typeUrlPrefix(default "type.googleapis.com") |
Returns
string
The default type url
toObject
▸ toObject(message
, options?
): Object
Creates a plain object from a ConfigMetadata message. Also converts values to other types if specified.
Parameters
Name | Type | Description |
---|---|---|
message | ConfigMetadata | ConfigMetadata |
options? | IConversionOptions | Conversion options |
Returns
Object
Plain object