@google-cloud/speech

  • Version 4.8.0
  • Published
  • 2.88 MB
  • 7 dependencies
  • Apache-2.0 license

Install

npm i @google-cloud/speech
yarn add @google-cloud/speech
pnpm add @google-cloud/speech

Overview

Cloud Speech Client Library for Node.js

Index

Variables

Type Aliases

Namespaces

Variables

variable _default

const _default: {
v1: typeof v1;
v1p1beta1: typeof v1p1beta1;
SpeechClient: typeof v1.SpeechClient;
};

    variable SpeechClient

    const SpeechClient: typeof v1.SpeechClient;

      Type Aliases

      type SpeechClient

      type SpeechClient = v1.SpeechClient;

        Namespaces

        namespace protos

        module 'build/protos/protos.d.ts' {}
        • Namespace google.

        namespace protos.google

        namespace protos.google {}
        • Namespace google.

        namespace protos.google.api

        namespace protos.google.api {}
        • Namespace api.

        class CustomHttpPattern

        class CustomHttpPattern implements ICustomHttpPattern {}
        • Represents a CustomHttpPattern.

        constructor

        constructor(properties?: ICustomHttpPattern);
        • Constructs a new CustomHttpPattern.

          Parameter properties

          Properties to set

        property kind

        kind: string;
        • CustomHttpPattern kind.

        property path

        path: string;
        • CustomHttpPattern path.

        method create

        static create: (
        properties?: google.api.ICustomHttpPattern
        ) => google.api.CustomHttpPattern;
        • Creates a new CustomHttpPattern instance using the specified properties.

          Parameter properties

          Properties to set

          Returns

          CustomHttpPattern instance

        method decode

        static decode: (
        reader: $protobuf.Reader | Uint8Array,
        length?: number
        ) => google.api.CustomHttpPattern;
        • Decodes a CustomHttpPattern message from the specified reader or buffer.

          Parameter reader

          Reader or buffer to decode from

          Parameter length

          Message length if known beforehand

          Returns

          CustomHttpPattern

          Throws

          {Error} If the payload is not a reader or valid buffer

          Throws

          {$protobuf.util.ProtocolError} If required fields are missing

        method decodeDelimited

        static decodeDelimited: (
        reader: $protobuf.Reader | Uint8Array
        ) => google.api.CustomHttpPattern;
        • Decodes a CustomHttpPattern message from the specified reader or buffer, length delimited.

          Parameter reader

          Reader or buffer to decode from

          Returns

          CustomHttpPattern

          Throws

          {Error} If the payload is not a reader or valid buffer

          Throws

          {$protobuf.util.ProtocolError} If required fields are missing

        method encode

        static encode: (message: google.api.ICustomHttpPattern, writer?: any) => any;
        • Encodes the specified CustomHttpPattern message. Does not implicitly verify messages.

          Parameter message

          CustomHttpPattern message or plain object to encode

          Parameter writer

          Writer to encode to

          Returns

          Writer

        method encodeDelimited

        static encodeDelimited: (
        message: google.api.ICustomHttpPattern,
        writer?: any
        ) => any;
        • Encodes the specified CustomHttpPattern message, length delimited. Does not implicitly verify messages.

          Parameter message

          CustomHttpPattern message or plain object to encode

          Parameter writer

          Writer to encode to

          Returns

          Writer

        method fromObject

        static fromObject: (object: {
        [k: string]: any;
        }) => google.api.CustomHttpPattern;
        • Creates a CustomHttpPattern message from a plain object. Also converts values to their respective internal types.

          Parameter object

          Plain object

          Returns

          CustomHttpPattern

        method toJSON

        toJSON: () => { [k: string]: any };
        • Converts this CustomHttpPattern to JSON.

          Returns

          JSON object

        method toObject

        static toObject: (
        message: google.api.CustomHttpPattern,
        options?: any
        ) => { [k: string]: any };
        • Creates a plain object from a CustomHttpPattern message. Also converts values to other types if specified.

          Parameter message

          CustomHttpPattern

          Parameter options

          Conversion options

          Returns

          Plain object

        method verify

        static verify: (message: { [k: string]: any }) => string | null;
        • Verifies a CustomHttpPattern message.

          Parameter message

          Plain object to verify

          Returns

          null if valid, otherwise the reason why it is not

        class Http

        class Http implements IHttp {}
        • Represents a Http.

        constructor

        constructor(properties?: IHttp);
        • Constructs a new Http.

          Parameter properties

          Properties to set

        property fullyDecodeReservedExpansion

        fullyDecodeReservedExpansion: boolean;
        • Http fullyDecodeReservedExpansion.

        property rules

        rules: IHttpRule[];
        • Http rules.

        method create

        static create: (properties?: google.api.IHttp) => google.api.Http;
        • Creates a new Http instance using the specified properties.

          Parameter properties

          Properties to set

          Returns

          Http instance

        method decode

        static decode: (
        reader: $protobuf.Reader | Uint8Array,
        length?: number
        ) => google.api.Http;
        • Decodes a Http message from the specified reader or buffer.

          Parameter reader

          Reader or buffer to decode from

          Parameter length

          Message length if known beforehand

          Returns

          Http

          Throws

          {Error} If the payload is not a reader or valid buffer

          Throws

          {$protobuf.util.ProtocolError} If required fields are missing

        method decodeDelimited

        static decodeDelimited: (
        reader: $protobuf.Reader | Uint8Array
        ) => google.api.Http;
        • Decodes a Http message from the specified reader or buffer, length delimited.

          Parameter reader

          Reader or buffer to decode from

          Returns

          Http

          Throws

          {Error} If the payload is not a reader or valid buffer

          Throws

          {$protobuf.util.ProtocolError} If required fields are missing

        method encode

        static encode: (message: google.api.IHttp, writer?: any) => any;
        • Encodes the specified Http message. Does not implicitly verify messages.

          Parameter message

          Http message or plain object to encode

          Parameter writer

          Writer to encode to

          Returns

          Writer

        method encodeDelimited

        static encodeDelimited: (message: google.api.IHttp, writer?: any) => any;
        • Encodes the specified Http message, length delimited. Does not implicitly verify messages.

          Parameter message

          Http message or plain object to encode

          Parameter writer

          Writer to encode to

          Returns

          Writer

        method fromObject

        static fromObject: (object: { [k: string]: any }) => google.api.Http;
        • Creates a Http message from a plain object. Also converts values to their respective internal types.

          Parameter object

          Plain object

          Returns

          Http

        method toJSON

        toJSON: () => { [k: string]: any };
        • Converts this Http to JSON.

          Returns

          JSON object

        method toObject

        static toObject: (
        message: google.api.Http,
        options?: any
        ) => { [k: string]: any };
        • Creates a plain object from a Http message. Also converts values to other types if specified.

          Parameter message

          Http

          Parameter options

          Conversion options

          Returns

          Plain object

        method verify

        static verify: (message: { [k: string]: any }) => string | null;
        • Verifies a Http message.

          Parameter message

          Plain object to verify

          Returns

          null if valid, otherwise the reason why it is not

        class HttpRule

        class HttpRule implements IHttpRule {}
        • Represents a HttpRule.

        constructor

        constructor(properties?: IHttpRule);
        • Constructs a new HttpRule.

          Parameter properties

          Properties to set

        property additionalBindings

        additionalBindings: IHttpRule[];
        • HttpRule additionalBindings.

        property body

        body: string;
        • HttpRule body.

        property custom

        custom?: ICustomHttpPattern;
        • HttpRule custom.

        property delete

        delete?: string;
        • HttpRule delete.

        property get

        get?: string;
        • HttpRule get.

        property patch

        patch?: string;
        • HttpRule patch.

        property pattern

        pattern?: 'get' | 'put' | 'post' | 'delete' | 'patch' | 'custom';
        • HttpRule pattern.

        property post

        post?: string;
        • HttpRule post.

        property put

        put?: string;
        • HttpRule put.

        property responseBody

        responseBody: string;
        • HttpRule responseBody.

        property selector

        selector: string;
        • HttpRule selector.

        method create

        static create: (properties?: google.api.IHttpRule) => google.api.HttpRule;
        • Creates a new HttpRule instance using the specified properties.

          Parameter properties

          Properties to set

          Returns

          HttpRule instance

        method decode

        static decode: (
        reader: $protobuf.Reader | Uint8Array,
        length?: number
        ) => google.api.HttpRule;
        • Decodes a HttpRule message from the specified reader or buffer.

          Parameter reader

          Reader or buffer to decode from

          Parameter length

          Message length if known beforehand

          Returns

          HttpRule

          Throws

          {Error} If the payload is not a reader or valid buffer

          Throws

          {$protobuf.util.ProtocolError} If required fields are missing

        method decodeDelimited

        static decodeDelimited: (
        reader: $protobuf.Reader | Uint8Array
        ) => google.api.HttpRule;
        • Decodes a HttpRule message from the specified reader or buffer, length delimited.

          Parameter reader

          Reader or buffer to decode from

          Returns

          HttpRule

          Throws

          {Error} If the payload is not a reader or valid buffer

          Throws

          {$protobuf.util.ProtocolError} If required fields are missing

        method encode

        static encode: (message: google.api.IHttpRule, writer?: any) => any;
        • Encodes the specified HttpRule message. Does not implicitly verify messages.

          Parameter message

          HttpRule message or plain object to encode

          Parameter writer

          Writer to encode to

          Returns

          Writer

        method encodeDelimited

        static encodeDelimited: (message: google.api.IHttpRule, writer?: any) => any;
        • Encodes the specified HttpRule message, length delimited. Does not implicitly verify messages.

          Parameter message

          HttpRule message or plain object to encode

          Parameter writer

          Writer to encode to

          Returns

          Writer

        method fromObject

        static fromObject: (object: { [k: string]: any }) => google.api.HttpRule;
        • Creates a HttpRule message from a plain object. Also converts values to their respective internal types.

          Parameter object

          Plain object

          Returns

          HttpRule

        method toJSON

        toJSON: () => { [k: string]: any };
        • Converts this HttpRule to JSON.

          Returns

          JSON object

        method toObject

        static toObject: (
        message: google.api.HttpRule,
        options?: any
        ) => { [k: string]: any };
        • Creates a plain object from a HttpRule message. Also converts values to other types if specified.

          Parameter message

          HttpRule

          Parameter options

          Conversion options

          Returns

          Plain object

        method verify

        static verify: (message: { [k: string]: any }) => string | null;
        • Verifies a HttpRule message.

          Parameter message

          Plain object to verify

          Returns

          null if valid, otherwise the reason why it is not

        class ResourceDescriptor

        class ResourceDescriptor implements IResourceDescriptor {}
        • Represents a ResourceDescriptor.

        constructor

        constructor(properties?: IResourceDescriptor);
        • Constructs a new ResourceDescriptor.

          Parameter properties

          Properties to set

        property history

        history:
        | ResourceDescriptor.History
        | 'HISTORY_UNSPECIFIED'
        | 'ORIGINALLY_SINGLE_PATTERN'
        | 'FUTURE_MULTI_PATTERN';
        • ResourceDescriptor history.

        property nameField

        nameField: string;
        • ResourceDescriptor nameField.

        property pattern

        pattern: string[];
        • ResourceDescriptor pattern.

        property plural

        plural: string;
        • ResourceDescriptor plural.

        property singular

        singular: string;
        • ResourceDescriptor singular.

        property style

        style: ResourceDescriptor.Style[];
        • ResourceDescriptor style.

        property type

        type: string;
        • ResourceDescriptor type.

        method create

        static create: (
        properties?: google.api.IResourceDescriptor
        ) => google.api.ResourceDescriptor;
        • Creates a new ResourceDescriptor instance using the specified properties.

          Parameter properties

          Properties to set

          Returns

          ResourceDescriptor instance

        method decode

        static decode: (
        reader: $protobuf.Reader | Uint8Array,
        length?: number
        ) => google.api.ResourceDescriptor;
        • Decodes a ResourceDescriptor message from the specified reader or buffer.

          Parameter reader

          Reader or buffer to decode from

          Parameter length

          Message length if known beforehand

          Returns

          ResourceDescriptor

          Throws

          {Error} If the payload is not a reader or valid buffer

          Throws

          {$protobuf.util.ProtocolError} If required fields are missing

        method decodeDelimited

        static decodeDelimited: (
        reader: $protobuf.Reader | Uint8Array
        ) => google.api.ResourceDescriptor;
        • Decodes a ResourceDescriptor message from the specified reader or buffer, length delimited.

          Parameter reader

          Reader or buffer to decode from

          Returns

          ResourceDescriptor

          Throws

          {Error} If the payload is not a reader or valid buffer

          Throws

          {$protobuf.util.ProtocolError} If required fields are missing

        method encode

        static encode: (message: google.api.IResourceDescriptor, writer?: any) => any;
        • Encodes the specified ResourceDescriptor message. Does not implicitly verify messages.

          Parameter message

          ResourceDescriptor message or plain object to encode

          Parameter writer

          Writer to encode to

          Returns

          Writer

        method encodeDelimited

        static encodeDelimited: (
        message: google.api.IResourceDescriptor,
        writer?: any
        ) => any;
        • Encodes the specified ResourceDescriptor message, length delimited. Does not implicitly verify messages.

          Parameter message

          ResourceDescriptor message or plain object to encode

          Parameter writer

          Writer to encode to

          Returns

          Writer

        method fromObject

        static fromObject: (object: {
        [k: string]: any;
        }) => google.api.ResourceDescriptor;
        • Creates a ResourceDescriptor message from a plain object. Also converts values to their respective internal types.

          Parameter object

          Plain object

          Returns

          ResourceDescriptor

        method toJSON

        toJSON: () => { [k: string]: any };
        • Converts this ResourceDescriptor to JSON.

          Returns

          JSON object

        method toObject

        static toObject: (
        message: google.api.ResourceDescriptor,
        options?: any
        ) => { [k: string]: any };
        • Creates a plain object from a ResourceDescriptor message. Also converts values to other types if specified.

          Parameter message

          ResourceDescriptor

          Parameter options

          Conversion options

          Returns

          Plain object

        method verify

        static verify: (message: { [k: string]: any }) => string | null;
        • Verifies a ResourceDescriptor message.

          Parameter message

          Plain object to verify

          Returns

          null if valid, otherwise the reason why it is not

        class ResourceReference

        class ResourceReference implements IResourceReference {}
        • Represents a ResourceReference.

        constructor

        constructor(properties?: IResourceReference);
        • Constructs a new ResourceReference.

          Parameter properties

          Properties to set

        property childType

        childType: string;
        • ResourceReference childType.

        property type

        type: string;
        • ResourceReference type.

        method create

        static create: (
        properties?: google.api.IResourceReference
        ) => google.api.ResourceReference;
        • Creates a new ResourceReference instance using the specified properties.

          Parameter properties

          Properties to set

          Returns

          ResourceReference instance

        method decode

        static decode: (
        reader: $protobuf.Reader | Uint8Array,
        length?: number
        ) => google.api.ResourceReference;
        • Decodes a ResourceReference message from the specified reader or buffer.

          Parameter reader

          Reader or buffer to decode from

          Parameter length

          Message length if known beforehand

          Returns

          ResourceReference

          Throws

          {Error} If the payload is not a reader or valid buffer

          Throws

          {$protobuf.util.ProtocolError} If required fields are missing

        method decodeDelimited

        static decodeDelimited: (
        reader: $protobuf.Reader | Uint8Array
        ) => google.api.ResourceReference;
        • Decodes a ResourceReference message from the specified reader or buffer, length delimited.

          Parameter reader

          Reader or buffer to decode from

          Returns

          ResourceReference

          Throws

          {Error} If the payload is not a reader or valid buffer

          Throws

          {$protobuf.util.ProtocolError} If required fields are missing

        method encode

        static encode: (message: google.api.IResourceReference, writer?: any) => any;
        • Encodes the specified ResourceReference message. Does not implicitly verify messages.

          Parameter message

          ResourceReference message or plain object to encode

          Parameter writer

          Writer to encode to

          Returns

          Writer

        method encodeDelimited

        static encodeDelimited: (
        message: google.api.IResourceReference,
        writer?: any
        ) => any;
        • Encodes the specified ResourceReference message, length delimited. Does not implicitly verify messages.

          Parameter message

          ResourceReference message or plain object to encode

          Parameter writer

          Writer to encode to

          Returns

          Writer

        method fromObject

        static fromObject: (object: {
        [k: string]: any;
        }) => google.api.ResourceReference;
        • Creates a ResourceReference message from a plain object. Also converts values to their respective internal types.

          Parameter object

          Plain object

          Returns

          ResourceReference

        method toJSON

        toJSON: () => { [k: string]: any };
        • Converts this ResourceReference to JSON.

          Returns

          JSON object

        method toObject

        static toObject: (
        message: google.api.ResourceReference,
        options?: any
        ) => { [k: string]: any };
        • Creates a plain object from a ResourceReference message. Also converts values to other types if specified.

          Parameter message

          ResourceReference

          Parameter options

          Conversion options

          Returns

          Plain object

        method verify

        static verify: (message: { [k: string]: any }) => string | null;
        • Verifies a ResourceReference message.

          Parameter message

          Plain object to verify

          Returns

          null if valid, otherwise the reason why it is not

        interface ICustomHttpPattern

        interface ICustomHttpPattern {}
        • Properties of a CustomHttpPattern.

        property kind

        kind?: string | null;
        • CustomHttpPattern kind

        property path

        path?: string | null;
        • CustomHttpPattern path

        interface IHttp

        interface IHttp {}
        • Properties of a Http.

        property fullyDecodeReservedExpansion

        fullyDecodeReservedExpansion?: boolean | null;
        • Http fullyDecodeReservedExpansion

        property rules

        rules?: google.api.IHttpRule[] | null;
        • Http rules

        interface IHttpRule

        interface IHttpRule {}
        • Properties of a HttpRule.

        property "delete"

        delete?: string | null;
        • HttpRule delete

        property additionalBindings

        additionalBindings?: google.api.IHttpRule[] | null;
        • HttpRule additionalBindings

        property body

        body?: string | null;
        • HttpRule body

        property custom

        custom?: google.api.ICustomHttpPattern | null;
        • HttpRule custom

        property get

        get?: string | null;
        • HttpRule get

        property patch

        patch?: string | null;
        • HttpRule patch

        property post

        post?: string | null;
        • HttpRule post

        property put

        put?: string | null;
        • HttpRule put

        property responseBody

        responseBody?: string | null;
        • HttpRule responseBody

        property selector

        selector?: string | null;
        • HttpRule selector

        interface IResourceDescriptor

        interface IResourceDescriptor {}
        • Properties of a ResourceDescriptor.

        property history

        history?:
        | google.api.ResourceDescriptor.History
        | keyof typeof google.api.ResourceDescriptor.History
        | null;
        • ResourceDescriptor history

        property nameField

        nameField?: string | null;
        • ResourceDescriptor nameField

        property pattern

        pattern?: string[] | null;
        • ResourceDescriptor pattern

        property plural

        plural?: string | null;
        • ResourceDescriptor plural

        property singular

        singular?: string | null;
        • ResourceDescriptor singular

        property style

        style?: google.api.ResourceDescriptor.Style[] | null;
        • ResourceDescriptor style

        property type

        type?: string | null;
        • ResourceDescriptor type

        interface IResourceReference

        interface IResourceReference {}
        • Properties of a ResourceReference.

        property childType

        childType?: string | null;
        • ResourceReference childType

        property type

        type?: string | null;
        • ResourceReference type

        enum FieldBehavior

        enum FieldBehavior {
        FIELD_BEHAVIOR_UNSPECIFIED = 0,
        OPTIONAL = 1,
        REQUIRED = 2,
        OUTPUT_ONLY = 3,
        INPUT_ONLY = 4,
        IMMUTABLE = 5,
        UNORDERED_LIST = 6,
        }
        • FieldBehavior enum.

        member FIELD_BEHAVIOR_UNSPECIFIED

        FIELD_BEHAVIOR_UNSPECIFIED = 0

          member IMMUTABLE

          IMMUTABLE = 5

            member INPUT_ONLY

            INPUT_ONLY = 4

              member OPTIONAL

              OPTIONAL = 1

                member OUTPUT_ONLY

                OUTPUT_ONLY = 3

                  member REQUIRED

                  REQUIRED = 2

                    member UNORDERED_LIST

                    UNORDERED_LIST = 6

                      namespace protos.google.api.ResourceDescriptor

                      namespace protos.google.api.ResourceDescriptor {}

                        enum History

                        enum History {
                        HISTORY_UNSPECIFIED = 0,
                        ORIGINALLY_SINGLE_PATTERN = 1,
                        FUTURE_MULTI_PATTERN = 2,
                        }
                        • History enum.

                        member FUTURE_MULTI_PATTERN

                        FUTURE_MULTI_PATTERN = 2

                          member HISTORY_UNSPECIFIED

                          HISTORY_UNSPECIFIED = 0

                            member ORIGINALLY_SINGLE_PATTERN

                            ORIGINALLY_SINGLE_PATTERN = 1

                              enum Style

                              enum Style {
                              STYLE_UNSPECIFIED = 0,
                              DECLARATIVE_FRIENDLY = 1,
                              }
                              • Style enum.

                              member DECLARATIVE_FRIENDLY

                              DECLARATIVE_FRIENDLY = 1

                                member STYLE_UNSPECIFIED

                                STYLE_UNSPECIFIED = 0

                                  namespace protos.google.cloud

                                  namespace protos.google.cloud {}
                                  • Namespace cloud.

                                  namespace protos.google.cloud.speech

                                  namespace protos.google.cloud.speech {}
                                  • Namespace speech.

                                  namespace protos.google.cloud.speech.v1

                                  namespace protos.google.cloud.speech.v1 {}
                                  • Namespace v1.

                                  class LongRunningRecognizeMetadata

                                  class LongRunningRecognizeMetadata implements ILongRunningRecognizeMetadata {}
                                  • Represents a LongRunningRecognizeMetadata.

                                  constructor

                                  constructor(properties?: ILongRunningRecognizeMetadata);
                                  • Constructs a new LongRunningRecognizeMetadata.

                                    Parameter properties

                                    Properties to set

                                  property lastUpdateTime

                                  lastUpdateTime?: protobuf.ITimestamp;
                                  • LongRunningRecognizeMetadata lastUpdateTime.

                                  property progressPercent

                                  progressPercent: number;
                                  • LongRunningRecognizeMetadata progressPercent.

                                  property startTime

                                  startTime?: protobuf.ITimestamp;
                                  • LongRunningRecognizeMetadata startTime.

                                  property uri

                                  uri: string;
                                  • LongRunningRecognizeMetadata uri.

                                  method create

                                  static create: (
                                  properties?: google.cloud.speech.v1.ILongRunningRecognizeMetadata
                                  ) => google.cloud.speech.v1.LongRunningRecognizeMetadata;
                                  • Creates a new LongRunningRecognizeMetadata instance using the specified properties.

                                    Parameter properties

                                    Properties to set

                                    Returns

                                    LongRunningRecognizeMetadata instance

                                  method decode

                                  static decode: (
                                  reader: $protobuf.Reader | Uint8Array,
                                  length?: number
                                  ) => google.cloud.speech.v1.LongRunningRecognizeMetadata;
                                  • Decodes a LongRunningRecognizeMetadata message from the specified reader or buffer.

                                    Parameter reader

                                    Reader or buffer to decode from

                                    Parameter length

                                    Message length if known beforehand

                                    Returns

                                    LongRunningRecognizeMetadata

                                    Throws

                                    {Error} If the payload is not a reader or valid buffer

                                    Throws

                                    {$protobuf.util.ProtocolError} If required fields are missing

                                  method decodeDelimited

                                  static decodeDelimited: (
                                  reader: $protobuf.Reader | Uint8Array
                                  ) => google.cloud.speech.v1.LongRunningRecognizeMetadata;
                                  • Decodes a LongRunningRecognizeMetadata message from the specified reader or buffer, length delimited.

                                    Parameter reader

                                    Reader or buffer to decode from

                                    Returns

                                    LongRunningRecognizeMetadata

                                    Throws

                                    {Error} If the payload is not a reader or valid buffer

                                    Throws

                                    {$protobuf.util.ProtocolError} If required fields are missing

                                  method encode

                                  static encode: (
                                  message: google.cloud.speech.v1.ILongRunningRecognizeMetadata,
                                  writer?: any
                                  ) => any;
                                  • Encodes the specified LongRunningRecognizeMetadata message. Does not implicitly verify messages.

                                    Parameter message

                                    LongRunningRecognizeMetadata message or plain object to encode

                                    Parameter writer

                                    Writer to encode to

                                    Returns

                                    Writer

                                  method encodeDelimited

                                  static encodeDelimited: (
                                  message: google.cloud.speech.v1.ILongRunningRecognizeMetadata,
                                  writer?: any
                                  ) => any;
                                  • Encodes the specified LongRunningRecognizeMetadata message, length delimited. Does not implicitly verify messages.

                                    Parameter message

                                    LongRunningRecognizeMetadata message or plain object to encode

                                    Parameter writer

                                    Writer to encode to

                                    Returns

                                    Writer

                                  method fromObject

                                  static fromObject: (object: {
                                  [k: string]: any;
                                  }) => google.cloud.speech.v1.LongRunningRecognizeMetadata;
                                  • Creates a LongRunningRecognizeMetadata message from a plain object. Also converts values to their respective internal types.

                                    Parameter object

                                    Plain object

                                    Returns

                                    LongRunningRecognizeMetadata

                                  method toJSON

                                  toJSON: () => { [k: string]: any };
                                  • Converts this LongRunningRecognizeMetadata to JSON.

                                    Returns

                                    JSON object

                                  method toObject

                                  static toObject: (
                                  message: google.cloud.speech.v1.LongRunningRecognizeMetadata,
                                  options?: any
                                  ) => { [k: string]: any };
                                  • Creates a plain object from a LongRunningRecognizeMetadata message. Also converts values to other types if specified.

                                    Parameter message

                                    LongRunningRecognizeMetadata

                                    Parameter options

                                    Conversion options

                                    Returns

                                    Plain object

                                  method verify

                                  static verify: (message: { [k: string]: any }) => string | null;
                                  • Verifies a LongRunningRecognizeMetadata message.

                                    Parameter message

                                    Plain object to verify

                                    Returns

                                    null if valid, otherwise the reason why it is not

                                  class LongRunningRecognizeRequest

                                  class LongRunningRecognizeRequest implements ILongRunningRecognizeRequest {}
                                  • Represents a LongRunningRecognizeRequest.

                                  constructor

                                  constructor(properties?: ILongRunningRecognizeRequest);
                                  • Constructs a new LongRunningRecognizeRequest.

                                    Parameter properties

                                    Properties to set

                                  property audio

                                  audio?: IRecognitionAudio;
                                  • LongRunningRecognizeRequest audio.

                                  property config

                                  config?: IRecognitionConfig;
                                  • LongRunningRecognizeRequest config.

                                  method create

                                  static create: (
                                  properties?: google.cloud.speech.v1.ILongRunningRecognizeRequest
                                  ) => google.cloud.speech.v1.LongRunningRecognizeRequest;
                                  • Creates a new LongRunningRecognizeRequest instance using the specified properties.

                                    Parameter properties

                                    Properties to set

                                    Returns

                                    LongRunningRecognizeRequest instance

                                  method decode

                                  static decode: (
                                  reader: $protobuf.Reader | Uint8Array,
                                  length?: number
                                  ) => google.cloud.speech.v1.LongRunningRecognizeRequest;
                                  • Decodes a LongRunningRecognizeRequest message from the specified reader or buffer.

                                    Parameter reader

                                    Reader or buffer to decode from

                                    Parameter length

                                    Message length if known beforehand

                                    Returns

                                    LongRunningRecognizeRequest

                                    Throws

                                    {Error} If the payload is not a reader or valid buffer

                                    Throws

                                    {$protobuf.util.ProtocolError} If required fields are missing

                                  method decodeDelimited

                                  static decodeDelimited: (
                                  reader: $protobuf.Reader | Uint8Array
                                  ) => google.cloud.speech.v1.LongRunningRecognizeRequest;
                                  • Decodes a LongRunningRecognizeRequest message from the specified reader or buffer, length delimited.

                                    Parameter reader

                                    Reader or buffer to decode from

                                    Returns

                                    LongRunningRecognizeRequest

                                    Throws

                                    {Error} If the payload is not a reader or valid buffer

                                    Throws

                                    {$protobuf.util.ProtocolError} If required fields are missing

                                  method encode

                                  static encode: (
                                  message: google.cloud.speech.v1.ILongRunningRecognizeRequest,
                                  writer?: any
                                  ) => any;
                                  • Encodes the specified LongRunningRecognizeRequest message. Does not implicitly verify messages.

                                    Parameter message

                                    LongRunningRecognizeRequest message or plain object to encode

                                    Parameter writer

                                    Writer to encode to

                                    Returns

                                    Writer

                                  method encodeDelimited

                                  static encodeDelimited: (
                                  message: google.cloud.speech.v1.ILongRunningRecognizeRequest,
                                  writer?: any
                                  ) => any;
                                  • Encodes the specified LongRunningRecognizeRequest message, length delimited. Does not implicitly verify messages.

                                    Parameter message

                                    LongRunningRecognizeRequest message or plain object to encode

                                    Parameter writer

                                    Writer to encode to

                                    Returns

                                    Writer

                                  method fromObject

                                  static fromObject: (object: {
                                  [k: string]: any;
                                  }) => google.cloud.speech.v1.LongRunningRecognizeRequest;
                                  • Creates a LongRunningRecognizeRequest message from a plain object. Also converts values to their respective internal types.

                                    Parameter object

                                    Plain object

                                    Returns

                                    LongRunningRecognizeRequest

                                  method toJSON

                                  toJSON: () => { [k: string]: any };
                                  • Converts this LongRunningRecognizeRequest to JSON.

                                    Returns

                                    JSON object

                                  method toObject

                                  static toObject: (
                                  message: google.cloud.speech.v1.LongRunningRecognizeRequest,
                                  options?: any
                                  ) => { [k: string]: any };
                                  • Creates a plain object from a LongRunningRecognizeRequest message. Also converts values to other types if specified.

                                    Parameter message

                                    LongRunningRecognizeRequest

                                    Parameter options

                                    Conversion options

                                    Returns

                                    Plain object

                                  method verify

                                  static verify: (message: { [k: string]: any }) => string | null;
                                  • Verifies a LongRunningRecognizeRequest message.

                                    Parameter message

                                    Plain object to verify

                                    Returns

                                    null if valid, otherwise the reason why it is not

                                  class LongRunningRecognizeResponse

                                  class LongRunningRecognizeResponse implements ILongRunningRecognizeResponse {}
                                  • Represents a LongRunningRecognizeResponse.

                                  constructor

                                  constructor(properties?: ILongRunningRecognizeResponse);
                                  • Constructs a new LongRunningRecognizeResponse.

                                    Parameter properties

                                    Properties to set

                                  property results

                                  results: ISpeechRecognitionResult[];
                                  • LongRunningRecognizeResponse results.

                                  property totalBilledTime

                                  totalBilledTime?: protobuf.IDuration;
                                  • LongRunningRecognizeResponse totalBilledTime.

                                  method create

                                  static create: (
                                  properties?: google.cloud.speech.v1.ILongRunningRecognizeResponse
                                  ) => google.cloud.speech.v1.LongRunningRecognizeResponse;
                                  • Creates a new LongRunningRecognizeResponse instance using the specified properties.

                                    Parameter properties

                                    Properties to set

                                    Returns

                                    LongRunningRecognizeResponse instance

                                  method decode

                                  static decode: (
                                  reader: $protobuf.Reader | Uint8Array,
                                  length?: number
                                  ) => google.cloud.speech.v1.LongRunningRecognizeResponse;
                                  • Decodes a LongRunningRecognizeResponse message from the specified reader or buffer.

                                    Parameter reader

                                    Reader or buffer to decode from

                                    Parameter length

                                    Message length if known beforehand

                                    Returns

                                    LongRunningRecognizeResponse

                                    Throws

                                    {Error} If the payload is not a reader or valid buffer

                                    Throws

                                    {$protobuf.util.ProtocolError} If required fields are missing

                                  method decodeDelimited

                                  static decodeDelimited: (
                                  reader: $protobuf.Reader | Uint8Array
                                  ) => google.cloud.speech.v1.LongRunningRecognizeResponse;
                                  • Decodes a LongRunningRecognizeResponse message from the specified reader or buffer, length delimited.

                                    Parameter reader

                                    Reader or buffer to decode from

                                    Returns

                                    LongRunningRecognizeResponse

                                    Throws

                                    {Error} If the payload is not a reader or valid buffer

                                    Throws

                                    {$protobuf.util.ProtocolError} If required fields are missing

                                  method encode

                                  static encode: (
                                  message: google.cloud.speech.v1.ILongRunningRecognizeResponse,
                                  writer?: any
                                  ) => any;
                                  • Encodes the specified LongRunningRecognizeResponse message. Does not implicitly verify messages.

                                    Parameter message

                                    LongRunningRecognizeResponse message or plain object to encode

                                    Parameter writer

                                    Writer to encode to

                                    Returns

                                    Writer

                                  method encodeDelimited

                                  static encodeDelimited: (
                                  message: google.cloud.speech.v1.ILongRunningRecognizeResponse,
                                  writer?: any
                                  ) => any;
                                  • Encodes the specified LongRunningRecognizeResponse message, length delimited. Does not implicitly verify messages.

                                    Parameter message

                                    LongRunningRecognizeResponse message or plain object to encode

                                    Parameter writer

                                    Writer to encode to

                                    Returns

                                    Writer

                                  method fromObject

                                  static fromObject: (object: {
                                  [k: string]: any;
                                  }) => google.cloud.speech.v1.LongRunningRecognizeResponse;
                                  • Creates a LongRunningRecognizeResponse message from a plain object. Also converts values to their respective internal types.

                                    Parameter object

                                    Plain object

                                    Returns

                                    LongRunningRecognizeResponse

                                  method toJSON

                                  toJSON: () => { [k: string]: any };
                                  • Converts this LongRunningRecognizeResponse to JSON.

                                    Returns

                                    JSON object

                                  method toObject

                                  static toObject: (
                                  message: google.cloud.speech.v1.LongRunningRecognizeResponse,
                                  options?: any
                                  ) => { [k: string]: any };
                                  • Creates a plain object from a LongRunningRecognizeResponse message. Also converts values to other types if specified.

                                    Parameter message

                                    LongRunningRecognizeResponse

                                    Parameter options

                                    Conversion options

                                    Returns

                                    Plain object

                                  method verify

                                  static verify: (message: { [k: string]: any }) => string | null;
                                  • Verifies a LongRunningRecognizeResponse message.

                                    Parameter message

                                    Plain object to verify

                                    Returns

                                    null if valid, otherwise the reason why it is not

                                  class RecognitionAudio

                                  class RecognitionAudio implements IRecognitionAudio {}
                                  • Represents a RecognitionAudio.

                                  constructor

                                  constructor(properties?: IRecognitionAudio);
                                  • Constructs a new RecognitionAudio.

                                    Parameter properties

                                    Properties to set

                                  property audioSource

                                  audioSource?: 'content' | 'uri';
                                  • RecognitionAudio audioSource.

                                  property content

                                  content?: string | Uint8Array;
                                  • RecognitionAudio content.

                                  property uri

                                  uri?: string;
                                  • RecognitionAudio uri.

                                  method create

                                  static create: (
                                  properties?: google.cloud.speech.v1.IRecognitionAudio
                                  ) => google.cloud.speech.v1.RecognitionAudio;
                                  • Creates a new RecognitionAudio instance using the specified properties.

                                    Parameter properties

                                    Properties to set

                                    Returns

                                    RecognitionAudio instance

                                  method decode

                                  static decode: (
                                  reader: $protobuf.Reader | Uint8Array,
                                  length?: number
                                  ) => google.cloud.speech.v1.RecognitionAudio;
                                  • Decodes a RecognitionAudio message from the specified reader or buffer.

                                    Parameter reader

                                    Reader or buffer to decode from

                                    Parameter length

                                    Message length if known beforehand

                                    Returns

                                    RecognitionAudio

                                    Throws

                                    {Error} If the payload is not a reader or valid buffer

                                    Throws

                                    {$protobuf.util.ProtocolError} If required fields are missing

                                  method decodeDelimited

                                  static decodeDelimited: (
                                  reader: $protobuf.Reader | Uint8Array
                                  ) => google.cloud.speech.v1.RecognitionAudio;
                                  • Decodes a RecognitionAudio message from the specified reader or buffer, length delimited.

                                    Parameter reader

                                    Reader or buffer to decode from

                                    Returns

                                    RecognitionAudio

                                    Throws

                                    {Error} If the payload is not a reader or valid buffer

                                    Throws

                                    {$protobuf.util.ProtocolError} If required fields are missing

                                  method encode

                                  static encode: (
                                  message: google.cloud.speech.v1.IRecognitionAudio,
                                  writer?: any
                                  ) => any;
                                  • Encodes the specified RecognitionAudio message. Does not implicitly verify messages.

                                    Parameter message

                                    RecognitionAudio message or plain object to encode

                                    Parameter writer

                                    Writer to encode to

                                    Returns

                                    Writer

                                  method encodeDelimited

                                  static encodeDelimited: (
                                  message: google.cloud.speech.v1.IRecognitionAudio,
                                  writer?: any
                                  ) => any;
                                  • Encodes the specified RecognitionAudio message, length delimited. Does not implicitly verify messages.

                                    Parameter message

                                    RecognitionAudio message or plain object to encode

                                    Parameter writer

                                    Writer to encode to

                                    Returns

                                    Writer

                                  method fromObject

                                  static fromObject: (object: {
                                  [k: string]: any;
                                  }) => google.cloud.speech.v1.RecognitionAudio;
                                  • Creates a RecognitionAudio message from a plain object. Also converts values to their respective internal types.

                                    Parameter object

                                    Plain object

                                    Returns

                                    RecognitionAudio

                                  method toJSON

                                  toJSON: () => { [k: string]: any };
                                  • Converts this RecognitionAudio to JSON.

                                    Returns

                                    JSON object

                                  method toObject

                                  static toObject: (
                                  message: google.cloud.speech.v1.RecognitionAudio,
                                  options?: any
                                  ) => { [k: string]: any };
                                  • Creates a plain object from a RecognitionAudio message. Also converts values to other types if specified.

                                    Parameter message

                                    RecognitionAudio

                                    Parameter options

                                    Conversion options

                                    Returns

                                    Plain object

                                  method verify

                                  static verify: (message: { [k: string]: any }) => string | null;
                                  • Verifies a RecognitionAudio message.

                                    Parameter message

                                    Plain object to verify

                                    Returns

                                    null if valid, otherwise the reason why it is not

                                  class RecognitionConfig

                                  class RecognitionConfig implements IRecognitionConfig {}
                                  • Represents a RecognitionConfig.

                                  constructor

                                  constructor(properties?: IRecognitionConfig);
                                  • Constructs a new RecognitionConfig.

                                    Parameter properties

                                    Properties to set

                                  property audioChannelCount

                                  audioChannelCount: number;
                                  • RecognitionConfig audioChannelCount.

                                  property diarizationConfig

                                  diarizationConfig?: ISpeakerDiarizationConfig;
                                  • RecognitionConfig diarizationConfig.

                                  property enableAutomaticPunctuation

                                  enableAutomaticPunctuation: boolean;
                                  • RecognitionConfig enableAutomaticPunctuation.

                                  property enableSeparateRecognitionPerChannel

                                  enableSeparateRecognitionPerChannel: boolean;
                                  • RecognitionConfig enableSeparateRecognitionPerChannel.

                                  property enableWordTimeOffsets

                                  enableWordTimeOffsets: boolean;
                                  • RecognitionConfig enableWordTimeOffsets.

                                  property encoding

                                  encoding:
                                  | RecognitionConfig.AudioEncoding
                                  | 'ENCODING_UNSPECIFIED'
                                  | 'LINEAR16'
                                  | 'FLAC'
                                  | 'MULAW'
                                  | 'AMR'
                                  | 'AMR_WB'
                                  | 'OGG_OPUS'
                                  | 'SPEEX_WITH_HEADER_BYTE';
                                  • RecognitionConfig encoding.

                                  property languageCode

                                  languageCode: string;
                                  • RecognitionConfig languageCode.

                                  property maxAlternatives

                                  maxAlternatives: number;
                                  • RecognitionConfig maxAlternatives.

                                  property metadata

                                  metadata?: IRecognitionMetadata;
                                  • RecognitionConfig metadata.

                                  property model

                                  model: string;
                                  • RecognitionConfig model.

                                  property profanityFilter

                                  profanityFilter: boolean;
                                  • RecognitionConfig profanityFilter.

                                  property sampleRateHertz

                                  sampleRateHertz: number;
                                  • RecognitionConfig sampleRateHertz.

                                  property speechContexts

                                  speechContexts: ISpeechContext[];
                                  • RecognitionConfig speechContexts.

                                  property useEnhanced

                                  useEnhanced: boolean;
                                  • RecognitionConfig useEnhanced.

                                  method create

                                  static create: (
                                  properties?: google.cloud.speech.v1.IRecognitionConfig
                                  ) => google.cloud.speech.v1.RecognitionConfig;
                                  • Creates a new RecognitionConfig instance using the specified properties.

                                    Parameter properties

                                    Properties to set

                                    Returns

                                    RecognitionConfig instance

                                  method decode

                                  static decode: (
                                  reader: $protobuf.Reader | Uint8Array,
                                  length?: number
                                  ) => google.cloud.speech.v1.RecognitionConfig;
                                  • Decodes a RecognitionConfig message from the specified reader or buffer.

                                    Parameter reader

                                    Reader or buffer to decode from

                                    Parameter length

                                    Message length if known beforehand

                                    Returns

                                    RecognitionConfig

                                    Throws

                                    {Error} If the payload is not a reader or valid buffer

                                    Throws

                                    {$protobuf.util.ProtocolError} If required fields are missing

                                  method decodeDelimited

                                  static decodeDelimited: (
                                  reader: $protobuf.Reader | Uint8Array
                                  ) => google.cloud.speech.v1.RecognitionConfig;
                                  • Decodes a RecognitionConfig message from the specified reader or buffer, length delimited.

                                    Parameter reader

                                    Reader or buffer to decode from

                                    Returns

                                    RecognitionConfig

                                    Throws

                                    {Error} If the payload is not a reader or valid buffer

                                    Throws

                                    {$protobuf.util.ProtocolError} If required fields are missing

                                  method encode

                                  static encode: (
                                  message: google.cloud.speech.v1.IRecognitionConfig,
                                  writer?: any
                                  ) => any;
                                  • Encodes the specified RecognitionConfig message. Does not implicitly verify messages.

                                    Parameter message

                                    RecognitionConfig message or plain object to encode

                                    Parameter writer

                                    Writer to encode to

                                    Returns

                                    Writer

                                  method encodeDelimited

                                  static encodeDelimited: (
                                  message: google.cloud.speech.v1.IRecognitionConfig,
                                  writer?: any
                                  ) => any;
                                  • Encodes the specified RecognitionConfig message, length delimited. Does not implicitly verify messages.

                                    Parameter message

                                    RecognitionConfig message or plain object to encode

                                    Parameter writer

                                    Writer to encode to

                                    Returns

                                    Writer

                                  method fromObject

                                  static fromObject: (object: {
                                  [k: string]: any;
                                  }) => google.cloud.speech.v1.RecognitionConfig;
                                  • Creates a RecognitionConfig message from a plain object. Also converts values to their respective internal types.

                                    Parameter object

                                    Plain object

                                    Returns

                                    RecognitionConfig

                                  method toJSON

                                  toJSON: () => { [k: string]: any };
                                  • Converts this RecognitionConfig to JSON.

                                    Returns

                                    JSON object

                                  method toObject

                                  static toObject: (
                                  message: google.cloud.speech.v1.RecognitionConfig,
                                  options?: any
                                  ) => { [k: string]: any };
                                  • Creates a plain object from a RecognitionConfig message. Also converts values to other types if specified.

                                    Parameter message

                                    RecognitionConfig

                                    Parameter options

                                    Conversion options

                                    Returns

                                    Plain object

                                  method verify

                                  static verify: (message: { [k: string]: any }) => string | null;
                                  • Verifies a RecognitionConfig message.

                                    Parameter message

                                    Plain object to verify

                                    Returns

                                    null if valid, otherwise the reason why it is not

                                  class RecognitionMetadata

                                  class RecognitionMetadata implements IRecognitionMetadata {}
                                  • Represents a RecognitionMetadata.

                                  constructor

                                  constructor(properties?: IRecognitionMetadata);
                                  • Constructs a new RecognitionMetadata.

                                    Parameter properties

                                    Properties to set

                                  property audioTopic

                                  audioTopic: string;
                                  • RecognitionMetadata audioTopic.

                                  property industryNaicsCodeOfAudio

                                  industryNaicsCodeOfAudio: number;
                                  • RecognitionMetadata industryNaicsCodeOfAudio.

                                  property interactionType

                                  interactionType:
                                  | RecognitionMetadata.InteractionType
                                  | 'INTERACTION_TYPE_UNSPECIFIED'
                                  | 'DISCUSSION'
                                  | 'PRESENTATION'
                                  | 'PHONE_CALL'
                                  | 'VOICEMAIL'
                                  | 'PROFESSIONALLY_PRODUCED'
                                  | 'VOICE_SEARCH'
                                  | 'VOICE_COMMAND'
                                  | 'DICTATION';
                                  • RecognitionMetadata interactionType.

                                  property microphoneDistance

                                  microphoneDistance:
                                  | RecognitionMetadata.MicrophoneDistance
                                  | 'MICROPHONE_DISTANCE_UNSPECIFIED'
                                  | 'NEARFIELD'
                                  | 'MIDFIELD'
                                  | 'FARFIELD';
                                  • RecognitionMetadata microphoneDistance.

                                  property originalMediaType

                                  originalMediaType:
                                  | RecognitionMetadata.OriginalMediaType
                                  | 'ORIGINAL_MEDIA_TYPE_UNSPECIFIED'
                                  | 'AUDIO'
                                  | 'VIDEO';
                                  • RecognitionMetadata originalMediaType.

                                  property originalMimeType

                                  originalMimeType: string;
                                  • RecognitionMetadata originalMimeType.

                                  property recordingDeviceName

                                  recordingDeviceName: string;
                                  • RecognitionMetadata recordingDeviceName.

                                  property recordingDeviceType

                                  recordingDeviceType:
                                  | RecognitionMetadata.RecordingDeviceType
                                  | 'RECORDING_DEVICE_TYPE_UNSPECIFIED'
                                  | 'SMARTPHONE'
                                  | 'PC'
                                  | 'PHONE_LINE'
                                  | 'VEHICLE'
                                  | 'OTHER_OUTDOOR_DEVICE'
                                  | 'OTHER_INDOOR_DEVICE';
                                  • RecognitionMetadata recordingDeviceType.

                                  method create

                                  static create: (
                                  properties?: google.cloud.speech.v1.IRecognitionMetadata
                                  ) => google.cloud.speech.v1.RecognitionMetadata;
                                  • Creates a new RecognitionMetadata instance using the specified properties.

                                    Parameter properties

                                    Properties to set

                                    Returns

                                    RecognitionMetadata instance

                                  method decode

                                  static decode: (
                                  reader: $protobuf.Reader | Uint8Array,
                                  length?: number
                                  ) => google.cloud.speech.v1.RecognitionMetadata;
                                  • Decodes a RecognitionMetadata message from the specified reader or buffer.

                                    Parameter reader

                                    Reader or buffer to decode from

                                    Parameter length

                                    Message length if known beforehand

                                    Returns

                                    RecognitionMetadata

                                    Throws

                                    {Error} If the payload is not a reader or valid buffer

                                    Throws

                                    {$protobuf.util.ProtocolError} If required fields are missing

                                  method decodeDelimited

                                  static decodeDelimited: (
                                  reader: $protobuf.Reader | Uint8Array
                                  ) => google.cloud.speech.v1.RecognitionMetadata;
                                  • Decodes a RecognitionMetadata message from the specified reader or buffer, length delimited.

                                    Parameter reader

                                    Reader or buffer to decode from

                                    Returns

                                    RecognitionMetadata

                                    Throws

                                    {Error} If the payload is not a reader or valid buffer

                                    Throws

                                    {$protobuf.util.ProtocolError} If required fields are missing

                                  method encode

                                  static encode: (
                                  message: google.cloud.speech.v1.IRecognitionMetadata,
                                  writer?: any
                                  ) => any;
                                  • Encodes the specified RecognitionMetadata message. Does not implicitly verify messages.

                                    Parameter message

                                    RecognitionMetadata message or plain object to encode

                                    Parameter writer

                                    Writer to encode to

                                    Returns

                                    Writer

                                  method encodeDelimited

                                  static encodeDelimited: (
                                  message: google.cloud.speech.v1.IRecognitionMetadata,
                                  writer?: any
                                  ) => any;
                                  • Encodes the specified RecognitionMetadata message, length delimited. Does not implicitly verify messages.

                                    Parameter message

                                    RecognitionMetadata message or plain object to encode

                                    Parameter writer

                                    Writer to encode to

                                    Returns

                                    Writer

                                  method fromObject

                                  static fromObject: (object: {
                                  [k: string]: any;
                                  }) => google.cloud.speech.v1.RecognitionMetadata;
                                  • Creates a RecognitionMetadata message from a plain object. Also converts values to their respective internal types.

                                    Parameter object

                                    Plain object

                                    Returns

                                    RecognitionMetadata

                                  method toJSON

                                  toJSON: () => { [k: string]: any };
                                  • Converts this RecognitionMetadata to JSON.

                                    Returns

                                    JSON object

                                  method toObject

                                  static toObject: (
                                  message: google.cloud.speech.v1.RecognitionMetadata,
                                  options?: any
                                  ) => { [k: string]: any };
                                  • Creates a plain object from a RecognitionMetadata message. Also converts values to other types if specified.

                                    Parameter message

                                    RecognitionMetadata

                                    Parameter options

                                    Conversion options

                                    Returns

                                    Plain object

                                  method verify

                                  static verify: (message: { [k: string]: any }) => string | null;
                                  • Verifies a RecognitionMetadata message.

                                    Parameter message

                                    Plain object to verify

                                    Returns

                                    null if valid, otherwise the reason why it is not

                                  class RecognizeRequest

                                  class RecognizeRequest implements IRecognizeRequest {}
                                  • Represents a RecognizeRequest.

                                  constructor

                                  constructor(properties?: IRecognizeRequest);
                                  • Constructs a new RecognizeRequest.

                                    Parameter properties

                                    Properties to set

                                  property audio

                                  audio?: IRecognitionAudio;
                                  • RecognizeRequest audio.

                                  property config

                                  config?: IRecognitionConfig;
                                  • RecognizeRequest config.

                                  method create

                                  static create: (
                                  properties?: google.cloud.speech.v1.IRecognizeRequest
                                  ) => google.cloud.speech.v1.RecognizeRequest;
                                  • Creates a new RecognizeRequest instance using the specified properties.

                                    Parameter properties

                                    Properties to set

                                    Returns

                                    RecognizeRequest instance

                                  method decode

                                  static decode: (
                                  reader: $protobuf.Reader | Uint8Array,
                                  length?: number
                                  ) => google.cloud.speech.v1.RecognizeRequest;
                                  • Decodes a RecognizeRequest message from the specified reader or buffer.

                                    Parameter reader

                                    Reader or buffer to decode from

                                    Parameter length

                                    Message length if known beforehand

                                    Returns

                                    RecognizeRequest

                                    Throws

                                    {Error} If the payload is not a reader or valid buffer

                                    Throws

                                    {$protobuf.util.ProtocolError} If required fields are missing

                                  method decodeDelimited

                                  static decodeDelimited: (
                                  reader: $protobuf.Reader | Uint8Array
                                  ) => google.cloud.speech.v1.RecognizeRequest;
                                  • Decodes a RecognizeRequest message from the specified reader or buffer, length delimited.

                                    Parameter reader

                                    Reader or buffer to decode from

                                    Returns

                                    RecognizeRequest

                                    Throws

                                    {Error} If the payload is not a reader or valid buffer

                                    Throws

                                    {$protobuf.util.ProtocolError} If required fields are missing

                                  method encode

                                  static encode: (
                                  message: google.cloud.speech.v1.IRecognizeRequest,
                                  writer?: any
                                  ) => any;
                                  • Encodes the specified RecognizeRequest message. Does not implicitly verify messages.

                                    Parameter message

                                    RecognizeRequest message or plain object to encode

                                    Parameter writer

                                    Writer to encode to

                                    Returns

                                    Writer

                                  method encodeDelimited

                                  static encodeDelimited: (
                                  message: google.cloud.speech.v1.IRecognizeRequest,
                                  writer?: any
                                  ) => any;
                                  • Encodes the specified RecognizeRequest message, length delimited. Does not implicitly verify messages.

                                    Parameter message

                                    RecognizeRequest message or plain object to encode

                                    Parameter writer

                                    Writer to encode to

                                    Returns

                                    Writer

                                  method fromObject

                                  static fromObject: (object: {
                                  [k: string]: any;
                                  }) => google.cloud.speech.v1.RecognizeRequest;
                                  • Creates a RecognizeRequest message from a plain object. Also converts values to their respective internal types.

                                    Parameter object

                                    Plain object

                                    Returns

                                    RecognizeRequest

                                  method toJSON

                                  toJSON: () => { [k: string]: any };
                                  • Converts this RecognizeRequest to JSON.

                                    Returns

                                    JSON object

                                  method toObject

                                  static toObject: (
                                  message: google.cloud.speech.v1.RecognizeRequest,
                                  options?: any
                                  ) => { [k: string]: any };
                                  • Creates a plain object from a RecognizeRequest message. Also converts values to other types if specified.

                                    Parameter message

                                    RecognizeRequest

                                    Parameter options

                                    Conversion options

                                    Returns

                                    Plain object

                                  method verify

                                  static verify: (message: { [k: string]: any }) => string | null;
                                  • Verifies a RecognizeRequest message.

                                    Parameter message

                                    Plain object to verify

                                    Returns

                                    null if valid, otherwise the reason why it is not

                                  class RecognizeResponse

                                  class RecognizeResponse implements IRecognizeResponse {}
                                  • Represents a RecognizeResponse.

                                  constructor

                                  constructor(properties?: IRecognizeResponse);
                                  • Constructs a new RecognizeResponse.

                                    Parameter properties

                                    Properties to set

                                  property results

                                  results: ISpeechRecognitionResult[];
                                  • RecognizeResponse results.

                                  property totalBilledTime

                                  totalBilledTime?: protobuf.IDuration;
                                  • RecognizeResponse totalBilledTime.

                                  method create

                                  static create: (
                                  properties?: google.cloud.speech.v1.IRecognizeResponse
                                  ) => google.cloud.speech.v1.RecognizeResponse;
                                  • Creates a new RecognizeResponse instance using the specified properties.

                                    Parameter properties

                                    Properties to set

                                    Returns

                                    RecognizeResponse instance

                                  method decode

                                  static decode: (
                                  reader: $protobuf.Reader | Uint8Array,
                                  length?: number
                                  ) => google.cloud.speech.v1.RecognizeResponse;
                                  • Decodes a RecognizeResponse message from the specified reader or buffer.

                                    Parameter reader

                                    Reader or buffer to decode from

                                    Parameter length

                                    Message length if known beforehand

                                    Returns

                                    RecognizeResponse

                                    Throws

                                    {Error} If the payload is not a reader or valid buffer

                                    Throws

                                    {$protobuf.util.ProtocolError} If required fields are missing

                                  method decodeDelimited

                                  static decodeDelimited: (
                                  reader: $protobuf.Reader | Uint8Array
                                  ) => google.cloud.speech.v1.RecognizeResponse;
                                  • Decodes a RecognizeResponse message from the specified reader or buffer, length delimited.

                                    Parameter reader

                                    Reader or buffer to decode from

                                    Returns

                                    RecognizeResponse

                                    Throws

                                    {Error} If the payload is not a reader or valid buffer

                                    Throws

                                    {$protobuf.util.ProtocolError} If required fields are missing

                                  method encode

                                  static encode: (
                                  message: google.cloud.speech.v1.IRecognizeResponse,
                                  writer?: any
                                  ) => any;
                                  • Encodes the specified RecognizeResponse message. Does not implicitly verify messages.

                                    Parameter message

                                    RecognizeResponse message or plain object to encode

                                    Parameter writer

                                    Writer to encode to

                                    Returns

                                    Writer

                                  method encodeDelimited

                                  static encodeDelimited: (
                                  message: google.cloud.speech.v1.IRecognizeResponse,
                                  writer?: any
                                  ) => any;
                                  • Encodes the specified RecognizeResponse message, length delimited. Does not implicitly verify messages.

                                    Parameter message

                                    RecognizeResponse message or plain object to encode

                                    Parameter writer

                                    Writer to encode to

                                    Returns

                                    Writer

                                  method fromObject

                                  static fromObject: (object: {
                                  [k: string]: any;
                                  }) => google.cloud.speech.v1.RecognizeResponse;
                                  • Creates a RecognizeResponse message from a plain object. Also converts values to their respective internal types.

                                    Parameter object

                                    Plain object

                                    Returns

                                    RecognizeResponse

                                  method toJSON

                                  toJSON: () => { [k: string]: any };
                                  • Converts this RecognizeResponse to JSON.

                                    Returns

                                    JSON object

                                  method toObject

                                  static toObject: (
                                  message: google.cloud.speech.v1.RecognizeResponse,
                                  options?: any
                                  ) => { [k: string]: any };
                                  • Creates a plain object from a RecognizeResponse message. Also converts values to other types if specified.

                                    Parameter message

                                    RecognizeResponse

                                    Parameter options

                                    Conversion options

                                    Returns

                                    Plain object

                                  method verify

                                  static verify: (message: { [k: string]: any }) => string | null;
                                  • Verifies a RecognizeResponse message.

                                    Parameter message

                                    Plain object to verify

                                    Returns

                                    null if valid, otherwise the reason why it is not

                                  class SpeakerDiarizationConfig

                                  class SpeakerDiarizationConfig implements ISpeakerDiarizationConfig {}
                                  • Represents a SpeakerDiarizationConfig.

                                  constructor

                                  constructor(properties?: ISpeakerDiarizationConfig);
                                  • Constructs a new SpeakerDiarizationConfig.

                                    Parameter properties

                                    Properties to set

                                  property enableSpeakerDiarization

                                  enableSpeakerDiarization: boolean;
                                  • SpeakerDiarizationConfig enableSpeakerDiarization.

                                  property maxSpeakerCount

                                  maxSpeakerCount: number;
                                  • SpeakerDiarizationConfig maxSpeakerCount.

                                  property minSpeakerCount

                                  minSpeakerCount: number;
                                  • SpeakerDiarizationConfig minSpeakerCount.

                                  property speakerTag

                                  speakerTag: number;
                                  • SpeakerDiarizationConfig speakerTag.

                                  method create

                                  static create: (
                                  properties?: google.cloud.speech.v1.ISpeakerDiarizationConfig
                                  ) => google.cloud.speech.v1.SpeakerDiarizationConfig;
                                  • Creates a new SpeakerDiarizationConfig instance using the specified properties.

                                    Parameter properties

                                    Properties to set

                                    Returns

                                    SpeakerDiarizationConfig instance

                                  method decode

                                  static decode: (
                                  reader: $protobuf.Reader | Uint8Array,
                                  length?: number
                                  ) => google.cloud.speech.v1.SpeakerDiarizationConfig;
                                  • Decodes a SpeakerDiarizationConfig message from the specified reader or buffer.

                                    Parameter reader

                                    Reader or buffer to decode from

                                    Parameter length

                                    Message length if known beforehand

                                    Returns

                                    SpeakerDiarizationConfig

                                    Throws

                                    {Error} If the payload is not a reader or valid buffer

                                    Throws

                                    {$protobuf.util.ProtocolError} If required fields are missing

                                  method decodeDelimited

                                  static decodeDelimited: (
                                  reader: $protobuf.Reader | Uint8Array
                                  ) => google.cloud.speech.v1.SpeakerDiarizationConfig;
                                  • Decodes a SpeakerDiarizationConfig message from the specified reader or buffer, length delimited.

                                    Parameter reader

                                    Reader or buffer to decode from

                                    Returns

                                    SpeakerDiarizationConfig

                                    Throws

                                    {Error} If the payload is not a reader or valid buffer

                                    Throws

                                    {$protobuf.util.ProtocolError} If required fields are missing

                                  method encode

                                  static encode: (
                                  message: google.cloud.speech.v1.ISpeakerDiarizationConfig,
                                  writer?: any
                                  ) => any;
                                  • Encodes the specified SpeakerDiarizationConfig message. Does not implicitly verify messages.

                                    Parameter message

                                    SpeakerDiarizationConfig message or plain object to encode

                                    Parameter writer

                                    Writer to encode to

                                    Returns

                                    Writer

                                  method encodeDelimited

                                  static encodeDelimited: (
                                  message: google.cloud.speech.v1.ISpeakerDiarizationConfig,
                                  writer?: any
                                  ) => any;
                                  • Encodes the specified SpeakerDiarizationConfig message, length delimited. Does not implicitly verify messages.

                                    Parameter message

                                    SpeakerDiarizationConfig message or plain object to encode

                                    Parameter writer

                                    Writer to encode to

                                    Returns

                                    Writer

                                  method fromObject

                                  static fromObject: (object: {
                                  [k: string]: any;
                                  }) => google.cloud.speech.v1.SpeakerDiarizationConfig;
                                  • Creates a SpeakerDiarizationConfig message from a plain object. Also converts values to their respective internal types.

                                    Parameter object

                                    Plain object

                                    Returns

                                    SpeakerDiarizationConfig

                                  method toJSON

                                  toJSON: () => { [k: string]: any };
                                  • Converts this SpeakerDiarizationConfig to JSON.

                                    Returns

                                    JSON object

                                  method toObject

                                  static toObject: (
                                  message: google.cloud.speech.v1.SpeakerDiarizationConfig,
                                  options?: any
                                  ) => { [k: string]: any };
                                  • Creates a plain object from a SpeakerDiarizationConfig message. Also converts values to other types if specified.

                                    Parameter message

                                    SpeakerDiarizationConfig

                                    Parameter options

                                    Conversion options

                                    Returns

                                    Plain object

                                  method verify

                                  static verify: (message: { [k: string]: any }) => string | null;
                                  • Verifies a SpeakerDiarizationConfig message.

                                    Parameter message

                                    Plain object to verify

                                    Returns

                                    null if valid, otherwise the reason why it is not

                                  class Speech

                                  class Speech extends $protobuf.rpc.Service {}
                                  • Represents a Speech

                                  constructor

                                  constructor(
                                  rpcImpl: any,
                                  requestDelimited?: boolean,
                                  responseDelimited?: boolean
                                  );
                                  • Constructs a new Speech service.

                                    Parameter rpcImpl

                                    RPC implementation

                                    Parameter requestDelimited

                                    Whether requests are length-delimited

                                    Parameter responseDelimited

                                    Whether responses are length-delimited

                                  method create

                                  static create: (
                                  rpcImpl: any,
                                  requestDelimited?: boolean,
                                  responseDelimited?: boolean
                                  ) => Speech;
                                  • Creates new Speech service using the specified rpc implementation.

                                    Parameter rpcImpl

                                    RPC implementation

                                    Parameter requestDelimited

                                    Whether requests are length-delimited

                                    Parameter responseDelimited

                                    Whether responses are length-delimited

                                    Returns

                                    RPC service. Useful where requests and/or responses are streamed.

                                  method longRunningRecognize

                                  longRunningRecognize: {
                                  (
                                  request: google.cloud.speech.v1.ILongRunningRecognizeRequest,
                                  callback: google.cloud.speech.v1.Speech.LongRunningRecognizeCallback
                                  ): void;
                                  (request: ILongRunningRecognizeRequest): Promise<longrunning.Operation>;
                                  };
                                  • Calls LongRunningRecognize.

                                    Parameter request

                                    LongRunningRecognizeRequest message or plain object

                                    Parameter callback

                                    Node-style callback called with the error, if any, and Operation

                                  • Calls LongRunningRecognize.

                                    Parameter request

                                    LongRunningRecognizeRequest message or plain object

                                    Returns

                                    Promise

                                  method recognize

                                  recognize: {
                                  (
                                  request: google.cloud.speech.v1.IRecognizeRequest,
                                  callback: google.cloud.speech.v1.Speech.RecognizeCallback
                                  ): void;
                                  (request: IRecognizeRequest): Promise<RecognizeResponse>;
                                  };
                                  • Calls Recognize.

                                    Parameter request

                                    RecognizeRequest message or plain object

                                    Parameter callback

                                    Node-style callback called with the error, if any, and RecognizeResponse

                                  • Calls Recognize.

                                    Parameter request

                                    RecognizeRequest message or plain object

                                    Returns

                                    Promise

                                  method streamingRecognize

                                  streamingRecognize: {
                                  (
                                  request: google.cloud.speech.v1.IStreamingRecognizeRequest,
                                  callback: google.cloud.speech.v1.Speech.StreamingRecognizeCallback
                                  ): void;
                                  (request: IStreamingRecognizeRequest): Promise<StreamingRecognizeResponse>;
                                  };
                                  • Calls StreamingRecognize.

                                    Parameter request

                                    StreamingRecognizeRequest message or plain object

                                    Parameter callback

                                    Node-style callback called with the error, if any, and StreamingRecognizeResponse

                                  • Calls StreamingRecognize.

                                    Parameter request

                                    StreamingRecognizeRequest message or plain object

                                    Returns

                                    Promise

                                  class SpeechContext

                                  class SpeechContext implements ISpeechContext {}
                                  • Represents a SpeechContext.

                                  constructor

                                  constructor(properties?: ISpeechContext);
                                  • Constructs a new SpeechContext.

                                    Parameter properties

                                    Properties to set

                                  property phrases

                                  phrases: string[];
                                  • SpeechContext phrases.

                                  method create

                                  static create: (
                                  properties?: google.cloud.speech.v1.ISpeechContext
                                  ) => google.cloud.speech.v1.SpeechContext;
                                  • Creates a new SpeechContext instance using the specified properties.

                                    Parameter properties

                                    Properties to set

                                    Returns

                                    SpeechContext instance

                                  method decode

                                  static decode: (
                                  reader: $protobuf.Reader | Uint8Array,
                                  length?: number
                                  ) => google.cloud.speech.v1.SpeechContext;
                                  • Decodes a SpeechContext message from the specified reader or buffer.

                                    Parameter reader

                                    Reader or buffer to decode from

                                    Parameter length

                                    Message length if known beforehand

                                    Returns

                                    SpeechContext

                                    Throws

                                    {Error} If the payload is not a reader or valid buffer

                                    Throws

                                    {$protobuf.util.ProtocolError} If required fields are missing

                                  method decodeDelimited

                                  static decodeDelimited: (
                                  reader: $protobuf.Reader | Uint8Array
                                  ) => google.cloud.speech.v1.SpeechContext;
                                  • Decodes a SpeechContext message from the specified reader or buffer, length delimited.

                                    Parameter reader

                                    Reader or buffer to decode from

                                    Returns

                                    SpeechContext

                                    Throws

                                    {Error} If the payload is not a reader or valid buffer

                                    Throws

                                    {$protobuf.util.ProtocolError} If required fields are missing

                                  method encode

                                  static encode: (
                                  message: google.cloud.speech.v1.ISpeechContext,
                                  writer?: any
                                  ) => any;
                                  • Encodes the specified SpeechContext message. Does not implicitly verify messages.

                                    Parameter message

                                    SpeechContext message or plain object to encode

                                    Parameter writer

                                    Writer to encode to

                                    Returns

                                    Writer

                                  method encodeDelimited

                                  static encodeDelimited: (
                                  message: google.cloud.speech.v1.ISpeechContext,
                                  writer?: any
                                  ) => any;
                                  • Encodes the specified SpeechContext message, length delimited. Does not implicitly verify messages.

                                    Parameter message

                                    SpeechContext message or plain object to encode

                                    Parameter writer

                                    Writer to encode to

                                    Returns

                                    Writer

                                  method fromObject

                                  static fromObject: (object: {
                                  [k: string]: any;
                                  }) => google.cloud.speech.v1.SpeechContext;
                                  • Creates a SpeechContext message from a plain object. Also converts values to their respective internal types.

                                    Parameter object

                                    Plain object

                                    Returns

                                    SpeechContext

                                  method toJSON

                                  toJSON: () => { [k: string]: any };
                                  • Converts this SpeechContext to JSON.

                                    Returns

                                    JSON object

                                  method toObject

                                  static toObject: (
                                  message: google.cloud.speech.v1.SpeechContext,
                                  options?: any
                                  ) => { [k: string]: any };
                                  • Creates a plain object from a SpeechContext message. Also converts values to other types if specified.

                                    Parameter message

                                    SpeechContext

                                    Parameter options

                                    Conversion options

                                    Returns

                                    Plain object

                                  method verify

                                  static verify: (message: { [k: string]: any }) => string | null;
                                  • Verifies a SpeechContext message.

                                    Parameter message

                                    Plain object to verify

                                    Returns

                                    null if valid, otherwise the reason why it is not

                                  class SpeechRecognitionAlternative

                                  class SpeechRecognitionAlternative implements ISpeechRecognitionAlternative {}
                                  • Represents a SpeechRecognitionAlternative.

                                  constructor

                                  constructor(properties?: ISpeechRecognitionAlternative);
                                  • Constructs a new SpeechRecognitionAlternative.

                                    Parameter properties

                                    Properties to set

                                  property confidence

                                  confidence: number;
                                  • SpeechRecognitionAlternative confidence.

                                  property transcript

                                  transcript: string;
                                  • SpeechRecognitionAlternative transcript.

                                  property words

                                  words: IWordInfo[];
                                  • SpeechRecognitionAlternative words.

                                  method create

                                  static create: (
                                  properties?: google.cloud.speech.v1.ISpeechRecognitionAlternative
                                  ) => google.cloud.speech.v1.SpeechRecognitionAlternative;
                                  • Creates a new SpeechRecognitionAlternative instance using the specified properties.

                                    Parameter properties

                                    Properties to set

                                    Returns

                                    SpeechRecognitionAlternative instance

                                  method decode

                                  static decode: (
                                  reader: $protobuf.Reader | Uint8Array,
                                  length?: number
                                  ) => google.cloud.speech.v1.SpeechRecognitionAlternative;
                                  • Decodes a SpeechRecognitionAlternative message from the specified reader or buffer.

                                    Parameter reader

                                    Reader or buffer to decode from

                                    Parameter length

                                    Message length if known beforehand

                                    Returns

                                    SpeechRecognitionAlternative

                                    Throws

                                    {Error} If the payload is not a reader or valid buffer

                                    Throws

                                    {$protobuf.util.ProtocolError} If required fields are missing

                                  method decodeDelimited

                                  static decodeDelimited: (
                                  reader: $protobuf.Reader | Uint8Array
                                  ) => google.cloud.speech.v1.SpeechRecognitionAlternative;
                                  • Decodes a SpeechRecognitionAlternative message from the specified reader or buffer, length delimited.

                                    Parameter reader

                                    Reader or buffer to decode from

                                    Returns

                                    SpeechRecognitionAlternative

                                    Throws

                                    {Error} If the payload is not a reader or valid buffer

                                    Throws

                                    {$protobuf.util.ProtocolError} If required fields are missing

                                  method encode

                                  static encode: (
                                  message: google.cloud.speech.v1.ISpeechRecognitionAlternative,
                                  writer?: any
                                  ) => any;
                                  • Encodes the specified SpeechRecognitionAlternative message. Does not implicitly verify messages.

                                    Parameter message

                                    SpeechRecognitionAlternative message or plain object to encode

                                    Parameter writer

                                    Writer to encode to

                                    Returns

                                    Writer

                                  method encodeDelimited

                                  static encodeDelimited: (
                                  message: google.cloud.speech.v1.ISpeechRecognitionAlternative,
                                  writer?: any
                                  ) => any;
                                  • Encodes the specified SpeechRecognitionAlternative message, length delimited. Does not implicitly verify messages.

                                    Parameter message

                                    SpeechRecognitionAlternative message or plain object to encode

                                    Parameter writer

                                    Writer to encode to

                                    Returns

                                    Writer

                                  method fromObject

                                  static fromObject: (object: {
                                  [k: string]: any;
                                  }) => google.cloud.speech.v1.SpeechRecognitionAlternative;
                                  • Creates a SpeechRecognitionAlternative message from a plain object. Also converts values to their respective internal types.

                                    Parameter object

                                    Plain object

                                    Returns

                                    SpeechRecognitionAlternative

                                  method toJSON

                                  toJSON: () => { [k: string]: any };
                                  • Converts this SpeechRecognitionAlternative to JSON.

                                    Returns

                                    JSON object

                                  method toObject

                                  static toObject: (
                                  message: google.cloud.speech.v1.SpeechRecognitionAlternative,
                                  options?: any
                                  ) => { [k: string]: any };
                                  • Creates a plain object from a SpeechRecognitionAlternative message. Also converts values to other types if specified.

                                    Parameter message

                                    SpeechRecognitionAlternative

                                    Parameter options

                                    Conversion options

                                    Returns

                                    Plain object

                                  method verify

                                  static verify: (message: { [k: string]: any }) => string | null;
                                  • Verifies a SpeechRecognitionAlternative message.

                                    Parameter message

                                    Plain object to verify

                                    Returns

                                    null if valid, otherwise the reason why it is not

                                  class SpeechRecognitionResult

                                  class SpeechRecognitionResult implements ISpeechRecognitionResult {}
                                  • Represents a SpeechRecognitionResult.

                                  constructor

                                  constructor(properties?: ISpeechRecognitionResult);
                                  • Constructs a new SpeechRecognitionResult.

                                    Parameter properties

                                    Properties to set

                                  property alternatives

                                  alternatives: ISpeechRecognitionAlternative[];
                                  • SpeechRecognitionResult alternatives.

                                  property channelTag

                                  channelTag: number;
                                  • SpeechRecognitionResult channelTag.

                                  method create

                                  static create: (
                                  properties?: google.cloud.speech.v1.ISpeechRecognitionResult
                                  ) => google.cloud.speech.v1.SpeechRecognitionResult;
                                  • Creates a new SpeechRecognitionResult instance using the specified properties.

                                    Parameter properties

                                    Properties to set

                                    Returns

                                    SpeechRecognitionResult instance

                                  method decode

                                  static decode: (
                                  reader: $protobuf.Reader | Uint8Array,
                                  length?: number
                                  ) => google.cloud.speech.v1.SpeechRecognitionResult;
                                  • Decodes a SpeechRecognitionResult message from the specified reader or buffer.

                                    Parameter reader

                                    Reader or buffer to decode from

                                    Parameter length

                                    Message length if known beforehand

                                    Returns

                                    SpeechRecognitionResult

                                    Throws

                                    {Error} If the payload is not a reader or valid buffer

                                    Throws

                                    {$protobuf.util.ProtocolError} If required fields are missing

                                  method decodeDelimited

                                  static decodeDelimited: (
                                  reader: $protobuf.Reader | Uint8Array
                                  ) => google.cloud.speech.v1.SpeechRecognitionResult;
                                  • Decodes a SpeechRecognitionResult message from the specified reader or buffer, length delimited.

                                    Parameter reader

                                    Reader or buffer to decode from

                                    Returns

                                    SpeechRecognitionResult

                                    Throws

                                    {Error} If the payload is not a reader or valid buffer

                                    Throws

                                    {$protobuf.util.ProtocolError} If required fields are missing

                                  method encode

                                  static encode: (
                                  message: google.cloud.speech.v1.ISpeechRecognitionResult,
                                  writer?: any
                                  ) => any;
                                  • Encodes the specified SpeechRecognitionResult message. Does not implicitly verify messages.

                                    Parameter message

                                    SpeechRecognitionResult message or plain object to encode

                                    Parameter writer

                                    Writer to encode to

                                    Returns

                                    Writer

                                  method encodeDelimited

                                  static encodeDelimited: (
                                  message: google.cloud.speech.v1.ISpeechRecognitionResult,
                                  writer?: any
                                  ) => any;
                                  • Encodes the specified SpeechRecognitionResult message, length delimited. Does not implicitly verify messages.

                                    Parameter message

                                    SpeechRecognitionResult message or plain object to encode

                                    Parameter writer

                                    Writer to encode to

                                    Returns

                                    Writer

                                  method fromObject

                                  static fromObject: (object: {
                                  [k: string]: any;
                                  }) => google.cloud.speech.v1.SpeechRecognitionResult;
                                  • Creates a SpeechRecognitionResult message from a plain object. Also converts values to their respective internal types.

                                    Parameter object

                                    Plain object

                                    Returns

                                    SpeechRecognitionResult

                                  method toJSON

                                  toJSON: () => { [k: string]: any };
                                  • Converts this SpeechRecognitionResult to JSON.

                                    Returns

                                    JSON object

                                  method toObject

                                  static toObject: (
                                  message: google.cloud.speech.v1.SpeechRecognitionResult,
                                  options?: any
                                  ) => { [k: string]: any };
                                  • Creates a plain object from a SpeechRecognitionResult message. Also converts values to other types if specified.

                                    Parameter message

                                    SpeechRecognitionResult

                                    Parameter options

                                    Conversion options

                                    Returns

                                    Plain object

                                  method verify

                                  static verify: (message: { [k: string]: any }) => string | null;
                                  • Verifies a SpeechRecognitionResult message.

                                    Parameter message

                                    Plain object to verify

                                    Returns

                                    null if valid, otherwise the reason why it is not

                                  class StreamingRecognitionConfig

                                  class StreamingRecognitionConfig implements IStreamingRecognitionConfig {}
                                  • Represents a StreamingRecognitionConfig.

                                  constructor

                                  constructor(properties?: IStreamingRecognitionConfig);
                                  • Constructs a new StreamingRecognitionConfig.

                                    Parameter properties

                                    Properties to set

                                  property config

                                  config?: IRecognitionConfig;
                                  • StreamingRecognitionConfig config.

                                  property interimResults

                                  interimResults: boolean;
                                  • StreamingRecognitionConfig interimResults.

                                  property singleUtterance

                                  singleUtterance: boolean;
                                  • StreamingRecognitionConfig singleUtterance.

                                  method create

                                  static create: (
                                  properties?: google.cloud.speech.v1.IStreamingRecognitionConfig
                                  ) => google.cloud.speech.v1.StreamingRecognitionConfig;
                                  • Creates a new StreamingRecognitionConfig instance using the specified properties.

                                    Parameter properties

                                    Properties to set

                                    Returns

                                    StreamingRecognitionConfig instance

                                  method decode

                                  static decode: (
                                  reader: $protobuf.Reader | Uint8Array,
                                  length?: number
                                  ) => google.cloud.speech.v1.StreamingRecognitionConfig;
                                  • Decodes a StreamingRecognitionConfig message from the specified reader or buffer.

                                    Parameter reader

                                    Reader or buffer to decode from

                                    Parameter length

                                    Message length if known beforehand

                                    Returns

                                    StreamingRecognitionConfig

                                    Throws

                                    {Error} If the payload is not a reader or valid buffer

                                    Throws

                                    {$protobuf.util.ProtocolError} If required fields are missing

                                  method decodeDelimited

                                  static decodeDelimited: (
                                  reader: $protobuf.Reader | Uint8Array
                                  ) => google.cloud.speech.v1.StreamingRecognitionConfig;
                                  • Decodes a StreamingRecognitionConfig message from the specified reader or buffer, length delimited.

                                    Parameter reader

                                    Reader or buffer to decode from

                                    Returns

                                    StreamingRecognitionConfig

                                    Throws

                                    {Error} If the payload is not a reader or valid buffer

                                    Throws

                                    {$protobuf.util.ProtocolError} If required fields are missing

                                  method encode

                                  static encode: (
                                  message: google.cloud.speech.v1.IStreamingRecognitionConfig,
                                  writer?: any
                                  ) => any;
                                  • Encodes the specified StreamingRecognitionConfig message. Does not implicitly verify messages.

                                    Parameter message

                                    StreamingRecognitionConfig message or plain object to encode

                                    Parameter writer

                                    Writer to encode to

                                    Returns

                                    Writer

                                  method encodeDelimited

                                  static encodeDelimited: (
                                  message: google.cloud.speech.v1.IStreamingRecognitionConfig,
                                  writer?: any
                                  ) => any;
                                  • Encodes the specified StreamingRecognitionConfig message, length delimited. Does not implicitly verify messages.

                                    Parameter message

                                    StreamingRecognitionConfig message or plain object to encode

                                    Parameter writer

                                    Writer to encode to

                                    Returns

                                    Writer

                                  method fromObject

                                  static fromObject: (object: {
                                  [k: string]: any;
                                  }) => google.cloud.speech.v1.StreamingRecognitionConfig;
                                  • Creates a StreamingRecognitionConfig message from a plain object. Also converts values to their respective internal types.

                                    Parameter object

                                    Plain object

                                    Returns

                                    StreamingRecognitionConfig

                                  method toJSON

                                  toJSON: () => { [k: string]: any };
                                  • Converts this StreamingRecognitionConfig to JSON.

                                    Returns

                                    JSON object

                                  method toObject

                                  static toObject: (
                                  message: google.cloud.speech.v1.StreamingRecognitionConfig,
                                  options?: any
                                  ) => { [k: string]: any };
                                  • Creates a plain object from a StreamingRecognitionConfig message. Also converts values to other types if specified.

                                    Parameter message

                                    StreamingRecognitionConfig

                                    Parameter options

                                    Conversion options

                                    Returns

                                    Plain object

                                  method verify

                                  static verify: (message: { [k: string]: any }) => string | null;
                                  • Verifies a StreamingRecognitionConfig message.

                                    Parameter message

                                    Plain object to verify

                                    Returns

                                    null if valid, otherwise the reason why it is not

                                  class StreamingRecognitionResult

                                  class StreamingRecognitionResult implements IStreamingRecognitionResult {}
                                  • Represents a StreamingRecognitionResult.

                                  constructor

                                  constructor(properties?: IStreamingRecognitionResult);
                                  • Constructs a new StreamingRecognitionResult.

                                    Parameter properties

                                    Properties to set

                                  property alternatives

                                  alternatives: ISpeechRecognitionAlternative[];
                                  • StreamingRecognitionResult alternatives.

                                  property channelTag

                                  channelTag: number;
                                  • StreamingRecognitionResult channelTag.

                                  property isFinal

                                  isFinal: boolean;
                                  • StreamingRecognitionResult isFinal.

                                  property languageCode

                                  languageCode: string;
                                  • StreamingRecognitionResult languageCode.

                                  property resultEndTime

                                  resultEndTime?: protobuf.IDuration;
                                  • StreamingRecognitionResult resultEndTime.

                                  property stability

                                  stability: number;
                                  • StreamingRecognitionResult stability.

                                  method create

                                  static create: (
                                  properties?: google.cloud.speech.v1.IStreamingRecognitionResult
                                  ) => google.cloud.speech.v1.StreamingRecognitionResult;
                                  • Creates a new StreamingRecognitionResult instance using the specified properties.

                                    Parameter properties

                                    Properties to set

                                    Returns

                                    StreamingRecognitionResult instance

                                  method decode

                                  static decode: (
                                  reader: $protobuf.Reader | Uint8Array,
                                  length?: number
                                  ) => google.cloud.speech.v1.StreamingRecognitionResult;
                                  • Decodes a StreamingRecognitionResult message from the specified reader or buffer.

                                    Parameter reader

                                    Reader or buffer to decode from

                                    Parameter length

                                    Message length if known beforehand

                                    Returns

                                    StreamingRecognitionResult

                                    Throws

                                    {Error} If the payload is not a reader or valid buffer

                                    Throws

                                    {$protobuf.util.ProtocolError} If required fields are missing

                                  method decodeDelimited

                                  static decodeDelimited: (
                                  reader: $protobuf.Reader | Uint8Array
                                  ) => google.cloud.speech.v1.StreamingRecognitionResult;
                                  • Decodes a StreamingRecognitionResult message from the specified reader or buffer, length delimited.

                                    Parameter reader

                                    Reader or buffer to decode from

                                    Returns

                                    StreamingRecognitionResult

                                    Throws

                                    {Error} If the payload is not a reader or valid buffer

                                    Throws

                                    {$protobuf.util.ProtocolError} If required fields are missing

                                  method encode

                                  static encode: (
                                  message: google.cloud.speech.v1.IStreamingRecognitionResult,
                                  writer?: any
                                  ) => any;
                                  • Encodes the specified StreamingRecognitionResult message. Does not implicitly verify messages.

                                    Parameter message

                                    StreamingRecognitionResult message or plain object to encode

                                    Parameter writer

                                    Writer to encode to

                                    Returns

                                    Writer

                                  method encodeDelimited

                                  static encodeDelimited: (
                                  message: google.cloud.speech.v1.IStreamingRecognitionResult,
                                  writer?: any
                                  ) => any;
                                  • Encodes the specified StreamingRecognitionResult message, length delimited. Does not implicitly verify messages.

                                    Parameter message

                                    StreamingRecognitionResult message or plain object to encode

                                    Parameter writer

                                    Writer to encode to

                                    Returns

                                    Writer

                                  method fromObject

                                  static fromObject: (object: {
                                  [k: string]: any;
                                  }) => google.cloud.speech.v1.StreamingRecognitionResult;
                                  • Creates a StreamingRecognitionResult message from a plain object. Also converts values to their respective internal types.

                                    Parameter object

                                    Plain object

                                    Returns

                                    StreamingRecognitionResult

                                  method toJSON

                                  toJSON: () => { [k: string]: any };
                                  • Converts this StreamingRecognitionResult to JSON.

                                    Returns

                                    JSON object

                                  method toObject

                                  static toObject: (
                                  message: google.cloud.speech.v1.StreamingRecognitionResult,
                                  options?: any
                                  ) => { [k: string]: any };
                                  • Creates a plain object from a StreamingRecognitionResult message. Also converts values to other types if specified.

                                    Parameter message

                                    StreamingRecognitionResult

                                    Parameter options

                                    Conversion options

                                    Returns

                                    Plain object

                                  method verify

                                  static verify: (message: { [k: string]: any }) => string | null;
                                  • Verifies a StreamingRecognitionResult message.

                                    Parameter message

                                    Plain object to verify

                                    Returns

                                    null if valid, otherwise the reason why it is not

                                  class StreamingRecognizeRequest

                                  class StreamingRecognizeRequest implements IStreamingRecognizeRequest {}
                                  • Represents a StreamingRecognizeRequest.

                                  constructor

                                  constructor(properties?: IStreamingRecognizeRequest);
                                  • Constructs a new StreamingRecognizeRequest.

                                    Parameter properties

                                    Properties to set

                                  property audioContent

                                  audioContent?: string | Uint8Array;
                                  • StreamingRecognizeRequest audioContent.

                                  property streamingConfig

                                  streamingConfig?: IStreamingRecognitionConfig;
                                  • StreamingRecognizeRequest streamingConfig.

                                  property streamingRequest

                                  streamingRequest?: 'streamingConfig' | 'audioContent';
                                  • StreamingRecognizeRequest streamingRequest.

                                  method create

                                  static create: (
                                  properties?: google.cloud.speech.v1.IStreamingRecognizeRequest
                                  ) => google.cloud.speech.v1.StreamingRecognizeRequest;
                                  • Creates a new StreamingRecognizeRequest instance using the specified properties.

                                    Parameter properties

                                    Properties to set

                                    Returns

                                    StreamingRecognizeRequest instance

                                  method decode

                                  static decode: (
                                  reader: $protobuf.Reader | Uint8Array,
                                  length?: number
                                  ) => google.cloud.speech.v1.StreamingRecognizeRequest;
                                  • Decodes a StreamingRecognizeRequest message from the specified reader or buffer.

                                    Parameter reader

                                    Reader or buffer to decode from

                                    Parameter length

                                    Message length if known beforehand

                                    Returns

                                    StreamingRecognizeRequest

                                    Throws

                                    {Error} If the payload is not a reader or valid buffer

                                    Throws

                                    {$protobuf.util.ProtocolError} If required fields are missing

                                  method decodeDelimited

                                  static decodeDelimited: (
                                  reader: $protobuf.Reader | Uint8Array
                                  ) => google.cloud.speech.v1.StreamingRecognizeRequest;
                                  • Decodes a StreamingRecognizeRequest message from the specified reader or buffer, length delimited.

                                    Parameter reader

                                    Reader or buffer to decode from

                                    Returns

                                    StreamingRecognizeRequest

                                    Throws

                                    {Error} If the payload is not a reader or valid buffer

                                    Throws

                                    {$protobuf.util.ProtocolError} If required fields are missing

                                  method encode

                                  static encode: (
                                  message: google.cloud.speech.v1.IStreamingRecognizeRequest,
                                  writer?: any
                                  ) => any;
                                  • Encodes the specified StreamingRecognizeRequest message. Does not implicitly verify messages.

                                    Parameter message

                                    StreamingRecognizeRequest message or plain object to encode

                                    Parameter writer

                                    Writer to encode to

                                    Returns

                                    Writer

                                  method encodeDelimited

                                  static encodeDelimited: (
                                  message: google.cloud.speech.v1.IStreamingRecognizeRequest,
                                  writer?: any
                                  ) => any;
                                  • Encodes the specified StreamingRecognizeRequest message, length delimited. Does not implicitly verify messages.

                                    Parameter message

                                    StreamingRecognizeRequest message or plain object to encode

                                    Parameter writer

                                    Writer to encode to

                                    Returns

                                    Writer

                                  method fromObject

                                  static fromObject: (object: {
                                  [k: string]: any;
                                  }) => google.cloud.speech.v1.StreamingRecognizeRequest;
                                  • Creates a StreamingRecognizeRequest message from a plain object. Also converts values to their respective internal types.

                                    Parameter object

                                    Plain object

                                    Returns

                                    StreamingRecognizeRequest

                                  method toJSON

                                  toJSON: () => { [k: string]: any };
                                  • Converts this StreamingRecognizeRequest to JSON.

                                    Returns

                                    JSON object

                                  method toObject

                                  static toObject: (
                                  message: google.cloud.speech.v1.StreamingRecognizeRequest,
                                  options?: any
                                  ) => { [k: string]: any };
                                  • Creates a plain object from a StreamingRecognizeRequest message. Also converts values to other types if specified.

                                    Parameter message

                                    StreamingRecognizeRequest

                                    Parameter options

                                    Conversion options

                                    Returns

                                    Plain object

                                  method verify

                                  static verify: (message: { [k: string]: any }) => string | null;
                                  • Verifies a StreamingRecognizeRequest message.

                                    Parameter message

                                    Plain object to verify

                                    Returns

                                    null if valid, otherwise the reason why it is not

                                  class StreamingRecognizeResponse

                                  class StreamingRecognizeResponse implements IStreamingRecognizeResponse {}
                                  • Represents a StreamingRecognizeResponse.

                                  constructor

                                  constructor(properties?: IStreamingRecognizeResponse);
                                  • Constructs a new StreamingRecognizeResponse.

                                    Parameter properties

                                    Properties to set

                                  property error

                                  error?: rpc.IStatus;
                                  • StreamingRecognizeResponse error.

                                  property results

                                  results: IStreamingRecognitionResult[];
                                  • StreamingRecognizeResponse results.

                                  property speechEventType

                                  speechEventType:
                                  | StreamingRecognizeResponse.SpeechEventType
                                  | 'SPEECH_EVENT_UNSPECIFIED'
                                  | 'END_OF_SINGLE_UTTERANCE';
                                  • StreamingRecognizeResponse speechEventType.

                                  property totalBilledTime

                                  totalBilledTime?: protobuf.IDuration;
                                  • StreamingRecognizeResponse totalBilledTime.

                                  method create

                                  static create: (
                                  properties?: google.cloud.speech.v1.IStreamingRecognizeResponse
                                  ) => google.cloud.speech.v1.StreamingRecognizeResponse;
                                  • Creates a new StreamingRecognizeResponse instance using the specified properties.

                                    Parameter properties

                                    Properties to set

                                    Returns

                                    StreamingRecognizeResponse instance

                                  method decode

                                  static decode: (
                                  reader: $protobuf.Reader | Uint8Array,
                                  length?: number
                                  ) => google.cloud.speech.v1.StreamingRecognizeResponse;
                                  • Decodes a StreamingRecognizeResponse message from the specified reader or buffer.

                                    Parameter reader

                                    Reader or buffer to decode from

                                    Parameter length

                                    Message length if known beforehand

                                    Returns

                                    StreamingRecognizeResponse

                                    Throws

                                    {Error} If the payload is not a reader or valid buffer

                                    Throws

                                    {$protobuf.util.ProtocolError} If required fields are missing

                                  method decodeDelimited

                                  static decodeDelimited: (
                                  reader: $protobuf.Reader | Uint8Array
                                  ) => google.cloud.speech.v1.StreamingRecognizeResponse;
                                  • Decodes a StreamingRecognizeResponse message from the specified reader or buffer, length delimited.

                                    Parameter reader

                                    Reader or buffer to decode from

                                    Returns

                                    StreamingRecognizeResponse

                                    Throws

                                    {Error} If the payload is not a reader or valid buffer

                                    Throws

                                    {$protobuf.util.ProtocolError} If required fields are missing

                                  method encode

                                  static encode: (
                                  message: google.cloud.speech.v1.IStreamingRecognizeResponse,
                                  writer?: any
                                  ) => any;
                                  • Encodes the specified StreamingRecognizeResponse message. Does not implicitly verify messages.

                                    Parameter message

                                    StreamingRecognizeResponse message or plain object to encode

                                    Parameter writer

                                    Writer to encode to

                                    Returns

                                    Writer

                                  method encodeDelimited

                                  static encodeDelimited: (
                                  message: google.cloud.speech.v1.IStreamingRecognizeResponse,
                                  writer?: any
                                  ) => any;
                                  • Encodes the specified StreamingRecognizeResponse message, length delimited. Does not implicitly verify messages.

                                    Parameter message

                                    StreamingRecognizeResponse message or plain object to encode

                                    Parameter writer

                                    Writer to encode to

                                    Returns

                                    Writer

                                  method fromObject

                                  static fromObject: (object: {
                                  [k: string]: any;
                                  }) => google.cloud.speech.v1.StreamingRecognizeResponse;
                                  • Creates a StreamingRecognizeResponse message from a plain object. Also converts values to their respective internal types.

                                    Parameter object

                                    Plain object

                                    Returns

                                    StreamingRecognizeResponse

                                  method toJSON

                                  toJSON: () => { [k: string]: any };
                                  • Converts this StreamingRecognizeResponse to JSON.

                                    Returns

                                    JSON object

                                  method toObject

                                  static toObject: (
                                  message: google.cloud.speech.v1.StreamingRecognizeResponse,
                                  options?: any
                                  ) => { [k: string]: any };
                                  • Creates a plain object from a StreamingRecognizeResponse message. Also converts values to other types if specified.

                                    Parameter message

                                    StreamingRecognizeResponse

                                    Parameter options

                                    Conversion options

                                    Returns

                                    Plain object

                                  method verify

                                  static verify: (message: { [k: string]: any }) => string | null;
                                  • Verifies a StreamingRecognizeResponse message.

                                    Parameter message

                                    Plain object to verify

                                    Returns

                                    null if valid, otherwise the reason why it is not

                                  class WordInfo

                                  class WordInfo implements IWordInfo {}
                                  • Represents a WordInfo.

                                  constructor

                                  constructor(properties?: IWordInfo);
                                  • Constructs a new WordInfo.

                                    Parameter properties

                                    Properties to set

                                  property endTime

                                  endTime?: protobuf.IDuration;
                                  • WordInfo endTime.

                                  property speakerTag

                                  speakerTag: number;
                                  • WordInfo speakerTag.

                                  property startTime

                                  startTime?: protobuf.IDuration;
                                  • WordInfo startTime.

                                  property word

                                  word: string;
                                  • WordInfo word.

                                  method create

                                  static create: (
                                  properties?: google.cloud.speech.v1.IWordInfo
                                  ) => google.cloud.speech.v1.WordInfo;
                                  • Creates a new WordInfo instance using the specified properties.

                                    Parameter properties

                                    Properties to set

                                    Returns

                                    WordInfo instance

                                  method decode

                                  static decode: (
                                  reader: $protobuf.Reader | Uint8Array,
                                  length?: number
                                  ) => google.cloud.speech.v1.WordInfo;
                                  • Decodes a WordInfo message from the specified reader or buffer.

                                    Parameter reader

                                    Reader or buffer to decode from

                                    Parameter length

                                    Message length if known beforehand

                                    Returns

                                    WordInfo

                                    Throws

                                    {Error} If the payload is not a reader or valid buffer

                                    Throws

                                    {$protobuf.util.ProtocolError} If required fields are missing

                                  method decodeDelimited

                                  static decodeDelimited: (
                                  reader: $protobuf.Reader | Uint8Array
                                  ) => google.cloud.speech.v1.WordInfo;
                                  • Decodes a WordInfo message from the specified reader or buffer, length delimited.

                                    Parameter reader

                                    Reader or buffer to decode from

                                    Returns

                                    WordInfo

                                    Throws

                                    {Error} If the payload is not a reader or valid buffer

                                    Throws

                                    {$protobuf.util.ProtocolError} If required fields are missing

                                  method encode

                                  static encode: (message: google.cloud.speech.v1.IWordInfo, writer?: any) => any;
                                  • Encodes the specified WordInfo message. Does not implicitly verify messages.

                                    Parameter message

                                    WordInfo message or plain object to encode

                                    Parameter writer

                                    Writer to encode to

                                    Returns

                                    Writer

                                  method encodeDelimited

                                  static encodeDelimited: (
                                  message: google.cloud.speech.v1.IWordInfo,
                                  writer?: any
                                  ) => any;
                                  • Encodes the specified WordInfo message, length delimited. Does not implicitly verify messages.

                                    Parameter message

                                    WordInfo message or plain object to encode

                                    Parameter writer

                                    Writer to encode to

                                    Returns

                                    Writer

                                  method fromObject

                                  static fromObject: (object: {
                                  [k: string]: any;
                                  }) => google.cloud.speech.v1.WordInfo;
                                  • Creates a WordInfo message from a plain object. Also converts values to their respective internal types.

                                    Parameter object

                                    Plain object

                                    Returns

                                    WordInfo

                                  method toJSON

                                  toJSON: () => { [k: string]: any };
                                  • Converts this WordInfo to JSON.

                                    Returns

                                    JSON object

                                  method toObject

                                  static toObject: (
                                  message: google.cloud.speech.v1.WordInfo,
                                  options?: any
                                  ) => { [k: string]: any };
                                  • Creates a plain object from a WordInfo message. Also converts values to other types if specified.

                                    Parameter message

                                    WordInfo

                                    Parameter options

                                    Conversion options

                                    Returns

                                    Plain object

                                  method verify

                                  static verify: (message: { [k: string]: any }) => string | null;
                                  • Verifies a WordInfo message.

                                    Parameter message

                                    Plain object to verify

                                    Returns

                                    null if valid, otherwise the reason why it is not

                                  interface ILongRunningRecognizeMetadata

                                  interface ILongRunningRecognizeMetadata {}
                                  • Properties of a LongRunningRecognizeMetadata.

                                  property lastUpdateTime

                                  lastUpdateTime?: google.protobuf.ITimestamp | null;
                                  • LongRunningRecognizeMetadata lastUpdateTime

                                  property progressPercent

                                  progressPercent?: number | null;
                                  • LongRunningRecognizeMetadata progressPercent

                                  property startTime

                                  startTime?: google.protobuf.ITimestamp | null;
                                  • LongRunningRecognizeMetadata startTime

                                  property uri

                                  uri?: string | null;
                                  • LongRunningRecognizeMetadata uri

                                  interface ILongRunningRecognizeRequest

                                  interface ILongRunningRecognizeRequest {}
                                  • Properties of a LongRunningRecognizeRequest.

                                  property audio

                                  audio?: google.cloud.speech.v1.IRecognitionAudio | null;
                                  • LongRunningRecognizeRequest audio

                                  property config

                                  config?: google.cloud.speech.v1.IRecognitionConfig | null;
                                  • LongRunningRecognizeRequest config

                                  interface ILongRunningRecognizeResponse

                                  interface ILongRunningRecognizeResponse {}
                                  • Properties of a LongRunningRecognizeResponse.

                                  property results

                                  results?: google.cloud.speech.v1.ISpeechRecognitionResult[] | null;
                                  • LongRunningRecognizeResponse results

                                  property totalBilledTime

                                  totalBilledTime?: google.protobuf.IDuration | null;
                                  • LongRunningRecognizeResponse totalBilledTime

                                  interface IRecognitionAudio

                                  interface IRecognitionAudio {}
                                  • Properties of a RecognitionAudio.

                                  property content

                                  content?: Uint8Array | string | null;
                                  • RecognitionAudio content

                                  property uri

                                  uri?: string | null;
                                  • RecognitionAudio uri

                                  interface IRecognitionConfig

                                  interface IRecognitionConfig {}
                                  • Properties of a RecognitionConfig.

                                  property audioChannelCount

                                  audioChannelCount?: number | null;
                                  • RecognitionConfig audioChannelCount

                                  property diarizationConfig

                                  diarizationConfig?: google.cloud.speech.v1.ISpeakerDiarizationConfig | null;
                                  • RecognitionConfig diarizationConfig

                                  property enableAutomaticPunctuation

                                  enableAutomaticPunctuation?: boolean | null;
                                  • RecognitionConfig enableAutomaticPunctuation

                                  property enableSeparateRecognitionPerChannel

                                  enableSeparateRecognitionPerChannel?: boolean | null;
                                  • RecognitionConfig enableSeparateRecognitionPerChannel

                                  property enableWordTimeOffsets

                                  enableWordTimeOffsets?: boolean | null;
                                  • RecognitionConfig enableWordTimeOffsets

                                  property encoding

                                  encoding?:
                                  | google.cloud.speech.v1.RecognitionConfig.AudioEncoding
                                  | keyof typeof google.cloud.speech.v1.RecognitionConfig.AudioEncoding
                                  | null;
                                  • RecognitionConfig encoding

                                  property languageCode

                                  languageCode?: string | null;
                                  • RecognitionConfig languageCode

                                  property maxAlternatives

                                  maxAlternatives?: number | null;
                                  • RecognitionConfig maxAlternatives

                                  property metadata

                                  metadata?: google.cloud.speech.v1.IRecognitionMetadata | null;
                                  • RecognitionConfig metadata

                                  property model

                                  model?: string | null;
                                  • RecognitionConfig model

                                  property profanityFilter

                                  profanityFilter?: boolean | null;
                                  • RecognitionConfig profanityFilter

                                  property sampleRateHertz

                                  sampleRateHertz?: number | null;
                                  • RecognitionConfig sampleRateHertz

                                  property speechContexts

                                  speechContexts?: google.cloud.speech.v1.ISpeechContext[] | null;
                                  • RecognitionConfig speechContexts

                                  property useEnhanced

                                  useEnhanced?: boolean | null;
                                  • RecognitionConfig useEnhanced

                                  interface IRecognitionMetadata

                                  interface IRecognitionMetadata {}
                                  • Properties of a RecognitionMetadata.

                                  property audioTopic

                                  audioTopic?: string | null;
                                  • RecognitionMetadata audioTopic

                                  property industryNaicsCodeOfAudio

                                  industryNaicsCodeOfAudio?: number | null;
                                  • RecognitionMetadata industryNaicsCodeOfAudio

                                  property interactionType

                                  interactionType?:
                                  | google.cloud.speech.v1.RecognitionMetadata.InteractionType
                                  | keyof typeof google.cloud.speech.v1.RecognitionMetadata.InteractionType
                                  | null;
                                  • RecognitionMetadata interactionType

                                  property microphoneDistance

                                  microphoneDistance?:
                                  | google.cloud.speech.v1.RecognitionMetadata.MicrophoneDistance
                                  | keyof typeof google.cloud.speech.v1.RecognitionMetadata.MicrophoneDistance
                                  | null;
                                  • RecognitionMetadata microphoneDistance

                                  property originalMediaType

                                  originalMediaType?:
                                  | google.cloud.speech.v1.RecognitionMetadata.OriginalMediaType
                                  | keyof typeof google.cloud.speech.v1.RecognitionMetadata.OriginalMediaType
                                  | null;
                                  • RecognitionMetadata originalMediaType

                                  property originalMimeType

                                  originalMimeType?: string | null;
                                  • RecognitionMetadata originalMimeType

                                  property recordingDeviceName

                                  recordingDeviceName?: string | null;
                                  • RecognitionMetadata recordingDeviceName

                                  property recordingDeviceType

                                  recordingDeviceType?:
                                  | google.cloud.speech.v1.RecognitionMetadata.RecordingDeviceType
                                  | keyof typeof google.cloud.speech.v1.RecognitionMetadata.RecordingDeviceType
                                  | null;
                                  • RecognitionMetadata recordingDeviceType

                                  interface IRecognizeRequest

                                  interface IRecognizeRequest {}
                                  • Properties of a RecognizeRequest.

                                  property audio

                                  audio?: google.cloud.speech.v1.IRecognitionAudio | null;
                                  • RecognizeRequest audio

                                  property config

                                  config?: google.cloud.speech.v1.IRecognitionConfig | null;
                                  • RecognizeRequest config

                                  interface IRecognizeResponse

                                  interface IRecognizeResponse {}
                                  • Properties of a RecognizeResponse.

                                  property results

                                  results?: google.cloud.speech.v1.ISpeechRecognitionResult[] | null;
                                  • RecognizeResponse results

                                  property totalBilledTime

                                  totalBilledTime?: google.protobuf.IDuration | null;
                                  • RecognizeResponse totalBilledTime

                                  interface ISpeakerDiarizationConfig

                                  interface ISpeakerDiarizationConfig {}
                                  • Properties of a SpeakerDiarizationConfig.

                                  property enableSpeakerDiarization

                                  enableSpeakerDiarization?: boolean | null;
                                  • SpeakerDiarizationConfig enableSpeakerDiarization

                                  property maxSpeakerCount

                                  maxSpeakerCount?: number | null;
                                  • SpeakerDiarizationConfig maxSpeakerCount

                                  property