// @generated by protoc-gen-es v1.10.0 // @generated from file component/audioout/v1/audioout.proto (package viam.component.audioout.v1, syntax proto3) /* eslint-disable */ // @ts-nocheck import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage, Struct } from "@bufbuild/protobuf"; import { Message, proto3 } from "@bufbuild/protobuf"; import type { AudioInfo } from "../../../common/v1/common_pb.js"; /** * @generated from message viam.component.audioout.v1.PlayRequest */ export declare class PlayRequest extends Message { /** * @generated from field: string name = 1; */ name: string; /** * @generated from field: bytes audio_data = 2; */ audioData: Uint8Array; /** * Info describing the audio_data * * @generated from field: viam.common.v1.AudioInfo audio_info = 3; */ audioInfo?: AudioInfo; /** * @generated from field: google.protobuf.Struct extra = 99; */ extra?: Struct; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "viam.component.audioout.v1.PlayRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): PlayRequest; static fromJson(jsonValue: JsonValue, options?: Partial): PlayRequest; static fromJsonString(jsonString: string, options?: Partial): PlayRequest; static equals(a: PlayRequest | PlainMessage | undefined, b: PlayRequest | PlainMessage | undefined): boolean; } /** * @generated from message viam.component.audioout.v1.PlayStreamRequest */ export declare class PlayStreamRequest extends Message { /** * @generated from oneof viam.component.audioout.v1.PlayStreamRequest.payload */ payload: { /** * sent on first message * * @generated from field: viam.component.audioout.v1.PlayStreamInit init = 1; */ value: PlayStreamInit; case: "init"; } | { /** * @generated from field: viam.component.audioout.v1.PlayStreamChunk audio_chunk = 2; */ value: PlayStreamChunk; case: "audioChunk"; } | { case: undefined; value?: undefined }; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "viam.component.audioout.v1.PlayStreamRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): PlayStreamRequest; static fromJson(jsonValue: JsonValue, options?: Partial): PlayStreamRequest; static fromJsonString(jsonString: string, options?: Partial): PlayStreamRequest; static equals(a: PlayStreamRequest | PlainMessage | undefined, b: PlayStreamRequest | PlainMessage | undefined): boolean; } /** * @generated from message viam.component.audioout.v1.PlayStreamChunk */ export declare class PlayStreamChunk extends Message { /** * @generated from field: bytes audio_data = 1; */ audioData: Uint8Array; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "viam.component.audioout.v1.PlayStreamChunk"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): PlayStreamChunk; static fromJson(jsonValue: JsonValue, options?: Partial): PlayStreamChunk; static fromJsonString(jsonString: string, options?: Partial): PlayStreamChunk; static equals(a: PlayStreamChunk | PlainMessage | undefined, b: PlayStreamChunk | PlainMessage | undefined): boolean; } /** * @generated from message viam.component.audioout.v1.PlayStreamInit */ export declare class PlayStreamInit extends Message { /** * @generated from field: string name = 1; */ name: string; /** * @generated from field: viam.common.v1.AudioInfo audio_info = 2; */ audioInfo?: AudioInfo; /** * @generated from field: google.protobuf.Struct extra = 99; */ extra?: Struct; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "viam.component.audioout.v1.PlayStreamInit"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): PlayStreamInit; static fromJson(jsonValue: JsonValue, options?: Partial): PlayStreamInit; static fromJsonString(jsonString: string, options?: Partial): PlayStreamInit; static equals(a: PlayStreamInit | PlainMessage | undefined, b: PlayStreamInit | PlainMessage | undefined): boolean; } /** * @generated from message viam.component.audioout.v1.PlayResponse */ export declare class PlayResponse extends Message { constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "viam.component.audioout.v1.PlayResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): PlayResponse; static fromJson(jsonValue: JsonValue, options?: Partial): PlayResponse; static fromJsonString(jsonString: string, options?: Partial): PlayResponse; static equals(a: PlayResponse | PlainMessage | undefined, b: PlayResponse | PlainMessage | undefined): boolean; } /** * @generated from message viam.component.audioout.v1.PlayStreamResponse */ export declare class PlayStreamResponse extends Message { constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "viam.component.audioout.v1.PlayStreamResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): PlayStreamResponse; static fromJson(jsonValue: JsonValue, options?: Partial): PlayStreamResponse; static fromJsonString(jsonString: string, options?: Partial): PlayStreamResponse; static equals(a: PlayStreamResponse | PlainMessage | undefined, b: PlayStreamResponse | PlainMessage | undefined): boolean; }