Class: AIRichResponseLatexMetadata
Defined in: WAProto/index.d.ts:1826
Represents a AIRichResponseLatexMetadata.
Implements
Constructors
new AIRichResponseLatexMetadata()
new AIRichResponseLatexMetadata(
properties
?):AIRichResponseLatexMetadata
Defined in: WAProto/index.d.ts:1832
Constructs a new AIRichResponseLatexMetadata.
Parameters
properties?
Properties to set
Returns
Properties
expressions
expressions:
IAIRichResponseLatexExpression
[]
Defined in: WAProto/index.d.ts:1838
AIRichResponseLatexMetadata expressions.
Implementation of
IAIRichResponseLatexMetadata
.expressions
text?
optional
text:null
|string
Defined in: WAProto/index.d.ts:1835
AIRichResponseLatexMetadata text.
Implementation of
IAIRichResponseLatexMetadata
.text
Methods
toJSON()
toJSON():
object
Defined in: WAProto/index.d.ts:1908
Converts this AIRichResponseLatexMetadata to JSON.
Returns
object
JSON object
create()
static
create(properties
?):AIRichResponseLatexMetadata
Defined in: WAProto/index.d.ts:1845
Creates a new AIRichResponseLatexMetadata instance using the specified properties.
Parameters
properties?
Properties to set
Returns
AIRichResponseLatexMetadata instance
decode()
static
decode(reader
,length
?):AIRichResponseLatexMetadata
Defined in: WAProto/index.d.ts:1871
Decodes a AIRichResponseLatexMetadata message from the specified reader or buffer.
Parameters
reader
Reader or buffer to decode from
Uint8Array
<ArrayBufferLike
> | Reader
length?
number
Message length if known beforehand
Returns
AIRichResponseLatexMetadata
Throws
If the payload is not a reader or valid buffer
Throws
If required fields are missing
decodeDelimited()
static
decodeDelimited(reader
):AIRichResponseLatexMetadata
Defined in: WAProto/index.d.ts:1880
Decodes a AIRichResponseLatexMetadata message from the specified reader or buffer, length delimited.
Parameters
reader
Reader or buffer to decode from
Uint8Array
<ArrayBufferLike
> | Reader
Returns
AIRichResponseLatexMetadata
Throws
If the payload is not a reader or valid buffer
Throws
If required fields are missing
encode()
static
encode(message
,writer
?):Writer
Defined in: WAProto/index.d.ts:1853
Encodes the specified AIRichResponseLatexMetadata message. Does not implicitly verify messages.
Parameters
message
AIRichResponseLatexMetadata message or plain object to encode
writer?
Writer
Writer to encode to
Returns
Writer
Writer
encodeDelimited()
static
encodeDelimited(message
,writer
?):Writer
Defined in: WAProto/index.d.ts:1861
Encodes the specified AIRichResponseLatexMetadata message, length delimited. Does not implicitly verify messages.
Parameters
message
AIRichResponseLatexMetadata message or plain object to encode
writer?
Writer
Writer to encode to
Returns
Writer
Writer
fromObject()
static
fromObject(object
):AIRichResponseLatexMetadata
Defined in: WAProto/index.d.ts:1894
Creates a AIRichResponseLatexMetadata message from a plain object. Also converts values to their respective internal types.
Parameters
object
Plain object
Returns
AIRichResponseLatexMetadata
getTypeUrl()
static
getTypeUrl(typeUrlPrefix
?):string
Defined in: WAProto/index.d.ts:1915
Gets the default type url for AIRichResponseLatexMetadata
Parameters
typeUrlPrefix?
string
your custom typeUrlPrefix(default "type.googleapis.com")
Returns
string
The default type url
toObject()
static
toObject(message
,options
?):object
Defined in: WAProto/index.d.ts:1902
Creates a plain object from a AIRichResponseLatexMetadata message. Also converts values to other types if specified.
Parameters
message
AIRichResponseLatexMetadata
options?
IConversionOptions
Conversion options
Returns
object
Plain object
verify()
static
verify(message
):null
|string
Defined in: WAProto/index.d.ts:1887
Verifies a AIRichResponseLatexMetadata message.
Parameters
message
Plain object to verify
Returns
null
| string
null
if valid, otherwise the reason why it is not