5410 lines
218 KiB
TypeScript
5410 lines
218 KiB
TypeScript
|
|
|
|
declare namespace proto {
|
|
// DO NOT EDIT! This is a generated file. Edit the JSDoc in src/*.js instead and run 'npm run build:types'.
|
|
|
|
/** Namespace ProtoMsg. */
|
|
export namespace ProtoMsg {
|
|
|
|
/** Properties of a CommonRsp. */
|
|
interface ICommonRsp {
|
|
|
|
/** CommonRsp RetCode */
|
|
RetCode?: (ProtoMsg.ErrorCode|null);
|
|
|
|
/** CommonRsp ErrMsg */
|
|
ErrMsg?: (string|null);
|
|
|
|
/** CommonRsp MsgId */
|
|
MsgId?: (number|null);
|
|
|
|
/** CommonRsp SubMsgId */
|
|
SubMsgId?: (number|null);
|
|
|
|
/** CommonRsp DataType */
|
|
DataType?: (number|null);
|
|
|
|
/** CommonRsp Data */
|
|
Data?: (string|null);
|
|
}
|
|
|
|
/** Represents a CommonRsp. */
|
|
class CommonRsp implements ICommonRsp {
|
|
|
|
/**
|
|
* Constructs a new CommonRsp.
|
|
* @param [properties] Properties to set
|
|
*/
|
|
constructor(properties?: ProtoMsg.ICommonRsp);
|
|
|
|
/** CommonRsp RetCode. */
|
|
RetCode: ProtoMsg.ErrorCode;
|
|
|
|
/** CommonRsp ErrMsg. */
|
|
ErrMsg: string;
|
|
|
|
/** CommonRsp MsgId. */
|
|
MsgId: number;
|
|
|
|
/** CommonRsp SubMsgId. */
|
|
SubMsgId: number;
|
|
|
|
/** CommonRsp DataType. */
|
|
DataType: number;
|
|
|
|
/** CommonRsp Data. */
|
|
Data: string;
|
|
|
|
/**
|
|
* Creates a new CommonRsp instance using the specified properties.
|
|
* @param [properties] Properties to set
|
|
* @returns CommonRsp instance
|
|
*/
|
|
static create(properties?: ProtoMsg.ICommonRsp): ProtoMsg.CommonRsp;
|
|
|
|
/**
|
|
* Encodes the specified CommonRsp message. Does not implicitly {@link ProtoMsg.CommonRsp.verify|verify} messages.
|
|
* @param message CommonRsp message or plain object to encode
|
|
* @param [writer] Writer to encode to
|
|
* @returns Writer
|
|
*/
|
|
static encode(message: ProtoMsg.ICommonRsp, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
|
|
/**
|
|
* Encodes the specified CommonRsp message, length delimited. Does not implicitly {@link ProtoMsg.CommonRsp.verify|verify} messages.
|
|
* @param message CommonRsp message or plain object to encode
|
|
* @param [writer] Writer to encode to
|
|
* @returns Writer
|
|
*/
|
|
static encodeDelimited(message: ProtoMsg.ICommonRsp, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
|
|
/**
|
|
* Decodes a CommonRsp message from the specified reader or buffer.
|
|
* @param reader Reader or buffer to decode from
|
|
* @param [length] Message length if known beforehand
|
|
* @returns CommonRsp
|
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
*/
|
|
static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ProtoMsg.CommonRsp;
|
|
|
|
/**
|
|
* Decodes a CommonRsp message from the specified reader or buffer, length delimited.
|
|
* @param reader Reader or buffer to decode from
|
|
* @returns CommonRsp
|
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
*/
|
|
static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ProtoMsg.CommonRsp;
|
|
|
|
/**
|
|
* Verifies a CommonRsp message.
|
|
* @param message Plain object to verify
|
|
* @returns `null` if valid, otherwise the reason why it is not
|
|
*/
|
|
static verify(message: { [k: string]: any }): (string|null);
|
|
|
|
/**
|
|
* Creates a CommonRsp message from a plain object. Also converts values to their respective internal types.
|
|
* @param object Plain object
|
|
* @returns CommonRsp
|
|
*/
|
|
static fromObject(object: { [k: string]: any }): ProtoMsg.CommonRsp;
|
|
|
|
/**
|
|
* Creates a plain object from a CommonRsp message. Also converts values to other types if specified.
|
|
* @param message CommonRsp
|
|
* @param [options] Conversion options
|
|
* @returns Plain object
|
|
*/
|
|
static toObject(message: ProtoMsg.CommonRsp, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
|
|
/**
|
|
* Converts this CommonRsp to JSON.
|
|
* @returns JSON object
|
|
*/
|
|
toJSON(): { [k: string]: any };
|
|
|
|
/**
|
|
* Gets the default type url for CommonRsp
|
|
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
* @returns The default type url
|
|
*/
|
|
static getTypeUrl(typeUrlPrefix?: string): string;
|
|
}
|
|
|
|
/** MsgId enum. */
|
|
enum MsgId {
|
|
None = 0,
|
|
Account = 1,
|
|
PlayerData = 2,
|
|
Admin = 99
|
|
}
|
|
|
|
/** SubMsgId_Account enum. */
|
|
enum SubMsgId_Account {
|
|
Account_None = 0,
|
|
Login = 1
|
|
}
|
|
|
|
/** SubMsgId_PlayerData enum. */
|
|
enum SubMsgId_PlayerData {
|
|
PlayerData_None = 0,
|
|
QueryPlayerData = 1,
|
|
SavePlayerData = 2
|
|
}
|
|
|
|
/** ErrorCode enum. */
|
|
enum ErrorCode {
|
|
Succeed = 0,
|
|
TokenWrong = 1,
|
|
TokenExpire = 2,
|
|
SystemFail = 3,
|
|
RequestParamWrong = 4,
|
|
HeaderParamWrong = 5,
|
|
ConfigError = 6,
|
|
MachineIdentifierNotMathch = 7,
|
|
ModuleNotOpen = 10,
|
|
SystemError = 100,
|
|
RewardClaimed = 101,
|
|
ItemNotEnough = 102,
|
|
ItemConfigNotExist = 103,
|
|
PlayerNotExist = 104,
|
|
PlayerLevelNotEnough = 105,
|
|
PlayerNameAlreadyExist = 106,
|
|
RewardNotAchieve = 107
|
|
}
|
|
|
|
/** Properties of a LoginReq. */
|
|
interface ILoginReq {
|
|
|
|
/** LoginReq GameName */
|
|
GameName?: (string|null);
|
|
|
|
/** LoginReq Identifier */
|
|
Identifier?: (string|null);
|
|
|
|
/** LoginReq IdentityType */
|
|
IdentityType?: (number|null);
|
|
|
|
/** LoginReq OperateType */
|
|
OperateType?: (number|null);
|
|
|
|
/** LoginReq ShareDeposit */
|
|
ShareDeposit?: (string|null);
|
|
|
|
/** LoginReq MachineIdentifier */
|
|
MachineIdentifier?: (string|null);
|
|
|
|
/** LoginReq SdkUid */
|
|
SdkUid?: (string|null);
|
|
}
|
|
|
|
/** Represents a LoginReq. */
|
|
class LoginReq implements ILoginReq {
|
|
|
|
/**
|
|
* Constructs a new LoginReq.
|
|
* @param [properties] Properties to set
|
|
*/
|
|
constructor(properties?: ProtoMsg.ILoginReq);
|
|
|
|
/** LoginReq GameName. */
|
|
GameName: string;
|
|
|
|
/** LoginReq Identifier. */
|
|
Identifier: string;
|
|
|
|
/** LoginReq IdentityType. */
|
|
IdentityType: number;
|
|
|
|
/** LoginReq OperateType. */
|
|
OperateType: number;
|
|
|
|
/** LoginReq ShareDeposit. */
|
|
ShareDeposit: string;
|
|
|
|
/** LoginReq MachineIdentifier. */
|
|
MachineIdentifier?: (string|null);
|
|
|
|
/** LoginReq SdkUid. */
|
|
SdkUid?: (string|null);
|
|
|
|
/** LoginReq _MachineIdentifier. */
|
|
_MachineIdentifier?: "MachineIdentifier";
|
|
|
|
/** LoginReq _SdkUid. */
|
|
_SdkUid?: "SdkUid";
|
|
|
|
/**
|
|
* Creates a new LoginReq instance using the specified properties.
|
|
* @param [properties] Properties to set
|
|
* @returns LoginReq instance
|
|
*/
|
|
static create(properties?: ProtoMsg.ILoginReq): ProtoMsg.LoginReq;
|
|
|
|
/**
|
|
* Encodes the specified LoginReq message. Does not implicitly {@link ProtoMsg.LoginReq.verify|verify} messages.
|
|
* @param message LoginReq message or plain object to encode
|
|
* @param [writer] Writer to encode to
|
|
* @returns Writer
|
|
*/
|
|
static encode(message: ProtoMsg.ILoginReq, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
|
|
/**
|
|
* Encodes the specified LoginReq message, length delimited. Does not implicitly {@link ProtoMsg.LoginReq.verify|verify} messages.
|
|
* @param message LoginReq message or plain object to encode
|
|
* @param [writer] Writer to encode to
|
|
* @returns Writer
|
|
*/
|
|
static encodeDelimited(message: ProtoMsg.ILoginReq, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
|
|
/**
|
|
* Decodes a LoginReq message from the specified reader or buffer.
|
|
* @param reader Reader or buffer to decode from
|
|
* @param [length] Message length if known beforehand
|
|
* @returns LoginReq
|
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
*/
|
|
static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ProtoMsg.LoginReq;
|
|
|
|
/**
|
|
* Decodes a LoginReq message from the specified reader or buffer, length delimited.
|
|
* @param reader Reader or buffer to decode from
|
|
* @returns LoginReq
|
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
*/
|
|
static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ProtoMsg.LoginReq;
|
|
|
|
/**
|
|
* Verifies a LoginReq message.
|
|
* @param message Plain object to verify
|
|
* @returns `null` if valid, otherwise the reason why it is not
|
|
*/
|
|
static verify(message: { [k: string]: any }): (string|null);
|
|
|
|
/**
|
|
* Creates a LoginReq message from a plain object. Also converts values to their respective internal types.
|
|
* @param object Plain object
|
|
* @returns LoginReq
|
|
*/
|
|
static fromObject(object: { [k: string]: any }): ProtoMsg.LoginReq;
|
|
|
|
/**
|
|
* Creates a plain object from a LoginReq message. Also converts values to other types if specified.
|
|
* @param message LoginReq
|
|
* @param [options] Conversion options
|
|
* @returns Plain object
|
|
*/
|
|
static toObject(message: ProtoMsg.LoginReq, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
|
|
/**
|
|
* Converts this LoginReq to JSON.
|
|
* @returns JSON object
|
|
*/
|
|
toJSON(): { [k: string]: any };
|
|
|
|
/**
|
|
* Gets the default type url for LoginReq
|
|
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
* @returns The default type url
|
|
*/
|
|
static getTypeUrl(typeUrlPrefix?: string): string;
|
|
}
|
|
|
|
/** Properties of a LoginRsp. */
|
|
interface ILoginRsp {
|
|
|
|
/** LoginRsp GameName */
|
|
GameName?: (string|null);
|
|
|
|
/** LoginRsp Identifier */
|
|
Identifier?: (string|null);
|
|
|
|
/** LoginRsp IdentityType */
|
|
IdentityType?: (number|null);
|
|
|
|
/** LoginRsp OperateType */
|
|
OperateType?: (number|null);
|
|
|
|
/** LoginRsp Uid */
|
|
Uid?: (number|Long|null);
|
|
|
|
/** LoginRsp Token */
|
|
Token?: (string|null);
|
|
|
|
/** LoginRsp ServerTime */
|
|
ServerTime?: (number|Long|null);
|
|
|
|
/** LoginRsp TimezoneOffset */
|
|
TimezoneOffset?: (number|null);
|
|
|
|
/** LoginRsp Ip */
|
|
Ip?: (string|null);
|
|
|
|
/** LoginRsp MachineIdentifier */
|
|
MachineIdentifier?: (string|null);
|
|
|
|
/** LoginRsp SdkUid */
|
|
SdkUid?: (string|null);
|
|
|
|
/** LoginRsp IsNewGuide */
|
|
IsNewGuide?: (boolean|null);
|
|
|
|
/** LoginRsp IsNewRegist */
|
|
IsNewRegist?: (boolean|null);
|
|
|
|
/** LoginRsp LastLoginTime */
|
|
LastLoginTime?: (number|Long|null);
|
|
}
|
|
|
|
/** Represents a LoginRsp. */
|
|
class LoginRsp implements ILoginRsp {
|
|
|
|
/**
|
|
* Constructs a new LoginRsp.
|
|
* @param [properties] Properties to set
|
|
*/
|
|
constructor(properties?: ProtoMsg.ILoginRsp);
|
|
|
|
/** LoginRsp GameName. */
|
|
GameName: string;
|
|
|
|
/** LoginRsp Identifier. */
|
|
Identifier: string;
|
|
|
|
/** LoginRsp IdentityType. */
|
|
IdentityType: number;
|
|
|
|
/** LoginRsp OperateType. */
|
|
OperateType: number;
|
|
|
|
/** LoginRsp Uid. */
|
|
Uid: (number|Long);
|
|
|
|
/** LoginRsp Token. */
|
|
Token: string;
|
|
|
|
/** LoginRsp ServerTime. */
|
|
ServerTime: (number|Long);
|
|
|
|
/** LoginRsp TimezoneOffset. */
|
|
TimezoneOffset: number;
|
|
|
|
/** LoginRsp Ip. */
|
|
Ip: string;
|
|
|
|
/** LoginRsp MachineIdentifier. */
|
|
MachineIdentifier?: (string|null);
|
|
|
|
/** LoginRsp SdkUid. */
|
|
SdkUid?: (string|null);
|
|
|
|
/** LoginRsp IsNewGuide. */
|
|
IsNewGuide?: (boolean|null);
|
|
|
|
/** LoginRsp IsNewRegist. */
|
|
IsNewRegist?: (boolean|null);
|
|
|
|
/** LoginRsp LastLoginTime. */
|
|
LastLoginTime?: (number|Long|null);
|
|
|
|
/** LoginRsp _MachineIdentifier. */
|
|
_MachineIdentifier?: "MachineIdentifier";
|
|
|
|
/** LoginRsp _SdkUid. */
|
|
_SdkUid?: "SdkUid";
|
|
|
|
/** LoginRsp _IsNewGuide. */
|
|
_IsNewGuide?: "IsNewGuide";
|
|
|
|
/** LoginRsp _IsNewRegist. */
|
|
_IsNewRegist?: "IsNewRegist";
|
|
|
|
/** LoginRsp _LastLoginTime. */
|
|
_LastLoginTime?: "LastLoginTime";
|
|
|
|
/**
|
|
* Creates a new LoginRsp instance using the specified properties.
|
|
* @param [properties] Properties to set
|
|
* @returns LoginRsp instance
|
|
*/
|
|
static create(properties?: ProtoMsg.ILoginRsp): ProtoMsg.LoginRsp;
|
|
|
|
/**
|
|
* Encodes the specified LoginRsp message. Does not implicitly {@link ProtoMsg.LoginRsp.verify|verify} messages.
|
|
* @param message LoginRsp message or plain object to encode
|
|
* @param [writer] Writer to encode to
|
|
* @returns Writer
|
|
*/
|
|
static encode(message: ProtoMsg.ILoginRsp, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
|
|
/**
|
|
* Encodes the specified LoginRsp message, length delimited. Does not implicitly {@link ProtoMsg.LoginRsp.verify|verify} messages.
|
|
* @param message LoginRsp message or plain object to encode
|
|
* @param [writer] Writer to encode to
|
|
* @returns Writer
|
|
*/
|
|
static encodeDelimited(message: ProtoMsg.ILoginRsp, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
|
|
/**
|
|
* Decodes a LoginRsp message from the specified reader or buffer.
|
|
* @param reader Reader or buffer to decode from
|
|
* @param [length] Message length if known beforehand
|
|
* @returns LoginRsp
|
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
*/
|
|
static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ProtoMsg.LoginRsp;
|
|
|
|
/**
|
|
* Decodes a LoginRsp message from the specified reader or buffer, length delimited.
|
|
* @param reader Reader or buffer to decode from
|
|
* @returns LoginRsp
|
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
*/
|
|
static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ProtoMsg.LoginRsp;
|
|
|
|
/**
|
|
* Verifies a LoginRsp message.
|
|
* @param message Plain object to verify
|
|
* @returns `null` if valid, otherwise the reason why it is not
|
|
*/
|
|
static verify(message: { [k: string]: any }): (string|null);
|
|
|
|
/**
|
|
* Creates a LoginRsp message from a plain object. Also converts values to their respective internal types.
|
|
* @param object Plain object
|
|
* @returns LoginRsp
|
|
*/
|
|
static fromObject(object: { [k: string]: any }): ProtoMsg.LoginRsp;
|
|
|
|
/**
|
|
* Creates a plain object from a LoginRsp message. Also converts values to other types if specified.
|
|
* @param message LoginRsp
|
|
* @param [options] Conversion options
|
|
* @returns Plain object
|
|
*/
|
|
static toObject(message: ProtoMsg.LoginRsp, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
|
|
/**
|
|
* Converts this LoginRsp to JSON.
|
|
* @returns JSON object
|
|
*/
|
|
toJSON(): { [k: string]: any };
|
|
|
|
/**
|
|
* Gets the default type url for LoginRsp
|
|
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
* @returns The default type url
|
|
*/
|
|
static getTypeUrl(typeUrlPrefix?: string): string;
|
|
}
|
|
|
|
/** Properties of a QueryPlayerDataReq. */
|
|
interface IQueryPlayerDataReq {
|
|
|
|
/** QueryPlayerDataReq IsAll */
|
|
IsAll?: (boolean|null);
|
|
|
|
/** QueryPlayerDataReq GameName */
|
|
GameName?: (string|null);
|
|
|
|
/** QueryPlayerDataReq DataFlagList */
|
|
DataFlagList?: (string[]|null);
|
|
}
|
|
|
|
/** Represents a QueryPlayerDataReq. */
|
|
class QueryPlayerDataReq implements IQueryPlayerDataReq {
|
|
|
|
/**
|
|
* Constructs a new QueryPlayerDataReq.
|
|
* @param [properties] Properties to set
|
|
*/
|
|
constructor(properties?: ProtoMsg.IQueryPlayerDataReq);
|
|
|
|
/** QueryPlayerDataReq IsAll. */
|
|
IsAll: boolean;
|
|
|
|
/** QueryPlayerDataReq GameName. */
|
|
GameName: string;
|
|
|
|
/** QueryPlayerDataReq DataFlagList. */
|
|
DataFlagList: string[];
|
|
|
|
/**
|
|
* Creates a new QueryPlayerDataReq instance using the specified properties.
|
|
* @param [properties] Properties to set
|
|
* @returns QueryPlayerDataReq instance
|
|
*/
|
|
static create(properties?: ProtoMsg.IQueryPlayerDataReq): ProtoMsg.QueryPlayerDataReq;
|
|
|
|
/**
|
|
* Encodes the specified QueryPlayerDataReq message. Does not implicitly {@link ProtoMsg.QueryPlayerDataReq.verify|verify} messages.
|
|
* @param message QueryPlayerDataReq message or plain object to encode
|
|
* @param [writer] Writer to encode to
|
|
* @returns Writer
|
|
*/
|
|
static encode(message: ProtoMsg.IQueryPlayerDataReq, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
|
|
/**
|
|
* Encodes the specified QueryPlayerDataReq message, length delimited. Does not implicitly {@link ProtoMsg.QueryPlayerDataReq.verify|verify} messages.
|
|
* @param message QueryPlayerDataReq message or plain object to encode
|
|
* @param [writer] Writer to encode to
|
|
* @returns Writer
|
|
*/
|
|
static encodeDelimited(message: ProtoMsg.IQueryPlayerDataReq, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
|
|
/**
|
|
* Decodes a QueryPlayerDataReq message from the specified reader or buffer.
|
|
* @param reader Reader or buffer to decode from
|
|
* @param [length] Message length if known beforehand
|
|
* @returns QueryPlayerDataReq
|
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
*/
|
|
static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ProtoMsg.QueryPlayerDataReq;
|
|
|
|
/**
|
|
* Decodes a QueryPlayerDataReq message from the specified reader or buffer, length delimited.
|
|
* @param reader Reader or buffer to decode from
|
|
* @returns QueryPlayerDataReq
|
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
*/
|
|
static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ProtoMsg.QueryPlayerDataReq;
|
|
|
|
/**
|
|
* Verifies a QueryPlayerDataReq message.
|
|
* @param message Plain object to verify
|
|
* @returns `null` if valid, otherwise the reason why it is not
|
|
*/
|
|
static verify(message: { [k: string]: any }): (string|null);
|
|
|
|
/**
|
|
* Creates a QueryPlayerDataReq message from a plain object. Also converts values to their respective internal types.
|
|
* @param object Plain object
|
|
* @returns QueryPlayerDataReq
|
|
*/
|
|
static fromObject(object: { [k: string]: any }): ProtoMsg.QueryPlayerDataReq;
|
|
|
|
/**
|
|
* Creates a plain object from a QueryPlayerDataReq message. Also converts values to other types if specified.
|
|
* @param message QueryPlayerDataReq
|
|
* @param [options] Conversion options
|
|
* @returns Plain object
|
|
*/
|
|
static toObject(message: ProtoMsg.QueryPlayerDataReq, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
|
|
/**
|
|
* Converts this QueryPlayerDataReq to JSON.
|
|
* @returns JSON object
|
|
*/
|
|
toJSON(): { [k: string]: any };
|
|
|
|
/**
|
|
* Gets the default type url for QueryPlayerDataReq
|
|
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
* @returns The default type url
|
|
*/
|
|
static getTypeUrl(typeUrlPrefix?: string): string;
|
|
}
|
|
|
|
/** Properties of a QueryPlayerDataRsp. */
|
|
interface IQueryPlayerDataRsp {
|
|
|
|
/** QueryPlayerDataRsp IsAll */
|
|
IsAll?: (boolean|null);
|
|
|
|
/** QueryPlayerDataRsp GameName */
|
|
GameName?: (string|null);
|
|
|
|
/** QueryPlayerDataRsp PlayerDataList */
|
|
PlayerDataList?: (ProtoMsg.IPlayerDataPair[]|null);
|
|
}
|
|
|
|
/** Represents a QueryPlayerDataRsp. */
|
|
class QueryPlayerDataRsp implements IQueryPlayerDataRsp {
|
|
|
|
/**
|
|
* Constructs a new QueryPlayerDataRsp.
|
|
* @param [properties] Properties to set
|
|
*/
|
|
constructor(properties?: ProtoMsg.IQueryPlayerDataRsp);
|
|
|
|
/** QueryPlayerDataRsp IsAll. */
|
|
IsAll: boolean;
|
|
|
|
/** QueryPlayerDataRsp GameName. */
|
|
GameName: string;
|
|
|
|
/** QueryPlayerDataRsp PlayerDataList. */
|
|
PlayerDataList: ProtoMsg.IPlayerDataPair[];
|
|
|
|
/**
|
|
* Creates a new QueryPlayerDataRsp instance using the specified properties.
|
|
* @param [properties] Properties to set
|
|
* @returns QueryPlayerDataRsp instance
|
|
*/
|
|
static create(properties?: ProtoMsg.IQueryPlayerDataRsp): ProtoMsg.QueryPlayerDataRsp;
|
|
|
|
/**
|
|
* Encodes the specified QueryPlayerDataRsp message. Does not implicitly {@link ProtoMsg.QueryPlayerDataRsp.verify|verify} messages.
|
|
* @param message QueryPlayerDataRsp message or plain object to encode
|
|
* @param [writer] Writer to encode to
|
|
* @returns Writer
|
|
*/
|
|
static encode(message: ProtoMsg.IQueryPlayerDataRsp, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
|
|
/**
|
|
* Encodes the specified QueryPlayerDataRsp message, length delimited. Does not implicitly {@link ProtoMsg.QueryPlayerDataRsp.verify|verify} messages.
|
|
* @param message QueryPlayerDataRsp message or plain object to encode
|
|
* @param [writer] Writer to encode to
|
|
* @returns Writer
|
|
*/
|
|
static encodeDelimited(message: ProtoMsg.IQueryPlayerDataRsp, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
|
|
/**
|
|
* Decodes a QueryPlayerDataRsp message from the specified reader or buffer.
|
|
* @param reader Reader or buffer to decode from
|
|
* @param [length] Message length if known beforehand
|
|
* @returns QueryPlayerDataRsp
|
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
*/
|
|
static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ProtoMsg.QueryPlayerDataRsp;
|
|
|
|
/**
|
|
* Decodes a QueryPlayerDataRsp message from the specified reader or buffer, length delimited.
|
|
* @param reader Reader or buffer to decode from
|
|
* @returns QueryPlayerDataRsp
|
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
*/
|
|
static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ProtoMsg.QueryPlayerDataRsp;
|
|
|
|
/**
|
|
* Verifies a QueryPlayerDataRsp message.
|
|
* @param message Plain object to verify
|
|
* @returns `null` if valid, otherwise the reason why it is not
|
|
*/
|
|
static verify(message: { [k: string]: any }): (string|null);
|
|
|
|
/**
|
|
* Creates a QueryPlayerDataRsp message from a plain object. Also converts values to their respective internal types.
|
|
* @param object Plain object
|
|
* @returns QueryPlayerDataRsp
|
|
*/
|
|
static fromObject(object: { [k: string]: any }): ProtoMsg.QueryPlayerDataRsp;
|
|
|
|
/**
|
|
* Creates a plain object from a QueryPlayerDataRsp message. Also converts values to other types if specified.
|
|
* @param message QueryPlayerDataRsp
|
|
* @param [options] Conversion options
|
|
* @returns Plain object
|
|
*/
|
|
static toObject(message: ProtoMsg.QueryPlayerDataRsp, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
|
|
/**
|
|
* Converts this QueryPlayerDataRsp to JSON.
|
|
* @returns JSON object
|
|
*/
|
|
toJSON(): { [k: string]: any };
|
|
|
|
/**
|
|
* Gets the default type url for QueryPlayerDataRsp
|
|
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
* @returns The default type url
|
|
*/
|
|
static getTypeUrl(typeUrlPrefix?: string): string;
|
|
}
|
|
|
|
/** Properties of a PlayerDataPair. */
|
|
interface IPlayerDataPair {
|
|
|
|
/** PlayerDataPair DataFlag */
|
|
DataFlag?: (string|null);
|
|
|
|
/** PlayerDataPair Content */
|
|
Content?: (string|null);
|
|
}
|
|
|
|
/** Represents a PlayerDataPair. */
|
|
class PlayerDataPair implements IPlayerDataPair {
|
|
|
|
/**
|
|
* Constructs a new PlayerDataPair.
|
|
* @param [properties] Properties to set
|
|
*/
|
|
constructor(properties?: ProtoMsg.IPlayerDataPair);
|
|
|
|
/** PlayerDataPair DataFlag. */
|
|
DataFlag: string;
|
|
|
|
/** PlayerDataPair Content. */
|
|
Content: string;
|
|
|
|
/**
|
|
* Creates a new PlayerDataPair instance using the specified properties.
|
|
* @param [properties] Properties to set
|
|
* @returns PlayerDataPair instance
|
|
*/
|
|
static create(properties?: ProtoMsg.IPlayerDataPair): ProtoMsg.PlayerDataPair;
|
|
|
|
/**
|
|
* Encodes the specified PlayerDataPair message. Does not implicitly {@link ProtoMsg.PlayerDataPair.verify|verify} messages.
|
|
* @param message PlayerDataPair message or plain object to encode
|
|
* @param [writer] Writer to encode to
|
|
* @returns Writer
|
|
*/
|
|
static encode(message: ProtoMsg.IPlayerDataPair, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
|
|
/**
|
|
* Encodes the specified PlayerDataPair message, length delimited. Does not implicitly {@link ProtoMsg.PlayerDataPair.verify|verify} messages.
|
|
* @param message PlayerDataPair message or plain object to encode
|
|
* @param [writer] Writer to encode to
|
|
* @returns Writer
|
|
*/
|
|
static encodeDelimited(message: ProtoMsg.IPlayerDataPair, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
|
|
/**
|
|
* Decodes a PlayerDataPair message from the specified reader or buffer.
|
|
* @param reader Reader or buffer to decode from
|
|
* @param [length] Message length if known beforehand
|
|
* @returns PlayerDataPair
|
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
*/
|
|
static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ProtoMsg.PlayerDataPair;
|
|
|
|
/**
|
|
* Decodes a PlayerDataPair message from the specified reader or buffer, length delimited.
|
|
* @param reader Reader or buffer to decode from
|
|
* @returns PlayerDataPair
|
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
*/
|
|
static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ProtoMsg.PlayerDataPair;
|
|
|
|
/**
|
|
* Verifies a PlayerDataPair message.
|
|
* @param message Plain object to verify
|
|
* @returns `null` if valid, otherwise the reason why it is not
|
|
*/
|
|
static verify(message: { [k: string]: any }): (string|null);
|
|
|
|
/**
|
|
* Creates a PlayerDataPair message from a plain object. Also converts values to their respective internal types.
|
|
* @param object Plain object
|
|
* @returns PlayerDataPair
|
|
*/
|
|
static fromObject(object: { [k: string]: any }): ProtoMsg.PlayerDataPair;
|
|
|
|
/**
|
|
* Creates a plain object from a PlayerDataPair message. Also converts values to other types if specified.
|
|
* @param message PlayerDataPair
|
|
* @param [options] Conversion options
|
|
* @returns Plain object
|
|
*/
|
|
static toObject(message: ProtoMsg.PlayerDataPair, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
|
|
/**
|
|
* Converts this PlayerDataPair to JSON.
|
|
* @returns JSON object
|
|
*/
|
|
toJSON(): { [k: string]: any };
|
|
|
|
/**
|
|
* Gets the default type url for PlayerDataPair
|
|
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
* @returns The default type url
|
|
*/
|
|
static getTypeUrl(typeUrlPrefix?: string): string;
|
|
}
|
|
|
|
/** Properties of a SavePlayerDataReq. */
|
|
interface ISavePlayerDataReq {
|
|
|
|
/** SavePlayerDataReq GameName */
|
|
GameName?: (string|null);
|
|
|
|
/** SavePlayerDataReq DataFlag */
|
|
DataFlag?: (string|null);
|
|
|
|
/** SavePlayerDataReq Content */
|
|
Content?: (string|null);
|
|
}
|
|
|
|
/** Represents a SavePlayerDataReq. */
|
|
class SavePlayerDataReq implements ISavePlayerDataReq {
|
|
|
|
/**
|
|
* Constructs a new SavePlayerDataReq.
|
|
* @param [properties] Properties to set
|
|
*/
|
|
constructor(properties?: ProtoMsg.ISavePlayerDataReq);
|
|
|
|
/** SavePlayerDataReq GameName. */
|
|
GameName: string;
|
|
|
|
/** SavePlayerDataReq DataFlag. */
|
|
DataFlag: string;
|
|
|
|
/** SavePlayerDataReq Content. */
|
|
Content: string;
|
|
|
|
/**
|
|
* Creates a new SavePlayerDataReq instance using the specified properties.
|
|
* @param [properties] Properties to set
|
|
* @returns SavePlayerDataReq instance
|
|
*/
|
|
static create(properties?: ProtoMsg.ISavePlayerDataReq): ProtoMsg.SavePlayerDataReq;
|
|
|
|
/**
|
|
* Encodes the specified SavePlayerDataReq message. Does not implicitly {@link ProtoMsg.SavePlayerDataReq.verify|verify} messages.
|
|
* @param message SavePlayerDataReq message or plain object to encode
|
|
* @param [writer] Writer to encode to
|
|
* @returns Writer
|
|
*/
|
|
static encode(message: ProtoMsg.ISavePlayerDataReq, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
|
|
/**
|
|
* Encodes the specified SavePlayerDataReq message, length delimited. Does not implicitly {@link ProtoMsg.SavePlayerDataReq.verify|verify} messages.
|
|
* @param message SavePlayerDataReq message or plain object to encode
|
|
* @param [writer] Writer to encode to
|
|
* @returns Writer
|
|
*/
|
|
static encodeDelimited(message: ProtoMsg.ISavePlayerDataReq, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
|
|
/**
|
|
* Decodes a SavePlayerDataReq message from the specified reader or buffer.
|
|
* @param reader Reader or buffer to decode from
|
|
* @param [length] Message length if known beforehand
|
|
* @returns SavePlayerDataReq
|
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
*/
|
|
static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ProtoMsg.SavePlayerDataReq;
|
|
|
|
/**
|
|
* Decodes a SavePlayerDataReq message from the specified reader or buffer, length delimited.
|
|
* @param reader Reader or buffer to decode from
|
|
* @returns SavePlayerDataReq
|
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
*/
|
|
static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ProtoMsg.SavePlayerDataReq;
|
|
|
|
/**
|
|
* Verifies a SavePlayerDataReq message.
|
|
* @param message Plain object to verify
|
|
* @returns `null` if valid, otherwise the reason why it is not
|
|
*/
|
|
static verify(message: { [k: string]: any }): (string|null);
|
|
|
|
/**
|
|
* Creates a SavePlayerDataReq message from a plain object. Also converts values to their respective internal types.
|
|
* @param object Plain object
|
|
* @returns SavePlayerDataReq
|
|
*/
|
|
static fromObject(object: { [k: string]: any }): ProtoMsg.SavePlayerDataReq;
|
|
|
|
/**
|
|
* Creates a plain object from a SavePlayerDataReq message. Also converts values to other types if specified.
|
|
* @param message SavePlayerDataReq
|
|
* @param [options] Conversion options
|
|
* @returns Plain object
|
|
*/
|
|
static toObject(message: ProtoMsg.SavePlayerDataReq, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
|
|
/**
|
|
* Converts this SavePlayerDataReq to JSON.
|
|
* @returns JSON object
|
|
*/
|
|
toJSON(): { [k: string]: any };
|
|
|
|
/**
|
|
* Gets the default type url for SavePlayerDataReq
|
|
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
* @returns The default type url
|
|
*/
|
|
static getTypeUrl(typeUrlPrefix?: string): string;
|
|
}
|
|
|
|
/** Properties of a SavePlayerDataRsp. */
|
|
interface ISavePlayerDataRsp {
|
|
|
|
/** SavePlayerDataRsp GameName */
|
|
GameName?: (string|null);
|
|
|
|
/** SavePlayerDataRsp DataFlag */
|
|
DataFlag?: (string|null);
|
|
}
|
|
|
|
/** Represents a SavePlayerDataRsp. */
|
|
class SavePlayerDataRsp implements ISavePlayerDataRsp {
|
|
|
|
/**
|
|
* Constructs a new SavePlayerDataRsp.
|
|
* @param [properties] Properties to set
|
|
*/
|
|
constructor(properties?: ProtoMsg.ISavePlayerDataRsp);
|
|
|
|
/** SavePlayerDataRsp GameName. */
|
|
GameName: string;
|
|
|
|
/** SavePlayerDataRsp DataFlag. */
|
|
DataFlag: string;
|
|
|
|
/**
|
|
* Creates a new SavePlayerDataRsp instance using the specified properties.
|
|
* @param [properties] Properties to set
|
|
* @returns SavePlayerDataRsp instance
|
|
*/
|
|
static create(properties?: ProtoMsg.ISavePlayerDataRsp): ProtoMsg.SavePlayerDataRsp;
|
|
|
|
/**
|
|
* Encodes the specified SavePlayerDataRsp message. Does not implicitly {@link ProtoMsg.SavePlayerDataRsp.verify|verify} messages.
|
|
* @param message SavePlayerDataRsp message or plain object to encode
|
|
* @param [writer] Writer to encode to
|
|
* @returns Writer
|
|
*/
|
|
static encode(message: ProtoMsg.ISavePlayerDataRsp, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
|
|
/**
|
|
* Encodes the specified SavePlayerDataRsp message, length delimited. Does not implicitly {@link ProtoMsg.SavePlayerDataRsp.verify|verify} messages.
|
|
* @param message SavePlayerDataRsp message or plain object to encode
|
|
* @param [writer] Writer to encode to
|
|
* @returns Writer
|
|
*/
|
|
static encodeDelimited(message: ProtoMsg.ISavePlayerDataRsp, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
|
|
/**
|
|
* Decodes a SavePlayerDataRsp message from the specified reader or buffer.
|
|
* @param reader Reader or buffer to decode from
|
|
* @param [length] Message length if known beforehand
|
|
* @returns SavePlayerDataRsp
|
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
*/
|
|
static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ProtoMsg.SavePlayerDataRsp;
|
|
|
|
/**
|
|
* Decodes a SavePlayerDataRsp message from the specified reader or buffer, length delimited.
|
|
* @param reader Reader or buffer to decode from
|
|
* @returns SavePlayerDataRsp
|
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
*/
|
|
static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ProtoMsg.SavePlayerDataRsp;
|
|
|
|
/**
|
|
* Verifies a SavePlayerDataRsp message.
|
|
* @param message Plain object to verify
|
|
* @returns `null` if valid, otherwise the reason why it is not
|
|
*/
|
|
static verify(message: { [k: string]: any }): (string|null);
|
|
|
|
/**
|
|
* Creates a SavePlayerDataRsp message from a plain object. Also converts values to their respective internal types.
|
|
* @param object Plain object
|
|
* @returns SavePlayerDataRsp
|
|
*/
|
|
static fromObject(object: { [k: string]: any }): ProtoMsg.SavePlayerDataRsp;
|
|
|
|
/**
|
|
* Creates a plain object from a SavePlayerDataRsp message. Also converts values to other types if specified.
|
|
* @param message SavePlayerDataRsp
|
|
* @param [options] Conversion options
|
|
* @returns Plain object
|
|
*/
|
|
static toObject(message: ProtoMsg.SavePlayerDataRsp, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
|
|
/**
|
|
* Converts this SavePlayerDataRsp to JSON.
|
|
* @returns JSON object
|
|
*/
|
|
toJSON(): { [k: string]: any };
|
|
|
|
/**
|
|
* Gets the default type url for SavePlayerDataRsp
|
|
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
* @returns The default type url
|
|
*/
|
|
static getTypeUrl(typeUrlPrefix?: string): string;
|
|
}
|
|
}
|
|
|
|
/** Namespace google. */
|
|
export namespace google {
|
|
|
|
/** Namespace protobuf. */
|
|
namespace protobuf {
|
|
|
|
/** Properties of a FileDescriptorSet. */
|
|
interface IFileDescriptorSet {
|
|
|
|
/** FileDescriptorSet file */
|
|
file?: (google.protobuf.IFileDescriptorProto[]|null);
|
|
}
|
|
|
|
/** Represents a FileDescriptorSet. */
|
|
class FileDescriptorSet implements IFileDescriptorSet {
|
|
|
|
/**
|
|
* Constructs a new FileDescriptorSet.
|
|
* @param [properties] Properties to set
|
|
*/
|
|
constructor(properties?: google.protobuf.IFileDescriptorSet);
|
|
|
|
/** FileDescriptorSet file. */
|
|
file: google.protobuf.IFileDescriptorProto[];
|
|
|
|
/**
|
|
* Creates a new FileDescriptorSet instance using the specified properties.
|
|
* @param [properties] Properties to set
|
|
* @returns FileDescriptorSet instance
|
|
*/
|
|
static create(properties?: google.protobuf.IFileDescriptorSet): google.protobuf.FileDescriptorSet;
|
|
|
|
/**
|
|
* Encodes the specified FileDescriptorSet message. Does not implicitly {@link google.protobuf.FileDescriptorSet.verify|verify} messages.
|
|
* @param message FileDescriptorSet message or plain object to encode
|
|
* @param [writer] Writer to encode to
|
|
* @returns Writer
|
|
*/
|
|
static encode(message: google.protobuf.IFileDescriptorSet, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
|
|
/**
|
|
* Encodes the specified FileDescriptorSet message, length delimited. Does not implicitly {@link google.protobuf.FileDescriptorSet.verify|verify} messages.
|
|
* @param message FileDescriptorSet message or plain object to encode
|
|
* @param [writer] Writer to encode to
|
|
* @returns Writer
|
|
*/
|
|
static encodeDelimited(message: google.protobuf.IFileDescriptorSet, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
|
|
/**
|
|
* Decodes a FileDescriptorSet message from the specified reader or buffer.
|
|
* @param reader Reader or buffer to decode from
|
|
* @param [length] Message length if known beforehand
|
|
* @returns FileDescriptorSet
|
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
*/
|
|
static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FileDescriptorSet;
|
|
|
|
/**
|
|
* Decodes a FileDescriptorSet message from the specified reader or buffer, length delimited.
|
|
* @param reader Reader or buffer to decode from
|
|
* @returns FileDescriptorSet
|
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
*/
|
|
static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FileDescriptorSet;
|
|
|
|
/**
|
|
* Verifies a FileDescriptorSet message.
|
|
* @param message Plain object to verify
|
|
* @returns `null` if valid, otherwise the reason why it is not
|
|
*/
|
|
static verify(message: { [k: string]: any }): (string|null);
|
|
|
|
/**
|
|
* Creates a FileDescriptorSet message from a plain object. Also converts values to their respective internal types.
|
|
* @param object Plain object
|
|
* @returns FileDescriptorSet
|
|
*/
|
|
static fromObject(object: { [k: string]: any }): google.protobuf.FileDescriptorSet;
|
|
|
|
/**
|
|
* Creates a plain object from a FileDescriptorSet message. Also converts values to other types if specified.
|
|
* @param message FileDescriptorSet
|
|
* @param [options] Conversion options
|
|
* @returns Plain object
|
|
*/
|
|
static toObject(message: google.protobuf.FileDescriptorSet, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
|
|
/**
|
|
* Converts this FileDescriptorSet to JSON.
|
|
* @returns JSON object
|
|
*/
|
|
toJSON(): { [k: string]: any };
|
|
|
|
/**
|
|
* Gets the default type url for FileDescriptorSet
|
|
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
* @returns The default type url
|
|
*/
|
|
static getTypeUrl(typeUrlPrefix?: string): string;
|
|
}
|
|
|
|
/** Edition enum. */
|
|
enum Edition {
|
|
EDITION_UNKNOWN = 0,
|
|
EDITION_LEGACY = 900,
|
|
EDITION_PROTO2 = 998,
|
|
EDITION_PROTO3 = 999,
|
|
EDITION_2023 = 1000,
|
|
EDITION_2024 = 1001,
|
|
EDITION_1_TEST_ONLY = 1,
|
|
EDITION_2_TEST_ONLY = 2,
|
|
EDITION_99997_TEST_ONLY = 99997,
|
|
EDITION_99998_TEST_ONLY = 99998,
|
|
EDITION_99999_TEST_ONLY = 99999,
|
|
EDITION_MAX = 2147483647
|
|
}
|
|
|
|
/** Properties of a FileDescriptorProto. */
|
|
interface IFileDescriptorProto {
|
|
|
|
/** FileDescriptorProto name */
|
|
name?: (string|null);
|
|
|
|
/** FileDescriptorProto package */
|
|
"package"?: (string|null);
|
|
|
|
/** FileDescriptorProto dependency */
|
|
dependency?: (string[]|null);
|
|
|
|
/** FileDescriptorProto publicDependency */
|
|
publicDependency?: (number[]|null);
|
|
|
|
/** FileDescriptorProto weakDependency */
|
|
weakDependency?: (number[]|null);
|
|
|
|
/** FileDescriptorProto optionDependency */
|
|
optionDependency?: (string[]|null);
|
|
|
|
/** FileDescriptorProto messageType */
|
|
messageType?: (google.protobuf.IDescriptorProto[]|null);
|
|
|
|
/** FileDescriptorProto enumType */
|
|
enumType?: (google.protobuf.IEnumDescriptorProto[]|null);
|
|
|
|
/** FileDescriptorProto service */
|
|
service?: (google.protobuf.IServiceDescriptorProto[]|null);
|
|
|
|
/** FileDescriptorProto extension */
|
|
extension?: (google.protobuf.IFieldDescriptorProto[]|null);
|
|
|
|
/** FileDescriptorProto options */
|
|
options?: (google.protobuf.IFileOptions|null);
|
|
|
|
/** FileDescriptorProto sourceCodeInfo */
|
|
sourceCodeInfo?: (google.protobuf.ISourceCodeInfo|null);
|
|
|
|
/** FileDescriptorProto syntax */
|
|
syntax?: (string|null);
|
|
|
|
/** FileDescriptorProto edition */
|
|
edition?: (google.protobuf.Edition|null);
|
|
}
|
|
|
|
/** Represents a FileDescriptorProto. */
|
|
class FileDescriptorProto implements IFileDescriptorProto {
|
|
|
|
/**
|
|
* Constructs a new FileDescriptorProto.
|
|
* @param [properties] Properties to set
|
|
*/
|
|
constructor(properties?: google.protobuf.IFileDescriptorProto);
|
|
|
|
/** FileDescriptorProto name. */
|
|
name: string;
|
|
|
|
/** FileDescriptorProto package. */
|
|
package: string;
|
|
|
|
/** FileDescriptorProto dependency. */
|
|
dependency: string[];
|
|
|
|
/** FileDescriptorProto publicDependency. */
|
|
publicDependency: number[];
|
|
|
|
/** FileDescriptorProto weakDependency. */
|
|
weakDependency: number[];
|
|
|
|
/** FileDescriptorProto optionDependency. */
|
|
optionDependency: string[];
|
|
|
|
/** FileDescriptorProto messageType. */
|
|
messageType: google.protobuf.IDescriptorProto[];
|
|
|
|
/** FileDescriptorProto enumType. */
|
|
enumType: google.protobuf.IEnumDescriptorProto[];
|
|
|
|
/** FileDescriptorProto service. */
|
|
service: google.protobuf.IServiceDescriptorProto[];
|
|
|
|
/** FileDescriptorProto extension. */
|
|
extension: google.protobuf.IFieldDescriptorProto[];
|
|
|
|
/** FileDescriptorProto options. */
|
|
options?: (google.protobuf.IFileOptions|null);
|
|
|
|
/** FileDescriptorProto sourceCodeInfo. */
|
|
sourceCodeInfo?: (google.protobuf.ISourceCodeInfo|null);
|
|
|
|
/** FileDescriptorProto syntax. */
|
|
syntax: string;
|
|
|
|
/** FileDescriptorProto edition. */
|
|
edition: google.protobuf.Edition;
|
|
|
|
/**
|
|
* Creates a new FileDescriptorProto instance using the specified properties.
|
|
* @param [properties] Properties to set
|
|
* @returns FileDescriptorProto instance
|
|
*/
|
|
static create(properties?: google.protobuf.IFileDescriptorProto): google.protobuf.FileDescriptorProto;
|
|
|
|
/**
|
|
* Encodes the specified FileDescriptorProto message. Does not implicitly {@link google.protobuf.FileDescriptorProto.verify|verify} messages.
|
|
* @param message FileDescriptorProto message or plain object to encode
|
|
* @param [writer] Writer to encode to
|
|
* @returns Writer
|
|
*/
|
|
static encode(message: google.protobuf.IFileDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
|
|
/**
|
|
* Encodes the specified FileDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.FileDescriptorProto.verify|verify} messages.
|
|
* @param message FileDescriptorProto message or plain object to encode
|
|
* @param [writer] Writer to encode to
|
|
* @returns Writer
|
|
*/
|
|
static encodeDelimited(message: google.protobuf.IFileDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
|
|
/**
|
|
* Decodes a FileDescriptorProto message from the specified reader or buffer.
|
|
* @param reader Reader or buffer to decode from
|
|
* @param [length] Message length if known beforehand
|
|
* @returns FileDescriptorProto
|
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
*/
|
|
static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FileDescriptorProto;
|
|
|
|
/**
|
|
* Decodes a FileDescriptorProto message from the specified reader or buffer, length delimited.
|
|
* @param reader Reader or buffer to decode from
|
|
* @returns FileDescriptorProto
|
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
*/
|
|
static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FileDescriptorProto;
|
|
|
|
/**
|
|
* Verifies a FileDescriptorProto message.
|
|
* @param message Plain object to verify
|
|
* @returns `null` if valid, otherwise the reason why it is not
|
|
*/
|
|
static verify(message: { [k: string]: any }): (string|null);
|
|
|
|
/**
|
|
* Creates a FileDescriptorProto message from a plain object. Also converts values to their respective internal types.
|
|
* @param object Plain object
|
|
* @returns FileDescriptorProto
|
|
*/
|
|
static fromObject(object: { [k: string]: any }): google.protobuf.FileDescriptorProto;
|
|
|
|
/**
|
|
* Creates a plain object from a FileDescriptorProto message. Also converts values to other types if specified.
|
|
* @param message FileDescriptorProto
|
|
* @param [options] Conversion options
|
|
* @returns Plain object
|
|
*/
|
|
static toObject(message: google.protobuf.FileDescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
|
|
/**
|
|
* Converts this FileDescriptorProto to JSON.
|
|
* @returns JSON object
|
|
*/
|
|
toJSON(): { [k: string]: any };
|
|
|
|
/**
|
|
* Gets the default type url for FileDescriptorProto
|
|
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
* @returns The default type url
|
|
*/
|
|
static getTypeUrl(typeUrlPrefix?: string): string;
|
|
}
|
|
|
|
/** Properties of a DescriptorProto. */
|
|
interface IDescriptorProto {
|
|
|
|
/** DescriptorProto name */
|
|
name?: (string|null);
|
|
|
|
/** DescriptorProto field */
|
|
field?: (google.protobuf.IFieldDescriptorProto[]|null);
|
|
|
|
/** DescriptorProto extension */
|
|
extension?: (google.protobuf.IFieldDescriptorProto[]|null);
|
|
|
|
/** DescriptorProto nestedType */
|
|
nestedType?: (google.protobuf.IDescriptorProto[]|null);
|
|
|
|
/** DescriptorProto enumType */
|
|
enumType?: (google.protobuf.IEnumDescriptorProto[]|null);
|
|
|
|
/** DescriptorProto extensionRange */
|
|
extensionRange?: (google.protobuf.DescriptorProto.IExtensionRange[]|null);
|
|
|
|
/** DescriptorProto oneofDecl */
|
|
oneofDecl?: (google.protobuf.IOneofDescriptorProto[]|null);
|
|
|
|
/** DescriptorProto options */
|
|
options?: (google.protobuf.IMessageOptions|null);
|
|
|
|
/** DescriptorProto reservedRange */
|
|
reservedRange?: (google.protobuf.DescriptorProto.IReservedRange[]|null);
|
|
|
|
/** DescriptorProto reservedName */
|
|
reservedName?: (string[]|null);
|
|
|
|
/** DescriptorProto visibility */
|
|
visibility?: (google.protobuf.SymbolVisibility|null);
|
|
}
|
|
|
|
/** Represents a DescriptorProto. */
|
|
class DescriptorProto implements IDescriptorProto {
|
|
|
|
/**
|
|
* Constructs a new DescriptorProto.
|
|
* @param [properties] Properties to set
|
|
*/
|
|
constructor(properties?: google.protobuf.IDescriptorProto);
|
|
|
|
/** DescriptorProto name. */
|
|
name: string;
|
|
|
|
/** DescriptorProto field. */
|
|
field: google.protobuf.IFieldDescriptorProto[];
|
|
|
|
/** DescriptorProto extension. */
|
|
extension: google.protobuf.IFieldDescriptorProto[];
|
|
|
|
/** DescriptorProto nestedType. */
|
|
nestedType: google.protobuf.IDescriptorProto[];
|
|
|
|
/** DescriptorProto enumType. */
|
|
enumType: google.protobuf.IEnumDescriptorProto[];
|
|
|
|
/** DescriptorProto extensionRange. */
|
|
extensionRange: google.protobuf.DescriptorProto.IExtensionRange[];
|
|
|
|
/** DescriptorProto oneofDecl. */
|
|
oneofDecl: google.protobuf.IOneofDescriptorProto[];
|
|
|
|
/** DescriptorProto options. */
|
|
options?: (google.protobuf.IMessageOptions|null);
|
|
|
|
/** DescriptorProto reservedRange. */
|
|
reservedRange: google.protobuf.DescriptorProto.IReservedRange[];
|
|
|
|
/** DescriptorProto reservedName. */
|
|
reservedName: string[];
|
|
|
|
/** DescriptorProto visibility. */
|
|
visibility: google.protobuf.SymbolVisibility;
|
|
|
|
/**
|
|
* Creates a new DescriptorProto instance using the specified properties.
|
|
* @param [properties] Properties to set
|
|
* @returns DescriptorProto instance
|
|
*/
|
|
static create(properties?: google.protobuf.IDescriptorProto): google.protobuf.DescriptorProto;
|
|
|
|
/**
|
|
* Encodes the specified DescriptorProto message. Does not implicitly {@link google.protobuf.DescriptorProto.verify|verify} messages.
|
|
* @param message DescriptorProto message or plain object to encode
|
|
* @param [writer] Writer to encode to
|
|
* @returns Writer
|
|
*/
|
|
static encode(message: google.protobuf.IDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
|
|
/**
|
|
* Encodes the specified DescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.DescriptorProto.verify|verify} messages.
|
|
* @param message DescriptorProto message or plain object to encode
|
|
* @param [writer] Writer to encode to
|
|
* @returns Writer
|
|
*/
|
|
static encodeDelimited(message: google.protobuf.IDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
|
|
/**
|
|
* Decodes a DescriptorProto message from the specified reader or buffer.
|
|
* @param reader Reader or buffer to decode from
|
|
* @param [length] Message length if known beforehand
|
|
* @returns DescriptorProto
|
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
*/
|
|
static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.DescriptorProto;
|
|
|
|
/**
|
|
* Decodes a DescriptorProto message from the specified reader or buffer, length delimited.
|
|
* @param reader Reader or buffer to decode from
|
|
* @returns DescriptorProto
|
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
*/
|
|
static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.DescriptorProto;
|
|
|
|
/**
|
|
* Verifies a DescriptorProto message.
|
|
* @param message Plain object to verify
|
|
* @returns `null` if valid, otherwise the reason why it is not
|
|
*/
|
|
static verify(message: { [k: string]: any }): (string|null);
|
|
|
|
/**
|
|
* Creates a DescriptorProto message from a plain object. Also converts values to their respective internal types.
|
|
* @param object Plain object
|
|
* @returns DescriptorProto
|
|
*/
|
|
static fromObject(object: { [k: string]: any }): google.protobuf.DescriptorProto;
|
|
|
|
/**
|
|
* Creates a plain object from a DescriptorProto message. Also converts values to other types if specified.
|
|
* @param message DescriptorProto
|
|
* @param [options] Conversion options
|
|
* @returns Plain object
|
|
*/
|
|
static toObject(message: google.protobuf.DescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
|
|
/**
|
|
* Converts this DescriptorProto to JSON.
|
|
* @returns JSON object
|
|
*/
|
|
toJSON(): { [k: string]: any };
|
|
|
|
/**
|
|
* Gets the default type url for DescriptorProto
|
|
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
* @returns The default type url
|
|
*/
|
|
static getTypeUrl(typeUrlPrefix?: string): string;
|
|
}
|
|
|
|
namespace DescriptorProto {
|
|
|
|
/** Properties of an ExtensionRange. */
|
|
interface IExtensionRange {
|
|
|
|
/** ExtensionRange start */
|
|
start?: (number|null);
|
|
|
|
/** ExtensionRange end */
|
|
end?: (number|null);
|
|
|
|
/** ExtensionRange options */
|
|
options?: (google.protobuf.IExtensionRangeOptions|null);
|
|
}
|
|
|
|
/** Represents an ExtensionRange. */
|
|
class ExtensionRange implements IExtensionRange {
|
|
|
|
/**
|
|
* Constructs a new ExtensionRange.
|
|
* @param [properties] Properties to set
|
|
*/
|
|
constructor(properties?: google.protobuf.DescriptorProto.IExtensionRange);
|
|
|
|
/** ExtensionRange start. */
|
|
start: number;
|
|
|
|
/** ExtensionRange end. */
|
|
end: number;
|
|
|
|
/** ExtensionRange options. */
|
|
options?: (google.protobuf.IExtensionRangeOptions|null);
|
|
|
|
/**
|
|
* Creates a new ExtensionRange instance using the specified properties.
|
|
* @param [properties] Properties to set
|
|
* @returns ExtensionRange instance
|
|
*/
|
|
static create(properties?: google.protobuf.DescriptorProto.IExtensionRange): google.protobuf.DescriptorProto.ExtensionRange;
|
|
|
|
/**
|
|
* Encodes the specified ExtensionRange message. Does not implicitly {@link google.protobuf.DescriptorProto.ExtensionRange.verify|verify} messages.
|
|
* @param message ExtensionRange message or plain object to encode
|
|
* @param [writer] Writer to encode to
|
|
* @returns Writer
|
|
*/
|
|
static encode(message: google.protobuf.DescriptorProto.IExtensionRange, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
|
|
/**
|
|
* Encodes the specified ExtensionRange message, length delimited. Does not implicitly {@link google.protobuf.DescriptorProto.ExtensionRange.verify|verify} messages.
|
|
* @param message ExtensionRange message or plain object to encode
|
|
* @param [writer] Writer to encode to
|
|
* @returns Writer
|
|
*/
|
|
static encodeDelimited(message: google.protobuf.DescriptorProto.IExtensionRange, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
|
|
/**
|
|
* Decodes an ExtensionRange message from the specified reader or buffer.
|
|
* @param reader Reader or buffer to decode from
|
|
* @param [length] Message length if known beforehand
|
|
* @returns ExtensionRange
|
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
*/
|
|
static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.DescriptorProto.ExtensionRange;
|
|
|
|
/**
|
|
* Decodes an ExtensionRange message from the specified reader or buffer, length delimited.
|
|
* @param reader Reader or buffer to decode from
|
|
* @returns ExtensionRange
|
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
*/
|
|
static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.DescriptorProto.ExtensionRange;
|
|
|
|
/**
|
|
* Verifies an ExtensionRange message.
|
|
* @param message Plain object to verify
|
|
* @returns `null` if valid, otherwise the reason why it is not
|
|
*/
|
|
static verify(message: { [k: string]: any }): (string|null);
|
|
|
|
/**
|
|
* Creates an ExtensionRange message from a plain object. Also converts values to their respective internal types.
|
|
* @param object Plain object
|
|
* @returns ExtensionRange
|
|
*/
|
|
static fromObject(object: { [k: string]: any }): google.protobuf.DescriptorProto.ExtensionRange;
|
|
|
|
/**
|
|
* Creates a plain object from an ExtensionRange message. Also converts values to other types if specified.
|
|
* @param message ExtensionRange
|
|
* @param [options] Conversion options
|
|
* @returns Plain object
|
|
*/
|
|
static toObject(message: google.protobuf.DescriptorProto.ExtensionRange, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
|
|
/**
|
|
* Converts this ExtensionRange to JSON.
|
|
* @returns JSON object
|
|
*/
|
|
toJSON(): { [k: string]: any };
|
|
|
|
/**
|
|
* Gets the default type url for ExtensionRange
|
|
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
* @returns The default type url
|
|
*/
|
|
static getTypeUrl(typeUrlPrefix?: string): string;
|
|
}
|
|
|
|
/** Properties of a ReservedRange. */
|
|
interface IReservedRange {
|
|
|
|
/** ReservedRange start */
|
|
start?: (number|null);
|
|
|
|
/** ReservedRange end */
|
|
end?: (number|null);
|
|
}
|
|
|
|
/** Represents a ReservedRange. */
|
|
class ReservedRange implements IReservedRange {
|
|
|
|
/**
|
|
* Constructs a new ReservedRange.
|
|
* @param [properties] Properties to set
|
|
*/
|
|
constructor(properties?: google.protobuf.DescriptorProto.IReservedRange);
|
|
|
|
/** ReservedRange start. */
|
|
start: number;
|
|
|
|
/** ReservedRange end. */
|
|
end: number;
|
|
|
|
/**
|
|
* Creates a new ReservedRange instance using the specified properties.
|
|
* @param [properties] Properties to set
|
|
* @returns ReservedRange instance
|
|
*/
|
|
static create(properties?: google.protobuf.DescriptorProto.IReservedRange): google.protobuf.DescriptorProto.ReservedRange;
|
|
|
|
/**
|
|
* Encodes the specified ReservedRange message. Does not implicitly {@link google.protobuf.DescriptorProto.ReservedRange.verify|verify} messages.
|
|
* @param message ReservedRange message or plain object to encode
|
|
* @param [writer] Writer to encode to
|
|
* @returns Writer
|
|
*/
|
|
static encode(message: google.protobuf.DescriptorProto.IReservedRange, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
|
|
/**
|
|
* Encodes the specified ReservedRange message, length delimited. Does not implicitly {@link google.protobuf.DescriptorProto.ReservedRange.verify|verify} messages.
|
|
* @param message ReservedRange message or plain object to encode
|
|
* @param [writer] Writer to encode to
|
|
* @returns Writer
|
|
*/
|
|
static encodeDelimited(message: google.protobuf.DescriptorProto.IReservedRange, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
|
|
/**
|
|
* Decodes a ReservedRange message from the specified reader or buffer.
|
|
* @param reader Reader or buffer to decode from
|
|
* @param [length] Message length if known beforehand
|
|
* @returns ReservedRange
|
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
*/
|
|
static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.DescriptorProto.ReservedRange;
|
|
|
|
/**
|
|
* Decodes a ReservedRange message from the specified reader or buffer, length delimited.
|
|
* @param reader Reader or buffer to decode from
|
|
* @returns ReservedRange
|
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
*/
|
|
static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.DescriptorProto.ReservedRange;
|
|
|
|
/**
|
|
* Verifies a ReservedRange message.
|
|
* @param message Plain object to verify
|
|
* @returns `null` if valid, otherwise the reason why it is not
|
|
*/
|
|
static verify(message: { [k: string]: any }): (string|null);
|
|
|
|
/**
|
|
* Creates a ReservedRange message from a plain object. Also converts values to their respective internal types.
|
|
* @param object Plain object
|
|
* @returns ReservedRange
|
|
*/
|
|
static fromObject(object: { [k: string]: any }): google.protobuf.DescriptorProto.ReservedRange;
|
|
|
|
/**
|
|
* Creates a plain object from a ReservedRange message. Also converts values to other types if specified.
|
|
* @param message ReservedRange
|
|
* @param [options] Conversion options
|
|
* @returns Plain object
|
|
*/
|
|
static toObject(message: google.protobuf.DescriptorProto.ReservedRange, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
|
|
/**
|
|
* Converts this ReservedRange to JSON.
|
|
* @returns JSON object
|
|
*/
|
|
toJSON(): { [k: string]: any };
|
|
|
|
/**
|
|
* Gets the default type url for ReservedRange
|
|
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
* @returns The default type url
|
|
*/
|
|
static getTypeUrl(typeUrlPrefix?: string): string;
|
|
}
|
|
}
|
|
|
|
/** Properties of an ExtensionRangeOptions. */
|
|
interface IExtensionRangeOptions {
|
|
|
|
/** ExtensionRangeOptions uninterpretedOption */
|
|
uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
|
|
|
|
/** ExtensionRangeOptions declaration */
|
|
declaration?: (google.protobuf.ExtensionRangeOptions.IDeclaration[]|null);
|
|
|
|
/** ExtensionRangeOptions features */
|
|
features?: (google.protobuf.IFeatureSet|null);
|
|
|
|
/** ExtensionRangeOptions verification */
|
|
verification?: (google.protobuf.ExtensionRangeOptions.VerificationState|null);
|
|
}
|
|
|
|
/** Represents an ExtensionRangeOptions. */
|
|
class ExtensionRangeOptions implements IExtensionRangeOptions {
|
|
|
|
/**
|
|
* Constructs a new ExtensionRangeOptions.
|
|
* @param [properties] Properties to set
|
|
*/
|
|
constructor(properties?: google.protobuf.IExtensionRangeOptions);
|
|
|
|
/** ExtensionRangeOptions uninterpretedOption. */
|
|
uninterpretedOption: google.protobuf.IUninterpretedOption[];
|
|
|
|
/** ExtensionRangeOptions declaration. */
|
|
declaration: google.protobuf.ExtensionRangeOptions.IDeclaration[];
|
|
|
|
/** ExtensionRangeOptions features. */
|
|
features?: (google.protobuf.IFeatureSet|null);
|
|
|
|
/** ExtensionRangeOptions verification. */
|
|
verification: google.protobuf.ExtensionRangeOptions.VerificationState;
|
|
|
|
/**
|
|
* Creates a new ExtensionRangeOptions instance using the specified properties.
|
|
* @param [properties] Properties to set
|
|
* @returns ExtensionRangeOptions instance
|
|
*/
|
|
static create(properties?: google.protobuf.IExtensionRangeOptions): google.protobuf.ExtensionRangeOptions;
|
|
|
|
/**
|
|
* Encodes the specified ExtensionRangeOptions message. Does not implicitly {@link google.protobuf.ExtensionRangeOptions.verify|verify} messages.
|
|
* @param message ExtensionRangeOptions message or plain object to encode
|
|
* @param [writer] Writer to encode to
|
|
* @returns Writer
|
|
*/
|
|
static encode(message: google.protobuf.IExtensionRangeOptions, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
|
|
/**
|
|
* Encodes the specified ExtensionRangeOptions message, length delimited. Does not implicitly {@link google.protobuf.ExtensionRangeOptions.verify|verify} messages.
|
|
* @param message ExtensionRangeOptions message or plain object to encode
|
|
* @param [writer] Writer to encode to
|
|
* @returns Writer
|
|
*/
|
|
static encodeDelimited(message: google.protobuf.IExtensionRangeOptions, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
|
|
/**
|
|
* Decodes an ExtensionRangeOptions message from the specified reader or buffer.
|
|
* @param reader Reader or buffer to decode from
|
|
* @param [length] Message length if known beforehand
|
|
* @returns ExtensionRangeOptions
|
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
*/
|
|
static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.ExtensionRangeOptions;
|
|
|
|
/**
|
|
* Decodes an ExtensionRangeOptions message from the specified reader or buffer, length delimited.
|
|
* @param reader Reader or buffer to decode from
|
|
* @returns ExtensionRangeOptions
|
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
*/
|
|
static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.ExtensionRangeOptions;
|
|
|
|
/**
|
|
* Verifies an ExtensionRangeOptions message.
|
|
* @param message Plain object to verify
|
|
* @returns `null` if valid, otherwise the reason why it is not
|
|
*/
|
|
static verify(message: { [k: string]: any }): (string|null);
|
|
|
|
/**
|
|
* Creates an ExtensionRangeOptions message from a plain object. Also converts values to their respective internal types.
|
|
* @param object Plain object
|
|
* @returns ExtensionRangeOptions
|
|
*/
|
|
static fromObject(object: { [k: string]: any }): google.protobuf.ExtensionRangeOptions;
|
|
|
|
/**
|
|
* Creates a plain object from an ExtensionRangeOptions message. Also converts values to other types if specified.
|
|
* @param message ExtensionRangeOptions
|
|
* @param [options] Conversion options
|
|
* @returns Plain object
|
|
*/
|
|
static toObject(message: google.protobuf.ExtensionRangeOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
|
|
/**
|
|
* Converts this ExtensionRangeOptions to JSON.
|
|
* @returns JSON object
|
|
*/
|
|
toJSON(): { [k: string]: any };
|
|
|
|
/**
|
|
* Gets the default type url for ExtensionRangeOptions
|
|
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
* @returns The default type url
|
|
*/
|
|
static getTypeUrl(typeUrlPrefix?: string): string;
|
|
}
|
|
|
|
namespace ExtensionRangeOptions {
|
|
|
|
/** Properties of a Declaration. */
|
|
interface IDeclaration {
|
|
|
|
/** Declaration number */
|
|
number?: (number|null);
|
|
|
|
/** Declaration fullName */
|
|
fullName?: (string|null);
|
|
|
|
/** Declaration type */
|
|
type?: (string|null);
|
|
|
|
/** Declaration reserved */
|
|
reserved?: (boolean|null);
|
|
|
|
/** Declaration repeated */
|
|
repeated?: (boolean|null);
|
|
}
|
|
|
|
/** Represents a Declaration. */
|
|
class Declaration implements IDeclaration {
|
|
|
|
/**
|
|
* Constructs a new Declaration.
|
|
* @param [properties] Properties to set
|
|
*/
|
|
constructor(properties?: google.protobuf.ExtensionRangeOptions.IDeclaration);
|
|
|
|
/** Declaration number. */
|
|
number: number;
|
|
|
|
/** Declaration fullName. */
|
|
fullName: string;
|
|
|
|
/** Declaration type. */
|
|
type: string;
|
|
|
|
/** Declaration reserved. */
|
|
reserved: boolean;
|
|
|
|
/** Declaration repeated. */
|
|
repeated: boolean;
|
|
|
|
/**
|
|
* Creates a new Declaration instance using the specified properties.
|
|
* @param [properties] Properties to set
|
|
* @returns Declaration instance
|
|
*/
|
|
static create(properties?: google.protobuf.ExtensionRangeOptions.IDeclaration): google.protobuf.ExtensionRangeOptions.Declaration;
|
|
|
|
/**
|
|
* Encodes the specified Declaration message. Does not implicitly {@link google.protobuf.ExtensionRangeOptions.Declaration.verify|verify} messages.
|
|
* @param message Declaration message or plain object to encode
|
|
* @param [writer] Writer to encode to
|
|
* @returns Writer
|
|
*/
|
|
static encode(message: google.protobuf.ExtensionRangeOptions.IDeclaration, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
|
|
/**
|
|
* Encodes the specified Declaration message, length delimited. Does not implicitly {@link google.protobuf.ExtensionRangeOptions.Declaration.verify|verify} messages.
|
|
* @param message Declaration message or plain object to encode
|
|
* @param [writer] Writer to encode to
|
|
* @returns Writer
|
|
*/
|
|
static encodeDelimited(message: google.protobuf.ExtensionRangeOptions.IDeclaration, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
|
|
/**
|
|
* Decodes a Declaration message from the specified reader or buffer.
|
|
* @param reader Reader or buffer to decode from
|
|
* @param [length] Message length if known beforehand
|
|
* @returns Declaration
|
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
*/
|
|
static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.ExtensionRangeOptions.Declaration;
|
|
|
|
/**
|
|
* Decodes a Declaration message from the specified reader or buffer, length delimited.
|
|
* @param reader Reader or buffer to decode from
|
|
* @returns Declaration
|
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
*/
|
|
static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.ExtensionRangeOptions.Declaration;
|
|
|
|
/**
|
|
* Verifies a Declaration message.
|
|
* @param message Plain object to verify
|
|
* @returns `null` if valid, otherwise the reason why it is not
|
|
*/
|
|
static verify(message: { [k: string]: any }): (string|null);
|
|
|
|
/**
|
|
* Creates a Declaration message from a plain object. Also converts values to their respective internal types.
|
|
* @param object Plain object
|
|
* @returns Declaration
|
|
*/
|
|
static fromObject(object: { [k: string]: any }): google.protobuf.ExtensionRangeOptions.Declaration;
|
|
|
|
/**
|
|
* Creates a plain object from a Declaration message. Also converts values to other types if specified.
|
|
* @param message Declaration
|
|
* @param [options] Conversion options
|
|
* @returns Plain object
|
|
*/
|
|
static toObject(message: google.protobuf.ExtensionRangeOptions.Declaration, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
|
|
/**
|
|
* Converts this Declaration to JSON.
|
|
* @returns JSON object
|
|
*/
|
|
toJSON(): { [k: string]: any };
|
|
|
|
/**
|
|
* Gets the default type url for Declaration
|
|
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
* @returns The default type url
|
|
*/
|
|
static getTypeUrl(typeUrlPrefix?: string): string;
|
|
}
|
|
|
|
/** VerificationState enum. */
|
|
enum VerificationState {
|
|
DECLARATION = 0,
|
|
UNVERIFIED = 1
|
|
}
|
|
}
|
|
|
|
/** Properties of a FieldDescriptorProto. */
|
|
interface IFieldDescriptorProto {
|
|
|
|
/** FieldDescriptorProto name */
|
|
name?: (string|null);
|
|
|
|
/** FieldDescriptorProto number */
|
|
number?: (number|null);
|
|
|
|
/** FieldDescriptorProto label */
|
|
label?: (google.protobuf.FieldDescriptorProto.Label|null);
|
|
|
|
/** FieldDescriptorProto type */
|
|
type?: (google.protobuf.FieldDescriptorProto.Type|null);
|
|
|
|
/** FieldDescriptorProto typeName */
|
|
typeName?: (string|null);
|
|
|
|
/** FieldDescriptorProto extendee */
|
|
extendee?: (string|null);
|
|
|
|
/** FieldDescriptorProto defaultValue */
|
|
defaultValue?: (string|null);
|
|
|
|
/** FieldDescriptorProto oneofIndex */
|
|
oneofIndex?: (number|null);
|
|
|
|
/** FieldDescriptorProto jsonName */
|
|
jsonName?: (string|null);
|
|
|
|
/** FieldDescriptorProto options */
|
|
options?: (google.protobuf.IFieldOptions|null);
|
|
|
|
/** FieldDescriptorProto proto3Optional */
|
|
proto3Optional?: (boolean|null);
|
|
}
|
|
|
|
/** Represents a FieldDescriptorProto. */
|
|
class FieldDescriptorProto implements IFieldDescriptorProto {
|
|
|
|
/**
|
|
* Constructs a new FieldDescriptorProto.
|
|
* @param [properties] Properties to set
|
|
*/
|
|
constructor(properties?: google.protobuf.IFieldDescriptorProto);
|
|
|
|
/** FieldDescriptorProto name. */
|
|
name: string;
|
|
|
|
/** FieldDescriptorProto number. */
|
|
number: number;
|
|
|
|
/** FieldDescriptorProto label. */
|
|
label: google.protobuf.FieldDescriptorProto.Label;
|
|
|
|
/** FieldDescriptorProto type. */
|
|
type: google.protobuf.FieldDescriptorProto.Type;
|
|
|
|
/** FieldDescriptorProto typeName. */
|
|
typeName: string;
|
|
|
|
/** FieldDescriptorProto extendee. */
|
|
extendee: string;
|
|
|
|
/** FieldDescriptorProto defaultValue. */
|
|
defaultValue: string;
|
|
|
|
/** FieldDescriptorProto oneofIndex. */
|
|
oneofIndex: number;
|
|
|
|
/** FieldDescriptorProto jsonName. */
|
|
jsonName: string;
|
|
|
|
/** FieldDescriptorProto options. */
|
|
options?: (google.protobuf.IFieldOptions|null);
|
|
|
|
/** FieldDescriptorProto proto3Optional. */
|
|
proto3Optional: boolean;
|
|
|
|
/**
|
|
* Creates a new FieldDescriptorProto instance using the specified properties.
|
|
* @param [properties] Properties to set
|
|
* @returns FieldDescriptorProto instance
|
|
*/
|
|
static create(properties?: google.protobuf.IFieldDescriptorProto): google.protobuf.FieldDescriptorProto;
|
|
|
|
/**
|
|
* Encodes the specified FieldDescriptorProto message. Does not implicitly {@link google.protobuf.FieldDescriptorProto.verify|verify} messages.
|
|
* @param message FieldDescriptorProto message or plain object to encode
|
|
* @param [writer] Writer to encode to
|
|
* @returns Writer
|
|
*/
|
|
static encode(message: google.protobuf.IFieldDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
|
|
/**
|
|
* Encodes the specified FieldDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.FieldDescriptorProto.verify|verify} messages.
|
|
* @param message FieldDescriptorProto message or plain object to encode
|
|
* @param [writer] Writer to encode to
|
|
* @returns Writer
|
|
*/
|
|
static encodeDelimited(message: google.protobuf.IFieldDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
|
|
/**
|
|
* Decodes a FieldDescriptorProto message from the specified reader or buffer.
|
|
* @param reader Reader or buffer to decode from
|
|
* @param [length] Message length if known beforehand
|
|
* @returns FieldDescriptorProto
|
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
*/
|
|
static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FieldDescriptorProto;
|
|
|
|
/**
|
|
* Decodes a FieldDescriptorProto message from the specified reader or buffer, length delimited.
|
|
* @param reader Reader or buffer to decode from
|
|
* @returns FieldDescriptorProto
|
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
*/
|
|
static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FieldDescriptorProto;
|
|
|
|
/**
|
|
* Verifies a FieldDescriptorProto message.
|
|
* @param message Plain object to verify
|
|
* @returns `null` if valid, otherwise the reason why it is not
|
|
*/
|
|
static verify(message: { [k: string]: any }): (string|null);
|
|
|
|
/**
|
|
* Creates a FieldDescriptorProto message from a plain object. Also converts values to their respective internal types.
|
|
* @param object Plain object
|
|
* @returns FieldDescriptorProto
|
|
*/
|
|
static fromObject(object: { [k: string]: any }): google.protobuf.FieldDescriptorProto;
|
|
|
|
/**
|
|
* Creates a plain object from a FieldDescriptorProto message. Also converts values to other types if specified.
|
|
* @param message FieldDescriptorProto
|
|
* @param [options] Conversion options
|
|
* @returns Plain object
|
|
*/
|
|
static toObject(message: google.protobuf.FieldDescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
|
|
/**
|
|
* Converts this FieldDescriptorProto to JSON.
|
|
* @returns JSON object
|
|
*/
|
|
toJSON(): { [k: string]: any };
|
|
|
|
/**
|
|
* Gets the default type url for FieldDescriptorProto
|
|
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
* @returns The default type url
|
|
*/
|
|
static getTypeUrl(typeUrlPrefix?: string): string;
|
|
}
|
|
|
|
namespace FieldDescriptorProto {
|
|
|
|
/** Type enum. */
|
|
enum Type {
|
|
TYPE_DOUBLE = 1,
|
|
TYPE_FLOAT = 2,
|
|
TYPE_INT64 = 3,
|
|
TYPE_UINT64 = 4,
|
|
TYPE_INT32 = 5,
|
|
TYPE_FIXED64 = 6,
|
|
TYPE_FIXED32 = 7,
|
|
TYPE_BOOL = 8,
|
|
TYPE_STRING = 9,
|
|
TYPE_GROUP = 10,
|
|
TYPE_MESSAGE = 11,
|
|
TYPE_BYTES = 12,
|
|
TYPE_UINT32 = 13,
|
|
TYPE_ENUM = 14,
|
|
TYPE_SFIXED32 = 15,
|
|
TYPE_SFIXED64 = 16,
|
|
TYPE_SINT32 = 17,
|
|
TYPE_SINT64 = 18
|
|
}
|
|
|
|
/** Label enum. */
|
|
enum Label {
|
|
LABEL_OPTIONAL = 1,
|
|
LABEL_REPEATED = 3,
|
|
LABEL_REQUIRED = 2
|
|
}
|
|
}
|
|
|
|
/** Properties of an OneofDescriptorProto. */
|
|
interface IOneofDescriptorProto {
|
|
|
|
/** OneofDescriptorProto name */
|
|
name?: (string|null);
|
|
|
|
/** OneofDescriptorProto options */
|
|
options?: (google.protobuf.IOneofOptions|null);
|
|
}
|
|
|
|
/** Represents an OneofDescriptorProto. */
|
|
class OneofDescriptorProto implements IOneofDescriptorProto {
|
|
|
|
/**
|
|
* Constructs a new OneofDescriptorProto.
|
|
* @param [properties] Properties to set
|
|
*/
|
|
constructor(properties?: google.protobuf.IOneofDescriptorProto);
|
|
|
|
/** OneofDescriptorProto name. */
|
|
name: string;
|
|
|
|
/** OneofDescriptorProto options. */
|
|
options?: (google.protobuf.IOneofOptions|null);
|
|
|
|
/**
|
|
* Creates a new OneofDescriptorProto instance using the specified properties.
|
|
* @param [properties] Properties to set
|
|
* @returns OneofDescriptorProto instance
|
|
*/
|
|
static create(properties?: google.protobuf.IOneofDescriptorProto): google.protobuf.OneofDescriptorProto;
|
|
|
|
/**
|
|
* Encodes the specified OneofDescriptorProto message. Does not implicitly {@link google.protobuf.OneofDescriptorProto.verify|verify} messages.
|
|
* @param message OneofDescriptorProto message or plain object to encode
|
|
* @param [writer] Writer to encode to
|
|
* @returns Writer
|
|
*/
|
|
static encode(message: google.protobuf.IOneofDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
|
|
/**
|
|
* Encodes the specified OneofDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.OneofDescriptorProto.verify|verify} messages.
|
|
* @param message OneofDescriptorProto message or plain object to encode
|
|
* @param [writer] Writer to encode to
|
|
* @returns Writer
|
|
*/
|
|
static encodeDelimited(message: google.protobuf.IOneofDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
|
|
/**
|
|
* Decodes an OneofDescriptorProto message from the specified reader or buffer.
|
|
* @param reader Reader or buffer to decode from
|
|
* @param [length] Message length if known beforehand
|
|
* @returns OneofDescriptorProto
|
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
*/
|
|
static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.OneofDescriptorProto;
|
|
|
|
/**
|
|
* Decodes an OneofDescriptorProto message from the specified reader or buffer, length delimited.
|
|
* @param reader Reader or buffer to decode from
|
|
* @returns OneofDescriptorProto
|
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
*/
|
|
static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.OneofDescriptorProto;
|
|
|
|
/**
|
|
* Verifies an OneofDescriptorProto message.
|
|
* @param message Plain object to verify
|
|
* @returns `null` if valid, otherwise the reason why it is not
|
|
*/
|
|
static verify(message: { [k: string]: any }): (string|null);
|
|
|
|
/**
|
|
* Creates an OneofDescriptorProto message from a plain object. Also converts values to their respective internal types.
|
|
* @param object Plain object
|
|
* @returns OneofDescriptorProto
|
|
*/
|
|
static fromObject(object: { [k: string]: any }): google.protobuf.OneofDescriptorProto;
|
|
|
|
/**
|
|
* Creates a plain object from an OneofDescriptorProto message. Also converts values to other types if specified.
|
|
* @param message OneofDescriptorProto
|
|
* @param [options] Conversion options
|
|
* @returns Plain object
|
|
*/
|
|
static toObject(message: google.protobuf.OneofDescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
|
|
/**
|
|
* Converts this OneofDescriptorProto to JSON.
|
|
* @returns JSON object
|
|
*/
|
|
toJSON(): { [k: string]: any };
|
|
|
|
/**
|
|
* Gets the default type url for OneofDescriptorProto
|
|
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
* @returns The default type url
|
|
*/
|
|
static getTypeUrl(typeUrlPrefix?: string): string;
|
|
}
|
|
|
|
/** Properties of an EnumDescriptorProto. */
|
|
interface IEnumDescriptorProto {
|
|
|
|
/** EnumDescriptorProto name */
|
|
name?: (string|null);
|
|
|
|
/** EnumDescriptorProto value */
|
|
value?: (google.protobuf.IEnumValueDescriptorProto[]|null);
|
|
|
|
/** EnumDescriptorProto options */
|
|
options?: (google.protobuf.IEnumOptions|null);
|
|
|
|
/** EnumDescriptorProto reservedRange */
|
|
reservedRange?: (google.protobuf.EnumDescriptorProto.IEnumReservedRange[]|null);
|
|
|
|
/** EnumDescriptorProto reservedName */
|
|
reservedName?: (string[]|null);
|
|
|
|
/** EnumDescriptorProto visibility */
|
|
visibility?: (google.protobuf.SymbolVisibility|null);
|
|
}
|
|
|
|
/** Represents an EnumDescriptorProto. */
|
|
class EnumDescriptorProto implements IEnumDescriptorProto {
|
|
|
|
/**
|
|
* Constructs a new EnumDescriptorProto.
|
|
* @param [properties] Properties to set
|
|
*/
|
|
constructor(properties?: google.protobuf.IEnumDescriptorProto);
|
|
|
|
/** EnumDescriptorProto name. */
|
|
name: string;
|
|
|
|
/** EnumDescriptorProto value. */
|
|
value: google.protobuf.IEnumValueDescriptorProto[];
|
|
|
|
/** EnumDescriptorProto options. */
|
|
options?: (google.protobuf.IEnumOptions|null);
|
|
|
|
/** EnumDescriptorProto reservedRange. */
|
|
reservedRange: google.protobuf.EnumDescriptorProto.IEnumReservedRange[];
|
|
|
|
/** EnumDescriptorProto reservedName. */
|
|
reservedName: string[];
|
|
|
|
/** EnumDescriptorProto visibility. */
|
|
visibility: google.protobuf.SymbolVisibility;
|
|
|
|
/**
|
|
* Creates a new EnumDescriptorProto instance using the specified properties.
|
|
* @param [properties] Properties to set
|
|
* @returns EnumDescriptorProto instance
|
|
*/
|
|
static create(properties?: google.protobuf.IEnumDescriptorProto): google.protobuf.EnumDescriptorProto;
|
|
|
|
/**
|
|
* Encodes the specified EnumDescriptorProto message. Does not implicitly {@link google.protobuf.EnumDescriptorProto.verify|verify} messages.
|
|
* @param message EnumDescriptorProto message or plain object to encode
|
|
* @param [writer] Writer to encode to
|
|
* @returns Writer
|
|
*/
|
|
static encode(message: google.protobuf.IEnumDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
|
|
/**
|
|
* Encodes the specified EnumDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.EnumDescriptorProto.verify|verify} messages.
|
|
* @param message EnumDescriptorProto message or plain object to encode
|
|
* @param [writer] Writer to encode to
|
|
* @returns Writer
|
|
*/
|
|
static encodeDelimited(message: google.protobuf.IEnumDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
|
|
/**
|
|
* Decodes an EnumDescriptorProto message from the specified reader or buffer.
|
|
* @param reader Reader or buffer to decode from
|
|
* @param [length] Message length if known beforehand
|
|
* @returns EnumDescriptorProto
|
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
*/
|
|
static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.EnumDescriptorProto;
|
|
|
|
/**
|
|
* Decodes an EnumDescriptorProto message from the specified reader or buffer, length delimited.
|
|
* @param reader Reader or buffer to decode from
|
|
* @returns EnumDescriptorProto
|
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
*/
|
|
static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.EnumDescriptorProto;
|
|
|
|
/**
|
|
* Verifies an EnumDescriptorProto message.
|
|
* @param message Plain object to verify
|
|
* @returns `null` if valid, otherwise the reason why it is not
|
|
*/
|
|
static verify(message: { [k: string]: any }): (string|null);
|
|
|
|
/**
|
|
* Creates an EnumDescriptorProto message from a plain object. Also converts values to their respective internal types.
|
|
* @param object Plain object
|
|
* @returns EnumDescriptorProto
|
|
*/
|
|
static fromObject(object: { [k: string]: any }): google.protobuf.EnumDescriptorProto;
|
|
|
|
/**
|
|
* Creates a plain object from an EnumDescriptorProto message. Also converts values to other types if specified.
|
|
* @param message EnumDescriptorProto
|
|
* @param [options] Conversion options
|
|
* @returns Plain object
|
|
*/
|
|
static toObject(message: google.protobuf.EnumDescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
|
|
/**
|
|
* Converts this EnumDescriptorProto to JSON.
|
|
* @returns JSON object
|
|
*/
|
|
toJSON(): { [k: string]: any };
|
|
|
|
/**
|
|
* Gets the default type url for EnumDescriptorProto
|
|
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
* @returns The default type url
|
|
*/
|
|
static getTypeUrl(typeUrlPrefix?: string): string;
|
|
}
|
|
|
|
namespace EnumDescriptorProto {
|
|
|
|
/** Properties of an EnumReservedRange. */
|
|
interface IEnumReservedRange {
|
|
|
|
/** EnumReservedRange start */
|
|
start?: (number|null);
|
|
|
|
/** EnumReservedRange end */
|
|
end?: (number|null);
|
|
}
|
|
|
|
/** Represents an EnumReservedRange. */
|
|
class EnumReservedRange implements IEnumReservedRange {
|
|
|
|
/**
|
|
* Constructs a new EnumReservedRange.
|
|
* @param [properties] Properties to set
|
|
*/
|
|
constructor(properties?: google.protobuf.EnumDescriptorProto.IEnumReservedRange);
|
|
|
|
/** EnumReservedRange start. */
|
|
start: number;
|
|
|
|
/** EnumReservedRange end. */
|
|
end: number;
|
|
|
|
/**
|
|
* Creates a new EnumReservedRange instance using the specified properties.
|
|
* @param [properties] Properties to set
|
|
* @returns EnumReservedRange instance
|
|
*/
|
|
static create(properties?: google.protobuf.EnumDescriptorProto.IEnumReservedRange): google.protobuf.EnumDescriptorProto.EnumReservedRange;
|
|
|
|
/**
|
|
* Encodes the specified EnumReservedRange message. Does not implicitly {@link google.protobuf.EnumDescriptorProto.EnumReservedRange.verify|verify} messages.
|
|
* @param message EnumReservedRange message or plain object to encode
|
|
* @param [writer] Writer to encode to
|
|
* @returns Writer
|
|
*/
|
|
static encode(message: google.protobuf.EnumDescriptorProto.IEnumReservedRange, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
|
|
/**
|
|
* Encodes the specified EnumReservedRange message, length delimited. Does not implicitly {@link google.protobuf.EnumDescriptorProto.EnumReservedRange.verify|verify} messages.
|
|
* @param message EnumReservedRange message or plain object to encode
|
|
* @param [writer] Writer to encode to
|
|
* @returns Writer
|
|
*/
|
|
static encodeDelimited(message: google.protobuf.EnumDescriptorProto.IEnumReservedRange, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
|
|
/**
|
|
* Decodes an EnumReservedRange message from the specified reader or buffer.
|
|
* @param reader Reader or buffer to decode from
|
|
* @param [length] Message length if known beforehand
|
|
* @returns EnumReservedRange
|
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
*/
|
|
static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.EnumDescriptorProto.EnumReservedRange;
|
|
|
|
/**
|
|
* Decodes an EnumReservedRange message from the specified reader or buffer, length delimited.
|
|
* @param reader Reader or buffer to decode from
|
|
* @returns EnumReservedRange
|
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
*/
|
|
static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.EnumDescriptorProto.EnumReservedRange;
|
|
|
|
/**
|
|
* Verifies an EnumReservedRange message.
|
|
* @param message Plain object to verify
|
|
* @returns `null` if valid, otherwise the reason why it is not
|
|
*/
|
|
static verify(message: { [k: string]: any }): (string|null);
|
|
|
|
/**
|
|
* Creates an EnumReservedRange message from a plain object. Also converts values to their respective internal types.
|
|
* @param object Plain object
|
|
* @returns EnumReservedRange
|
|
*/
|
|
static fromObject(object: { [k: string]: any }): google.protobuf.EnumDescriptorProto.EnumReservedRange;
|
|
|
|
/**
|
|
* Creates a plain object from an EnumReservedRange message. Also converts values to other types if specified.
|
|
* @param message EnumReservedRange
|
|
* @param [options] Conversion options
|
|
* @returns Plain object
|
|
*/
|
|
static toObject(message: google.protobuf.EnumDescriptorProto.EnumReservedRange, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
|
|
/**
|
|
* Converts this EnumReservedRange to JSON.
|
|
* @returns JSON object
|
|
*/
|
|
toJSON(): { [k: string]: any };
|
|
|
|
/**
|
|
* Gets the default type url for EnumReservedRange
|
|
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
* @returns The default type url
|
|
*/
|
|
static getTypeUrl(typeUrlPrefix?: string): string;
|
|
}
|
|
}
|
|
|
|
/** Properties of an EnumValueDescriptorProto. */
|
|
interface IEnumValueDescriptorProto {
|
|
|
|
/** EnumValueDescriptorProto name */
|
|
name?: (string|null);
|
|
|
|
/** EnumValueDescriptorProto number */
|
|
number?: (number|null);
|
|
|
|
/** EnumValueDescriptorProto options */
|
|
options?: (google.protobuf.IEnumValueOptions|null);
|
|
}
|
|
|
|
/** Represents an EnumValueDescriptorProto. */
|
|
class EnumValueDescriptorProto implements IEnumValueDescriptorProto {
|
|
|
|
/**
|
|
* Constructs a new EnumValueDescriptorProto.
|
|
* @param [properties] Properties to set
|
|
*/
|
|
constructor(properties?: google.protobuf.IEnumValueDescriptorProto);
|
|
|
|
/** EnumValueDescriptorProto name. */
|
|
name: string;
|
|
|
|
/** EnumValueDescriptorProto number. */
|
|
number: number;
|
|
|
|
/** EnumValueDescriptorProto options. */
|
|
options?: (google.protobuf.IEnumValueOptions|null);
|
|
|
|
/**
|
|
* Creates a new EnumValueDescriptorProto instance using the specified properties.
|
|
* @param [properties] Properties to set
|
|
* @returns EnumValueDescriptorProto instance
|
|
*/
|
|
static create(properties?: google.protobuf.IEnumValueDescriptorProto): google.protobuf.EnumValueDescriptorProto;
|
|
|
|
/**
|
|
* Encodes the specified EnumValueDescriptorProto message. Does not implicitly {@link google.protobuf.EnumValueDescriptorProto.verify|verify} messages.
|
|
* @param message EnumValueDescriptorProto message or plain object to encode
|
|
* @param [writer] Writer to encode to
|
|
* @returns Writer
|
|
*/
|
|
static encode(message: google.protobuf.IEnumValueDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
|
|
/**
|
|
* Encodes the specified EnumValueDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.EnumValueDescriptorProto.verify|verify} messages.
|
|
* @param message EnumValueDescriptorProto message or plain object to encode
|
|
* @param [writer] Writer to encode to
|
|
* @returns Writer
|
|
*/
|
|
static encodeDelimited(message: google.protobuf.IEnumValueDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
|
|
/**
|
|
* Decodes an EnumValueDescriptorProto message from the specified reader or buffer.
|
|
* @param reader Reader or buffer to decode from
|
|
* @param [length] Message length if known beforehand
|
|
* @returns EnumValueDescriptorProto
|
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
*/
|
|
static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.EnumValueDescriptorProto;
|
|
|
|
/**
|
|
* Decodes an EnumValueDescriptorProto message from the specified reader or buffer, length delimited.
|
|
* @param reader Reader or buffer to decode from
|
|
* @returns EnumValueDescriptorProto
|
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
*/
|
|
static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.EnumValueDescriptorProto;
|
|
|
|
/**
|
|
* Verifies an EnumValueDescriptorProto message.
|
|
* @param message Plain object to verify
|
|
* @returns `null` if valid, otherwise the reason why it is not
|
|
*/
|
|
static verify(message: { [k: string]: any }): (string|null);
|
|
|
|
/**
|
|
* Creates an EnumValueDescriptorProto message from a plain object. Also converts values to their respective internal types.
|
|
* @param object Plain object
|
|
* @returns EnumValueDescriptorProto
|
|
*/
|
|
static fromObject(object: { [k: string]: any }): google.protobuf.EnumValueDescriptorProto;
|
|
|
|
/**
|
|
* Creates a plain object from an EnumValueDescriptorProto message. Also converts values to other types if specified.
|
|
* @param message EnumValueDescriptorProto
|
|
* @param [options] Conversion options
|
|
* @returns Plain object
|
|
*/
|
|
static toObject(message: google.protobuf.EnumValueDescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
|
|
/**
|
|
* Converts this EnumValueDescriptorProto to JSON.
|
|
* @returns JSON object
|
|
*/
|
|
toJSON(): { [k: string]: any };
|
|
|
|
/**
|
|
* Gets the default type url for EnumValueDescriptorProto
|
|
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
* @returns The default type url
|
|
*/
|
|
static getTypeUrl(typeUrlPrefix?: string): string;
|
|
}
|
|
|
|
/** Properties of a ServiceDescriptorProto. */
|
|
interface IServiceDescriptorProto {
|
|
|
|
/** ServiceDescriptorProto name */
|
|
name?: (string|null);
|
|
|
|
/** ServiceDescriptorProto method */
|
|
method?: (google.protobuf.IMethodDescriptorProto[]|null);
|
|
|
|
/** ServiceDescriptorProto options */
|
|
options?: (google.protobuf.IServiceOptions|null);
|
|
}
|
|
|
|
/** Represents a ServiceDescriptorProto. */
|
|
class ServiceDescriptorProto implements IServiceDescriptorProto {
|
|
|
|
/**
|
|
* Constructs a new ServiceDescriptorProto.
|
|
* @param [properties] Properties to set
|
|
*/
|
|
constructor(properties?: google.protobuf.IServiceDescriptorProto);
|
|
|
|
/** ServiceDescriptorProto name. */
|
|
name: string;
|
|
|
|
/** ServiceDescriptorProto method. */
|
|
method: google.protobuf.IMethodDescriptorProto[];
|
|
|
|
/** ServiceDescriptorProto options. */
|
|
options?: (google.protobuf.IServiceOptions|null);
|
|
|
|
/**
|
|
* Creates a new ServiceDescriptorProto instance using the specified properties.
|
|
* @param [properties] Properties to set
|
|
* @returns ServiceDescriptorProto instance
|
|
*/
|
|
static create(properties?: google.protobuf.IServiceDescriptorProto): google.protobuf.ServiceDescriptorProto;
|
|
|
|
/**
|
|
* Encodes the specified ServiceDescriptorProto message. Does not implicitly {@link google.protobuf.ServiceDescriptorProto.verify|verify} messages.
|
|
* @param message ServiceDescriptorProto message or plain object to encode
|
|
* @param [writer] Writer to encode to
|
|
* @returns Writer
|
|
*/
|
|
static encode(message: google.protobuf.IServiceDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
|
|
/**
|
|
* Encodes the specified ServiceDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.ServiceDescriptorProto.verify|verify} messages.
|
|
* @param message ServiceDescriptorProto message or plain object to encode
|
|
* @param [writer] Writer to encode to
|
|
* @returns Writer
|
|
*/
|
|
static encodeDelimited(message: google.protobuf.IServiceDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
|
|
/**
|
|
* Decodes a ServiceDescriptorProto message from the specified reader or buffer.
|
|
* @param reader Reader or buffer to decode from
|
|
* @param [length] Message length if known beforehand
|
|
* @returns ServiceDescriptorProto
|
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
*/
|
|
static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.ServiceDescriptorProto;
|
|
|
|
/**
|
|
* Decodes a ServiceDescriptorProto message from the specified reader or buffer, length delimited.
|
|
* @param reader Reader or buffer to decode from
|
|
* @returns ServiceDescriptorProto
|
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
*/
|
|
static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.ServiceDescriptorProto;
|
|
|
|
/**
|
|
* Verifies a ServiceDescriptorProto message.
|
|
* @param message Plain object to verify
|
|
* @returns `null` if valid, otherwise the reason why it is not
|
|
*/
|
|
static verify(message: { [k: string]: any }): (string|null);
|
|
|
|
/**
|
|
* Creates a ServiceDescriptorProto message from a plain object. Also converts values to their respective internal types.
|
|
* @param object Plain object
|
|
* @returns ServiceDescriptorProto
|
|
*/
|
|
static fromObject(object: { [k: string]: any }): google.protobuf.ServiceDescriptorProto;
|
|
|
|
/**
|
|
* Creates a plain object from a ServiceDescriptorProto message. Also converts values to other types if specified.
|
|
* @param message ServiceDescriptorProto
|
|
* @param [options] Conversion options
|
|
* @returns Plain object
|
|
*/
|
|
static toObject(message: google.protobuf.ServiceDescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
|
|
/**
|
|
* Converts this ServiceDescriptorProto to JSON.
|
|
* @returns JSON object
|
|
*/
|
|
toJSON(): { [k: string]: any };
|
|
|
|
/**
|
|
* Gets the default type url for ServiceDescriptorProto
|
|
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
* @returns The default type url
|
|
*/
|
|
static getTypeUrl(typeUrlPrefix?: string): string;
|
|
}
|
|
|
|
/** Properties of a MethodDescriptorProto. */
|
|
interface IMethodDescriptorProto {
|
|
|
|
/** MethodDescriptorProto name */
|
|
name?: (string|null);
|
|
|
|
/** MethodDescriptorProto inputType */
|
|
inputType?: (string|null);
|
|
|
|
/** MethodDescriptorProto outputType */
|
|
outputType?: (string|null);
|
|
|
|
/** MethodDescriptorProto options */
|
|
options?: (google.protobuf.IMethodOptions|null);
|
|
|
|
/** MethodDescriptorProto clientStreaming */
|
|
clientStreaming?: (boolean|null);
|
|
|
|
/** MethodDescriptorProto serverStreaming */
|
|
serverStreaming?: (boolean|null);
|
|
}
|
|
|
|
/** Represents a MethodDescriptorProto. */
|
|
class MethodDescriptorProto implements IMethodDescriptorProto {
|
|
|
|
/**
|
|
* Constructs a new MethodDescriptorProto.
|
|
* @param [properties] Properties to set
|
|
*/
|
|
constructor(properties?: google.protobuf.IMethodDescriptorProto);
|
|
|
|
/** MethodDescriptorProto name. */
|
|
name: string;
|
|
|
|
/** MethodDescriptorProto inputType. */
|
|
inputType: string;
|
|
|
|
/** MethodDescriptorProto outputType. */
|
|
outputType: string;
|
|
|
|
/** MethodDescriptorProto options. */
|
|
options?: (google.protobuf.IMethodOptions|null);
|
|
|
|
/** MethodDescriptorProto clientStreaming. */
|
|
clientStreaming: boolean;
|
|
|
|
/** MethodDescriptorProto serverStreaming. */
|
|
serverStreaming: boolean;
|
|
|
|
/**
|
|
* Creates a new MethodDescriptorProto instance using the specified properties.
|
|
* @param [properties] Properties to set
|
|
* @returns MethodDescriptorProto instance
|
|
*/
|
|
static create(properties?: google.protobuf.IMethodDescriptorProto): google.protobuf.MethodDescriptorProto;
|
|
|
|
/**
|
|
* Encodes the specified MethodDescriptorProto message. Does not implicitly {@link google.protobuf.MethodDescriptorProto.verify|verify} messages.
|
|
* @param message MethodDescriptorProto message or plain object to encode
|
|
* @param [writer] Writer to encode to
|
|
* @returns Writer
|
|
*/
|
|
static encode(message: google.protobuf.IMethodDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
|
|
/**
|
|
* Encodes the specified MethodDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.MethodDescriptorProto.verify|verify} messages.
|
|
* @param message MethodDescriptorProto message or plain object to encode
|
|
* @param [writer] Writer to encode to
|
|
* @returns Writer
|
|
*/
|
|
static encodeDelimited(message: google.protobuf.IMethodDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
|
|
/**
|
|
* Decodes a MethodDescriptorProto message from the specified reader or buffer.
|
|
* @param reader Reader or buffer to decode from
|
|
* @param [length] Message length if known beforehand
|
|
* @returns MethodDescriptorProto
|
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
*/
|
|
static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.MethodDescriptorProto;
|
|
|
|
/**
|
|
* Decodes a MethodDescriptorProto message from the specified reader or buffer, length delimited.
|
|
* @param reader Reader or buffer to decode from
|
|
* @returns MethodDescriptorProto
|
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
*/
|
|
static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.MethodDescriptorProto;
|
|
|
|
/**
|
|
* Verifies a MethodDescriptorProto message.
|
|
* @param message Plain object to verify
|
|
* @returns `null` if valid, otherwise the reason why it is not
|
|
*/
|
|
static verify(message: { [k: string]: any }): (string|null);
|
|
|
|
/**
|
|
* Creates a MethodDescriptorProto message from a plain object. Also converts values to their respective internal types.
|
|
* @param object Plain object
|
|
* @returns MethodDescriptorProto
|
|
*/
|
|
static fromObject(object: { [k: string]: any }): google.protobuf.MethodDescriptorProto;
|
|
|
|
/**
|
|
* Creates a plain object from a MethodDescriptorProto message. Also converts values to other types if specified.
|
|
* @param message MethodDescriptorProto
|
|
* @param [options] Conversion options
|
|
* @returns Plain object
|
|
*/
|
|
static toObject(message: google.protobuf.MethodDescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
|
|
/**
|
|
* Converts this MethodDescriptorProto to JSON.
|
|
* @returns JSON object
|
|
*/
|
|
toJSON(): { [k: string]: any };
|
|
|
|
/**
|
|
* Gets the default type url for MethodDescriptorProto
|
|
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
* @returns The default type url
|
|
*/
|
|
static getTypeUrl(typeUrlPrefix?: string): string;
|
|
}
|
|
|
|
/** Properties of a FileOptions. */
|
|
interface IFileOptions {
|
|
|
|
/** FileOptions javaPackage */
|
|
javaPackage?: (string|null);
|
|
|
|
/** FileOptions javaOuterClassname */
|
|
javaOuterClassname?: (string|null);
|
|
|
|
/** FileOptions javaMultipleFiles */
|
|
javaMultipleFiles?: (boolean|null);
|
|
|
|
/** FileOptions javaGenerateEqualsAndHash */
|
|
javaGenerateEqualsAndHash?: (boolean|null);
|
|
|
|
/** FileOptions javaStringCheckUtf8 */
|
|
javaStringCheckUtf8?: (boolean|null);
|
|
|
|
/** FileOptions optimizeFor */
|
|
optimizeFor?: (google.protobuf.FileOptions.OptimizeMode|null);
|
|
|
|
/** FileOptions goPackage */
|
|
goPackage?: (string|null);
|
|
|
|
/** FileOptions ccGenericServices */
|
|
ccGenericServices?: (boolean|null);
|
|
|
|
/** FileOptions javaGenericServices */
|
|
javaGenericServices?: (boolean|null);
|
|
|
|
/** FileOptions pyGenericServices */
|
|
pyGenericServices?: (boolean|null);
|
|
|
|
/** FileOptions deprecated */
|
|
deprecated?: (boolean|null);
|
|
|
|
/** FileOptions ccEnableArenas */
|
|
ccEnableArenas?: (boolean|null);
|
|
|
|
/** FileOptions objcClassPrefix */
|
|
objcClassPrefix?: (string|null);
|
|
|
|
/** FileOptions csharpNamespace */
|
|
csharpNamespace?: (string|null);
|
|
|
|
/** FileOptions swiftPrefix */
|
|
swiftPrefix?: (string|null);
|
|
|
|
/** FileOptions phpClassPrefix */
|
|
phpClassPrefix?: (string|null);
|
|
|
|
/** FileOptions phpNamespace */
|
|
phpNamespace?: (string|null);
|
|
|
|
/** FileOptions phpMetadataNamespace */
|
|
phpMetadataNamespace?: (string|null);
|
|
|
|
/** FileOptions rubyPackage */
|
|
rubyPackage?: (string|null);
|
|
|
|
/** FileOptions features */
|
|
features?: (google.protobuf.IFeatureSet|null);
|
|
|
|
/** FileOptions uninterpretedOption */
|
|
uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
|
|
}
|
|
|
|
/** Represents a FileOptions. */
|
|
class FileOptions implements IFileOptions {
|
|
|
|
/**
|
|
* Constructs a new FileOptions.
|
|
* @param [properties] Properties to set
|
|
*/
|
|
constructor(properties?: google.protobuf.IFileOptions);
|
|
|
|
/** FileOptions javaPackage. */
|
|
javaPackage: string;
|
|
|
|
/** FileOptions javaOuterClassname. */
|
|
javaOuterClassname: string;
|
|
|
|
/** FileOptions javaMultipleFiles. */
|
|
javaMultipleFiles: boolean;
|
|
|
|
/** FileOptions javaGenerateEqualsAndHash. */
|
|
javaGenerateEqualsAndHash: boolean;
|
|
|
|
/** FileOptions javaStringCheckUtf8. */
|
|
javaStringCheckUtf8: boolean;
|
|
|
|
/** FileOptions optimizeFor. */
|
|
optimizeFor: google.protobuf.FileOptions.OptimizeMode;
|
|
|
|
/** FileOptions goPackage. */
|
|
goPackage: string;
|
|
|
|
/** FileOptions ccGenericServices. */
|
|
ccGenericServices: boolean;
|
|
|
|
/** FileOptions javaGenericServices. */
|
|
javaGenericServices: boolean;
|
|
|
|
/** FileOptions pyGenericServices. */
|
|
pyGenericServices: boolean;
|
|
|
|
/** FileOptions deprecated. */
|
|
deprecated: boolean;
|
|
|
|
/** FileOptions ccEnableArenas. */
|
|
ccEnableArenas: boolean;
|
|
|
|
/** FileOptions objcClassPrefix. */
|
|
objcClassPrefix: string;
|
|
|
|
/** FileOptions csharpNamespace. */
|
|
csharpNamespace: string;
|
|
|
|
/** FileOptions swiftPrefix. */
|
|
swiftPrefix: string;
|
|
|
|
/** FileOptions phpClassPrefix. */
|
|
phpClassPrefix: string;
|
|
|
|
/** FileOptions phpNamespace. */
|
|
phpNamespace: string;
|
|
|
|
/** FileOptions phpMetadataNamespace. */
|
|
phpMetadataNamespace: string;
|
|
|
|
/** FileOptions rubyPackage. */
|
|
rubyPackage: string;
|
|
|
|
/** FileOptions features. */
|
|
features?: (google.protobuf.IFeatureSet|null);
|
|
|
|
/** FileOptions uninterpretedOption. */
|
|
uninterpretedOption: google.protobuf.IUninterpretedOption[];
|
|
|
|
/**
|
|
* Creates a new FileOptions instance using the specified properties.
|
|
* @param [properties] Properties to set
|
|
* @returns FileOptions instance
|
|
*/
|
|
static create(properties?: google.protobuf.IFileOptions): google.protobuf.FileOptions;
|
|
|
|
/**
|
|
* Encodes the specified FileOptions message. Does not implicitly {@link google.protobuf.FileOptions.verify|verify} messages.
|
|
* @param message FileOptions message or plain object to encode
|
|
* @param [writer] Writer to encode to
|
|
* @returns Writer
|
|
*/
|
|
static encode(message: google.protobuf.IFileOptions, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
|
|
/**
|
|
* Encodes the specified FileOptions message, length delimited. Does not implicitly {@link google.protobuf.FileOptions.verify|verify} messages.
|
|
* @param message FileOptions message or plain object to encode
|
|
* @param [writer] Writer to encode to
|
|
* @returns Writer
|
|
*/
|
|
static encodeDelimited(message: google.protobuf.IFileOptions, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
|
|
/**
|
|
* Decodes a FileOptions message from the specified reader or buffer.
|
|
* @param reader Reader or buffer to decode from
|
|
* @param [length] Message length if known beforehand
|
|
* @returns FileOptions
|
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
*/
|
|
static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FileOptions;
|
|
|
|
/**
|
|
* Decodes a FileOptions message from the specified reader or buffer, length delimited.
|
|
* @param reader Reader or buffer to decode from
|
|
* @returns FileOptions
|
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
*/
|
|
static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FileOptions;
|
|
|
|
/**
|
|
* Verifies a FileOptions message.
|
|
* @param message Plain object to verify
|
|
* @returns `null` if valid, otherwise the reason why it is not
|
|
*/
|
|
static verify(message: { [k: string]: any }): (string|null);
|
|
|
|
/**
|
|
* Creates a FileOptions message from a plain object. Also converts values to their respective internal types.
|
|
* @param object Plain object
|
|
* @returns FileOptions
|
|
*/
|
|
static fromObject(object: { [k: string]: any }): google.protobuf.FileOptions;
|
|
|
|
/**
|
|
* Creates a plain object from a FileOptions message. Also converts values to other types if specified.
|
|
* @param message FileOptions
|
|
* @param [options] Conversion options
|
|
* @returns Plain object
|
|
*/
|
|
static toObject(message: google.protobuf.FileOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
|
|
/**
|
|
* Converts this FileOptions to JSON.
|
|
* @returns JSON object
|
|
*/
|
|
toJSON(): { [k: string]: any };
|
|
|
|
/**
|
|
* Gets the default type url for FileOptions
|
|
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
* @returns The default type url
|
|
*/
|
|
static getTypeUrl(typeUrlPrefix?: string): string;
|
|
}
|
|
|
|
namespace FileOptions {
|
|
|
|
/** OptimizeMode enum. */
|
|
enum OptimizeMode {
|
|
SPEED = 1,
|
|
CODE_SIZE = 2,
|
|
LITE_RUNTIME = 3
|
|
}
|
|
}
|
|
|
|
/** Properties of a MessageOptions. */
|
|
interface IMessageOptions {
|
|
|
|
/** MessageOptions messageSetWireFormat */
|
|
messageSetWireFormat?: (boolean|null);
|
|
|
|
/** MessageOptions noStandardDescriptorAccessor */
|
|
noStandardDescriptorAccessor?: (boolean|null);
|
|
|
|
/** MessageOptions deprecated */
|
|
deprecated?: (boolean|null);
|
|
|
|
/** MessageOptions mapEntry */
|
|
mapEntry?: (boolean|null);
|
|
|
|
/** MessageOptions deprecatedLegacyJsonFieldConflicts */
|
|
deprecatedLegacyJsonFieldConflicts?: (boolean|null);
|
|
|
|
/** MessageOptions features */
|
|
features?: (google.protobuf.IFeatureSet|null);
|
|
|
|
/** MessageOptions uninterpretedOption */
|
|
uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
|
|
}
|
|
|
|
/** Represents a MessageOptions. */
|
|
class MessageOptions implements IMessageOptions {
|
|
|
|
/**
|
|
* Constructs a new MessageOptions.
|
|
* @param [properties] Properties to set
|
|
*/
|
|
constructor(properties?: google.protobuf.IMessageOptions);
|
|
|
|
/** MessageOptions messageSetWireFormat. */
|
|
messageSetWireFormat: boolean;
|
|
|
|
/** MessageOptions noStandardDescriptorAccessor. */
|
|
noStandardDescriptorAccessor: boolean;
|
|
|
|
/** MessageOptions deprecated. */
|
|
deprecated: boolean;
|
|
|
|
/** MessageOptions mapEntry. */
|
|
mapEntry: boolean;
|
|
|
|
/** MessageOptions deprecatedLegacyJsonFieldConflicts. */
|
|
deprecatedLegacyJsonFieldConflicts: boolean;
|
|
|
|
/** MessageOptions features. */
|
|
features?: (google.protobuf.IFeatureSet|null);
|
|
|
|
/** MessageOptions uninterpretedOption. */
|
|
uninterpretedOption: google.protobuf.IUninterpretedOption[];
|
|
|
|
/**
|
|
* Creates a new MessageOptions instance using the specified properties.
|
|
* @param [properties] Properties to set
|
|
* @returns MessageOptions instance
|
|
*/
|
|
static create(properties?: google.protobuf.IMessageOptions): google.protobuf.MessageOptions;
|
|
|
|
/**
|
|
* Encodes the specified MessageOptions message. Does not implicitly {@link google.protobuf.MessageOptions.verify|verify} messages.
|
|
* @param message MessageOptions message or plain object to encode
|
|
* @param [writer] Writer to encode to
|
|
* @returns Writer
|
|
*/
|
|
static encode(message: google.protobuf.IMessageOptions, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
|
|
/**
|
|
* Encodes the specified MessageOptions message, length delimited. Does not implicitly {@link google.protobuf.MessageOptions.verify|verify} messages.
|
|
* @param message MessageOptions message or plain object to encode
|
|
* @param [writer] Writer to encode to
|
|
* @returns Writer
|
|
*/
|
|
static encodeDelimited(message: google.protobuf.IMessageOptions, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
|
|
/**
|
|
* Decodes a MessageOptions message from the specified reader or buffer.
|
|
* @param reader Reader or buffer to decode from
|
|
* @param [length] Message length if known beforehand
|
|
* @returns MessageOptions
|
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
*/
|
|
static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.MessageOptions;
|
|
|
|
/**
|
|
* Decodes a MessageOptions message from the specified reader or buffer, length delimited.
|
|
* @param reader Reader or buffer to decode from
|
|
* @returns MessageOptions
|
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
*/
|
|
static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.MessageOptions;
|
|
|
|
/**
|
|
* Verifies a MessageOptions message.
|
|
* @param message Plain object to verify
|
|
* @returns `null` if valid, otherwise the reason why it is not
|
|
*/
|
|
static verify(message: { [k: string]: any }): (string|null);
|
|
|
|
/**
|
|
* Creates a MessageOptions message from a plain object. Also converts values to their respective internal types.
|
|
* @param object Plain object
|
|
* @returns MessageOptions
|
|
*/
|
|
static fromObject(object: { [k: string]: any }): google.protobuf.MessageOptions;
|
|
|
|
/**
|
|
* Creates a plain object from a MessageOptions message. Also converts values to other types if specified.
|
|
* @param message MessageOptions
|
|
* @param [options] Conversion options
|
|
* @returns Plain object
|
|
*/
|
|
static toObject(message: google.protobuf.MessageOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
|
|
/**
|
|
* Converts this MessageOptions to JSON.
|
|
* @returns JSON object
|
|
*/
|
|
toJSON(): { [k: string]: any };
|
|
|
|
/**
|
|
* Gets the default type url for MessageOptions
|
|
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
* @returns The default type url
|
|
*/
|
|
static getTypeUrl(typeUrlPrefix?: string): string;
|
|
}
|
|
|
|
/** Properties of a FieldOptions. */
|
|
interface IFieldOptions {
|
|
|
|
/** FieldOptions ctype */
|
|
ctype?: (google.protobuf.FieldOptions.CType|null);
|
|
|
|
/** FieldOptions packed */
|
|
packed?: (boolean|null);
|
|
|
|
/** FieldOptions jstype */
|
|
jstype?: (google.protobuf.FieldOptions.JSType|null);
|
|
|
|
/** FieldOptions lazy */
|
|
lazy?: (boolean|null);
|
|
|
|
/** FieldOptions unverifiedLazy */
|
|
unverifiedLazy?: (boolean|null);
|
|
|
|
/** FieldOptions deprecated */
|
|
deprecated?: (boolean|null);
|
|
|
|
/** FieldOptions weak */
|
|
weak?: (boolean|null);
|
|
|
|
/** FieldOptions debugRedact */
|
|
debugRedact?: (boolean|null);
|
|
|
|
/** FieldOptions retention */
|
|
retention?: (google.protobuf.FieldOptions.OptionRetention|null);
|
|
|
|
/** FieldOptions targets */
|
|
targets?: (google.protobuf.FieldOptions.OptionTargetType[]|null);
|
|
|
|
/** FieldOptions editionDefaults */
|
|
editionDefaults?: (google.protobuf.FieldOptions.IEditionDefault[]|null);
|
|
|
|
/** FieldOptions features */
|
|
features?: (google.protobuf.IFeatureSet|null);
|
|
|
|
/** FieldOptions featureSupport */
|
|
featureSupport?: (google.protobuf.FieldOptions.IFeatureSupport|null);
|
|
|
|
/** FieldOptions uninterpretedOption */
|
|
uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
|
|
}
|
|
|
|
/** Represents a FieldOptions. */
|
|
class FieldOptions implements IFieldOptions {
|
|
|
|
/**
|
|
* Constructs a new FieldOptions.
|
|
* @param [properties] Properties to set
|
|
*/
|
|
constructor(properties?: google.protobuf.IFieldOptions);
|
|
|
|
/** FieldOptions ctype. */
|
|
ctype: google.protobuf.FieldOptions.CType;
|
|
|
|
/** FieldOptions packed. */
|
|
packed: boolean;
|
|
|
|
/** FieldOptions jstype. */
|
|
jstype: google.protobuf.FieldOptions.JSType;
|
|
|
|
/** FieldOptions lazy. */
|
|
lazy: boolean;
|
|
|
|
/** FieldOptions unverifiedLazy. */
|
|
unverifiedLazy: boolean;
|
|
|
|
/** FieldOptions deprecated. */
|
|
deprecated: boolean;
|
|
|
|
/** FieldOptions weak. */
|
|
weak: boolean;
|
|
|
|
/** FieldOptions debugRedact. */
|
|
debugRedact: boolean;
|
|
|
|
/** FieldOptions retention. */
|
|
retention: google.protobuf.FieldOptions.OptionRetention;
|
|
|
|
/** FieldOptions targets. */
|
|
targets: google.protobuf.FieldOptions.OptionTargetType[];
|
|
|
|
/** FieldOptions editionDefaults. */
|
|
editionDefaults: google.protobuf.FieldOptions.IEditionDefault[];
|
|
|
|
/** FieldOptions features. */
|
|
features?: (google.protobuf.IFeatureSet|null);
|
|
|
|
/** FieldOptions featureSupport. */
|
|
featureSupport?: (google.protobuf.FieldOptions.IFeatureSupport|null);
|
|
|
|
/** FieldOptions uninterpretedOption. */
|
|
uninterpretedOption: google.protobuf.IUninterpretedOption[];
|
|
|
|
/**
|
|
* Creates a new FieldOptions instance using the specified properties.
|
|
* @param [properties] Properties to set
|
|
* @returns FieldOptions instance
|
|
*/
|
|
static create(properties?: google.protobuf.IFieldOptions): google.protobuf.FieldOptions;
|
|
|
|
/**
|
|
* Encodes the specified FieldOptions message. Does not implicitly {@link google.protobuf.FieldOptions.verify|verify} messages.
|
|
* @param message FieldOptions message or plain object to encode
|
|
* @param [writer] Writer to encode to
|
|
* @returns Writer
|
|
*/
|
|
static encode(message: google.protobuf.IFieldOptions, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
|
|
/**
|
|
* Encodes the specified FieldOptions message, length delimited. Does not implicitly {@link google.protobuf.FieldOptions.verify|verify} messages.
|
|
* @param message FieldOptions message or plain object to encode
|
|
* @param [writer] Writer to encode to
|
|
* @returns Writer
|
|
*/
|
|
static encodeDelimited(message: google.protobuf.IFieldOptions, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
|
|
/**
|
|
* Decodes a FieldOptions message from the specified reader or buffer.
|
|
* @param reader Reader or buffer to decode from
|
|
* @param [length] Message length if known beforehand
|
|
* @returns FieldOptions
|
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
*/
|
|
static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FieldOptions;
|
|
|
|
/**
|
|
* Decodes a FieldOptions message from the specified reader or buffer, length delimited.
|
|
* @param reader Reader or buffer to decode from
|
|
* @returns FieldOptions
|
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
*/
|
|
static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FieldOptions;
|
|
|
|
/**
|
|
* Verifies a FieldOptions message.
|
|
* @param message Plain object to verify
|
|
* @returns `null` if valid, otherwise the reason why it is not
|
|
*/
|
|
static verify(message: { [k: string]: any }): (string|null);
|
|
|
|
/**
|
|
* Creates a FieldOptions message from a plain object. Also converts values to their respective internal types.
|
|
* @param object Plain object
|
|
* @returns FieldOptions
|
|
*/
|
|
static fromObject(object: { [k: string]: any }): google.protobuf.FieldOptions;
|
|
|
|
/**
|
|
* Creates a plain object from a FieldOptions message. Also converts values to other types if specified.
|
|
* @param message FieldOptions
|
|
* @param [options] Conversion options
|
|
* @returns Plain object
|
|
*/
|
|
static toObject(message: google.protobuf.FieldOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
|
|
/**
|
|
* Converts this FieldOptions to JSON.
|
|
* @returns JSON object
|
|
*/
|
|
toJSON(): { [k: string]: any };
|
|
|
|
/**
|
|
* Gets the default type url for FieldOptions
|
|
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
* @returns The default type url
|
|
*/
|
|
static getTypeUrl(typeUrlPrefix?: string): string;
|
|
}
|
|
|
|
namespace FieldOptions {
|
|
|
|
/** CType enum. */
|
|
enum CType {
|
|
STRING = 0,
|
|
CORD = 1,
|
|
STRING_PIECE = 2
|
|
}
|
|
|
|
/** JSType enum. */
|
|
enum JSType {
|
|
JS_NORMAL = 0,
|
|
JS_STRING = 1,
|
|
JS_NUMBER = 2
|
|
}
|
|
|
|
/** OptionRetention enum. */
|
|
enum OptionRetention {
|
|
RETENTION_UNKNOWN = 0,
|
|
RETENTION_RUNTIME = 1,
|
|
RETENTION_SOURCE = 2
|
|
}
|
|
|
|
/** OptionTargetType enum. */
|
|
enum OptionTargetType {
|
|
TARGET_TYPE_UNKNOWN = 0,
|
|
TARGET_TYPE_FILE = 1,
|
|
TARGET_TYPE_EXTENSION_RANGE = 2,
|
|
TARGET_TYPE_MESSAGE = 3,
|
|
TARGET_TYPE_FIELD = 4,
|
|
TARGET_TYPE_ONEOF = 5,
|
|
TARGET_TYPE_ENUM = 6,
|
|
TARGET_TYPE_ENUM_ENTRY = 7,
|
|
TARGET_TYPE_SERVICE = 8,
|
|
TARGET_TYPE_METHOD = 9
|
|
}
|
|
|
|
/** Properties of an EditionDefault. */
|
|
interface IEditionDefault {
|
|
|
|
/** EditionDefault edition */
|
|
edition?: (google.protobuf.Edition|null);
|
|
|
|
/** EditionDefault value */
|
|
value?: (string|null);
|
|
}
|
|
|
|
/** Represents an EditionDefault. */
|
|
class EditionDefault implements IEditionDefault {
|
|
|
|
/**
|
|
* Constructs a new EditionDefault.
|
|
* @param [properties] Properties to set
|
|
*/
|
|
constructor(properties?: google.protobuf.FieldOptions.IEditionDefault);
|
|
|
|
/** EditionDefault edition. */
|
|
edition: google.protobuf.Edition;
|
|
|
|
/** EditionDefault value. */
|
|
value: string;
|
|
|
|
/**
|
|
* Creates a new EditionDefault instance using the specified properties.
|
|
* @param [properties] Properties to set
|
|
* @returns EditionDefault instance
|
|
*/
|
|
static create(properties?: google.protobuf.FieldOptions.IEditionDefault): google.protobuf.FieldOptions.EditionDefault;
|
|
|
|
/**
|
|
* Encodes the specified EditionDefault message. Does not implicitly {@link google.protobuf.FieldOptions.EditionDefault.verify|verify} messages.
|
|
* @param message EditionDefault message or plain object to encode
|
|
* @param [writer] Writer to encode to
|
|
* @returns Writer
|
|
*/
|
|
static encode(message: google.protobuf.FieldOptions.IEditionDefault, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
|
|
/**
|
|
* Encodes the specified EditionDefault message, length delimited. Does not implicitly {@link google.protobuf.FieldOptions.EditionDefault.verify|verify} messages.
|
|
* @param message EditionDefault message or plain object to encode
|
|
* @param [writer] Writer to encode to
|
|
* @returns Writer
|
|
*/
|
|
static encodeDelimited(message: google.protobuf.FieldOptions.IEditionDefault, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
|
|
/**
|
|
* Decodes an EditionDefault message from the specified reader or buffer.
|
|
* @param reader Reader or buffer to decode from
|
|
* @param [length] Message length if known beforehand
|
|
* @returns EditionDefault
|
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
*/
|
|
static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FieldOptions.EditionDefault;
|
|
|
|
/**
|
|
* Decodes an EditionDefault message from the specified reader or buffer, length delimited.
|
|
* @param reader Reader or buffer to decode from
|
|
* @returns EditionDefault
|
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
*/
|
|
static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FieldOptions.EditionDefault;
|
|
|
|
/**
|
|
* Verifies an EditionDefault message.
|
|
* @param message Plain object to verify
|
|
* @returns `null` if valid, otherwise the reason why it is not
|
|
*/
|
|
static verify(message: { [k: string]: any }): (string|null);
|
|
|
|
/**
|
|
* Creates an EditionDefault message from a plain object. Also converts values to their respective internal types.
|
|
* @param object Plain object
|
|
* @returns EditionDefault
|
|
*/
|
|
static fromObject(object: { [k: string]: any }): google.protobuf.FieldOptions.EditionDefault;
|
|
|
|
/**
|
|
* Creates a plain object from an EditionDefault message. Also converts values to other types if specified.
|
|
* @param message EditionDefault
|
|
* @param [options] Conversion options
|
|
* @returns Plain object
|
|
*/
|
|
static toObject(message: google.protobuf.FieldOptions.EditionDefault, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
|
|
/**
|
|
* Converts this EditionDefault to JSON.
|
|
* @returns JSON object
|
|
*/
|
|
toJSON(): { [k: string]: any };
|
|
|
|
/**
|
|
* Gets the default type url for EditionDefault
|
|
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
* @returns The default type url
|
|
*/
|
|
static getTypeUrl(typeUrlPrefix?: string): string;
|
|
}
|
|
|
|
/** Properties of a FeatureSupport. */
|
|
interface IFeatureSupport {
|
|
|
|
/** FeatureSupport editionIntroduced */
|
|
editionIntroduced?: (google.protobuf.Edition|null);
|
|
|
|
/** FeatureSupport editionDeprecated */
|
|
editionDeprecated?: (google.protobuf.Edition|null);
|
|
|
|
/** FeatureSupport deprecationWarning */
|
|
deprecationWarning?: (string|null);
|
|
|
|
/** FeatureSupport editionRemoved */
|
|
editionRemoved?: (google.protobuf.Edition|null);
|
|
}
|
|
|
|
/** Represents a FeatureSupport. */
|
|
class FeatureSupport implements IFeatureSupport {
|
|
|
|
/**
|
|
* Constructs a new FeatureSupport.
|
|
* @param [properties] Properties to set
|
|
*/
|
|
constructor(properties?: google.protobuf.FieldOptions.IFeatureSupport);
|
|
|
|
/** FeatureSupport editionIntroduced. */
|
|
editionIntroduced: google.protobuf.Edition;
|
|
|
|
/** FeatureSupport editionDeprecated. */
|
|
editionDeprecated: google.protobuf.Edition;
|
|
|
|
/** FeatureSupport deprecationWarning. */
|
|
deprecationWarning: string;
|
|
|
|
/** FeatureSupport editionRemoved. */
|
|
editionRemoved: google.protobuf.Edition;
|
|
|
|
/**
|
|
* Creates a new FeatureSupport instance using the specified properties.
|
|
* @param [properties] Properties to set
|
|
* @returns FeatureSupport instance
|
|
*/
|
|
static create(properties?: google.protobuf.FieldOptions.IFeatureSupport): google.protobuf.FieldOptions.FeatureSupport;
|
|
|
|
/**
|
|
* Encodes the specified FeatureSupport message. Does not implicitly {@link google.protobuf.FieldOptions.FeatureSupport.verify|verify} messages.
|
|
* @param message FeatureSupport message or plain object to encode
|
|
* @param [writer] Writer to encode to
|
|
* @returns Writer
|
|
*/
|
|
static encode(message: google.protobuf.FieldOptions.IFeatureSupport, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
|
|
/**
|
|
* Encodes the specified FeatureSupport message, length delimited. Does not implicitly {@link google.protobuf.FieldOptions.FeatureSupport.verify|verify} messages.
|
|
* @param message FeatureSupport message or plain object to encode
|
|
* @param [writer] Writer to encode to
|
|
* @returns Writer
|
|
*/
|
|
static encodeDelimited(message: google.protobuf.FieldOptions.IFeatureSupport, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
|
|
/**
|
|
* Decodes a FeatureSupport message from the specified reader or buffer.
|
|
* @param reader Reader or buffer to decode from
|
|
* @param [length] Message length if known beforehand
|
|
* @returns FeatureSupport
|
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
*/
|
|
static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FieldOptions.FeatureSupport;
|
|
|
|
/**
|
|
* Decodes a FeatureSupport message from the specified reader or buffer, length delimited.
|
|
* @param reader Reader or buffer to decode from
|
|
* @returns FeatureSupport
|
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
*/
|
|
static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FieldOptions.FeatureSupport;
|
|
|
|
/**
|
|
* Verifies a FeatureSupport message.
|
|
* @param message Plain object to verify
|
|
* @returns `null` if valid, otherwise the reason why it is not
|
|
*/
|
|
static verify(message: { [k: string]: any }): (string|null);
|
|
|
|
/**
|
|
* Creates a FeatureSupport message from a plain object. Also converts values to their respective internal types.
|
|
* @param object Plain object
|
|
* @returns FeatureSupport
|
|
*/
|
|
static fromObject(object: { [k: string]: any }): google.protobuf.FieldOptions.FeatureSupport;
|
|
|
|
/**
|
|
* Creates a plain object from a FeatureSupport message. Also converts values to other types if specified.
|
|
* @param message FeatureSupport
|
|
* @param [options] Conversion options
|
|
* @returns Plain object
|
|
*/
|
|
static toObject(message: google.protobuf.FieldOptions.FeatureSupport, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
|
|
/**
|
|
* Converts this FeatureSupport to JSON.
|
|
* @returns JSON object
|
|
*/
|
|
toJSON(): { [k: string]: any };
|
|
|
|
/**
|
|
* Gets the default type url for FeatureSupport
|
|
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
* @returns The default type url
|
|
*/
|
|
static getTypeUrl(typeUrlPrefix?: string): string;
|
|
}
|
|
}
|
|
|
|
/** Properties of an OneofOptions. */
|
|
interface IOneofOptions {
|
|
|
|
/** OneofOptions features */
|
|
features?: (google.protobuf.IFeatureSet|null);
|
|
|
|
/** OneofOptions uninterpretedOption */
|
|
uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
|
|
}
|
|
|
|
/** Represents an OneofOptions. */
|
|
class OneofOptions implements IOneofOptions {
|
|
|
|
/**
|
|
* Constructs a new OneofOptions.
|
|
* @param [properties] Properties to set
|
|
*/
|
|
constructor(properties?: google.protobuf.IOneofOptions);
|
|
|
|
/** OneofOptions features. */
|
|
features?: (google.protobuf.IFeatureSet|null);
|
|
|
|
/** OneofOptions uninterpretedOption. */
|
|
uninterpretedOption: google.protobuf.IUninterpretedOption[];
|
|
|
|
/**
|
|
* Creates a new OneofOptions instance using the specified properties.
|
|
* @param [properties] Properties to set
|
|
* @returns OneofOptions instance
|
|
*/
|
|
static create(properties?: google.protobuf.IOneofOptions): google.protobuf.OneofOptions;
|
|
|
|
/**
|
|
* Encodes the specified OneofOptions message. Does not implicitly {@link google.protobuf.OneofOptions.verify|verify} messages.
|
|
* @param message OneofOptions message or plain object to encode
|
|
* @param [writer] Writer to encode to
|
|
* @returns Writer
|
|
*/
|
|
static encode(message: google.protobuf.IOneofOptions, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
|
|
/**
|
|
* Encodes the specified OneofOptions message, length delimited. Does not implicitly {@link google.protobuf.OneofOptions.verify|verify} messages.
|
|
* @param message OneofOptions message or plain object to encode
|
|
* @param [writer] Writer to encode to
|
|
* @returns Writer
|
|
*/
|
|
static encodeDelimited(message: google.protobuf.IOneofOptions, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
|
|
/**
|
|
* Decodes an OneofOptions message from the specified reader or buffer.
|
|
* @param reader Reader or buffer to decode from
|
|
* @param [length] Message length if known beforehand
|
|
* @returns OneofOptions
|
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
*/
|
|
static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.OneofOptions;
|
|
|
|
/**
|
|
* Decodes an OneofOptions message from the specified reader or buffer, length delimited.
|
|
* @param reader Reader or buffer to decode from
|
|
* @returns OneofOptions
|
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
*/
|
|
static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.OneofOptions;
|
|
|
|
/**
|
|
* Verifies an OneofOptions message.
|
|
* @param message Plain object to verify
|
|
* @returns `null` if valid, otherwise the reason why it is not
|
|
*/
|
|
static verify(message: { [k: string]: any }): (string|null);
|
|
|
|
/**
|
|
* Creates an OneofOptions message from a plain object. Also converts values to their respective internal types.
|
|
* @param object Plain object
|
|
* @returns OneofOptions
|
|
*/
|
|
static fromObject(object: { [k: string]: any }): google.protobuf.OneofOptions;
|
|
|
|
/**
|
|
* Creates a plain object from an OneofOptions message. Also converts values to other types if specified.
|
|
* @param message OneofOptions
|
|
* @param [options] Conversion options
|
|
* @returns Plain object
|
|
*/
|
|
static toObject(message: google.protobuf.OneofOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
|
|
/**
|
|
* Converts this OneofOptions to JSON.
|
|
* @returns JSON object
|
|
*/
|
|
toJSON(): { [k: string]: any };
|
|
|
|
/**
|
|
* Gets the default type url for OneofOptions
|
|
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
* @returns The default type url
|
|
*/
|
|
static getTypeUrl(typeUrlPrefix?: string): string;
|
|
}
|
|
|
|
/** Properties of an EnumOptions. */
|
|
interface IEnumOptions {
|
|
|
|
/** EnumOptions allowAlias */
|
|
allowAlias?: (boolean|null);
|
|
|
|
/** EnumOptions deprecated */
|
|
deprecated?: (boolean|null);
|
|
|
|
/** EnumOptions deprecatedLegacyJsonFieldConflicts */
|
|
deprecatedLegacyJsonFieldConflicts?: (boolean|null);
|
|
|
|
/** EnumOptions features */
|
|
features?: (google.protobuf.IFeatureSet|null);
|
|
|
|
/** EnumOptions uninterpretedOption */
|
|
uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
|
|
}
|
|
|
|
/** Represents an EnumOptions. */
|
|
class EnumOptions implements IEnumOptions {
|
|
|
|
/**
|
|
* Constructs a new EnumOptions.
|
|
* @param [properties] Properties to set
|
|
*/
|
|
constructor(properties?: google.protobuf.IEnumOptions);
|
|
|
|
/** EnumOptions allowAlias. */
|
|
allowAlias: boolean;
|
|
|
|
/** EnumOptions deprecated. */
|
|
deprecated: boolean;
|
|
|
|
/** EnumOptions deprecatedLegacyJsonFieldConflicts. */
|
|
deprecatedLegacyJsonFieldConflicts: boolean;
|
|
|
|
/** EnumOptions features. */
|
|
features?: (google.protobuf.IFeatureSet|null);
|
|
|
|
/** EnumOptions uninterpretedOption. */
|
|
uninterpretedOption: google.protobuf.IUninterpretedOption[];
|
|
|
|
/**
|
|
* Creates a new EnumOptions instance using the specified properties.
|
|
* @param [properties] Properties to set
|
|
* @returns EnumOptions instance
|
|
*/
|
|
static create(properties?: google.protobuf.IEnumOptions): google.protobuf.EnumOptions;
|
|
|
|
/**
|
|
* Encodes the specified EnumOptions message. Does not implicitly {@link google.protobuf.EnumOptions.verify|verify} messages.
|
|
* @param message EnumOptions message or plain object to encode
|
|
* @param [writer] Writer to encode to
|
|
* @returns Writer
|
|
*/
|
|
static encode(message: google.protobuf.IEnumOptions, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
|
|
/**
|
|
* Encodes the specified EnumOptions message, length delimited. Does not implicitly {@link google.protobuf.EnumOptions.verify|verify} messages.
|
|
* @param message EnumOptions message or plain object to encode
|
|
* @param [writer] Writer to encode to
|
|
* @returns Writer
|
|
*/
|
|
static encodeDelimited(message: google.protobuf.IEnumOptions, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
|
|
/**
|
|
* Decodes an EnumOptions message from the specified reader or buffer.
|
|
* @param reader Reader or buffer to decode from
|
|
* @param [length] Message length if known beforehand
|
|
* @returns EnumOptions
|
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
*/
|
|
static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.EnumOptions;
|
|
|
|
/**
|
|
* Decodes an EnumOptions message from the specified reader or buffer, length delimited.
|
|
* @param reader Reader or buffer to decode from
|
|
* @returns EnumOptions
|
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
*/
|
|
static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.EnumOptions;
|
|
|
|
/**
|
|
* Verifies an EnumOptions message.
|
|
* @param message Plain object to verify
|
|
* @returns `null` if valid, otherwise the reason why it is not
|
|
*/
|
|
static verify(message: { [k: string]: any }): (string|null);
|
|
|
|
/**
|
|
* Creates an EnumOptions message from a plain object. Also converts values to their respective internal types.
|
|
* @param object Plain object
|
|
* @returns EnumOptions
|
|
*/
|
|
static fromObject(object: { [k: string]: any }): google.protobuf.EnumOptions;
|
|
|
|
/**
|
|
* Creates a plain object from an EnumOptions message. Also converts values to other types if specified.
|
|
* @param message EnumOptions
|
|
* @param [options] Conversion options
|
|
* @returns Plain object
|
|
*/
|
|
static toObject(message: google.protobuf.EnumOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
|
|
/**
|
|
* Converts this EnumOptions to JSON.
|
|
* @returns JSON object
|
|
*/
|
|
toJSON(): { [k: string]: any };
|
|
|
|
/**
|
|
* Gets the default type url for EnumOptions
|
|
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
* @returns The default type url
|
|
*/
|
|
static getTypeUrl(typeUrlPrefix?: string): string;
|
|
}
|
|
|
|
/** Properties of an EnumValueOptions. */
|
|
interface IEnumValueOptions {
|
|
|
|
/** EnumValueOptions deprecated */
|
|
deprecated?: (boolean|null);
|
|
|
|
/** EnumValueOptions features */
|
|
features?: (google.protobuf.IFeatureSet|null);
|
|
|
|
/** EnumValueOptions debugRedact */
|
|
debugRedact?: (boolean|null);
|
|
|
|
/** EnumValueOptions featureSupport */
|
|
featureSupport?: (google.protobuf.FieldOptions.IFeatureSupport|null);
|
|
|
|
/** EnumValueOptions uninterpretedOption */
|
|
uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
|
|
}
|
|
|
|
/** Represents an EnumValueOptions. */
|
|
class EnumValueOptions implements IEnumValueOptions {
|
|
|
|
/**
|
|
* Constructs a new EnumValueOptions.
|
|
* @param [properties] Properties to set
|
|
*/
|
|
constructor(properties?: google.protobuf.IEnumValueOptions);
|
|
|
|
/** EnumValueOptions deprecated. */
|
|
deprecated: boolean;
|
|
|
|
/** EnumValueOptions features. */
|
|
features?: (google.protobuf.IFeatureSet|null);
|
|
|
|
/** EnumValueOptions debugRedact. */
|
|
debugRedact: boolean;
|
|
|
|
/** EnumValueOptions featureSupport. */
|
|
featureSupport?: (google.protobuf.FieldOptions.IFeatureSupport|null);
|
|
|
|
/** EnumValueOptions uninterpretedOption. */
|
|
uninterpretedOption: google.protobuf.IUninterpretedOption[];
|
|
|
|
/**
|
|
* Creates a new EnumValueOptions instance using the specified properties.
|
|
* @param [properties] Properties to set
|
|
* @returns EnumValueOptions instance
|
|
*/
|
|
static create(properties?: google.protobuf.IEnumValueOptions): google.protobuf.EnumValueOptions;
|
|
|
|
/**
|
|
* Encodes the specified EnumValueOptions message. Does not implicitly {@link google.protobuf.EnumValueOptions.verify|verify} messages.
|
|
* @param message EnumValueOptions message or plain object to encode
|
|
* @param [writer] Writer to encode to
|
|
* @returns Writer
|
|
*/
|
|
static encode(message: google.protobuf.IEnumValueOptions, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
|
|
/**
|
|
* Encodes the specified EnumValueOptions message, length delimited. Does not implicitly {@link google.protobuf.EnumValueOptions.verify|verify} messages.
|
|
* @param message EnumValueOptions message or plain object to encode
|
|
* @param [writer] Writer to encode to
|
|
* @returns Writer
|
|
*/
|
|
static encodeDelimited(message: google.protobuf.IEnumValueOptions, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
|
|
/**
|
|
* Decodes an EnumValueOptions message from the specified reader or buffer.
|
|
* @param reader Reader or buffer to decode from
|
|
* @param [length] Message length if known beforehand
|
|
* @returns EnumValueOptions
|
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
*/
|
|
static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.EnumValueOptions;
|
|
|
|
/**
|
|
* Decodes an EnumValueOptions message from the specified reader or buffer, length delimited.
|
|
* @param reader Reader or buffer to decode from
|
|
* @returns EnumValueOptions
|
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
*/
|
|
static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.EnumValueOptions;
|
|
|
|
/**
|
|
* Verifies an EnumValueOptions message.
|
|
* @param message Plain object to verify
|
|
* @returns `null` if valid, otherwise the reason why it is not
|
|
*/
|
|
static verify(message: { [k: string]: any }): (string|null);
|
|
|
|
/**
|
|
* Creates an EnumValueOptions message from a plain object. Also converts values to their respective internal types.
|
|
* @param object Plain object
|
|
* @returns EnumValueOptions
|
|
*/
|
|
static fromObject(object: { [k: string]: any }): google.protobuf.EnumValueOptions;
|
|
|
|
/**
|
|
* Creates a plain object from an EnumValueOptions message. Also converts values to other types if specified.
|
|
* @param message EnumValueOptions
|
|
* @param [options] Conversion options
|
|
* @returns Plain object
|
|
*/
|
|
static toObject(message: google.protobuf.EnumValueOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
|
|
/**
|
|
* Converts this EnumValueOptions to JSON.
|
|
* @returns JSON object
|
|
*/
|
|
toJSON(): { [k: string]: any };
|
|
|
|
/**
|
|
* Gets the default type url for EnumValueOptions
|
|
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
* @returns The default type url
|
|
*/
|
|
static getTypeUrl(typeUrlPrefix?: string): string;
|
|
}
|
|
|
|
/** Properties of a ServiceOptions. */
|
|
interface IServiceOptions {
|
|
|
|
/** ServiceOptions features */
|
|
features?: (google.protobuf.IFeatureSet|null);
|
|
|
|
/** ServiceOptions deprecated */
|
|
deprecated?: (boolean|null);
|
|
|
|
/** ServiceOptions uninterpretedOption */
|
|
uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
|
|
}
|
|
|
|
/** Represents a ServiceOptions. */
|
|
class ServiceOptions implements IServiceOptions {
|
|
|
|
/**
|
|
* Constructs a new ServiceOptions.
|
|
* @param [properties] Properties to set
|
|
*/
|
|
constructor(properties?: google.protobuf.IServiceOptions);
|
|
|
|
/** ServiceOptions features. */
|
|
features?: (google.protobuf.IFeatureSet|null);
|
|
|
|
/** ServiceOptions deprecated. */
|
|
deprecated: boolean;
|
|
|
|
/** ServiceOptions uninterpretedOption. */
|
|
uninterpretedOption: google.protobuf.IUninterpretedOption[];
|
|
|
|
/**
|
|
* Creates a new ServiceOptions instance using the specified properties.
|
|
* @param [properties] Properties to set
|
|
* @returns ServiceOptions instance
|
|
*/
|
|
static create(properties?: google.protobuf.IServiceOptions): google.protobuf.ServiceOptions;
|
|
|
|
/**
|
|
* Encodes the specified ServiceOptions message. Does not implicitly {@link google.protobuf.ServiceOptions.verify|verify} messages.
|
|
* @param message ServiceOptions message or plain object to encode
|
|
* @param [writer] Writer to encode to
|
|
* @returns Writer
|
|
*/
|
|
static encode(message: google.protobuf.IServiceOptions, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
|
|
/**
|
|
* Encodes the specified ServiceOptions message, length delimited. Does not implicitly {@link google.protobuf.ServiceOptions.verify|verify} messages.
|
|
* @param message ServiceOptions message or plain object to encode
|
|
* @param [writer] Writer to encode to
|
|
* @returns Writer
|
|
*/
|
|
static encodeDelimited(message: google.protobuf.IServiceOptions, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
|
|
/**
|
|
* Decodes a ServiceOptions message from the specified reader or buffer.
|
|
* @param reader Reader or buffer to decode from
|
|
* @param [length] Message length if known beforehand
|
|
* @returns ServiceOptions
|
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
*/
|
|
static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.ServiceOptions;
|
|
|
|
/**
|
|
* Decodes a ServiceOptions message from the specified reader or buffer, length delimited.
|
|
* @param reader Reader or buffer to decode from
|
|
* @returns ServiceOptions
|
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
*/
|
|
static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.ServiceOptions;
|
|
|
|
/**
|
|
* Verifies a ServiceOptions message.
|
|
* @param message Plain object to verify
|
|
* @returns `null` if valid, otherwise the reason why it is not
|
|
*/
|
|
static verify(message: { [k: string]: any }): (string|null);
|
|
|
|
/**
|
|
* Creates a ServiceOptions message from a plain object. Also converts values to their respective internal types.
|
|
* @param object Plain object
|
|
* @returns ServiceOptions
|
|
*/
|
|
static fromObject(object: { [k: string]: any }): google.protobuf.ServiceOptions;
|
|
|
|
/**
|
|
* Creates a plain object from a ServiceOptions message. Also converts values to other types if specified.
|
|
* @param message ServiceOptions
|
|
* @param [options] Conversion options
|
|
* @returns Plain object
|
|
*/
|
|
static toObject(message: google.protobuf.ServiceOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
|
|
/**
|
|
* Converts this ServiceOptions to JSON.
|
|
* @returns JSON object
|
|
*/
|
|
toJSON(): { [k: string]: any };
|
|
|
|
/**
|
|
* Gets the default type url for ServiceOptions
|
|
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
* @returns The default type url
|
|
*/
|
|
static getTypeUrl(typeUrlPrefix?: string): string;
|
|
}
|
|
|
|
/** Properties of a MethodOptions. */
|
|
interface IMethodOptions {
|
|
|
|
/** MethodOptions deprecated */
|
|
deprecated?: (boolean|null);
|
|
|
|
/** MethodOptions idempotencyLevel */
|
|
idempotencyLevel?: (google.protobuf.MethodOptions.IdempotencyLevel|null);
|
|
|
|
/** MethodOptions features */
|
|
features?: (google.protobuf.IFeatureSet|null);
|
|
|
|
/** MethodOptions uninterpretedOption */
|
|
uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
|
|
}
|
|
|
|
/** Represents a MethodOptions. */
|
|
class MethodOptions implements IMethodOptions {
|
|
|
|
/**
|
|
* Constructs a new MethodOptions.
|
|
* @param [properties] Properties to set
|
|
*/
|
|
constructor(properties?: google.protobuf.IMethodOptions);
|
|
|
|
/** MethodOptions deprecated. */
|
|
deprecated: boolean;
|
|
|
|
/** MethodOptions idempotencyLevel. */
|
|
idempotencyLevel: google.protobuf.MethodOptions.IdempotencyLevel;
|
|
|
|
/** MethodOptions features. */
|
|
features?: (google.protobuf.IFeatureSet|null);
|
|
|
|
/** MethodOptions uninterpretedOption. */
|
|
uninterpretedOption: google.protobuf.IUninterpretedOption[];
|
|
|
|
/**
|
|
* Creates a new MethodOptions instance using the specified properties.
|
|
* @param [properties] Properties to set
|
|
* @returns MethodOptions instance
|
|
*/
|
|
static create(properties?: google.protobuf.IMethodOptions): google.protobuf.MethodOptions;
|
|
|
|
/**
|
|
* Encodes the specified MethodOptions message. Does not implicitly {@link google.protobuf.MethodOptions.verify|verify} messages.
|
|
* @param message MethodOptions message or plain object to encode
|
|
* @param [writer] Writer to encode to
|
|
* @returns Writer
|
|
*/
|
|
static encode(message: google.protobuf.IMethodOptions, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
|
|
/**
|
|
* Encodes the specified MethodOptions message, length delimited. Does not implicitly {@link google.protobuf.MethodOptions.verify|verify} messages.
|
|
* @param message MethodOptions message or plain object to encode
|
|
* @param [writer] Writer to encode to
|
|
* @returns Writer
|
|
*/
|
|
static encodeDelimited(message: google.protobuf.IMethodOptions, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
|
|
/**
|
|
* Decodes a MethodOptions message from the specified reader or buffer.
|
|
* @param reader Reader or buffer to decode from
|
|
* @param [length] Message length if known beforehand
|
|
* @returns MethodOptions
|
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
*/
|
|
static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.MethodOptions;
|
|
|
|
/**
|
|
* Decodes a MethodOptions message from the specified reader or buffer, length delimited.
|
|
* @param reader Reader or buffer to decode from
|
|
* @returns MethodOptions
|
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
*/
|
|
static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.MethodOptions;
|
|
|
|
/**
|
|
* Verifies a MethodOptions message.
|
|
* @param message Plain object to verify
|
|
* @returns `null` if valid, otherwise the reason why it is not
|
|
*/
|
|
static verify(message: { [k: string]: any }): (string|null);
|
|
|
|
/**
|
|
* Creates a MethodOptions message from a plain object. Also converts values to their respective internal types.
|
|
* @param object Plain object
|
|
* @returns MethodOptions
|
|
*/
|
|
static fromObject(object: { [k: string]: any }): google.protobuf.MethodOptions;
|
|
|
|
/**
|
|
* Creates a plain object from a MethodOptions message. Also converts values to other types if specified.
|
|
* @param message MethodOptions
|
|
* @param [options] Conversion options
|
|
* @returns Plain object
|
|
*/
|
|
static toObject(message: google.protobuf.MethodOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
|
|
/**
|
|
* Converts this MethodOptions to JSON.
|
|
* @returns JSON object
|
|
*/
|
|
toJSON(): { [k: string]: any };
|
|
|
|
/**
|
|
* Gets the default type url for MethodOptions
|
|
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
* @returns The default type url
|
|
*/
|
|
static getTypeUrl(typeUrlPrefix?: string): string;
|
|
}
|
|
|
|
namespace MethodOptions {
|
|
|
|
/** IdempotencyLevel enum. */
|
|
enum IdempotencyLevel {
|
|
IDEMPOTENCY_UNKNOWN = 0,
|
|
NO_SIDE_EFFECTS = 1,
|
|
IDEMPOTENT = 2
|
|
}
|
|
}
|
|
|
|
/** Properties of an UninterpretedOption. */
|
|
interface IUninterpretedOption {
|
|
|
|
/** UninterpretedOption name */
|
|
name?: (google.protobuf.UninterpretedOption.INamePart[]|null);
|
|
|
|
/** UninterpretedOption identifierValue */
|
|
identifierValue?: (string|null);
|
|
|
|
/** UninterpretedOption positiveIntValue */
|
|
positiveIntValue?: (number|Long|null);
|
|
|
|
/** UninterpretedOption negativeIntValue */
|
|
negativeIntValue?: (number|Long|null);
|
|
|
|
/** UninterpretedOption doubleValue */
|
|
doubleValue?: (number|null);
|
|
|
|
/** UninterpretedOption stringValue */
|
|
stringValue?: (Uint8Array|null);
|
|
|
|
/** UninterpretedOption aggregateValue */
|
|
aggregateValue?: (string|null);
|
|
}
|
|
|
|
/** Represents an UninterpretedOption. */
|
|
class UninterpretedOption implements IUninterpretedOption {
|
|
|
|
/**
|
|
* Constructs a new UninterpretedOption.
|
|
* @param [properties] Properties to set
|
|
*/
|
|
constructor(properties?: google.protobuf.IUninterpretedOption);
|
|
|
|
/** UninterpretedOption name. */
|
|
name: google.protobuf.UninterpretedOption.INamePart[];
|
|
|
|
/** UninterpretedOption identifierValue. */
|
|
identifierValue: string;
|
|
|
|
/** UninterpretedOption positiveIntValue. */
|
|
positiveIntValue: (number|Long);
|
|
|
|
/** UninterpretedOption negativeIntValue. */
|
|
negativeIntValue: (number|Long);
|
|
|
|
/** UninterpretedOption doubleValue. */
|
|
doubleValue: number;
|
|
|
|
/** UninterpretedOption stringValue. */
|
|
stringValue: Uint8Array;
|
|
|
|
/** UninterpretedOption aggregateValue. */
|
|
aggregateValue: string;
|
|
|
|
/**
|
|
* Creates a new UninterpretedOption instance using the specified properties.
|
|
* @param [properties] Properties to set
|
|
* @returns UninterpretedOption instance
|
|
*/
|
|
static create(properties?: google.protobuf.IUninterpretedOption): google.protobuf.UninterpretedOption;
|
|
|
|
/**
|
|
* Encodes the specified UninterpretedOption message. Does not implicitly {@link google.protobuf.UninterpretedOption.verify|verify} messages.
|
|
* @param message UninterpretedOption message or plain object to encode
|
|
* @param [writer] Writer to encode to
|
|
* @returns Writer
|
|
*/
|
|
static encode(message: google.protobuf.IUninterpretedOption, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
|
|
/**
|
|
* Encodes the specified UninterpretedOption message, length delimited. Does not implicitly {@link google.protobuf.UninterpretedOption.verify|verify} messages.
|
|
* @param message UninterpretedOption message or plain object to encode
|
|
* @param [writer] Writer to encode to
|
|
* @returns Writer
|
|
*/
|
|
static encodeDelimited(message: google.protobuf.IUninterpretedOption, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
|
|
/**
|
|
* Decodes an UninterpretedOption message from the specified reader or buffer.
|
|
* @param reader Reader or buffer to decode from
|
|
* @param [length] Message length if known beforehand
|
|
* @returns UninterpretedOption
|
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
*/
|
|
static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.UninterpretedOption;
|
|
|
|
/**
|
|
* Decodes an UninterpretedOption message from the specified reader or buffer, length delimited.
|
|
* @param reader Reader or buffer to decode from
|
|
* @returns UninterpretedOption
|
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
*/
|
|
static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.UninterpretedOption;
|
|
|
|
/**
|
|
* Verifies an UninterpretedOption message.
|
|
* @param message Plain object to verify
|
|
* @returns `null` if valid, otherwise the reason why it is not
|
|
*/
|
|
static verify(message: { [k: string]: any }): (string|null);
|
|
|
|
/**
|
|
* Creates an UninterpretedOption message from a plain object. Also converts values to their respective internal types.
|
|
* @param object Plain object
|
|
* @returns UninterpretedOption
|
|
*/
|
|
static fromObject(object: { [k: string]: any }): google.protobuf.UninterpretedOption;
|
|
|
|
/**
|
|
* Creates a plain object from an UninterpretedOption message. Also converts values to other types if specified.
|
|
* @param message UninterpretedOption
|
|
* @param [options] Conversion options
|
|
* @returns Plain object
|
|
*/
|
|
static toObject(message: google.protobuf.UninterpretedOption, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
|
|
/**
|
|
* Converts this UninterpretedOption to JSON.
|
|
* @returns JSON object
|
|
*/
|
|
toJSON(): { [k: string]: any };
|
|
|
|
/**
|
|
* Gets the default type url for UninterpretedOption
|
|
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
* @returns The default type url
|
|
*/
|
|
static getTypeUrl(typeUrlPrefix?: string): string;
|
|
}
|
|
|
|
namespace UninterpretedOption {
|
|
|
|
/** Properties of a NamePart. */
|
|
interface INamePart {
|
|
|
|
/** NamePart namePart */
|
|
namePart: string;
|
|
|
|
/** NamePart isExtension */
|
|
isExtension: boolean;
|
|
}
|
|
|
|
/** Represents a NamePart. */
|
|
class NamePart implements INamePart {
|
|
|
|
/**
|
|
* Constructs a new NamePart.
|
|
* @param [properties] Properties to set
|
|
*/
|
|
constructor(properties?: google.protobuf.UninterpretedOption.INamePart);
|
|
|
|
/** NamePart namePart. */
|
|
namePart: string;
|
|
|
|
/** NamePart isExtension. */
|
|
isExtension: boolean;
|
|
|
|
/**
|
|
* Creates a new NamePart instance using the specified properties.
|
|
* @param [properties] Properties to set
|
|
* @returns NamePart instance
|
|
*/
|
|
static create(properties?: google.protobuf.UninterpretedOption.INamePart): google.protobuf.UninterpretedOption.NamePart;
|
|
|
|
/**
|
|
* Encodes the specified NamePart message. Does not implicitly {@link google.protobuf.UninterpretedOption.NamePart.verify|verify} messages.
|
|
* @param message NamePart message or plain object to encode
|
|
* @param [writer] Writer to encode to
|
|
* @returns Writer
|
|
*/
|
|
static encode(message: google.protobuf.UninterpretedOption.INamePart, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
|
|
/**
|
|
* Encodes the specified NamePart message, length delimited. Does not implicitly {@link google.protobuf.UninterpretedOption.NamePart.verify|verify} messages.
|
|
* @param message NamePart message or plain object to encode
|
|
* @param [writer] Writer to encode to
|
|
* @returns Writer
|
|
*/
|
|
static encodeDelimited(message: google.protobuf.UninterpretedOption.INamePart, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
|
|
/**
|
|
* Decodes a NamePart message from the specified reader or buffer.
|
|
* @param reader Reader or buffer to decode from
|
|
* @param [length] Message length if known beforehand
|
|
* @returns NamePart
|
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
*/
|
|
static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.UninterpretedOption.NamePart;
|
|
|
|
/**
|
|
* Decodes a NamePart message from the specified reader or buffer, length delimited.
|
|
* @param reader Reader or buffer to decode from
|
|
* @returns NamePart
|
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
*/
|
|
static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.UninterpretedOption.NamePart;
|
|
|
|
/**
|
|
* Verifies a NamePart message.
|
|
* @param message Plain object to verify
|
|
* @returns `null` if valid, otherwise the reason why it is not
|
|
*/
|
|
static verify(message: { [k: string]: any }): (string|null);
|
|
|
|
/**
|
|
* Creates a NamePart message from a plain object. Also converts values to their respective internal types.
|
|
* @param object Plain object
|
|
* @returns NamePart
|
|
*/
|
|
static fromObject(object: { [k: string]: any }): google.protobuf.UninterpretedOption.NamePart;
|
|
|
|
/**
|
|
* Creates a plain object from a NamePart message. Also converts values to other types if specified.
|
|
* @param message NamePart
|
|
* @param [options] Conversion options
|
|
* @returns Plain object
|
|
*/
|
|
static toObject(message: google.protobuf.UninterpretedOption.NamePart, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
|
|
/**
|
|
* Converts this NamePart to JSON.
|
|
* @returns JSON object
|
|
*/
|
|
toJSON(): { [k: string]: any };
|
|
|
|
/**
|
|
* Gets the default type url for NamePart
|
|
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
* @returns The default type url
|
|
*/
|
|
static getTypeUrl(typeUrlPrefix?: string): string;
|
|
}
|
|
}
|
|
|
|
/** Properties of a FeatureSet. */
|
|
interface IFeatureSet {
|
|
|
|
/** FeatureSet fieldPresence */
|
|
fieldPresence?: (google.protobuf.FeatureSet.FieldPresence|null);
|
|
|
|
/** FeatureSet enumType */
|
|
enumType?: (google.protobuf.FeatureSet.EnumType|null);
|
|
|
|
/** FeatureSet repeatedFieldEncoding */
|
|
repeatedFieldEncoding?: (google.protobuf.FeatureSet.RepeatedFieldEncoding|null);
|
|
|
|
/** FeatureSet utf8Validation */
|
|
utf8Validation?: (google.protobuf.FeatureSet.Utf8Validation|null);
|
|
|
|
/** FeatureSet messageEncoding */
|
|
messageEncoding?: (google.protobuf.FeatureSet.MessageEncoding|null);
|
|
|
|
/** FeatureSet jsonFormat */
|
|
jsonFormat?: (google.protobuf.FeatureSet.JsonFormat|null);
|
|
|
|
/** FeatureSet enforceNamingStyle */
|
|
enforceNamingStyle?: (google.protobuf.FeatureSet.EnforceNamingStyle|null);
|
|
|
|
/** FeatureSet defaultSymbolVisibility */
|
|
defaultSymbolVisibility?: (google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility|null);
|
|
}
|
|
|
|
/** Represents a FeatureSet. */
|
|
class FeatureSet implements IFeatureSet {
|
|
|
|
/**
|
|
* Constructs a new FeatureSet.
|
|
* @param [properties] Properties to set
|
|
*/
|
|
constructor(properties?: google.protobuf.IFeatureSet);
|
|
|
|
/** FeatureSet fieldPresence. */
|
|
fieldPresence: google.protobuf.FeatureSet.FieldPresence;
|
|
|
|
/** FeatureSet enumType. */
|
|
enumType: google.protobuf.FeatureSet.EnumType;
|
|
|
|
/** FeatureSet repeatedFieldEncoding. */
|
|
repeatedFieldEncoding: google.protobuf.FeatureSet.RepeatedFieldEncoding;
|
|
|
|
/** FeatureSet utf8Validation. */
|
|
utf8Validation: google.protobuf.FeatureSet.Utf8Validation;
|
|
|
|
/** FeatureSet messageEncoding. */
|
|
messageEncoding: google.protobuf.FeatureSet.MessageEncoding;
|
|
|
|
/** FeatureSet jsonFormat. */
|
|
jsonFormat: google.protobuf.FeatureSet.JsonFormat;
|
|
|
|
/** FeatureSet enforceNamingStyle. */
|
|
enforceNamingStyle: google.protobuf.FeatureSet.EnforceNamingStyle;
|
|
|
|
/** FeatureSet defaultSymbolVisibility. */
|
|
defaultSymbolVisibility: google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility;
|
|
|
|
/**
|
|
* Creates a new FeatureSet instance using the specified properties.
|
|
* @param [properties] Properties to set
|
|
* @returns FeatureSet instance
|
|
*/
|
|
static create(properties?: google.protobuf.IFeatureSet): google.protobuf.FeatureSet;
|
|
|
|
/**
|
|
* Encodes the specified FeatureSet message. Does not implicitly {@link google.protobuf.FeatureSet.verify|verify} messages.
|
|
* @param message FeatureSet message or plain object to encode
|
|
* @param [writer] Writer to encode to
|
|
* @returns Writer
|
|
*/
|
|
static encode(message: google.protobuf.IFeatureSet, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
|
|
/**
|
|
* Encodes the specified FeatureSet message, length delimited. Does not implicitly {@link google.protobuf.FeatureSet.verify|verify} messages.
|
|
* @param message FeatureSet message or plain object to encode
|
|
* @param [writer] Writer to encode to
|
|
* @returns Writer
|
|
*/
|
|
static encodeDelimited(message: google.protobuf.IFeatureSet, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
|
|
/**
|
|
* Decodes a FeatureSet message from the specified reader or buffer.
|
|
* @param reader Reader or buffer to decode from
|
|
* @param [length] Message length if known beforehand
|
|
* @returns FeatureSet
|
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
*/
|
|
static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FeatureSet;
|
|
|
|
/**
|
|
* Decodes a FeatureSet message from the specified reader or buffer, length delimited.
|
|
* @param reader Reader or buffer to decode from
|
|
* @returns FeatureSet
|
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
*/
|
|
static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FeatureSet;
|
|
|
|
/**
|
|
* Verifies a FeatureSet message.
|
|
* @param message Plain object to verify
|
|
* @returns `null` if valid, otherwise the reason why it is not
|
|
*/
|
|
static verify(message: { [k: string]: any }): (string|null);
|
|
|
|
/**
|
|
* Creates a FeatureSet message from a plain object. Also converts values to their respective internal types.
|
|
* @param object Plain object
|
|
* @returns FeatureSet
|
|
*/
|
|
static fromObject(object: { [k: string]: any }): google.protobuf.FeatureSet;
|
|
|
|
/**
|
|
* Creates a plain object from a FeatureSet message. Also converts values to other types if specified.
|
|
* @param message FeatureSet
|
|
* @param [options] Conversion options
|
|
* @returns Plain object
|
|
*/
|
|
static toObject(message: google.protobuf.FeatureSet, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
|
|
/**
|
|
* Converts this FeatureSet to JSON.
|
|
* @returns JSON object
|
|
*/
|
|
toJSON(): { [k: string]: any };
|
|
|
|
/**
|
|
* Gets the default type url for FeatureSet
|
|
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
* @returns The default type url
|
|
*/
|
|
static getTypeUrl(typeUrlPrefix?: string): string;
|
|
}
|
|
|
|
namespace FeatureSet {
|
|
|
|
/** FieldPresence enum. */
|
|
enum FieldPresence {
|
|
FIELD_PRESENCE_UNKNOWN = 0,
|
|
EXPLICIT = 1,
|
|
IMPLICIT = 2,
|
|
LEGACY_REQUIRED = 3
|
|
}
|
|
|
|
/** EnumType enum. */
|
|
enum EnumType {
|
|
ENUM_TYPE_UNKNOWN = 0,
|
|
OPEN = 1,
|
|
CLOSED = 2
|
|
}
|
|
|
|
/** RepeatedFieldEncoding enum. */
|
|
enum RepeatedFieldEncoding {
|
|
REPEATED_FIELD_ENCODING_UNKNOWN = 0,
|
|
PACKED = 1,
|
|
EXPANDED = 2
|
|
}
|
|
|
|
/** Utf8Validation enum. */
|
|
enum Utf8Validation {
|
|
UTF8_VALIDATION_UNKNOWN = 0,
|
|
VERIFY = 2,
|
|
NONE = 3
|
|
}
|
|
|
|
/** MessageEncoding enum. */
|
|
enum MessageEncoding {
|
|
MESSAGE_ENCODING_UNKNOWN = 0,
|
|
LENGTH_PREFIXED = 1,
|
|
DELIMITED = 2
|
|
}
|
|
|
|
/** JsonFormat enum. */
|
|
enum JsonFormat {
|
|
JSON_FORMAT_UNKNOWN = 0,
|
|
ALLOW = 1,
|
|
LEGACY_BEST_EFFORT = 2
|
|
}
|
|
|
|
/** EnforceNamingStyle enum. */
|
|
enum EnforceNamingStyle {
|
|
ENFORCE_NAMING_STYLE_UNKNOWN = 0,
|
|
STYLE2024 = 1,
|
|
STYLE_LEGACY = 2
|
|
}
|
|
|
|
/** Properties of a VisibilityFeature. */
|
|
interface IVisibilityFeature {
|
|
}
|
|
|
|
/** Represents a VisibilityFeature. */
|
|
class VisibilityFeature implements IVisibilityFeature {
|
|
|
|
/**
|
|
* Constructs a new VisibilityFeature.
|
|
* @param [properties] Properties to set
|
|
*/
|
|
constructor(properties?: google.protobuf.FeatureSet.IVisibilityFeature);
|
|
|
|
/**
|
|
* Creates a new VisibilityFeature instance using the specified properties.
|
|
* @param [properties] Properties to set
|
|
* @returns VisibilityFeature instance
|
|
*/
|
|
static create(properties?: google.protobuf.FeatureSet.IVisibilityFeature): google.protobuf.FeatureSet.VisibilityFeature;
|
|
|
|
/**
|
|
* Encodes the specified VisibilityFeature message. Does not implicitly {@link google.protobuf.FeatureSet.VisibilityFeature.verify|verify} messages.
|
|
* @param message VisibilityFeature message or plain object to encode
|
|
* @param [writer] Writer to encode to
|
|
* @returns Writer
|
|
*/
|
|
static encode(message: google.protobuf.FeatureSet.IVisibilityFeature, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
|
|
/**
|
|
* Encodes the specified VisibilityFeature message, length delimited. Does not implicitly {@link google.protobuf.FeatureSet.VisibilityFeature.verify|verify} messages.
|
|
* @param message VisibilityFeature message or plain object to encode
|
|
* @param [writer] Writer to encode to
|
|
* @returns Writer
|
|
*/
|
|
static encodeDelimited(message: google.protobuf.FeatureSet.IVisibilityFeature, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
|
|
/**
|
|
* Decodes a VisibilityFeature message from the specified reader or buffer.
|
|
* @param reader Reader or buffer to decode from
|
|
* @param [length] Message length if known beforehand
|
|
* @returns VisibilityFeature
|
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
*/
|
|
static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FeatureSet.VisibilityFeature;
|
|
|
|
/**
|
|
* Decodes a VisibilityFeature message from the specified reader or buffer, length delimited.
|
|
* @param reader Reader or buffer to decode from
|
|
* @returns VisibilityFeature
|
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
*/
|
|
static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FeatureSet.VisibilityFeature;
|
|
|
|
/**
|
|
* Verifies a VisibilityFeature message.
|
|
* @param message Plain object to verify
|
|
* @returns `null` if valid, otherwise the reason why it is not
|
|
*/
|
|
static verify(message: { [k: string]: any }): (string|null);
|
|
|
|
/**
|
|
* Creates a VisibilityFeature message from a plain object. Also converts values to their respective internal types.
|
|
* @param object Plain object
|
|
* @returns VisibilityFeature
|
|
*/
|
|
static fromObject(object: { [k: string]: any }): google.protobuf.FeatureSet.VisibilityFeature;
|
|
|
|
/**
|
|
* Creates a plain object from a VisibilityFeature message. Also converts values to other types if specified.
|
|
* @param message VisibilityFeature
|
|
* @param [options] Conversion options
|
|
* @returns Plain object
|
|
*/
|
|
static toObject(message: google.protobuf.FeatureSet.VisibilityFeature, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
|
|
/**
|
|
* Converts this VisibilityFeature to JSON.
|
|
* @returns JSON object
|
|
*/
|
|
toJSON(): { [k: string]: any };
|
|
|
|
/**
|
|
* Gets the default type url for VisibilityFeature
|
|
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
* @returns The default type url
|
|
*/
|
|
static getTypeUrl(typeUrlPrefix?: string): string;
|
|
}
|
|
|
|
namespace VisibilityFeature {
|
|
|
|
/** DefaultSymbolVisibility enum. */
|
|
enum DefaultSymbolVisibility {
|
|
DEFAULT_SYMBOL_VISIBILITY_UNKNOWN = 0,
|
|
EXPORT_ALL = 1,
|
|
EXPORT_TOP_LEVEL = 2,
|
|
LOCAL_ALL = 3,
|
|
STRICT = 4
|
|
}
|
|
}
|
|
}
|
|
|
|
/** Properties of a FeatureSetDefaults. */
|
|
interface IFeatureSetDefaults {
|
|
|
|
/** FeatureSetDefaults defaults */
|
|
defaults?: (google.protobuf.FeatureSetDefaults.IFeatureSetEditionDefault[]|null);
|
|
|
|
/** FeatureSetDefaults minimumEdition */
|
|
minimumEdition?: (google.protobuf.Edition|null);
|
|
|
|
/** FeatureSetDefaults maximumEdition */
|
|
maximumEdition?: (google.protobuf.Edition|null);
|
|
}
|
|
|
|
/** Represents a FeatureSetDefaults. */
|
|
class FeatureSetDefaults implements IFeatureSetDefaults {
|
|
|
|
/**
|
|
* Constructs a new FeatureSetDefaults.
|
|
* @param [properties] Properties to set
|
|
*/
|
|
constructor(properties?: google.protobuf.IFeatureSetDefaults);
|
|
|
|
/** FeatureSetDefaults defaults. */
|
|
defaults: google.protobuf.FeatureSetDefaults.IFeatureSetEditionDefault[];
|
|
|
|
/** FeatureSetDefaults minimumEdition. */
|
|
minimumEdition: google.protobuf.Edition;
|
|
|
|
/** FeatureSetDefaults maximumEdition. */
|
|
maximumEdition: google.protobuf.Edition;
|
|
|
|
/**
|
|
* Creates a new FeatureSetDefaults instance using the specified properties.
|
|
* @param [properties] Properties to set
|
|
* @returns FeatureSetDefaults instance
|
|
*/
|
|
static create(properties?: google.protobuf.IFeatureSetDefaults): google.protobuf.FeatureSetDefaults;
|
|
|
|
/**
|
|
* Encodes the specified FeatureSetDefaults message. Does not implicitly {@link google.protobuf.FeatureSetDefaults.verify|verify} messages.
|
|
* @param message FeatureSetDefaults message or plain object to encode
|
|
* @param [writer] Writer to encode to
|
|
* @returns Writer
|
|
*/
|
|
static encode(message: google.protobuf.IFeatureSetDefaults, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
|
|
/**
|
|
* Encodes the specified FeatureSetDefaults message, length delimited. Does not implicitly {@link google.protobuf.FeatureSetDefaults.verify|verify} messages.
|
|
* @param message FeatureSetDefaults message or plain object to encode
|
|
* @param [writer] Writer to encode to
|
|
* @returns Writer
|
|
*/
|
|
static encodeDelimited(message: google.protobuf.IFeatureSetDefaults, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
|
|
/**
|
|
* Decodes a FeatureSetDefaults message from the specified reader or buffer.
|
|
* @param reader Reader or buffer to decode from
|
|
* @param [length] Message length if known beforehand
|
|
* @returns FeatureSetDefaults
|
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
*/
|
|
static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FeatureSetDefaults;
|
|
|
|
/**
|
|
* Decodes a FeatureSetDefaults message from the specified reader or buffer, length delimited.
|
|
* @param reader Reader or buffer to decode from
|
|
* @returns FeatureSetDefaults
|
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
*/
|
|
static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FeatureSetDefaults;
|
|
|
|
/**
|
|
* Verifies a FeatureSetDefaults message.
|
|
* @param message Plain object to verify
|
|
* @returns `null` if valid, otherwise the reason why it is not
|
|
*/
|
|
static verify(message: { [k: string]: any }): (string|null);
|
|
|
|
/**
|
|
* Creates a FeatureSetDefaults message from a plain object. Also converts values to their respective internal types.
|
|
* @param object Plain object
|
|
* @returns FeatureSetDefaults
|
|
*/
|
|
static fromObject(object: { [k: string]: any }): google.protobuf.FeatureSetDefaults;
|
|
|
|
/**
|
|
* Creates a plain object from a FeatureSetDefaults message. Also converts values to other types if specified.
|
|
* @param message FeatureSetDefaults
|
|
* @param [options] Conversion options
|
|
* @returns Plain object
|
|
*/
|
|
static toObject(message: google.protobuf.FeatureSetDefaults, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
|
|
/**
|
|
* Converts this FeatureSetDefaults to JSON.
|
|
* @returns JSON object
|
|
*/
|
|
toJSON(): { [k: string]: any };
|
|
|
|
/**
|
|
* Gets the default type url for FeatureSetDefaults
|
|
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
* @returns The default type url
|
|
*/
|
|
static getTypeUrl(typeUrlPrefix?: string): string;
|
|
}
|
|
|
|
namespace FeatureSetDefaults {
|
|
|
|
/** Properties of a FeatureSetEditionDefault. */
|
|
interface IFeatureSetEditionDefault {
|
|
|
|
/** FeatureSetEditionDefault edition */
|
|
edition?: (google.protobuf.Edition|null);
|
|
|
|
/** FeatureSetEditionDefault overridableFeatures */
|
|
overridableFeatures?: (google.protobuf.IFeatureSet|null);
|
|
|
|
/** FeatureSetEditionDefault fixedFeatures */
|
|
fixedFeatures?: (google.protobuf.IFeatureSet|null);
|
|
}
|
|
|
|
/** Represents a FeatureSetEditionDefault. */
|
|
class FeatureSetEditionDefault implements IFeatureSetEditionDefault {
|
|
|
|
/**
|
|
* Constructs a new FeatureSetEditionDefault.
|
|
* @param [properties] Properties to set
|
|
*/
|
|
constructor(properties?: google.protobuf.FeatureSetDefaults.IFeatureSetEditionDefault);
|
|
|
|
/** FeatureSetEditionDefault edition. */
|
|
edition: google.protobuf.Edition;
|
|
|
|
/** FeatureSetEditionDefault overridableFeatures. */
|
|
overridableFeatures?: (google.protobuf.IFeatureSet|null);
|
|
|
|
/** FeatureSetEditionDefault fixedFeatures. */
|
|
fixedFeatures?: (google.protobuf.IFeatureSet|null);
|
|
|
|
/**
|
|
* Creates a new FeatureSetEditionDefault instance using the specified properties.
|
|
* @param [properties] Properties to set
|
|
* @returns FeatureSetEditionDefault instance
|
|
*/
|
|
static create(properties?: google.protobuf.FeatureSetDefaults.IFeatureSetEditionDefault): google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault;
|
|
|
|
/**
|
|
* Encodes the specified FeatureSetEditionDefault message. Does not implicitly {@link google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.verify|verify} messages.
|
|
* @param message FeatureSetEditionDefault message or plain object to encode
|
|
* @param [writer] Writer to encode to
|
|
* @returns Writer
|
|
*/
|
|
static encode(message: google.protobuf.FeatureSetDefaults.IFeatureSetEditionDefault, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
|
|
/**
|
|
* Encodes the specified FeatureSetEditionDefault message, length delimited. Does not implicitly {@link google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.verify|verify} messages.
|
|
* @param message FeatureSetEditionDefault message or plain object to encode
|
|
* @param [writer] Writer to encode to
|
|
* @returns Writer
|
|
*/
|
|
static encodeDelimited(message: google.protobuf.FeatureSetDefaults.IFeatureSetEditionDefault, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
|
|
/**
|
|
* Decodes a FeatureSetEditionDefault message from the specified reader or buffer.
|
|
* @param reader Reader or buffer to decode from
|
|
* @param [length] Message length if known beforehand
|
|
* @returns FeatureSetEditionDefault
|
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
*/
|
|
static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault;
|
|
|
|
/**
|
|
* Decodes a FeatureSetEditionDefault message from the specified reader or buffer, length delimited.
|
|
* @param reader Reader or buffer to decode from
|
|
* @returns FeatureSetEditionDefault
|
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
*/
|
|
static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault;
|
|
|
|
/**
|
|
* Verifies a FeatureSetEditionDefault message.
|
|
* @param message Plain object to verify
|
|
* @returns `null` if valid, otherwise the reason why it is not
|
|
*/
|
|
static verify(message: { [k: string]: any }): (string|null);
|
|
|
|
/**
|
|
* Creates a FeatureSetEditionDefault message from a plain object. Also converts values to their respective internal types.
|
|
* @param object Plain object
|
|
* @returns FeatureSetEditionDefault
|
|
*/
|
|
static fromObject(object: { [k: string]: any }): google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault;
|
|
|
|
/**
|
|
* Creates a plain object from a FeatureSetEditionDefault message. Also converts values to other types if specified.
|
|
* @param message FeatureSetEditionDefault
|
|
* @param [options] Conversion options
|
|
* @returns Plain object
|
|
*/
|
|
static toObject(message: google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
|
|
/**
|
|
* Converts this FeatureSetEditionDefault to JSON.
|
|
* @returns JSON object
|
|
*/
|
|
toJSON(): { [k: string]: any };
|
|
|
|
/**
|
|
* Gets the default type url for FeatureSetEditionDefault
|
|
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
* @returns The default type url
|
|
*/
|
|
static getTypeUrl(typeUrlPrefix?: string): string;
|
|
}
|
|
}
|
|
|
|
/** Properties of a SourceCodeInfo. */
|
|
interface ISourceCodeInfo {
|
|
|
|
/** SourceCodeInfo location */
|
|
location?: (google.protobuf.SourceCodeInfo.ILocation[]|null);
|
|
}
|
|
|
|
/** Represents a SourceCodeInfo. */
|
|
class SourceCodeInfo implements ISourceCodeInfo {
|
|
|
|
/**
|
|
* Constructs a new SourceCodeInfo.
|
|
* @param [properties] Properties to set
|
|
*/
|
|
constructor(properties?: google.protobuf.ISourceCodeInfo);
|
|
|
|
/** SourceCodeInfo location. */
|
|
location: google.protobuf.SourceCodeInfo.ILocation[];
|
|
|
|
/**
|
|
* Creates a new SourceCodeInfo instance using the specified properties.
|
|
* @param [properties] Properties to set
|
|
* @returns SourceCodeInfo instance
|
|
*/
|
|
static create(properties?: google.protobuf.ISourceCodeInfo): google.protobuf.SourceCodeInfo;
|
|
|
|
/**
|
|
* Encodes the specified SourceCodeInfo message. Does not implicitly {@link google.protobuf.SourceCodeInfo.verify|verify} messages.
|
|
* @param message SourceCodeInfo message or plain object to encode
|
|
* @param [writer] Writer to encode to
|
|
* @returns Writer
|
|
*/
|
|
static encode(message: google.protobuf.ISourceCodeInfo, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
|
|
/**
|
|
* Encodes the specified SourceCodeInfo message, length delimited. Does not implicitly {@link google.protobuf.SourceCodeInfo.verify|verify} messages.
|
|
* @param message SourceCodeInfo message or plain object to encode
|
|
* @param [writer] Writer to encode to
|
|
* @returns Writer
|
|
*/
|
|
static encodeDelimited(message: google.protobuf.ISourceCodeInfo, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
|
|
/**
|
|
* Decodes a SourceCodeInfo message from the specified reader or buffer.
|
|
* @param reader Reader or buffer to decode from
|
|
* @param [length] Message length if known beforehand
|
|
* @returns SourceCodeInfo
|
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
*/
|
|
static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.SourceCodeInfo;
|
|
|
|
/**
|
|
* Decodes a SourceCodeInfo message from the specified reader or buffer, length delimited.
|
|
* @param reader Reader or buffer to decode from
|
|
* @returns SourceCodeInfo
|
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
*/
|
|
static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.SourceCodeInfo;
|
|
|
|
/**
|
|
* Verifies a SourceCodeInfo message.
|
|
* @param message Plain object to verify
|
|
* @returns `null` if valid, otherwise the reason why it is not
|
|
*/
|
|
static verify(message: { [k: string]: any }): (string|null);
|
|
|
|
/**
|
|
* Creates a SourceCodeInfo message from a plain object. Also converts values to their respective internal types.
|
|
* @param object Plain object
|
|
* @returns SourceCodeInfo
|
|
*/
|
|
static fromObject(object: { [k: string]: any }): google.protobuf.SourceCodeInfo;
|
|
|
|
/**
|
|
* Creates a plain object from a SourceCodeInfo message. Also converts values to other types if specified.
|
|
* @param message SourceCodeInfo
|
|
* @param [options] Conversion options
|
|
* @returns Plain object
|
|
*/
|
|
static toObject(message: google.protobuf.SourceCodeInfo, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
|
|
/**
|
|
* Converts this SourceCodeInfo to JSON.
|
|
* @returns JSON object
|
|
*/
|
|
toJSON(): { [k: string]: any };
|
|
|
|
/**
|
|
* Gets the default type url for SourceCodeInfo
|
|
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
* @returns The default type url
|
|
*/
|
|
static getTypeUrl(typeUrlPrefix?: string): string;
|
|
}
|
|
|
|
namespace SourceCodeInfo {
|
|
|
|
/** Properties of a Location. */
|
|
interface ILocation {
|
|
|
|
/** Location path */
|
|
path?: (number[]|null);
|
|
|
|
/** Location span */
|
|
span?: (number[]|null);
|
|
|
|
/** Location leadingComments */
|
|
leadingComments?: (string|null);
|
|
|
|
/** Location trailingComments */
|
|
trailingComments?: (string|null);
|
|
|
|
/** Location leadingDetachedComments */
|
|
leadingDetachedComments?: (string[]|null);
|
|
}
|
|
|
|
/** Represents a Location. */
|
|
class Location implements ILocation {
|
|
|
|
/**
|
|
* Constructs a new Location.
|
|
* @param [properties] Properties to set
|
|
*/
|
|
constructor(properties?: google.protobuf.SourceCodeInfo.ILocation);
|
|
|
|
/** Location path. */
|
|
path: number[];
|
|
|
|
/** Location span. */
|
|
span: number[];
|
|
|
|
/** Location leadingComments. */
|
|
leadingComments: string;
|
|
|
|
/** Location trailingComments. */
|
|
trailingComments: string;
|
|
|
|
/** Location leadingDetachedComments. */
|
|
leadingDetachedComments: string[];
|
|
|
|
/**
|
|
* Creates a new Location instance using the specified properties.
|
|
* @param [properties] Properties to set
|
|
* @returns Location instance
|
|
*/
|
|
static create(properties?: google.protobuf.SourceCodeInfo.ILocation): google.protobuf.SourceCodeInfo.Location;
|
|
|
|
/**
|
|
* Encodes the specified Location message. Does not implicitly {@link google.protobuf.SourceCodeInfo.Location.verify|verify} messages.
|
|
* @param message Location message or plain object to encode
|
|
* @param [writer] Writer to encode to
|
|
* @returns Writer
|
|
*/
|
|
static encode(message: google.protobuf.SourceCodeInfo.ILocation, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
|
|
/**
|
|
* Encodes the specified Location message, length delimited. Does not implicitly {@link google.protobuf.SourceCodeInfo.Location.verify|verify} messages.
|
|
* @param message Location message or plain object to encode
|
|
* @param [writer] Writer to encode to
|
|
* @returns Writer
|
|
*/
|
|
static encodeDelimited(message: google.protobuf.SourceCodeInfo.ILocation, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
|
|
/**
|
|
* Decodes a Location message from the specified reader or buffer.
|
|
* @param reader Reader or buffer to decode from
|
|
* @param [length] Message length if known beforehand
|
|
* @returns Location
|
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
*/
|
|
static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.SourceCodeInfo.Location;
|
|
|
|
/**
|
|
* Decodes a Location message from the specified reader or buffer, length delimited.
|
|
* @param reader Reader or buffer to decode from
|
|
* @returns Location
|
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
*/
|
|
static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.SourceCodeInfo.Location;
|
|
|
|
/**
|
|
* Verifies a Location message.
|
|
* @param message Plain object to verify
|
|
* @returns `null` if valid, otherwise the reason why it is not
|
|
*/
|
|
static verify(message: { [k: string]: any }): (string|null);
|
|
|
|
/**
|
|
* Creates a Location message from a plain object. Also converts values to their respective internal types.
|
|
* @param object Plain object
|
|
* @returns Location
|
|
*/
|
|
static fromObject(object: { [k: string]: any }): google.protobuf.SourceCodeInfo.Location;
|
|
|
|
/**
|
|
* Creates a plain object from a Location message. Also converts values to other types if specified.
|
|
* @param message Location
|
|
* @param [options] Conversion options
|
|
* @returns Plain object
|
|
*/
|
|
static toObject(message: google.protobuf.SourceCodeInfo.Location, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
|
|
/**
|
|
* Converts this Location to JSON.
|
|
* @returns JSON object
|
|
*/
|
|
toJSON(): { [k: string]: any };
|
|
|
|
/**
|
|
* Gets the default type url for Location
|
|
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
* @returns The default type url
|
|
*/
|
|
static getTypeUrl(typeUrlPrefix?: string): string;
|
|
}
|
|
}
|
|
|
|
/** Properties of a GeneratedCodeInfo. */
|
|
interface IGeneratedCodeInfo {
|
|
|
|
/** GeneratedCodeInfo annotation */
|
|
annotation?: (google.protobuf.GeneratedCodeInfo.IAnnotation[]|null);
|
|
}
|
|
|
|
/** Represents a GeneratedCodeInfo. */
|
|
class GeneratedCodeInfo implements IGeneratedCodeInfo {
|
|
|
|
/**
|
|
* Constructs a new GeneratedCodeInfo.
|
|
* @param [properties] Properties to set
|
|
*/
|
|
constructor(properties?: google.protobuf.IGeneratedCodeInfo);
|
|
|
|
/** GeneratedCodeInfo annotation. */
|
|
annotation: google.protobuf.GeneratedCodeInfo.IAnnotation[];
|
|
|
|
/**
|
|
* Creates a new GeneratedCodeInfo instance using the specified properties.
|
|
* @param [properties] Properties to set
|
|
* @returns GeneratedCodeInfo instance
|
|
*/
|
|
static create(properties?: google.protobuf.IGeneratedCodeInfo): google.protobuf.GeneratedCodeInfo;
|
|
|
|
/**
|
|
* Encodes the specified GeneratedCodeInfo message. Does not implicitly {@link google.protobuf.GeneratedCodeInfo.verify|verify} messages.
|
|
* @param message GeneratedCodeInfo message or plain object to encode
|
|
* @param [writer] Writer to encode to
|
|
* @returns Writer
|
|
*/
|
|
static encode(message: google.protobuf.IGeneratedCodeInfo, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
|
|
/**
|
|
* Encodes the specified GeneratedCodeInfo message, length delimited. Does not implicitly {@link google.protobuf.GeneratedCodeInfo.verify|verify} messages.
|
|
* @param message GeneratedCodeInfo message or plain object to encode
|
|
* @param [writer] Writer to encode to
|
|
* @returns Writer
|
|
*/
|
|
static encodeDelimited(message: google.protobuf.IGeneratedCodeInfo, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
|
|
/**
|
|
* Decodes a GeneratedCodeInfo message from the specified reader or buffer.
|
|
* @param reader Reader or buffer to decode from
|
|
* @param [length] Message length if known beforehand
|
|
* @returns GeneratedCodeInfo
|
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
*/
|
|
static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.GeneratedCodeInfo;
|
|
|
|
/**
|
|
* Decodes a GeneratedCodeInfo message from the specified reader or buffer, length delimited.
|
|
* @param reader Reader or buffer to decode from
|
|
* @returns GeneratedCodeInfo
|
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
*/
|
|
static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.GeneratedCodeInfo;
|
|
|
|
/**
|
|
* Verifies a GeneratedCodeInfo message.
|
|
* @param message Plain object to verify
|
|
* @returns `null` if valid, otherwise the reason why it is not
|
|
*/
|
|
static verify(message: { [k: string]: any }): (string|null);
|
|
|
|
/**
|
|
* Creates a GeneratedCodeInfo message from a plain object. Also converts values to their respective internal types.
|
|
* @param object Plain object
|
|
* @returns GeneratedCodeInfo
|
|
*/
|
|
static fromObject(object: { [k: string]: any }): google.protobuf.GeneratedCodeInfo;
|
|
|
|
/**
|
|
* Creates a plain object from a GeneratedCodeInfo message. Also converts values to other types if specified.
|
|
* @param message GeneratedCodeInfo
|
|
* @param [options] Conversion options
|
|
* @returns Plain object
|
|
*/
|
|
static toObject(message: google.protobuf.GeneratedCodeInfo, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
|
|
/**
|
|
* Converts this GeneratedCodeInfo to JSON.
|
|
* @returns JSON object
|
|
*/
|
|
toJSON(): { [k: string]: any };
|
|
|
|
/**
|
|
* Gets the default type url for GeneratedCodeInfo
|
|
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
* @returns The default type url
|
|
*/
|
|
static getTypeUrl(typeUrlPrefix?: string): string;
|
|
}
|
|
|
|
namespace GeneratedCodeInfo {
|
|
|
|
/** Properties of an Annotation. */
|
|
interface IAnnotation {
|
|
|
|
/** Annotation path */
|
|
path?: (number[]|null);
|
|
|
|
/** Annotation sourceFile */
|
|
sourceFile?: (string|null);
|
|
|
|
/** Annotation begin */
|
|
begin?: (number|null);
|
|
|
|
/** Annotation end */
|
|
end?: (number|null);
|
|
|
|
/** Annotation semantic */
|
|
semantic?: (google.protobuf.GeneratedCodeInfo.Annotation.Semantic|null);
|
|
}
|
|
|
|
/** Represents an Annotation. */
|
|
class Annotation implements IAnnotation {
|
|
|
|
/**
|
|
* Constructs a new Annotation.
|
|
* @param [properties] Properties to set
|
|
*/
|
|
constructor(properties?: google.protobuf.GeneratedCodeInfo.IAnnotation);
|
|
|
|
/** Annotation path. */
|
|
path: number[];
|
|
|
|
/** Annotation sourceFile. */
|
|
sourceFile: string;
|
|
|
|
/** Annotation begin. */
|
|
begin: number;
|
|
|
|
/** Annotation end. */
|
|
end: number;
|
|
|
|
/** Annotation semantic. */
|
|
semantic: google.protobuf.GeneratedCodeInfo.Annotation.Semantic;
|
|
|
|
/**
|
|
* Creates a new Annotation instance using the specified properties.
|
|
* @param [properties] Properties to set
|
|
* @returns Annotation instance
|
|
*/
|
|
static create(properties?: google.protobuf.GeneratedCodeInfo.IAnnotation): google.protobuf.GeneratedCodeInfo.Annotation;
|
|
|
|
/**
|
|
* Encodes the specified Annotation message. Does not implicitly {@link google.protobuf.GeneratedCodeInfo.Annotation.verify|verify} messages.
|
|
* @param message Annotation message or plain object to encode
|
|
* @param [writer] Writer to encode to
|
|
* @returns Writer
|
|
*/
|
|
static encode(message: google.protobuf.GeneratedCodeInfo.IAnnotation, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
|
|
/**
|
|
* Encodes the specified Annotation message, length delimited. Does not implicitly {@link google.protobuf.GeneratedCodeInfo.Annotation.verify|verify} messages.
|
|
* @param message Annotation message or plain object to encode
|
|
* @param [writer] Writer to encode to
|
|
* @returns Writer
|
|
*/
|
|
static encodeDelimited(message: google.protobuf.GeneratedCodeInfo.IAnnotation, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
|
|
/**
|
|
* Decodes an Annotation message from the specified reader or buffer.
|
|
* @param reader Reader or buffer to decode from
|
|
* @param [length] Message length if known beforehand
|
|
* @returns Annotation
|
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
*/
|
|
static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.GeneratedCodeInfo.Annotation;
|
|
|
|
/**
|
|
* Decodes an Annotation message from the specified reader or buffer, length delimited.
|
|
* @param reader Reader or buffer to decode from
|
|
* @returns Annotation
|
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
*/
|
|
static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.GeneratedCodeInfo.Annotation;
|
|
|
|
/**
|
|
* Verifies an Annotation message.
|
|
* @param message Plain object to verify
|
|
* @returns `null` if valid, otherwise the reason why it is not
|
|
*/
|
|
static verify(message: { [k: string]: any }): (string|null);
|
|
|
|
/**
|
|
* Creates an Annotation message from a plain object. Also converts values to their respective internal types.
|
|
* @param object Plain object
|
|
* @returns Annotation
|
|
*/
|
|
static fromObject(object: { [k: string]: any }): google.protobuf.GeneratedCodeInfo.Annotation;
|
|
|
|
/**
|
|
* Creates a plain object from an Annotation message. Also converts values to other types if specified.
|
|
* @param message Annotation
|
|
* @param [options] Conversion options
|
|
* @returns Plain object
|
|
*/
|
|
static toObject(message: google.protobuf.GeneratedCodeInfo.Annotation, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
|
|
/**
|
|
* Converts this Annotation to JSON.
|
|
* @returns JSON object
|
|
*/
|
|
toJSON(): { [k: string]: any };
|
|
|
|
/**
|
|
* Gets the default type url for Annotation
|
|
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
* @returns The default type url
|
|
*/
|
|
static getTypeUrl(typeUrlPrefix?: string): string;
|
|
}
|
|
|
|
namespace Annotation {
|
|
|
|
/** Semantic enum. */
|
|
enum Semantic {
|
|
NONE = 0,
|
|
SET = 1,
|
|
ALIAS = 2
|
|
}
|
|
}
|
|
}
|
|
|
|
/** SymbolVisibility enum. */
|
|
enum SymbolVisibility {
|
|
VISIBILITY_UNSET = 0,
|
|
VISIBILITY_LOCAL = 1,
|
|
VISIBILITY_EXPORT = 2
|
|
}
|
|
}
|
|
}
|
|
|
|
}
|
|
export default proto;
|