UNPKG

@google-apps/meet

Version:
984 lines (812 loc) 849 kB
// Copyright 2025 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. import type {protobuf as $protobuf} from "google-gax"; import Long = require("long"); /** Namespace google. */ export namespace google { /** Namespace apps. */ namespace apps { /** Namespace meet. */ namespace meet { /** Namespace v2. */ namespace v2 { /** Properties of a Space. */ interface ISpace { /** Space name */ name?: (string|null); /** Space meetingUri */ meetingUri?: (string|null); /** Space meetingCode */ meetingCode?: (string|null); /** Space config */ config?: (google.apps.meet.v2.ISpaceConfig|null); /** Space activeConference */ activeConference?: (google.apps.meet.v2.IActiveConference|null); } /** Represents a Space. */ class Space implements ISpace { /** * Constructs a new Space. * @param [properties] Properties to set */ constructor(properties?: google.apps.meet.v2.ISpace); /** Space name. */ public name: string; /** Space meetingUri. */ public meetingUri: string; /** Space meetingCode. */ public meetingCode: string; /** Space config. */ public config?: (google.apps.meet.v2.ISpaceConfig|null); /** Space activeConference. */ public activeConference?: (google.apps.meet.v2.IActiveConference|null); /** * Creates a new Space instance using the specified properties. * @param [properties] Properties to set * @returns Space instance */ public static create(properties?: google.apps.meet.v2.ISpace): google.apps.meet.v2.Space; /** * Encodes the specified Space message. Does not implicitly {@link google.apps.meet.v2.Space.verify|verify} messages. * @param message Space message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.apps.meet.v2.ISpace, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Space message, length delimited. Does not implicitly {@link google.apps.meet.v2.Space.verify|verify} messages. * @param message Space message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.apps.meet.v2.ISpace, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Space message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Space * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.apps.meet.v2.Space; /** * Decodes a Space message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Space * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.apps.meet.v2.Space; /** * Verifies a Space message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Space message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Space */ public static fromObject(object: { [k: string]: any }): google.apps.meet.v2.Space; /** * Creates a plain object from a Space message. Also converts values to other types if specified. * @param message Space * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.apps.meet.v2.Space, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Space to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for Space * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an ActiveConference. */ interface IActiveConference { /** ActiveConference conferenceRecord */ conferenceRecord?: (string|null); } /** Represents an ActiveConference. */ class ActiveConference implements IActiveConference { /** * Constructs a new ActiveConference. * @param [properties] Properties to set */ constructor(properties?: google.apps.meet.v2.IActiveConference); /** ActiveConference conferenceRecord. */ public conferenceRecord: string; /** * Creates a new ActiveConference instance using the specified properties. * @param [properties] Properties to set * @returns ActiveConference instance */ public static create(properties?: google.apps.meet.v2.IActiveConference): google.apps.meet.v2.ActiveConference; /** * Encodes the specified ActiveConference message. Does not implicitly {@link google.apps.meet.v2.ActiveConference.verify|verify} messages. * @param message ActiveConference message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.apps.meet.v2.IActiveConference, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ActiveConference message, length delimited. Does not implicitly {@link google.apps.meet.v2.ActiveConference.verify|verify} messages. * @param message ActiveConference message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.apps.meet.v2.IActiveConference, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an ActiveConference message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ActiveConference * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.apps.meet.v2.ActiveConference; /** * Decodes an ActiveConference message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ActiveConference * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.apps.meet.v2.ActiveConference; /** * Verifies an ActiveConference message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an ActiveConference message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ActiveConference */ public static fromObject(object: { [k: string]: any }): google.apps.meet.v2.ActiveConference; /** * Creates a plain object from an ActiveConference message. Also converts values to other types if specified. * @param message ActiveConference * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.apps.meet.v2.ActiveConference, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ActiveConference to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ActiveConference * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a SpaceConfig. */ interface ISpaceConfig { /** SpaceConfig accessType */ accessType?: (google.apps.meet.v2.SpaceConfig.AccessType|keyof typeof google.apps.meet.v2.SpaceConfig.AccessType|null); /** SpaceConfig entryPointAccess */ entryPointAccess?: (google.apps.meet.v2.SpaceConfig.EntryPointAccess|keyof typeof google.apps.meet.v2.SpaceConfig.EntryPointAccess|null); } /** Represents a SpaceConfig. */ class SpaceConfig implements ISpaceConfig { /** * Constructs a new SpaceConfig. * @param [properties] Properties to set */ constructor(properties?: google.apps.meet.v2.ISpaceConfig); /** SpaceConfig accessType. */ public accessType: (google.apps.meet.v2.SpaceConfig.AccessType|keyof typeof google.apps.meet.v2.SpaceConfig.AccessType); /** SpaceConfig entryPointAccess. */ public entryPointAccess: (google.apps.meet.v2.SpaceConfig.EntryPointAccess|keyof typeof google.apps.meet.v2.SpaceConfig.EntryPointAccess); /** * Creates a new SpaceConfig instance using the specified properties. * @param [properties] Properties to set * @returns SpaceConfig instance */ public static create(properties?: google.apps.meet.v2.ISpaceConfig): google.apps.meet.v2.SpaceConfig; /** * Encodes the specified SpaceConfig message. Does not implicitly {@link google.apps.meet.v2.SpaceConfig.verify|verify} messages. * @param message SpaceConfig message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.apps.meet.v2.ISpaceConfig, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified SpaceConfig message, length delimited. Does not implicitly {@link google.apps.meet.v2.SpaceConfig.verify|verify} messages. * @param message SpaceConfig message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.apps.meet.v2.ISpaceConfig, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a SpaceConfig message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns SpaceConfig * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.apps.meet.v2.SpaceConfig; /** * Decodes a SpaceConfig message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns SpaceConfig * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.apps.meet.v2.SpaceConfig; /** * Verifies a SpaceConfig message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a SpaceConfig message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns SpaceConfig */ public static fromObject(object: { [k: string]: any }): google.apps.meet.v2.SpaceConfig; /** * Creates a plain object from a SpaceConfig message. Also converts values to other types if specified. * @param message SpaceConfig * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.apps.meet.v2.SpaceConfig, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this SpaceConfig to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for SpaceConfig * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace SpaceConfig { /** AccessType enum. */ enum AccessType { ACCESS_TYPE_UNSPECIFIED = 0, OPEN = 1, TRUSTED = 2, RESTRICTED = 3 } /** EntryPointAccess enum. */ enum EntryPointAccess { ENTRY_POINT_ACCESS_UNSPECIFIED = 0, ALL = 1, CREATOR_APP_ONLY = 2 } } /** Properties of a ConferenceRecord. */ interface IConferenceRecord { /** ConferenceRecord name */ name?: (string|null); /** ConferenceRecord startTime */ startTime?: (google.protobuf.ITimestamp|null); /** ConferenceRecord endTime */ endTime?: (google.protobuf.ITimestamp|null); /** ConferenceRecord expireTime */ expireTime?: (google.protobuf.ITimestamp|null); /** ConferenceRecord space */ space?: (string|null); } /** Represents a ConferenceRecord. */ class ConferenceRecord implements IConferenceRecord { /** * Constructs a new ConferenceRecord. * @param [properties] Properties to set */ constructor(properties?: google.apps.meet.v2.IConferenceRecord); /** ConferenceRecord name. */ public name: string; /** ConferenceRecord startTime. */ public startTime?: (google.protobuf.ITimestamp|null); /** ConferenceRecord endTime. */ public endTime?: (google.protobuf.ITimestamp|null); /** ConferenceRecord expireTime. */ public expireTime?: (google.protobuf.ITimestamp|null); /** ConferenceRecord space. */ public space: string; /** * Creates a new ConferenceRecord instance using the specified properties. * @param [properties] Properties to set * @returns ConferenceRecord instance */ public static create(properties?: google.apps.meet.v2.IConferenceRecord): google.apps.meet.v2.ConferenceRecord; /** * Encodes the specified ConferenceRecord message. Does not implicitly {@link google.apps.meet.v2.ConferenceRecord.verify|verify} messages. * @param message ConferenceRecord message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.apps.meet.v2.IConferenceRecord, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ConferenceRecord message, length delimited. Does not implicitly {@link google.apps.meet.v2.ConferenceRecord.verify|verify} messages. * @param message ConferenceRecord message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.apps.meet.v2.IConferenceRecord, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ConferenceRecord message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ConferenceRecord * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.apps.meet.v2.ConferenceRecord; /** * Decodes a ConferenceRecord message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ConferenceRecord * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.apps.meet.v2.ConferenceRecord; /** * Verifies a ConferenceRecord message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ConferenceRecord message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ConferenceRecord */ public static fromObject(object: { [k: string]: any }): google.apps.meet.v2.ConferenceRecord; /** * Creates a plain object from a ConferenceRecord message. Also converts values to other types if specified. * @param message ConferenceRecord * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.apps.meet.v2.ConferenceRecord, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ConferenceRecord to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ConferenceRecord * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a Participant. */ interface IParticipant { /** Participant signedinUser */ signedinUser?: (google.apps.meet.v2.ISignedinUser|null); /** Participant anonymousUser */ anonymousUser?: (google.apps.meet.v2.IAnonymousUser|null); /** Participant phoneUser */ phoneUser?: (google.apps.meet.v2.IPhoneUser|null); /** Participant name */ name?: (string|null); /** Participant earliestStartTime */ earliestStartTime?: (google.protobuf.ITimestamp|null); /** Participant latestEndTime */ latestEndTime?: (google.protobuf.ITimestamp|null); } /** Represents a Participant. */ class Participant implements IParticipant { /** * Constructs a new Participant. * @param [properties] Properties to set */ constructor(properties?: google.apps.meet.v2.IParticipant); /** Participant signedinUser. */ public signedinUser?: (google.apps.meet.v2.ISignedinUser|null); /** Participant anonymousUser. */ public anonymousUser?: (google.apps.meet.v2.IAnonymousUser|null); /** Participant phoneUser. */ public phoneUser?: (google.apps.meet.v2.IPhoneUser|null); /** Participant name. */ public name: string; /** Participant earliestStartTime. */ public earliestStartTime?: (google.protobuf.ITimestamp|null); /** Participant latestEndTime. */ public latestEndTime?: (google.protobuf.ITimestamp|null); /** Participant user. */ public user?: ("signedinUser"|"anonymousUser"|"phoneUser"); /** * Creates a new Participant instance using the specified properties. * @param [properties] Properties to set * @returns Participant instance */ public static create(properties?: google.apps.meet.v2.IParticipant): google.apps.meet.v2.Participant; /** * Encodes the specified Participant message. Does not implicitly {@link google.apps.meet.v2.Participant.verify|verify} messages. * @param message Participant message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.apps.meet.v2.IParticipant, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Participant message, length delimited. Does not implicitly {@link google.apps.meet.v2.Participant.verify|verify} messages. * @param message Participant message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.apps.meet.v2.IParticipant, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Participant message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Participant * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.apps.meet.v2.Participant; /** * Decodes a Participant message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Participant * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.apps.meet.v2.Participant; /** * Verifies a Participant message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Participant message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Participant */ public static fromObject(object: { [k: string]: any }): google.apps.meet.v2.Participant; /** * Creates a plain object from a Participant message. Also converts values to other types if specified. * @param message Participant * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.apps.meet.v2.Participant, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Participant to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for Participant * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ParticipantSession. */ interface IParticipantSession { /** ParticipantSession name */ name?: (string|null); /** ParticipantSession startTime */ startTime?: (google.protobuf.ITimestamp|null); /** ParticipantSession endTime */ endTime?: (google.protobuf.ITimestamp|null); } /** Represents a ParticipantSession. */ class ParticipantSession implements IParticipantSession { /** * Constructs a new ParticipantSession. * @param [properties] Properties to set */ constructor(properties?: google.apps.meet.v2.IParticipantSession); /** ParticipantSession name. */ public name: string; /** ParticipantSession startTime. */ public startTime?: (google.protobuf.ITimestamp|null); /** ParticipantSession endTime. */ public endTime?: (google.protobuf.ITimestamp|null); /** * Creates a new ParticipantSession instance using the specified properties. * @param [properties] Properties to set * @returns ParticipantSession instance */ public static create(properties?: google.apps.meet.v2.IParticipantSession): google.apps.meet.v2.ParticipantSession; /** * Encodes the specified ParticipantSession message. Does not implicitly {@link google.apps.meet.v2.ParticipantSession.verify|verify} messages. * @param message ParticipantSession message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.apps.meet.v2.IParticipantSession, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ParticipantSession message, length delimited. Does not implicitly {@link google.apps.meet.v2.ParticipantSession.verify|verify} messages. * @param message ParticipantSession message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.apps.meet.v2.IParticipantSession, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ParticipantSession message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ParticipantSession * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.apps.meet.v2.ParticipantSession; /** * Decodes a ParticipantSession message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ParticipantSession * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.apps.meet.v2.ParticipantSession; /** * Verifies a ParticipantSession message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ParticipantSession message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ParticipantSession */ public static fromObject(object: { [k: string]: any }): google.apps.meet.v2.ParticipantSession; /** * Creates a plain object from a ParticipantSession message. Also converts values to other types if specified. * @param message ParticipantSession * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.apps.meet.v2.ParticipantSession, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ParticipantSession to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ParticipantSession * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a SignedinUser. */ interface ISignedinUser { /** SignedinUser user */ user?: (string|null); /** SignedinUser displayName */ displayName?: (string|null); } /** Represents a SignedinUser. */ class SignedinUser implements ISignedinUser { /** * Constructs a new SignedinUser. * @param [properties] Properties to set */ constructor(properties?: google.apps.meet.v2.ISignedinUser); /** SignedinUser user. */ public user: string; /** SignedinUser displayName. */ public displayName: string; /** * Creates a new SignedinUser instance using the specified properties. * @param [properties] Properties to set * @returns SignedinUser instance */ public static create(properties?: google.apps.meet.v2.ISignedinUser): google.apps.meet.v2.SignedinUser; /** * Encodes the specified SignedinUser message. Does not implicitly {@link google.apps.meet.v2.SignedinUser.verify|verify} messages. * @param message SignedinUser message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.apps.meet.v2.ISignedinUser, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified SignedinUser message, length delimited. Does not implicitly {@link google.apps.meet.v2.SignedinUser.verify|verify} messages. * @param message SignedinUser message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.apps.meet.v2.ISignedinUser, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a SignedinUser message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns SignedinUser * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.apps.meet.v2.SignedinUser; /** * Decodes a SignedinUser message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns SignedinUser * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.apps.meet.v2.SignedinUser; /** * Verifies a SignedinUser message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a SignedinUser message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns SignedinUser */ public static fromObject(object: { [k: string]: any }): google.apps.meet.v2.SignedinUser; /** * Creates a plain object from a SignedinUser message. Also converts values to other types if specified. * @param message SignedinUser * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.apps.meet.v2.SignedinUser, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this SignedinUser to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for SignedinUser * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an AnonymousUser. */ interface IAnonymousUser { /** AnonymousUser displayName */ displayName?: (string|null); } /** Represents an AnonymousUser. */ class AnonymousUser implements IAnonymousUser { /** * Constructs a new AnonymousUser. * @param [properties] Properties to set */ constructor(properties?: google.apps.meet.v2.IAnonymousUser); /** AnonymousUser displayName. */ public displayName: string; /** * Creates a new AnonymousUser instance using the specified properties. * @param [properties] Properties to set * @returns AnonymousUser instance */ public static create(properties?: google.apps.meet.v2.IAnonymousUser): google.apps.meet.v2.AnonymousUser; /** * Encodes the specified AnonymousUser message. Does not implicitly {@link google.apps.meet.v2.AnonymousUser.verify|verify} messages. * @param message AnonymousUser message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.apps.meet.v2.IAnonymousUser, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified AnonymousUser message, length delimited. Does not implicitly {@link google.apps.meet.v2.AnonymousUser.verify|verify} messages. * @param message AnonymousUser message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.apps.meet.v2.IAnonymousUser, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an AnonymousUser message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns AnonymousUser * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.apps.meet.v2.AnonymousUser; /** * Decodes an AnonymousUser message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns AnonymousUser * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.apps.meet.v2.AnonymousUser; /** * Verifies an AnonymousUser message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an AnonymousUser message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns AnonymousUser */ public static fromObject(object: { [k: string]: any }): google.apps.meet.v2.AnonymousUser; /** * Creates a plain object from an AnonymousUser message. Also converts values to other types if specified. * @param message AnonymousUser * @param [options] Conversion options * @returns Plain object */ public static toObject(message: google.apps.meet.v2.AnonymousUser, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this AnonymousUser to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for AnonymousUser * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a PhoneUser. */ interface IPhoneUser { /** PhoneUser displayName */ displayName?: (string|null); } /** Represents a PhoneUser. */ class PhoneUser implements IPhoneUser { /** * Constructs a new PhoneUser. * @param [properties] Properties to set */ constructor(properties?: google.apps.meet.v2.IPhoneUser); /** PhoneUser displayName. */ public displayName: string; /** * Creates a new PhoneUser instance using the specified properties. * @param [properties] Properties to set * @returns PhoneUser instance */ public static create(properties?: google.apps.meet.v2.IPhoneUser): google.apps.meet.v2.PhoneUser; /** * Encodes the specified PhoneUser message. Does not implicitly {@link google.apps.meet.v2.PhoneUser.verify|verify} messages. * @param message PhoneUser message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: google.apps.meet.v2.IPhoneUser, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified PhoneUser message, length delimited. Does not implicitly {@link google.apps.meet.v2.PhoneUser.verify|verify} messages. * @param message PhoneUser message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: google.apps.meet.v2.IPhoneUser, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a PhoneUser message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns PhoneUser * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.apps.meet.v2.PhoneUser; /** * Decodes a PhoneUser message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns PhoneUser * @throws {Error} If the pay