// @generated by protoc-gen-es v1.10.0 // @generated from file stream/v1/stream.proto (package proto.stream.v1, syntax proto3) /* eslint-disable */ // @ts-nocheck import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; import { Message, proto3 } from "@bufbuild/protobuf"; /** * ListStreamsRequest requests all streams registered. * * @generated from message proto.stream.v1.ListStreamsRequest */ export declare class ListStreamsRequest extends Message { constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "proto.stream.v1.ListStreamsRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): ListStreamsRequest; static fromJson(jsonValue: JsonValue, options?: Partial): ListStreamsRequest; static fromJsonString(jsonString: string, options?: Partial): ListStreamsRequest; static equals(a: ListStreamsRequest | PlainMessage | undefined, b: ListStreamsRequest | PlainMessage | undefined): boolean; } /** * A ListStreamsResponse details streams registered. * * @generated from message proto.stream.v1.ListStreamsResponse */ export declare class ListStreamsResponse extends Message { /** * @generated from field: repeated string names = 1; */ names: string[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "proto.stream.v1.ListStreamsResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): ListStreamsResponse; static fromJson(jsonValue: JsonValue, options?: Partial): ListStreamsResponse; static fromJsonString(jsonString: string, options?: Partial): ListStreamsResponse; static equals(a: ListStreamsResponse | PlainMessage | undefined, b: ListStreamsResponse | PlainMessage | undefined): boolean; } /** * A AddStreamRequest requests the given stream be added to the connection. * * @generated from message proto.stream.v1.AddStreamRequest */ export declare class AddStreamRequest extends Message { /** * @generated from field: string name = 1; */ name: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "proto.stream.v1.AddStreamRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): AddStreamRequest; static fromJson(jsonValue: JsonValue, options?: Partial): AddStreamRequest; static fromJsonString(jsonString: string, options?: Partial): AddStreamRequest; static equals(a: AddStreamRequest | PlainMessage | undefined, b: AddStreamRequest | PlainMessage | undefined): boolean; } /** * AddStreamResponse is returned after a successful AddStreamRequest. * * @generated from message proto.stream.v1.AddStreamResponse */ export declare class AddStreamResponse extends Message { constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "proto.stream.v1.AddStreamResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): AddStreamResponse; static fromJson(jsonValue: JsonValue, options?: Partial): AddStreamResponse; static fromJsonString(jsonString: string, options?: Partial): AddStreamResponse; static equals(a: AddStreamResponse | PlainMessage | undefined, b: AddStreamResponse | PlainMessage | undefined): boolean; } /** * A RemoveStreamRequest requests the given stream be removed from the connection. * * @generated from message proto.stream.v1.RemoveStreamRequest */ export declare class RemoveStreamRequest extends Message { /** * @generated from field: string name = 1; */ name: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "proto.stream.v1.RemoveStreamRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): RemoveStreamRequest; static fromJson(jsonValue: JsonValue, options?: Partial): RemoveStreamRequest; static fromJsonString(jsonString: string, options?: Partial): RemoveStreamRequest; static equals(a: RemoveStreamRequest | PlainMessage | undefined, b: RemoveStreamRequest | PlainMessage | undefined): boolean; } /** * RemoveStreamResponse is returned after a successful RemoveStreamRequest. * * @generated from message proto.stream.v1.RemoveStreamResponse */ export declare class RemoveStreamResponse extends Message { constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "proto.stream.v1.RemoveStreamResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): RemoveStreamResponse; static fromJson(jsonValue: JsonValue, options?: Partial): RemoveStreamResponse; static fromJsonString(jsonString: string, options?: Partial): RemoveStreamResponse; static equals(a: RemoveStreamResponse | PlainMessage | undefined, b: RemoveStreamResponse | PlainMessage | undefined): boolean; } /** * Resolution details the width and height of a stream. * * @generated from message proto.stream.v1.Resolution */ export declare class Resolution extends Message { /** * @generated from field: int32 width = 1; */ width: number; /** * @generated from field: int32 height = 2; */ height: number; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "proto.stream.v1.Resolution"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): Resolution; static fromJson(jsonValue: JsonValue, options?: Partial): Resolution; static fromJsonString(jsonString: string, options?: Partial): Resolution; static equals(a: Resolution | PlainMessage | undefined, b: Resolution | PlainMessage | undefined): boolean; } /** * GetStreamOptionsRequest requests the options for a particular stream. * * @generated from message proto.stream.v1.GetStreamOptionsRequest */ export declare class GetStreamOptionsRequest extends Message { /** * @generated from field: string name = 1; */ name: string; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "proto.stream.v1.GetStreamOptionsRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): GetStreamOptionsRequest; static fromJson(jsonValue: JsonValue, options?: Partial): GetStreamOptionsRequest; static fromJsonString(jsonString: string, options?: Partial): GetStreamOptionsRequest; static equals(a: GetStreamOptionsRequest | PlainMessage | undefined, b: GetStreamOptionsRequest | PlainMessage | undefined): boolean; } /** * GetStreamOptionsResponse details the options for a particular stream. * * @generated from message proto.stream.v1.GetStreamOptionsResponse */ export declare class GetStreamOptionsResponse extends Message { /** * @generated from field: repeated proto.stream.v1.Resolution resolutions = 1; */ resolutions: Resolution[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "proto.stream.v1.GetStreamOptionsResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): GetStreamOptionsResponse; static fromJson(jsonValue: JsonValue, options?: Partial): GetStreamOptionsResponse; static fromJsonString(jsonString: string, options?: Partial): GetStreamOptionsResponse; static equals(a: GetStreamOptionsResponse | PlainMessage | undefined, b: GetStreamOptionsResponse | PlainMessage | undefined): boolean; } /** * SetStreamOptionsRequest sets the options for a particular stream. * * @generated from message proto.stream.v1.SetStreamOptionsRequest */ export declare class SetStreamOptionsRequest extends Message { /** * @generated from field: string name = 1; */ name: string; /** * @generated from field: proto.stream.v1.Resolution resolution = 2; */ resolution?: Resolution; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "proto.stream.v1.SetStreamOptionsRequest"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): SetStreamOptionsRequest; static fromJson(jsonValue: JsonValue, options?: Partial): SetStreamOptionsRequest; static fromJsonString(jsonString: string, options?: Partial): SetStreamOptionsRequest; static equals(a: SetStreamOptionsRequest | PlainMessage | undefined, b: SetStreamOptionsRequest | PlainMessage | undefined): boolean; } /** * SetStreamOptionsResponse is returned after a successful SetStreamOptionsRequest. * * @generated from message proto.stream.v1.SetStreamOptionsResponse */ export declare class SetStreamOptionsResponse extends Message { constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "proto.stream.v1.SetStreamOptionsResponse"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): SetStreamOptionsResponse; static fromJson(jsonValue: JsonValue, options?: Partial): SetStreamOptionsResponse; static fromJsonString(jsonString: string, options?: Partial): SetStreamOptionsResponse; static equals(a: SetStreamOptionsResponse | PlainMessage | undefined, b: SetStreamOptionsResponse | PlainMessage | undefined): boolean; }