@dataform/core
Version:
Dataform core API.
1,213 lines (955 loc) • 337 kB
TypeScript
import * as $protobuf from 'protobufjs';
declare function compile(code: string, path: string): string;
declare function main(coreExecutionRequest: Uint8Array | string): Uint8Array | 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);
}
/** 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;
/**
* 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 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 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);
}
/** Represents a TableConfig. */
class TableConfig implements ITableConfig {
/**
* Constructs a new TableConfig.
* @param [properties] Properties to set
*/
constructor(properties?: dataform.ActionConfig.ITableConfig);
/** TableConfig name. */
public name: string;
/** TableConfig dataset. */
public dataset: string;
/** TableConfig project. */
public project: string;
/** TableConfig dependencyTargets. */
public dependencyTargets: dataform.ActionConfig.ITarget[];
/** TableConfig filename. */
public filename: string;
/** TableConfig tags. */
public tags: string[];
/** TableConfig disabled. */
public disabled: boolean;
/** TableConfig preOperations. */
public preOperations: string[];
/** TableConfig postOperations. */
public postOperations: string[];
/** TableConfig description. */
public description: string;
/** TableConfig columns. */
public columns: dataform.ActionConfig.IColumnDescriptor[];
/** TableConfig partitionBy. */
public partitionBy: string;
/** TableConfig partitionExpirationDays. */
public partitionExpirationDays: number;
/** TableConfig requirePartitionFilter. */
public requirePartitionFilter: boolean;
/** TableConfig clusterBy. */
public clusterBy: string[];
/** TableConfig labels. */
public labels: { [k: string]: string };
/** TableConfig additionalOptions. */
public additionalOptions: { [k: string]: string };
/** TableConfig dependOnDependencyAssertions. */
public dependOnDependencyAssertions: boolean;
/** TableConfig assertions. */
public assertions?: (dataform.ActionConfig.ITableAssertionsConfig|null);
/** TableConfig hermetic. */
public hermetic: boolean;
/**
* Creates a new TableConfig instance using the specified properties.
* @param [properties] Properties to set
* @returns TableConfig instance
*/
public static create(properties?: dataform.ActionConfig.ITableConfig): dataform.ActionConfig.TableConfig;
/**
* Encodes the specified TableConfig message. Does not implicitly {@link dataform.ActionConfig.TableConfig.verify|verify} messages.
* @param message TableConfig message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: dataform.ActionConfig.ITableConfig, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified TableConfig message, length delimited. Does not implicitly {@link dataform.ActionConfig.TableConfig.verify|verify} messages.
* @param message TableConfig message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: dataform.ActionConfig.ITableConfig, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a TableConfig message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns TableConfig
* @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.TableConfig;
/**
* Decodes a TableConfig message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns TableConfig
* @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.TableConfig;
/**
* Verifies a TableConfig 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 TableConfig message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns TableConfig
*/
public static fromObject(object: { [k: string]: any }): dataform.ActionConfig.TableConfig;
/**
* Creates a plain object from a TableConfig message. Also converts values to other types if specified.
* @param message TableConfig
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: dataform.ActionConfig.TableConfig, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this TableConfig to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
/**
* Gets the default type url for TableConfig
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
public static getTypeUrl(typeUrlPrefix?: string): string;
}
/** Properties of a ViewConfig. */
interface IViewConfig {
/** ViewConfig name */
name?: (string|null);
/** ViewConfig dataset */
dataset?: (string|null);
/** ViewConfig project */
project?: (string|null);
/** ViewConfig dependencyTargets */
dependencyTargets?: (dataform.ActionConfig.ITarget[]|null);
/** ViewConfig filename */
filename?: (string|null);
/** ViewConfig tags */
tags?: (string[]|null);
/** ViewConfig disabled */
disabled?: (boolean|null);
/** ViewConfig preOperations */
preOperations?: (string[]|null);
/** ViewConfig postOperations */
postOperations?: (string[]|null);
/** ViewConfig materialized */
materialized?: (boolean|null);
/** ViewConfig description */
description?: (string|null);
/** ViewConfig columns */
columns?: (dataform.ActionConfig.IColumnDescriptor[]|null);
/** ViewConfig labels */
labels?: ({ [k: string]: string }|null);
/** ViewConfig additionalOptions */
additionalOptions?: ({ [k: string]: string }|null);
/** ViewConfig dependOnDependencyAssertions */
dependOnDependencyAssertions?: (boolean|null);
/** ViewConfig hermetic */
hermetic?: (boolean|null);
/** ViewConfig assertions */
assertions?: (dataform.ActionConfig.ITableAssertionsConfig|null);
}
/** Represents a ViewConfig. */
class ViewConfig implements IViewConfig {
/**
* Constructs a new ViewConfig.
* @param [properties] Properties to set
*/
constructor(properties?: dataform.ActionConfig.IViewConfig);
/** ViewConfig name. */
public name: string;
/** ViewConfig dataset. */
public dataset: string;
/** ViewConfig project. */
public project: string;
/** ViewConfig dependencyTargets. */
public dependencyTargets: dataform.ActionConfig.ITarget[];
/** ViewConfig filename. */
public filename: string;
/** ViewConfig tags. */
public tags: string[];
/** ViewConfig disabled. */
public disabled: boolean;
/** ViewConfig preOperations. */
public preOperations: string[];
/** ViewConfig postOperations. */
public postOperations: string[];
/** ViewConfig materialized. */
public materialized: boolean;
/** ViewConfig description. */
public description: string;
/** ViewConfig columns. */
public columns: dataform.ActionConfig.IColumnDescriptor[];
/** ViewConfig labels. */
public labels: { [k: string]: string };
/** ViewConfig additionalOptions. */
public additionalOptions: { [k: string]: string };
/** ViewConfig dependOnDependencyAssertions. */
public dependOnDependencyAssertions: boolean;
/** ViewConfig hermetic. */
public hermetic: boolean;
/** ViewConfig assertions. */
public assertions?: (dataform.ActionConfig.ITableAssertionsConfig|null);
/**
* Creates a new ViewConfig instance using the specified properties.
* @param [properties] Properties to set
* @returns ViewConfig instance
*/
public static create(properties?: dataform.ActionConfig.IViewConfig): dataform.ActionConfig.ViewConfig;
/**
* Encodes the specified ViewConfig message. Does not implicitly {@link dataform.ActionConfig.ViewConfig.verify|verify} messages.
* @param message ViewConfig message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: dataform.ActionConfig.IViewConfig, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified ViewConfig message, length delimited. Does not implicitly {@link dataform.ActionConfig.ViewConfig.verify|verify} messages.
* @param message ViewConfig message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: dataform.ActionConfig.IViewConfig, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a ViewConfig message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns ViewConfig
* @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.ViewConfig;
/**
* Decodes a ViewConfig mes