RequestInfo

google.rpc. RequestInfo

Represents a RequestInfo.

Constructor

new RequestInfo(propertiesopt)

Constructs a new RequestInfo.

Parameters:
Name Type Attributes Description
properties google.rpc.IRequestInfo <optional>

Properties to set

Implements:
  • IRequestInfo

Members

requestId :string

RequestInfo requestId.

servingData :string

RequestInfo servingData.

Methods

(static) create(propertiesopt) → {google.rpc.RequestInfo}

Creates a new RequestInfo instance using the specified properties.

Parameters:
Name Type Attributes Description
properties google.rpc.IRequestInfo <optional>

Properties to set

(static) decode(reader, lengthopt) → {google.rpc.RequestInfo}

Decodes a RequestInfo message from the specified reader or buffer.

Parameters:
Name Type Attributes Description
reader $protobuf.Reader | Uint8Array

Reader or buffer to decode from

length number <optional>

Message length if known beforehand

Throws:
  • If the payload is not a reader or valid buffer

    Type
    Error
  • If required fields are missing

    Type
    $protobuf.util.ProtocolError

(static) decodeDelimited(reader) → {google.rpc.RequestInfo}

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

Parameters:
Name Type Description
reader $protobuf.Reader | Uint8Array

Reader or buffer to decode from

Throws:
  • If the payload is not a reader or valid buffer

    Type
    Error
  • If required fields are missing

    Type
    $protobuf.util.ProtocolError

(static) encode(message, writeropt) → {$protobuf.Writer}

Encodes the specified RequestInfo message. Does not implicitly verify messages.

Parameters:
Name Type Attributes Description
message google.rpc.IRequestInfo

RequestInfo message or plain object to encode

writer $protobuf.Writer <optional>

Writer to encode to

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

Encodes the specified RequestInfo message, length delimited. Does not implicitly verify messages.

Parameters:
Name Type Attributes Description
message google.rpc.IRequestInfo

RequestInfo message or plain object to encode

writer $protobuf.Writer <optional>

Writer to encode to

(static) fromObject(object) → {google.rpc.RequestInfo}

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

Parameters:
Name Type Description
object Object.<string, *>

Plain object

(static) toObject(message, optionsopt) → {Object.<string, *>}

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

Parameters:
Name Type Attributes Description
message google.rpc.RequestInfo

RequestInfo

options $protobuf.IConversionOptions <optional>

Conversion options

(static) verify(message) → {string|null}

Verifies a RequestInfo message.

Parameters:
Name Type Description
message Object.<string, *>

Plain object to verify

toJSON() → {Object.<string, *>}

Converts this RequestInfo to JSON.