UNPKG

@dataform/core

Version:
1,185 lines (948 loc) 369 kB
import * as $protobuf from 'protobufjs'; declare function compile(code: string, path: string): string; /** Namespace dataform. */ namespace dataform { /** Properties of a WorkflowSettings. */ interface IWorkflowSettings { /** WorkflowSettings dataformCoreVersion */ dataformCoreVersion?: (string|null); /** WorkflowSettings defaultProject */ defaultProject?: (string|null); /** WorkflowSettings defaultDataset */ defaultDataset?: (string|null); /** WorkflowSettings defaultLocation */ defaultLocation?: (string|null); /** WorkflowSettings defaultAssertionDataset */ defaultAssertionDataset?: (string|null); /** WorkflowSettings vars */ vars?: ({ [k: string]: string }|null); /** WorkflowSettings projectSuffix */ projectSuffix?: (string|null); /** WorkflowSettings datasetSuffix */ datasetSuffix?: (string|null); /** WorkflowSettings namePrefix */ namePrefix?: (string|null); /** WorkflowSettings defaultNotebookRuntimeOptions */ defaultNotebookRuntimeOptions?: (dataform.INotebookRuntimeOptionsConfig|null); /** WorkflowSettings builtinAssertionNamePrefix */ builtinAssertionNamePrefix?: (string|null); /** WorkflowSettings defaultIcebergConfig */ defaultIcebergConfig?: (dataform.IDefaultIcebergConfig|null); /** WorkflowSettings disableAssertions */ disableAssertions?: (boolean|null); } /** Represents a WorkflowSettings. */ class WorkflowSettings implements IWorkflowSettings { /** * Constructs a new WorkflowSettings. * @param [properties] Properties to set */ constructor(properties?: dataform.IWorkflowSettings); /** WorkflowSettings dataformCoreVersion. */ public dataformCoreVersion: string; /** WorkflowSettings defaultProject. */ public defaultProject: string; /** WorkflowSettings defaultDataset. */ public defaultDataset: string; /** WorkflowSettings defaultLocation. */ public defaultLocation: string; /** WorkflowSettings defaultAssertionDataset. */ public defaultAssertionDataset: string; /** WorkflowSettings vars. */ public vars: { [k: string]: string }; /** WorkflowSettings projectSuffix. */ public projectSuffix: string; /** WorkflowSettings datasetSuffix. */ public datasetSuffix: string; /** WorkflowSettings namePrefix. */ public namePrefix: string; /** WorkflowSettings defaultNotebookRuntimeOptions. */ public defaultNotebookRuntimeOptions?: (dataform.INotebookRuntimeOptionsConfig|null); /** WorkflowSettings builtinAssertionNamePrefix. */ public builtinAssertionNamePrefix: string; /** WorkflowSettings defaultIcebergConfig. */ public defaultIcebergConfig?: (dataform.IDefaultIcebergConfig|null); /** WorkflowSettings disableAssertions. */ public disableAssertions: boolean; /** * Creates a new WorkflowSettings instance using the specified properties. * @param [properties] Properties to set * @returns WorkflowSettings instance */ public static create(properties?: dataform.IWorkflowSettings): dataform.WorkflowSettings; /** * Encodes the specified WorkflowSettings message. Does not implicitly {@link dataform.WorkflowSettings.verify|verify} messages. * @param message WorkflowSettings message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: dataform.IWorkflowSettings, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified WorkflowSettings message, length delimited. Does not implicitly {@link dataform.WorkflowSettings.verify|verify} messages. * @param message WorkflowSettings message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: dataform.IWorkflowSettings, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a WorkflowSettings message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns WorkflowSettings * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): dataform.WorkflowSettings; /** * Decodes a WorkflowSettings message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns WorkflowSettings * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): dataform.WorkflowSettings; /** * Verifies a WorkflowSettings message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a WorkflowSettings message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns WorkflowSettings */ public static fromObject(object: { [k: string]: any }): dataform.WorkflowSettings; /** * Creates a plain object from a WorkflowSettings message. Also converts values to other types if specified. * @param message WorkflowSettings * @param [options] Conversion options * @returns Plain object */ public static toObject(message: dataform.WorkflowSettings, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this WorkflowSettings to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for WorkflowSettings * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a DefaultIcebergConfig. */ interface IDefaultIcebergConfig { /** DefaultIcebergConfig bucketName */ bucketName?: (string|null); /** DefaultIcebergConfig tableFolderRoot */ tableFolderRoot?: (string|null); /** DefaultIcebergConfig tableFolderSubpath */ tableFolderSubpath?: (string|null); /** DefaultIcebergConfig connection */ connection?: (string|null); } /** Represents a DefaultIcebergConfig. */ class DefaultIcebergConfig implements IDefaultIcebergConfig { /** * Constructs a new DefaultIcebergConfig. * @param [properties] Properties to set */ constructor(properties?: dataform.IDefaultIcebergConfig); /** DefaultIcebergConfig bucketName. */ public bucketName: string; /** DefaultIcebergConfig tableFolderRoot. */ public tableFolderRoot: string; /** DefaultIcebergConfig tableFolderSubpath. */ public tableFolderSubpath: string; /** DefaultIcebergConfig connection. */ public connection: string; /** * Creates a new DefaultIcebergConfig instance using the specified properties. * @param [properties] Properties to set * @returns DefaultIcebergConfig instance */ public static create(properties?: dataform.IDefaultIcebergConfig): dataform.DefaultIcebergConfig; /** * Encodes the specified DefaultIcebergConfig message. Does not implicitly {@link dataform.DefaultIcebergConfig.verify|verify} messages. * @param message DefaultIcebergConfig message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: dataform.IDefaultIcebergConfig, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified DefaultIcebergConfig message, length delimited. Does not implicitly {@link dataform.DefaultIcebergConfig.verify|verify} messages. * @param message DefaultIcebergConfig message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: dataform.IDefaultIcebergConfig, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a DefaultIcebergConfig message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns DefaultIcebergConfig * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): dataform.DefaultIcebergConfig; /** * Decodes a DefaultIcebergConfig message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns DefaultIcebergConfig * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): dataform.DefaultIcebergConfig; /** * Verifies a DefaultIcebergConfig message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a DefaultIcebergConfig message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns DefaultIcebergConfig */ public static fromObject(object: { [k: string]: any }): dataform.DefaultIcebergConfig; /** * Creates a plain object from a DefaultIcebergConfig message. Also converts values to other types if specified. * @param message DefaultIcebergConfig * @param [options] Conversion options * @returns Plain object */ public static toObject(message: dataform.DefaultIcebergConfig, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this DefaultIcebergConfig to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for DefaultIcebergConfig * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an ActionConfigs. */ interface IActionConfigs { /** ActionConfigs actions */ actions?: (dataform.IActionConfig[]|null); } /** Represents an ActionConfigs. */ class ActionConfigs implements IActionConfigs { /** * Constructs a new ActionConfigs. * @param [properties] Properties to set */ constructor(properties?: dataform.IActionConfigs); /** ActionConfigs actions. */ public actions: dataform.IActionConfig[]; /** * Creates a new ActionConfigs instance using the specified properties. * @param [properties] Properties to set * @returns ActionConfigs instance */ public static create(properties?: dataform.IActionConfigs): dataform.ActionConfigs; /** * Encodes the specified ActionConfigs message. Does not implicitly {@link dataform.ActionConfigs.verify|verify} messages. * @param message ActionConfigs message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: dataform.IActionConfigs, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ActionConfigs message, length delimited. Does not implicitly {@link dataform.ActionConfigs.verify|verify} messages. * @param message ActionConfigs message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: dataform.IActionConfigs, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an ActionConfigs message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ActionConfigs * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): dataform.ActionConfigs; /** * Decodes an ActionConfigs message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ActionConfigs * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): dataform.ActionConfigs; /** * Verifies an ActionConfigs message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an ActionConfigs message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ActionConfigs */ public static fromObject(object: { [k: string]: any }): dataform.ActionConfigs; /** * Creates a plain object from an ActionConfigs message. Also converts values to other types if specified. * @param message ActionConfigs * @param [options] Conversion options * @returns Plain object */ public static toObject(message: dataform.ActionConfigs, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ActionConfigs to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ActionConfigs * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an ActionConfig. */ interface IActionConfig { /** ActionConfig table */ table?: (dataform.ActionConfig.ITableConfig|null); /** ActionConfig view */ view?: (dataform.ActionConfig.IViewConfig|null); /** ActionConfig incrementalTable */ incrementalTable?: (dataform.ActionConfig.IIncrementalTableConfig|null); /** ActionConfig assertion */ assertion?: (dataform.ActionConfig.IAssertionConfig|null); /** ActionConfig operation */ operation?: (dataform.ActionConfig.IOperationConfig|null); /** ActionConfig declaration */ declaration?: (dataform.ActionConfig.IDeclarationConfig|null); /** ActionConfig notebook */ notebook?: (dataform.ActionConfig.INotebookConfig|null); /** ActionConfig dataPreparation */ dataPreparation?: (dataform.ActionConfig.IDataPreparationConfig|null); } /** Represents an ActionConfig. */ class ActionConfig implements IActionConfig { /** * Constructs a new ActionConfig. * @param [properties] Properties to set */ constructor(properties?: dataform.IActionConfig); /** ActionConfig table. */ public table?: (dataform.ActionConfig.ITableConfig|null); /** ActionConfig view. */ public view?: (dataform.ActionConfig.IViewConfig|null); /** ActionConfig incrementalTable. */ public incrementalTable?: (dataform.ActionConfig.IIncrementalTableConfig|null); /** ActionConfig assertion. */ public assertion?: (dataform.ActionConfig.IAssertionConfig|null); /** ActionConfig operation. */ public operation?: (dataform.ActionConfig.IOperationConfig|null); /** ActionConfig declaration. */ public declaration?: (dataform.ActionConfig.IDeclarationConfig|null); /** ActionConfig notebook. */ public notebook?: (dataform.ActionConfig.INotebookConfig|null); /** ActionConfig dataPreparation. */ public dataPreparation?: (dataform.ActionConfig.IDataPreparationConfig|null); /** ActionConfig action. */ public action?: ("table"|"view"|"incrementalTable"|"assertion"|"operation"|"declaration"|"notebook"|"dataPreparation"); /** * Creates a new ActionConfig instance using the specified properties. * @param [properties] Properties to set * @returns ActionConfig instance */ public static create(properties?: dataform.IActionConfig): dataform.ActionConfig; /** * Encodes the specified ActionConfig message. Does not implicitly {@link dataform.ActionConfig.verify|verify} messages. * @param message ActionConfig message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: dataform.IActionConfig, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ActionConfig message, length delimited. Does not implicitly {@link dataform.ActionConfig.verify|verify} messages. * @param message ActionConfig message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: dataform.IActionConfig, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an ActionConfig message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ActionConfig * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): dataform.ActionConfig; /** * Decodes an ActionConfig message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ActionConfig * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): dataform.ActionConfig; /** * Verifies an ActionConfig message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an ActionConfig message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ActionConfig */ public static fromObject(object: { [k: string]: any }): dataform.ActionConfig; /** * Creates a plain object from an ActionConfig message. Also converts values to other types if specified. * @param message ActionConfig * @param [options] Conversion options * @returns Plain object */ public static toObject(message: dataform.ActionConfig, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ActionConfig to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ActionConfig * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace ActionConfig { /** Properties of a Target. */ interface ITarget { /** Target project */ project?: (string|null); /** Target dataset */ dataset?: (string|null); /** Target name */ name?: (string|null); /** Target includeDependentAssertions */ includeDependentAssertions?: (boolean|null); } /** Represents a Target. */ class Target implements ITarget { /** * Constructs a new Target. * @param [properties] Properties to set */ constructor(properties?: dataform.ActionConfig.ITarget); /** Target project. */ public project: string; /** Target dataset. */ public dataset: string; /** Target name. */ public name: string; /** Target includeDependentAssertions. */ public includeDependentAssertions: boolean; /** * Creates a new Target instance using the specified properties. * @param [properties] Properties to set * @returns Target instance */ public static create(properties?: dataform.ActionConfig.ITarget): dataform.ActionConfig.Target; /** * Encodes the specified Target message. Does not implicitly {@link dataform.ActionConfig.Target.verify|verify} messages. * @param message Target message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: dataform.ActionConfig.ITarget, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Target message, length delimited. Does not implicitly {@link dataform.ActionConfig.Target.verify|verify} messages. * @param message Target message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: dataform.ActionConfig.ITarget, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Target message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Target * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): dataform.ActionConfig.Target; /** * Decodes a Target message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Target * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): dataform.ActionConfig.Target; /** * Verifies a Target message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a Target message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Target */ public static fromObject(object: { [k: string]: any }): dataform.ActionConfig.Target; /** * Creates a plain object from a Target message. Also converts values to other types if specified. * @param message Target * @param [options] Conversion options * @returns Plain object */ public static toObject(message: dataform.ActionConfig.Target, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Target to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for Target * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ColumnDescriptor. */ interface IColumnDescriptor { /** ColumnDescriptor path */ path?: (string[]|null); /** ColumnDescriptor description */ description?: (string|null); /** ColumnDescriptor bigqueryPolicyTags */ bigqueryPolicyTags?: (string[]|null); /** ColumnDescriptor tags */ tags?: (string[]|null); } /** Represents a ColumnDescriptor. */ class ColumnDescriptor implements IColumnDescriptor { /** * Constructs a new ColumnDescriptor. * @param [properties] Properties to set */ constructor(properties?: dataform.ActionConfig.IColumnDescriptor); /** ColumnDescriptor path. */ public path: string[]; /** ColumnDescriptor description. */ public description: string; /** ColumnDescriptor bigqueryPolicyTags. */ public bigqueryPolicyTags: string[]; /** ColumnDescriptor tags. */ public tags: string[]; /** * Creates a new ColumnDescriptor instance using the specified properties. * @param [properties] Properties to set * @returns ColumnDescriptor instance */ public static create(properties?: dataform.ActionConfig.IColumnDescriptor): dataform.ActionConfig.ColumnDescriptor; /** * Encodes the specified ColumnDescriptor message. Does not implicitly {@link dataform.ActionConfig.ColumnDescriptor.verify|verify} messages. * @param message ColumnDescriptor message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: dataform.ActionConfig.IColumnDescriptor, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ColumnDescriptor message, length delimited. Does not implicitly {@link dataform.ActionConfig.ColumnDescriptor.verify|verify} messages. * @param message ColumnDescriptor message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: dataform.ActionConfig.IColumnDescriptor, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ColumnDescriptor message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ColumnDescriptor * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): dataform.ActionConfig.ColumnDescriptor; /** * Decodes a ColumnDescriptor message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ColumnDescriptor * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): dataform.ActionConfig.ColumnDescriptor; /** * Verifies a ColumnDescriptor message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ColumnDescriptor message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ColumnDescriptor */ public static fromObject(object: { [k: string]: any }): dataform.ActionConfig.ColumnDescriptor; /** * Creates a plain object from a ColumnDescriptor message. Also converts values to other types if specified. * @param message ColumnDescriptor * @param [options] Conversion options * @returns Plain object */ public static toObject(message: dataform.ActionConfig.ColumnDescriptor, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ColumnDescriptor to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ColumnDescriptor * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a TableAssertionsConfig. */ interface ITableAssertionsConfig { /** TableAssertionsConfig uniqueKey */ uniqueKey?: (string[]|null); /** TableAssertionsConfig uniqueKeys */ uniqueKeys?: (dataform.ActionConfig.TableAssertionsConfig.IUniqueKey[]|null); /** TableAssertionsConfig nonNull */ nonNull?: (string[]|null); /** TableAssertionsConfig rowConditions */ rowConditions?: (string[]|null); } /** Represents a TableAssertionsConfig. */ class TableAssertionsConfig implements ITableAssertionsConfig { /** * Constructs a new TableAssertionsConfig. * @param [properties] Properties to set */ constructor(properties?: dataform.ActionConfig.ITableAssertionsConfig); /** TableAssertionsConfig uniqueKey. */ public uniqueKey: string[]; /** TableAssertionsConfig uniqueKeys. */ public uniqueKeys: dataform.ActionConfig.TableAssertionsConfig.IUniqueKey[]; /** TableAssertionsConfig nonNull. */ public nonNull: string[]; /** TableAssertionsConfig rowConditions. */ public rowConditions: string[]; /** * Creates a new TableAssertionsConfig instance using the specified properties. * @param [properties] Properties to set * @returns TableAssertionsConfig instance */ public static create(properties?: dataform.ActionConfig.ITableAssertionsConfig): dataform.ActionConfig.TableAssertionsConfig; /** * Encodes the specified TableAssertionsConfig message. Does not implicitly {@link dataform.ActionConfig.TableAssertionsConfig.verify|verify} messages. * @param message TableAssertionsConfig message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: dataform.ActionConfig.ITableAssertionsConfig, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified TableAssertionsConfig message, length delimited. Does not implicitly {@link dataform.ActionConfig.TableAssertionsConfig.verify|verify} messages. * @param message TableAssertionsConfig message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: dataform.ActionConfig.ITableAssertionsConfig, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a TableAssertionsConfig message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns TableAssertionsConfig * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): dataform.ActionConfig.TableAssertionsConfig; /** * Decodes a TableAssertionsConfig message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns TableAssertionsConfig * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): dataform.ActionConfig.TableAssertionsConfig; /** * Verifies a TableAssertionsConfig message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a TableAssertionsConfig message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns TableAssertionsConfig */ public static fromObject(object: { [k: string]: any }): dataform.ActionConfig.TableAssertionsConfig; /** * Creates a plain object from a TableAssertionsConfig message. Also converts values to other types if specified. * @param message TableAssertionsConfig * @param [options] Conversion options * @returns Plain object */ public static toObject(message: dataform.ActionConfig.TableAssertionsConfig, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this TableAssertionsConfig to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for TableAssertionsConfig * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace TableAssertionsConfig { /** Properties of an UniqueKey. */ interface IUniqueKey { /** UniqueKey uniqueKey */ uniqueKey?: (string[]|null); } /** Represents an UniqueKey. */ class UniqueKey implements IUniqueKey { /** * Constructs a new UniqueKey. * @param [properties] Properties to set */ constructor(properties?: dataform.ActionConfig.TableAssertionsConfig.IUniqueKey); /** UniqueKey uniqueKey. */ public uniqueKey: string[]; /** * Creates a new UniqueKey instance using the specified properties. * @param [properties] Properties to set * @returns UniqueKey instance */ public static create(properties?: dataform.ActionConfig.TableAssertionsConfig.IUniqueKey): dataform.ActionConfig.TableAssertionsConfig.UniqueKey; /** * Encodes the specified UniqueKey message. Does not implicitly {@link dataform.ActionConfig.TableAssertionsConfig.UniqueKey.verify|verify} messages. * @param message UniqueKey message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: dataform.ActionConfig.TableAssertionsConfig.IUniqueKey, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified UniqueKey message, length delimited. Does not implicitly {@link dataform.ActionConfig.TableAssertionsConfig.UniqueKey.verify|verify} messages. * @param message UniqueKey message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: dataform.ActionConfig.TableAssertionsConfig.IUniqueKey, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an UniqueKey message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns UniqueKey * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): dataform.ActionConfig.TableAssertionsConfig.UniqueKey; /** * Decodes an UniqueKey message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns UniqueKey * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): dataform.ActionConfig.TableAssertionsConfig.UniqueKey; /** * Verifies an UniqueKey message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an UniqueKey message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns UniqueKey */ public static fromObject(object: { [k: string]: any }): dataform.ActionConfig.TableAssertionsConfig.UniqueKey; /** * Creates a plain object from an UniqueKey message. Also converts values to other types if specified. * @param message UniqueKey * @param [options] Conversion options * @returns Plain object */ public static toObject(message: dataform.ActionConfig.TableAssertionsConfig.UniqueKey, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this UniqueKey to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for UniqueKey * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } } /** Properties of an IcebergTableConfig. */ interface IIcebergTableConfig { /** IcebergTableConfig fileFormat */ fileFormat?: (dataform.ActionConfig.IcebergTableConfig.FileFormat|null); /** IcebergTableConfig connection */ connection?: (string|null); /** IcebergTableConfig bucketName */ bucketName?: (string|null); /** IcebergTableConfig tableFolderRoot */ tableFolderRoot?: (string|null); /** IcebergTableConfig tableFolderSubpath */ tableFolderSubpath?: (string|null); } /** Represents an IcebergTableConfig. */ class IcebergTableConfig implements IIcebergTableConfig { /** * Constructs a new IcebergTableConfig. * @param [properties] Properties to set */ constructor(properties?: dataform.ActionConfig.IIcebergTableConfig); /** IcebergTableConfig fileFormat. */ public fileFormat: dataform.ActionConfig.IcebergTableConfig.FileFormat; /** IcebergTableConfig connection. */ public connection: string; /** IcebergTableConfig bucketName. */ public bucketName: string; /** IcebergTableConfig tableFolderRoot. */ public tableFolderRoot: string; /** IcebergTableConfig tableFolderSubpath. */ public tableFolderSubpath: string; /** * Creates a new IcebergTableConfig instance using the specified properties. * @param [properties] Properties to set * @returns IcebergTableConfig instance */ public static create(properties?: dataform.ActionConfig.IIcebergTableConfig): dataform.ActionConfig.IcebergTableConfig; /** * Encodes the specified IcebergTableConfig message. Does not implicitly {@link dataform.ActionConfig.IcebergTableConfig.verify|verify} messages. * @param message IcebergTableConfig message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: dataform.ActionConfig.IIcebergTableConfig, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified IcebergTableConfig message, length delimited. Does not implicitly {@link dataform.ActionConfig.IcebergTableConfig.verify|verify} messages. * @param message IcebergTableConfig message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: dataform.ActionConfig.IIcebergTableConfig, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an IcebergTableConfig message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns IcebergTableConfig * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): dataform.ActionConfig.IcebergTableConfig; /** * Decodes an IcebergTableConfig message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns IcebergTableConfig * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): dataform.ActionConfig.IcebergTableConfig; /** * Verifies an IcebergTableConfig message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an IcebergTableConfig message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns IcebergTableConfig */ public static fromObject(object: { [k: string]: any }): dataform.ActionConfig.IcebergTableConfig; /** * Creates a plain object from an IcebergTableConfig message. Also converts values to other types if specified. * @param message IcebergTableConfig * @param [options] Conversion options * @returns Plain object */ public static toObject(message: dataform.ActionConfig.IcebergTableConfig, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this IcebergTableConfig to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for IcebergTableConfig * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } namespace IcebergTableConfig { /** FileFormat enum. */ enum FileFormat { FILE_FORMAT_UNSPECIFIED = 0, PARQUET = 1 } } /** Properties of a TableConfig. */ interface ITableConfig { /** TableConfig name */ name?: (string|null); /** TableConfig dataset */ dataset?: (string|null); /** TableConfig project */ project?: (string|null); /** TableConfig dependencyTargets */ dependencyTargets?: (dataform.ActionConfig.ITarget[]|null); /** TableConfig filename */ filename?: (string|null); /** TableConfig tags */ tags?: (string[]|null); /** TableConfig disabled */ disabled?: (boolean|null); /** TableConfig preOperations */ preOperations?: (string[]|null); /** TableConfig postOperations */ postOperations?: (string[]|null); /** TableConfig description */ description?: (string|null); /** TableConfig columns */ columns?: (dataform.ActionConfig.IColumnDescriptor[]|null); /** TableConfig partitionBy */ partitionBy?: (string|null); /** TableConfig partitionExpirationDays */ partitionExpirationDays?: (number|null); /** TableConfig requirePartitionFilter */ requirePartitionFilter?: (boolean|null); /** TableConfig clusterBy */ clusterBy?: (string[]|null); /** TableConfig labels */ labels?: ({ [k: string]: string }|null); /** TableConfig additionalOptions */ additionalOptions?: ({ [k: string]: string }|null); /** TableConfig dependOnDependencyAssertions */ dependOnDependencyAssertions?: (boolean|null); /** TableConfig assertions */ assertions?: (dataform.ActionConfig.ITableAssertionsConfig|null); /** TableConfig hermetic */ hermetic?: (boolean|null); /** TableConfig iceberg */ iceberg?: (dataform.ActionConfig.IIcebergTableConfig|null); /** TableConfig metadata */ metadata?: (dataform.ActionConfig.IMetadata|null); } /** Represents a TableConfig. */ class TableConfig implements ITableConfig { /** * Constructs a new TableConfig. * @param [properties] Properties to set */ constructor(properties?: dataform.Ac