Options
All
  • Public
  • Public/Protected
  • All
Menu

Module lib/proto/google/api/httpbody

Index

Interfaces

Type aliases

Variables

Type aliases

DeepPartial

DeepPartial<T>: T extends Builtin ? T : T extends infer U[] ? DeepPartial<U>[] : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {[ K in keyof T]: DeepPartial<T[K]> } : Partial<T>

Type parameters

  • T

Variables

HttpBody

HttpBody: { decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • decode: function
    • decode(input: Uint8Array | Reader, length?: number): HttpBody
  • encode: function
    • encode(message: HttpBody, writer?: Writer): Writer
  • fromJSON: function
  • fromPartial: function
    • fromPartial(object: { contentType?: string; data?: Uint8Array; extensions?: { typeUrl?: string | undefined; value?: Uint8Array | undefined; }[] }): HttpBody
    • Parameters

      • object: { contentType?: string; data?: Uint8Array; extensions?: { typeUrl?: string | undefined; value?: Uint8Array | undefined; }[] }
        • Optional contentType?: string

          The HTTP Content-Type header value specifying the content type of the body.

        • Optional data?: Uint8Array

          The HTTP request/response body as raw binary.

        • Optional extensions?: { typeUrl?: string | undefined; value?: Uint8Array | undefined; }[]

          Application specific response metadata. Must be set in the first response for streaming APIs.

      Returns HttpBody

  • toJSON: function

Const protobufPackage

protobufPackage: "google.api" = 'google.api'

Generated using TypeDoc