Package cloud.google.com/go/dataform/apiv1alpha2/dataformpb (v0.3.0)

Stay organized with collections Save and categorize content based on your preferences.

Variables

Repository_GitRemoteSettings_TokenStatus_name, Repository_GitRemoteSettings_TokenStatus_value

var (
	Repository_GitRemoteSettings_TokenStatus_name = map[int32]string{
		0: "TOKEN_STATUS_UNSPECIFIED",
		1: "NOT_FOUND",
		2: "INVALID",
		3: "VALID",
	}
	Repository_GitRemoteSettings_TokenStatus_value = map[string]int32{
		"TOKEN_STATUS_UNSPECIFIED": 0,
		"NOT_FOUND":                1,
		"INVALID":                  2,
		"VALID":                    3,
	}
)

Enum value maps for Repository_GitRemoteSettings_TokenStatus.

FetchFileGitStatusesResponse_UncommittedFileChange_State_name, FetchFileGitStatusesResponse_UncommittedFileChange_State_value

var (
	FetchFileGitStatusesResponse_UncommittedFileChange_State_name = map[int32]string{
		0: "STATE_UNSPECIFIED",
		1: "ADDED",
		2: "DELETED",
		3: "MODIFIED",
		4: "HAS_CONFLICTS",
	}
	FetchFileGitStatusesResponse_UncommittedFileChange_State_value = map[string]int32{
		"STATE_UNSPECIFIED": 0,
		"ADDED":             1,
		"DELETED":           2,
		"MODIFIED":          3,
		"HAS_CONFLICTS":     4,
	}
)

Enum value maps for FetchFileGitStatusesResponse_UncommittedFileChange_State.

CompilationResultAction_Relation_RelationType_name, CompilationResultAction_Relation_RelationType_value

var (
	CompilationResultAction_Relation_RelationType_name = map[int32]string{
		0: "RELATION_TYPE_UNSPECIFIED",
		1: "TABLE",
		2: "VIEW",
		3: "INCREMENTAL_TABLE",
		4: "MATERIALIZED_VIEW",
	}
	CompilationResultAction_Relation_RelationType_value = map[string]int32{
		"RELATION_TYPE_UNSPECIFIED": 0,
		"TABLE":                     1,
		"VIEW":                      2,
		"INCREMENTAL_TABLE":         3,
		"MATERIALIZED_VIEW":         4,
	}
)

Enum value maps for CompilationResultAction_Relation_RelationType.

WorkflowInvocation_State_name, WorkflowInvocation_State_value

var (
	WorkflowInvocation_State_name = map[int32]string{
		0: "STATE_UNSPECIFIED",
		1: "RUNNING",
		2: "SUCCEEDED",
		3: "CANCELLED",
		4: "FAILED",
		5: "CANCELING",
	}
	WorkflowInvocation_State_value = map[string]int32{
		"STATE_UNSPECIFIED": 0,
		"RUNNING":           1,
		"SUCCEEDED":         2,
		"CANCELLED":         3,
		"FAILED":            4,
		"CANCELING":         5,
	}
)

Enum value maps for WorkflowInvocation_State.

WorkflowInvocationAction_State_name, WorkflowInvocationAction_State_value

var (
	WorkflowInvocationAction_State_name = map[int32]string{
		0: "PENDING",
		1: "RUNNING",
		2: "SKIPPED",
		3: "DISABLED",
		4: "SUCCEEDED",
		5: "CANCELLED",
		6: "FAILED",
	}
	WorkflowInvocationAction_State_value = map[string]int32{
		"PENDING":   0,
		"RUNNING":   1,
		"SKIPPED":   2,
		"DISABLED":  3,
		"SUCCEEDED": 4,
		"CANCELLED": 5,
		"FAILED":    6,
	}
)

Enum value maps for WorkflowInvocationAction_State.

File_google_cloud_dataform_v1alpha2_dataform_proto

var File_google_cloud_dataform_v1alpha2_dataform_proto protoreflect.FileDescriptor

Functions

func RegisterDataformServer

func RegisterDataformServer(s *grpc.Server, srv DataformServer)

CancelWorkflowInvocationRequest

type CancelWorkflowInvocationRequest struct {

	// Required. The workflow invocation resource's name.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

CancelWorkflowInvocation request message.

func (*CancelWorkflowInvocationRequest) Descriptor

func (*CancelWorkflowInvocationRequest) Descriptor() ([]byte, []int)

Deprecated: Use CancelWorkflowInvocationRequest.ProtoReflect.Descriptor instead.

func (*CancelWorkflowInvocationRequest) GetName

func (*CancelWorkflowInvocationRequest) ProtoMessage

func (*CancelWorkflowInvocationRequest) ProtoMessage()

func (*CancelWorkflowInvocationRequest) ProtoReflect

func (*CancelWorkflowInvocationRequest) Reset

func (*CancelWorkflowInvocationRequest) String

CommitAuthor

type CommitAuthor struct {

	// Required. The commit author's name.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Required. The commit author's email address.
	EmailAddress string `protobuf:"bytes,2,opt,name=email_address,json=emailAddress,proto3" json:"email_address,omitempty"`
	// contains filtered or unexported fields
}

Represents the author of a Git commit.

func (*CommitAuthor) Descriptor

func (*CommitAuthor) Descriptor() ([]byte, []int)

Deprecated: Use CommitAuthor.ProtoReflect.Descriptor instead.

func (*CommitAuthor) GetEmailAddress

func (x *CommitAuthor) GetEmailAddress() string

func (*CommitAuthor) GetName

func (x *CommitAuthor) GetName() string

func (*CommitAuthor) ProtoMessage

func (*CommitAuthor) ProtoMessage()

func (*CommitAuthor) ProtoReflect

func (x *CommitAuthor) ProtoReflect() protoreflect.Message

func (*CommitAuthor) Reset

func (x *CommitAuthor) Reset()

func (*CommitAuthor) String

func (x *CommitAuthor) String() string

CommitWorkspaceChangesRequest

type CommitWorkspaceChangesRequest struct {

	// Required. The workspace's name.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Required. The commit's author.
	Author *CommitAuthor `protobuf:"bytes,4,opt,name=author,proto3" json:"author,omitempty"`
	// Optional. The commit's message.
	CommitMessage string `protobuf:"bytes,2,opt,name=commit_message,json=commitMessage,proto3" json:"commit_message,omitempty"`
	// Optional. Full file paths to commit including filename, rooted at workspace root. If
	// left empty, all files will be committed.
	Paths []string `protobuf:"bytes,3,rep,name=paths,proto3" json:"paths,omitempty"`
	// contains filtered or unexported fields
}

CommitWorkspaceChanges request message.

func (*CommitWorkspaceChangesRequest) Descriptor

func (*CommitWorkspaceChangesRequest) Descriptor() ([]byte, []int)

Deprecated: Use CommitWorkspaceChangesRequest.ProtoReflect.Descriptor instead.

func (*CommitWorkspaceChangesRequest) GetAuthor

func (*CommitWorkspaceChangesRequest) GetCommitMessage

func (x *CommitWorkspaceChangesRequest) GetCommitMessage() string

func (*CommitWorkspaceChangesRequest) GetName

func (*CommitWorkspaceChangesRequest) GetPaths

func (x *CommitWorkspaceChangesRequest) GetPaths() []string

func (*CommitWorkspaceChangesRequest) ProtoMessage

func (*CommitWorkspaceChangesRequest) ProtoMessage()

func (*CommitWorkspaceChangesRequest) ProtoReflect

func (*CommitWorkspaceChangesRequest) Reset

func (x *CommitWorkspaceChangesRequest) Reset()

func (*CommitWorkspaceChangesRequest) String

CompilationResult

type CompilationResult struct {

	// Output only. The compilation result's name.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Types that are assignable to Source:
	//
	//	*CompilationResult_GitCommitish
	//	*CompilationResult_Workspace
	Source isCompilationResult_Source `protobuf_oneof:"source"`
	// Immutable. If set, fields of `code_compilation_overrides` override the default
	// compilation settings that are specified in dataform.json.
	CodeCompilationConfig *CompilationResult_CodeCompilationConfig `protobuf:"bytes,4,opt,name=code_compilation_config,json=codeCompilationConfig,proto3" json:"code_compilation_config,omitempty"`
	// Output only. The version of `@dataform/core` that was used for compilation.
	DataformCoreVersion string `protobuf:"bytes,5,opt,name=dataform_core_version,json=dataformCoreVersion,proto3" json:"dataform_core_version,omitempty"`
	// Output only. Errors encountered during project compilation.
	CompilationErrors []*CompilationResult_CompilationError `protobuf:"bytes,6,rep,name=compilation_errors,json=compilationErrors,proto3" json:"compilation_errors,omitempty"`
	// contains filtered or unexported fields
}

Represents the result of compiling a Dataform project.

func (*CompilationResult) Descriptor

func (*CompilationResult) Descriptor() ([]byte, []int)

Deprecated: Use CompilationResult.ProtoReflect.Descriptor instead.

func (*CompilationResult) GetCodeCompilationConfig

func (x *CompilationResult) GetCodeCompilationConfig() *CompilationResult_CodeCompilationConfig

func (*CompilationResult) GetCompilationErrors

func (x *CompilationResult) GetCompilationErrors() []*CompilationResult_CompilationError

func (*CompilationResult) GetDataformCoreVersion

func (x *CompilationResult) GetDataformCoreVersion() string

func (*CompilationResult) GetGitCommitish

func (x *CompilationResult) GetGitCommitish() string

func (*CompilationResult) GetName

func (x *CompilationResult) GetName() string

func (*CompilationResult) GetSource

func (m *CompilationResult) GetSource() isCompilationResult_Source

func (*CompilationResult) GetWorkspace

func (x *CompilationResult) GetWorkspace() string

func (*CompilationResult) ProtoMessage

func (*CompilationResult) ProtoMessage()

func (*CompilationResult) ProtoReflect

func (x *CompilationResult) ProtoReflect() protoreflect.Message

func (*CompilationResult) Reset

func (x *CompilationResult) Reset()

func (*CompilationResult) String

func (x *CompilationResult) String() string

CompilationResultAction

type CompilationResultAction struct {

	// This action's identifier. Unique within the compilation result.
	Target *Target `protobuf:"bytes,1,opt,name=target,proto3" json:"target,omitempty"`
	// The action's identifier if the project had been compiled without any
	// overrides configured. Unique within the compilation result.
	CanonicalTarget *Target `protobuf:"bytes,2,opt,name=canonical_target,json=canonicalTarget,proto3" json:"canonical_target,omitempty"`
	// The full path including filename in which this action is located, relative
	// to the workspace root.
	FilePath string `protobuf:"bytes,3,opt,name=file_path,json=filePath,proto3" json:"file_path,omitempty"`
	// Types that are assignable to CompiledObject:
	//
	//	*CompilationResultAction_Relation_
	//	*CompilationResultAction_Operations_
	//	*CompilationResultAction_Assertion_
	//	*CompilationResultAction_Declaration_
	CompiledObject isCompilationResultAction_CompiledObject `protobuf_oneof:"compiled_object"`
	// contains filtered or unexported fields
}

Represents a single Dataform action in a compilation result.

func (*CompilationResultAction) Descriptor

func (*CompilationResultAction) Descriptor() ([]byte, []int)

Deprecated: Use CompilationResultAction.ProtoReflect.Descriptor instead.

func (*CompilationResultAction) GetAssertion

func (*CompilationResultAction) GetCanonicalTarget

func (x *CompilationResultAction) GetCanonicalTarget() *Target

func (*CompilationResultAction) GetCompiledObject

func (m *CompilationResultAction) GetCompiledObject() isCompilationResultAction_CompiledObject

func (*CompilationResultAction) GetDeclaration

func (*CompilationResultAction) GetFilePath

func (x *CompilationResultAction) GetFilePath() string

func (*CompilationResultAction) GetOperations

func (*CompilationResultAction) GetRelation

func (*CompilationResultAction) GetTarget

func (x *CompilationResultAction) GetTarget() *Target

func (*CompilationResultAction) ProtoMessage

func (*CompilationResultAction) ProtoMessage()

func (*CompilationResultAction) ProtoReflect

func (x *CompilationResultAction) ProtoReflect() protoreflect.Message

func (*CompilationResultAction) Reset

func (x *CompilationResultAction) Reset()

func (*CompilationResultAction) String

func (x *CompilationResultAction) String() string

CompilationResultAction_Assertion

type CompilationResultAction_Assertion struct {

	// A list of actions that this action depends on.
	DependencyTargets []*Target `protobuf:"bytes,1,rep,name=dependency_targets,json=dependencyTargets,proto3" json:"dependency_targets,omitempty"`
	// The parent action of this assertion. Only set if this assertion was
	// automatically generated.
	ParentAction *Target `protobuf:"bytes,5,opt,name=parent_action,json=parentAction,proto3" json:"parent_action,omitempty"`
	// Whether this action is disabled (i.e. should not be run).
	Disabled bool `protobuf:"varint,2,opt,name=disabled,proto3" json:"disabled,omitempty"`
	// Arbitrary, user-defined tags on this action.
	Tags []string `protobuf:"bytes,3,rep,name=tags,proto3" json:"tags,omitempty"`
	// The SELECT query which must return zero rows in order for this assertion
	// to succeed.
	SelectQuery string `protobuf:"bytes,4,opt,name=select_query,json=selectQuery,proto3" json:"select_query,omitempty"`
	// Descriptor for the assertion's automatically-generated view and its
	// columns.
	RelationDescriptor *RelationDescriptor `protobuf:"bytes,6,opt,name=relation_descriptor,json=relationDescriptor,proto3" json:"relation_descriptor,omitempty"`
	// contains filtered or unexported fields
}

Represents an assertion upon a SQL query which is required return zero rows.

func (*CompilationResultAction_Assertion) Descriptor

func (*CompilationResultAction_Assertion) Descriptor() ([]byte, []int)

Deprecated: Use CompilationResultAction_Assertion.ProtoReflect.Descriptor instead.

func (*CompilationResultAction_Assertion) GetDependencyTargets

func (x *CompilationResultAction_Assertion) GetDependencyTargets() []*Target

func (*CompilationResultAction_Assertion) GetDisabled

func (x *CompilationResultAction_Assertion) GetDisabled() bool

func (*CompilationResultAction_Assertion) GetParentAction

func (x *CompilationResultAction_Assertion) GetParentAction() *Target

func (*CompilationResultAction_Assertion) GetRelationDescriptor

func (x *CompilationResultAction_Assertion) GetRelationDescriptor() *RelationDescriptor

func (*CompilationResultAction_Assertion) GetSelectQuery

func (x *CompilationResultAction_Assertion) GetSelectQuery() string

func (*CompilationResultAction_Assertion) GetTags

func (*CompilationResultAction_Assertion) ProtoMessage

func (*CompilationResultAction_Assertion) ProtoMessage()

func (*CompilationResultAction_Assertion) ProtoReflect

func (*CompilationResultAction_Assertion) Reset

func (*CompilationResultAction_Assertion) String

CompilationResultAction_Assertion_

type CompilationResultAction_Assertion_ struct {
	// The assertion executed by this action.
	Assertion *CompilationResultAction_Assertion `protobuf:"bytes,6,opt,name=assertion,proto3,oneof"`
}

CompilationResultAction_Declaration

type CompilationResultAction_Declaration struct {

	// Descriptor for the relation and its columns. Used as documentation only,
	// i.e. values here will result in no changes to the relation's metadata.
	RelationDescriptor *RelationDescriptor `protobuf:"bytes,1,opt,name=relation_descriptor,json=relationDescriptor,proto3" json:"relation_descriptor,omitempty"`
	// contains filtered or unexported fields
}

Represents a relation which is not managed by Dataform but which may be referenced by Dataform actions.

func (*CompilationResultAction_Declaration) Descriptor

func (*CompilationResultAction_Declaration) Descriptor() ([]byte, []int)

Deprecated: Use CompilationResultAction_Declaration.ProtoReflect.Descriptor instead.

func (*CompilationResultAction_Declaration) GetRelationDescriptor

func (x *CompilationResultAction_Declaration) GetRelationDescriptor() *RelationDescriptor

func (*CompilationResultAction_Declaration) ProtoMessage

func (*CompilationResultAction_Declaration) ProtoMessage()

func (*CompilationResultAction_Declaration) ProtoReflect

func (*CompilationResultAction_Declaration) Reset

func (*CompilationResultAction_Declaration) String

CompilationResultAction_Declaration_

type CompilationResultAction_Declaration_ struct {
	// The declaration declared by this action.
	Declaration *CompilationResultAction_Declaration `protobuf:"bytes,7,opt,name=declaration,proto3,oneof"`
}

CompilationResultAction_Operations

type CompilationResultAction_Operations struct {

	// A list of actions that this action depends on.
	DependencyTargets []*Target `protobuf:"bytes,1,rep,name=dependency_targets,json=dependencyTargets,proto3" json:"dependency_targets,omitempty"`
	// Whether this action is disabled (i.e. should not be run).
	Disabled bool `protobuf:"varint,2,opt,name=disabled,proto3" json:"disabled,omitempty"`
	// Arbitrary, user-defined tags on this action.
	Tags []string `protobuf:"bytes,3,rep,name=tags,proto3" json:"tags,omitempty"`
	// Descriptor for any output relation and its columns. Only set if
	// `has_output` is true.
	RelationDescriptor *RelationDescriptor `protobuf:"bytes,6,opt,name=relation_descriptor,json=relationDescriptor,proto3" json:"relation_descriptor,omitempty"`
	// A list of arbitrary SQL statements that will be executed without
	// alteration.
	Queries []string `protobuf:"bytes,4,rep,name=queries,proto3" json:"queries,omitempty"`
	// Whether these operations produce an output relation.
	HasOutput bool `protobuf:"varint,5,opt,name=has_output,json=hasOutput,proto3" json:"has_output,omitempty"`
	// contains filtered or unexported fields
}

Represents a list of arbitrary database operations.

func (*CompilationResultAction_Operations) Descriptor

func (*CompilationResultAction_Operations) Descriptor() ([]byte, []int)

Deprecated: Use CompilationResultAction_Operations.ProtoReflect.Descriptor instead.

func (*CompilationResultAction_Operations) GetDependencyTargets

func (x *CompilationResultAction_Operations) GetDependencyTargets() []*Target

func (*CompilationResultAction_Operations) GetDisabled

func (x *CompilationResultAction_Operations) GetDisabled() bool

func (*CompilationResultAction_Operations) GetHasOutput

func (x *CompilationResultAction_Operations) GetHasOutput() bool

func (*CompilationResultAction_Operations) GetQueries

func (x *CompilationResultAction_Operations) GetQueries() []string

func (*CompilationResultAction_Operations) GetRelationDescriptor

func (x *CompilationResultAction_Operations) GetRelationDescriptor() *RelationDescriptor

func (*CompilationResultAction_Operations) GetTags

func (*CompilationResultAction_Operations) ProtoMessage

func (*CompilationResultAction_Operations) ProtoMessage()

func (*CompilationResultAction_Operations) ProtoReflect

func (*CompilationResultAction_Operations) Reset

func (*CompilationResultAction_Operations) String

CompilationResultAction_Operations_

type CompilationResultAction_Operations_ struct {
	// The database operations executed by this action.
	Operations *CompilationResultAction_Operations `protobuf:"bytes,5,opt,name=operations,proto3,oneof"`
}

CompilationResultAction_Relation

type CompilationResultAction_Relation struct {
	DependencyTargets []*Target `protobuf:"bytes,1,rep,name=dependency_targets,json=dependencyTargets,proto3" json:"dependency_targets,omitempty"`

	Disabled bool `protobuf:"varint,2,opt,name=disabled,proto3" json:"disabled,omitempty"`

	Tags []string `protobuf:"bytes,3,rep,name=tags,proto3" json:"tags,omitempty"`

	RelationDescriptor *RelationDescriptor `protobuf:"bytes,4,opt,name=relation_descriptor,json=relationDescriptor,proto3" json:"relation_descriptor,omitempty"`

	RelationType CompilationResultAction_Relation_RelationType "" /* 180 byte string literal not displayed */

	SelectQuery string `protobuf:"bytes,6,opt,name=select_query,json=selectQuery,proto3" json:"select_query,omitempty"`

	PreOperations []string `protobuf:"bytes,7,rep,name=pre_operations,json=preOperations,proto3" json:"pre_operations,omitempty"`

	PostOperations []string `protobuf:"bytes,8,rep,name=post_operations,json=postOperations,proto3" json:"post_operations,omitempty"`

	IncrementalTableConfig *CompilationResultAction_Relation_IncrementalTableConfig "" /* 129 byte string literal not displayed */

	PartitionExpression string `protobuf:"bytes,10,opt,name=partition_expression,json=partitionExpression,proto3" json:"partition_expression,omitempty"`

	ClusterExpressions []string `protobuf:"bytes,11,rep,name=cluster_expressions,json=clusterExpressions,proto3" json:"cluster_expressions,omitempty"`

	PartitionExpirationDays int32 "" /* 134 byte string literal not displayed */

	RequirePartitionFilter bool "" /* 131 byte string literal not displayed */

	AdditionalOptions map[string]string "" /* 201 byte string literal not displayed */

}

Represents a database relation.

func (*CompilationResultAction_Relation) Descriptor

func (*CompilationResultAction_Relation) Descriptor() ([]byte, []int)

Deprecated: Use CompilationResultAction_Relation.ProtoReflect.Descriptor instead.

func (*CompilationResultAction_Relation) GetAdditionalOptions

func (x *CompilationResultAction_Relation) GetAdditionalOptions() map[string]string

func (*CompilationResultAction_Relation) GetClusterExpressions

func (x *CompilationResultAction_Relation) GetClusterExpressions() []string

func (*CompilationResultAction_Relation) GetDependencyTargets

func (x *CompilationResultAction_Relation) GetDependencyTargets() []*Target

func (*CompilationResultAction_Relation) GetDisabled

func (x *CompilationResultAction_Relation) GetDisabled() bool

func (*CompilationResultAction_Relation) GetIncrementalTableConfig

func (*CompilationResultAction_Relation) GetPartitionExpirationDays

func (x *CompilationResultAction_Relation) GetPartitionExpirationDays() int32

func (*CompilationResultAction_Relation) GetPartitionExpression

func (x *CompilationResultAction_Relation) GetPartitionExpression() string

func (*CompilationResultAction_Relation) GetPostOperations

func (x *CompilationResultAction_Relation) GetPostOperations() []string

func (*CompilationResultAction_Relation) GetPreOperations

func (x *CompilationResultAction_Relation) GetPreOperations() []string

func (*CompilationResultAction_Relation) GetRelationDescriptor

func (x *CompilationResultAction_Relation) GetRelationDescriptor() *RelationDescriptor

func (*CompilationResultAction_Relation) GetRelationType

func (*CompilationResultAction_Relation) GetRequirePartitionFilter

func (x *CompilationResultAction_Relation) GetRequirePartitionFilter() bool

func (*CompilationResultAction_Relation) GetSelectQuery

func (x *CompilationResultAction_Relation) GetSelectQuery() string

func (*CompilationResultAction_Relation) GetTags

func (*CompilationResultAction_Relation) ProtoMessage

func (*CompilationResultAction_Relation) ProtoMessage()

func (*CompilationResultAction_Relation) ProtoReflect

func (*CompilationResultAction_Relation) Reset

func (*CompilationResultAction_Relation) String

CompilationResultAction_Relation_

type CompilationResultAction_Relation_ struct {
	// The database relation created/updated by this action.
	Relation *CompilationResultAction_Relation `protobuf:"bytes,4,opt,name=relation,proto3,oneof"`
}

CompilationResultAction_Relation_IncrementalTableConfig

type CompilationResultAction_Relation_IncrementalTableConfig struct {
	IncrementalSelectQuery string "" /* 129 byte string literal not displayed */

	RefreshDisabled bool `protobuf:"varint,2,opt,name=refresh_disabled,json=refreshDisabled,proto3" json:"refresh_disabled,omitempty"`

	UniqueKeyParts []string `protobuf:"bytes,3,rep,name=unique_key_parts,json=uniqueKeyParts,proto3" json:"unique_key_parts,omitempty"`

	UpdatePartitionFilter string `protobuf:"bytes,4,opt,name=update_partition_filter,json=updatePartitionFilter,proto3" json:"update_partition_filter,omitempty"`

	IncrementalPreOperations []string "" /* 135 byte string literal not displayed */

	IncrementalPostOperations []string "" /* 138 byte string literal not displayed */

}

Contains settings for relations of type INCREMENTAL_TABLE.

func (*CompilationResultAction_Relation_IncrementalTableConfig) Descriptor

Deprecated: Use CompilationResultAction_Relation_IncrementalTableConfig.ProtoReflect.Descriptor instead.

func (*CompilationResultAction_Relation_IncrementalTableConfig) GetIncrementalPostOperations

func (x *CompilationResultAction_Relation_IncrementalTableConfig) GetIncrementalPostOperations() []string

func (*CompilationResultAction_Relation_IncrementalTableConfig) GetIncrementalPreOperations

func (x *CompilationResultAction_Relation_IncrementalTableConfig) GetIncrementalPreOperations() []string

func (*CompilationResultAction_Relation_IncrementalTableConfig) GetIncrementalSelectQuery

func (x *CompilationResultAction_Relation_IncrementalTableConfig) GetIncrementalSelectQuery() string

func (*CompilationResultAction_Relation_IncrementalTableConfig) GetRefreshDisabled

func (*CompilationResultAction_Relation_IncrementalTableConfig) GetUniqueKeyParts

func (*CompilationResultAction_Relation_IncrementalTableConfig) GetUpdatePartitionFilter

func (*CompilationResultAction_Relation_IncrementalTableConfig) ProtoMessage

func (*CompilationResultAction_Relation_IncrementalTableConfig) ProtoReflect

func (*CompilationResultAction_Relation_IncrementalTableConfig) Reset

func (*CompilationResultAction_Relation_IncrementalTableConfig) String

CompilationResultAction_Relation_RelationType

type CompilationResultAction_Relation_RelationType int32

Indicates the type of this relation.

CompilationResultAction_Relation_RELATION_TYPE_UNSPECIFIED, CompilationResultAction_Relation_TABLE, CompilationResultAction_Relation_VIEW, CompilationResultAction_Relation_INCREMENTAL_TABLE, CompilationResultAction_Relation_MATERIALIZED_VIEW

const (
	// Default value. This value is unused.
	CompilationResultAction_Relation_RELATION_TYPE_UNSPECIFIED CompilationResultAction_Relation_RelationType = 0
	// The relation is a table.
	CompilationResultAction_Relation_TABLE CompilationResultAction_Relation_RelationType = 1
	// The relation is a view.
	CompilationResultAction_Relation_VIEW CompilationResultAction_Relation_RelationType = 2
	// The relation is an incrementalized table.
	CompilationResultAction_Relation_INCREMENTAL_TABLE CompilationResultAction_Relation_RelationType = 3
	// The relation is a materialized view.
	CompilationResultAction_Relation_MATERIALIZED_VIEW CompilationResultAction_Relation_RelationType = 4
)

func (CompilationResultAction_Relation_RelationType) Descriptor

func (CompilationResultAction_Relation_RelationType) Enum

func (CompilationResultAction_Relation_RelationType) EnumDescriptor

func (CompilationResultAction_Relation_RelationType) EnumDescriptor() ([]byte, []int)

Deprecated: Use CompilationResultAction_Relation_RelationType.Descriptor instead.

func (CompilationResultAction_Relation_RelationType) Number

func (CompilationResultAction_Relation_RelationType) String

func (CompilationResultAction_Relation_RelationType) Type

CompilationResult_CodeCompilationConfig

type CompilationResult_CodeCompilationConfig struct {
	DefaultDatabase string `protobuf:"bytes,1,opt,name=default_database,json=defaultDatabase,proto3" json:"default_database,omitempty"`

	DefaultSchema string `protobuf:"bytes,2,opt,name=default_schema,json=defaultSchema,proto3" json:"default_schema,omitempty"`

	DefaultLocation string `protobuf:"bytes,8,opt,name=default_location,json=defaultLocation,proto3" json:"default_location,omitempty"`

	AssertionSchema string `protobuf:"bytes,3,opt,name=assertion_schema,json=assertionSchema,proto3" json:"assertion_schema,omitempty"`

	Vars map[string]string "" /* 149 byte string literal not displayed */

	DatabaseSuffix string `protobuf:"bytes,5,opt,name=database_suffix,json=databaseSuffix,proto3" json:"database_suffix,omitempty"`

	SchemaSuffix string `protobuf:"bytes,6,opt,name=schema_suffix,json=schemaSuffix,proto3" json:"schema_suffix,omitempty"`

	TablePrefix string `protobuf:"bytes,7,opt,name=table_prefix,json=tablePrefix,proto3" json:"table_prefix,omitempty"`

}

Configures various aspects of Dataform code compilation.

func (*CompilationResult_CodeCompilationConfig) Descriptor

func (*CompilationResult_CodeCompilationConfig) Descriptor() ([]byte, []int)

Deprecated: Use CompilationResult_CodeCompilationConfig.ProtoReflect.Descriptor instead.

func (*CompilationResult_CodeCompilationConfig) GetAssertionSchema

func (x *CompilationResult_CodeCompilationConfig) GetAssertionSchema() string

func (*CompilationResult_CodeCompilationConfig) GetDatabaseSuffix

func (x *CompilationResult_CodeCompilationConfig) GetDatabaseSuffix() string

func (*CompilationResult_CodeCompilationConfig) GetDefaultDatabase

func (x *CompilationResult_CodeCompilationConfig) GetDefaultDatabase() string

func (*CompilationResult_CodeCompilationConfig) GetDefaultLocation

func (x *CompilationResult_CodeCompilationConfig) GetDefaultLocation() string

func (*CompilationResult_CodeCompilationConfig) GetDefaultSchema

func (x *CompilationResult_CodeCompilationConfig) GetDefaultSchema() string

func (*CompilationResult_CodeCompilationConfig) GetSchemaSuffix

func (x *CompilationResult_CodeCompilationConfig) GetSchemaSuffix() string

func (*CompilationResult_CodeCompilationConfig) GetTablePrefix

func (x *CompilationResult_CodeCompilationConfig) GetTablePrefix() string

func (*CompilationResult_CodeCompilationConfig) GetVars

func (*CompilationResult_CodeCompilationConfig) ProtoMessage

func (*CompilationResult_CodeCompilationConfig) ProtoReflect

func (*CompilationResult_CodeCompilationConfig) Reset

func (*CompilationResult_CodeCompilationConfig) String

CompilationResult_CompilationError

type CompilationResult_CompilationError struct {

	// Output only. The error's top level message.
	Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	// Output only. The error's full stack trace.
	Stack string `protobuf:"bytes,2,opt,name=stack,proto3" json:"stack,omitempty"`
	// Output only. The path of the file where this error occurred, if available, relative to
	// the project root.
	Path string `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"`
	// Output only. The identifier of the action where this error occurred, if available.
	ActionTarget *Target `protobuf:"bytes,4,opt,name=action_target,json=actionTarget,proto3" json:"action_target,omitempty"`
	// contains filtered or unexported fields
}

An error encountered when attempting to compile a Dataform project.

func (*CompilationResult_CompilationError) Descriptor

func (*CompilationResult_CompilationError) Descriptor() ([]byte, []int)

Deprecated: Use CompilationResult_CompilationError.ProtoReflect.Descriptor instead.

func (*CompilationResult_CompilationError) GetActionTarget

func (x *CompilationResult_CompilationError) GetActionTarget() *Target

func (*CompilationResult_CompilationError) GetMessage

func (*CompilationResult_CompilationError) GetPath

func (*CompilationResult_CompilationError) GetStack

func (*CompilationResult_CompilationError) ProtoMessage

func (*CompilationResult_CompilationError) ProtoMessage()

func (*CompilationResult_CompilationError) ProtoReflect

func (*CompilationResult_CompilationError) Reset

func (*CompilationResult_CompilationError) String

CompilationResult_GitCommitish

type CompilationResult_GitCommitish struct {
	// Immutable. Git commit/tag/branch name at which the repository should be compiled.
	// Must exist in the remote repository.
	// Examples:
	// - a commit SHA: `12ade345`
	// - a tag: `tag1`
	// - a branch name: `branch1`
	GitCommitish string `protobuf:"bytes,2,opt,name=git_commitish,json=gitCommitish,proto3,oneof"`
}

CompilationResult_Workspace

type CompilationResult_Workspace struct {
	// Immutable. The name of the workspace to compile. Must be in the format
	// `projects/*/locations/*/repositories/*/workspaces/*`.
	Workspace string `protobuf:"bytes,3,opt,name=workspace,proto3,oneof"`
}

CreateCompilationResultRequest

type CreateCompilationResultRequest struct {

	// Required. The repository in which to create the compilation result. Must be in the
	// format `projects/*/locations/*/repositories/*`.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. The compilation result to create.
	CompilationResult *CompilationResult `protobuf:"bytes,2,opt,name=compilation_result,json=compilationResult,proto3" json:"compilation_result,omitempty"`
	// contains filtered or unexported fields
}

CreateCompilationResult request message.

func (*CreateCompilationResultRequest) Descriptor

func (*CreateCompilationResultRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateCompilationResultRequest.ProtoReflect.Descriptor instead.

func (*CreateCompilationResultRequest) GetCompilationResult

func (x *CreateCompilationResultRequest) GetCompilationResult() *CompilationResult

func (*CreateCompilationResultRequest) GetParent

func (x *CreateCompilationResultRequest) GetParent() string

func (*CreateCompilationResultRequest) ProtoMessage

func (*CreateCompilationResultRequest) ProtoMessage()

func (*CreateCompilationResultRequest) ProtoReflect

func (*CreateCompilationResultRequest) Reset

func (x *CreateCompilationResultRequest) Reset()

func (*CreateCompilationResultRequest) String

CreateRepositoryRequest

type CreateRepositoryRequest struct {

	// Required. The location in which to create the repository. Must be in the format
	// `projects/*/locations/*`.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. The repository to create.
	Repository *Repository `protobuf:"bytes,2,opt,name=repository,proto3" json:"repository,omitempty"`
	// Required. The ID to use for the repository, which will become the final component of
	// the repository's resource name.
	RepositoryId string `protobuf:"bytes,3,opt,name=repository_id,json=repositoryId,proto3" json:"repository_id,omitempty"`
	// contains filtered or unexported fields
}

CreateRepository request message.

func (*CreateRepositoryRequest) Descriptor

func (*CreateRepositoryRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateRepositoryRequest.ProtoReflect.Descriptor instead.

func (*CreateRepositoryRequest) GetParent

func (x *CreateRepositoryRequest) GetParent() string

func (*CreateRepositoryRequest) GetRepository

func (x *CreateRepositoryRequest) GetRepository() *Repository

func (*CreateRepositoryRequest) GetRepositoryId

func (x *CreateRepositoryRequest) GetRepositoryId() string

func (*CreateRepositoryRequest) ProtoMessage

func (*CreateRepositoryRequest) ProtoMessage()

func (*CreateRepositoryRequest) ProtoReflect

func (x *CreateRepositoryRequest) ProtoReflect() protoreflect.Message

func (*CreateRepositoryRequest) Reset

func (x *CreateRepositoryRequest) Reset()

func (*CreateRepositoryRequest) String

func (x *CreateRepositoryRequest) String() string

CreateWorkflowInvocationRequest

type CreateWorkflowInvocationRequest struct {

	// Required. The parent resource of the WorkflowInvocation type.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. The workflow invocation resource to create.
	WorkflowInvocation *WorkflowInvocation `protobuf:"bytes,2,opt,name=workflow_invocation,json=workflowInvocation,proto3" json:"workflow_invocation,omitempty"`
	// contains filtered or unexported fields
}

CreateWorkflowInvocation request message.

func (*CreateWorkflowInvocationRequest) Descriptor

func (*CreateWorkflowInvocationRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateWorkflowInvocationRequest.ProtoReflect.Descriptor instead.

func (*CreateWorkflowInvocationRequest) GetParent

func (x *CreateWorkflowInvocationRequest) GetParent() string

func (*CreateWorkflowInvocationRequest) GetWorkflowInvocation

func (x *CreateWorkflowInvocationRequest) GetWorkflowInvocation() *WorkflowInvocation

func (*CreateWorkflowInvocationRequest) ProtoMessage

func (*CreateWorkflowInvocationRequest) ProtoMessage()

func (*CreateWorkflowInvocationRequest) ProtoReflect

func (*CreateWorkflowInvocationRequest) Reset

func (*CreateWorkflowInvocationRequest) String

CreateWorkspaceRequest

type CreateWorkspaceRequest struct {

	// Required. The repository in which to create the workspace. Must be in the format
	// `projects/*/locations/*/repositories/*`.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. The workspace to create.
	Workspace *Workspace `protobuf:"bytes,2,opt,name=workspace,proto3" json:"workspace,omitempty"`
	// Required. The ID to use for the workspace, which will become the final component of
	// the workspace's resource name.
	WorkspaceId string `protobuf:"bytes,3,opt,name=workspace_id,json=workspaceId,proto3" json:"workspace_id,omitempty"`
	// contains filtered or unexported fields
}

CreateWorkspace request message.

func (*CreateWorkspaceRequest) Descriptor

func (*CreateWorkspaceRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateWorkspaceRequest.ProtoReflect.Descriptor instead.

func (*CreateWorkspaceRequest) GetParent

func (x *CreateWorkspaceRequest) GetParent() string

func (*CreateWorkspaceRequest) GetWorkspace

func (x *CreateWorkspaceRequest) GetWorkspace() *Workspace

func (*CreateWorkspaceRequest) GetWorkspaceId

func (x *CreateWorkspaceRequest) GetWorkspaceId() string

func (*CreateWorkspaceRequest) ProtoMessage

func (*CreateWorkspaceRequest) ProtoMessage()

func (*CreateWorkspaceRequest) ProtoReflect

func (x *CreateWorkspaceRequest) ProtoReflect() protoreflect.Message

func (*CreateWorkspaceRequest) Reset

func (x *CreateWorkspaceRequest) Reset()

func (*CreateWorkspaceRequest) String

func (x *CreateWorkspaceRequest) String() string

DataformClient

type DataformClient interface {
	// Lists Repositories in a given project and location.
	ListRepositories(ctx context.Context, in *ListRepositoriesRequest, opts ...grpc.CallOption) (*ListRepositoriesResponse, error)
	// Fetches a single Repository.
	GetRepository(ctx context.Context, in *GetRepositoryRequest, opts ...grpc.CallOption) (*Repository, error)
	// Creates a new Repository in a given project and location.
	CreateRepository(ctx context.Context, in *CreateRepositoryRequest, opts ...grpc.CallOption) (*Repository, error)
	// Updates a single Repository.
	UpdateRepository(ctx context.Context, in *UpdateRepositoryRequest, opts ...grpc.CallOption) (*Repository, error)
	// Deletes a single Repository.
	DeleteRepository(ctx context.Context, in *DeleteRepositoryRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// Fetches a Repository's remote branches.
	FetchRemoteBranches(ctx context.Context, in *FetchRemoteBranchesRequest, opts ...grpc.CallOption) (*FetchRemoteBranchesResponse, error)
	// Lists Workspaces in a given Repository.
	ListWorkspaces(ctx context.Context, in *ListWorkspacesRequest, opts ...grpc.CallOption) (*ListWorkspacesResponse, error)
	// Fetches a single Workspace.
	GetWorkspace(ctx context.Context, in *GetWorkspaceRequest, opts ...grpc.CallOption) (*Workspace, error)
	// Creates a new Workspace in a given Repository.
	CreateWorkspace(ctx context.Context, in *CreateWorkspaceRequest, opts ...grpc.CallOption) (*Workspace, error)
	// Deletes a single Workspace.
	DeleteWorkspace(ctx context.Context, in *DeleteWorkspaceRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// Installs dependency NPM packages (inside a Workspace).
	InstallNpmPackages(ctx context.Context, in *InstallNpmPackagesRequest, opts ...grpc.CallOption) (*InstallNpmPackagesResponse, error)
	// Pulls Git commits from the Repository's remote into a Workspace.
	PullGitCommits(ctx context.Context, in *PullGitCommitsRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// Pushes Git commits from a Workspace to the Repository's remote.
	PushGitCommits(ctx context.Context, in *PushGitCommitsRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// Fetches Git statuses for the files in a Workspace.
	FetchFileGitStatuses(ctx context.Context, in *FetchFileGitStatusesRequest, opts ...grpc.CallOption) (*FetchFileGitStatusesResponse, error)
	// Fetches Git ahead/behind against a remote branch.
	FetchGitAheadBehind(ctx context.Context, in *FetchGitAheadBehindRequest, opts ...grpc.CallOption) (*FetchGitAheadBehindResponse, error)
	// Applies a Git commit for uncommitted files in a Workspace.
	CommitWorkspaceChanges(ctx context.Context, in *CommitWorkspaceChangesRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// Performs a Git reset for uncommitted files in a Workspace.
	ResetWorkspaceChanges(ctx context.Context, in *ResetWorkspaceChangesRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// Fetches Git diff for an uncommitted file in a Workspace.
	FetchFileDiff(ctx context.Context, in *FetchFileDiffRequest, opts ...grpc.CallOption) (*FetchFileDiffResponse, error)
	// Returns the contents of a given Workspace directory.
	QueryDirectoryContents(ctx context.Context, in *QueryDirectoryContentsRequest, opts ...grpc.CallOption) (*QueryDirectoryContentsResponse, error)
	// Creates a directory inside a Workspace.
	MakeDirectory(ctx context.Context, in *MakeDirectoryRequest, opts ...grpc.CallOption) (*MakeDirectoryResponse, error)
	// Deletes a directory (inside a Workspace) and all of its contents.
	RemoveDirectory(ctx context.Context, in *RemoveDirectoryRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// Moves a directory (inside a Workspace), and all of its contents, to a new
	// location.
	MoveDirectory(ctx context.Context, in *MoveDirectoryRequest, opts ...grpc.CallOption) (*MoveDirectoryResponse, error)
	// Returns the contents of a file (inside a Workspace).
	ReadFile(ctx context.Context, in *ReadFileRequest, opts ...grpc.CallOption) (*ReadFileResponse, error)
	// Deletes a file (inside a Workspace).
	RemoveFile(ctx context.Context, in *RemoveFileRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// Moves a file (inside a Workspace) to a new location.
	MoveFile(ctx context.Context, in *MoveFileRequest, opts ...grpc.CallOption) (*MoveFileResponse, error)
	// Writes to a file (inside a Workspace).
	WriteFile(ctx context.Context, in *WriteFileRequest, opts ...grpc.CallOption) (*WriteFileResponse, error)
	// Lists CompilationResults in a given Repository.
	ListCompilationResults(ctx context.Context, in *ListCompilationResultsRequest, opts ...grpc.CallOption) (*ListCompilationResultsResponse, error)
	// Fetches a single CompilationResult.
	GetCompilationResult(ctx context.Context, in *GetCompilationResultRequest, opts ...grpc.CallOption) (*CompilationResult, error)
	// Creates a new CompilationResult in a given project and location.
	CreateCompilationResult(ctx context.Context, in *CreateCompilationResultRequest, opts ...grpc.CallOption) (*CompilationResult, error)
	// Returns CompilationResultActions in a given CompilationResult.
	QueryCompilationResultActions(ctx context.Context, in *QueryCompilationResultActionsRequest, opts ...grpc.CallOption) (*QueryCompilationResultActionsResponse, error)
	// Lists WorkflowInvocations in a given Repository.
	ListWorkflowInvocations(ctx context.Context, in *ListWorkflowInvocationsRequest, opts ...grpc.CallOption) (*ListWorkflowInvocationsResponse, error)
	// Fetches a single WorkflowInvocation.
	GetWorkflowInvocation(ctx context.Context, in *GetWorkflowInvocationRequest, opts ...grpc.CallOption) (*WorkflowInvocation, error)
	// Creates a new WorkflowInvocation in a given Repository.
	CreateWorkflowInvocation(ctx context.Context, in *CreateWorkflowInvocationRequest, opts ...grpc.CallOption) (*WorkflowInvocation, error)
	// Deletes a single WorkflowInvocation.
	DeleteWorkflowInvocation(ctx context.Context, in *DeleteWorkflowInvocationRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// Requests cancellation of a running WorkflowInvocation.
	CancelWorkflowInvocation(ctx context.Context, in *CancelWorkflowInvocationRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// Returns WorkflowInvocationActions in a given WorkflowInvocation.
	QueryWorkflowInvocationActions(ctx context.Context, in *QueryWorkflowInvocationActionsRequest, opts ...grpc.CallOption) (*QueryWorkflowInvocationActionsResponse, error)
}

DataformClient is the client API for Dataform service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewDataformClient

func NewDataformClient(cc grpc.ClientConnInterface) DataformClient

DataformServer

type DataformServer interface {
	// Lists Repositories in a given project and location.
	ListRepositories(context.Context, *ListRepositoriesRequest) (*ListRepositoriesResponse, error)
	// Fetches a single Repository.
	GetRepository(context.Context, *GetRepositoryRequest) (*Repository, error)
	// Creates a new Repository in a given project and location.
	CreateRepository(context.Context, *CreateRepositoryRequest) (*Repository, error)
	// Updates a single Repository.
	UpdateRepository(context.Context, *UpdateRepositoryRequest) (*Repository, error)
	// Deletes a single Repository.
	DeleteRepository(context.Context, *DeleteRepositoryRequest) (*emptypb.Empty, error)
	// Fetches a Repository's remote branches.
	FetchRemoteBranches(context.Context, *FetchRemoteBranchesRequest) (*FetchRemoteBranchesResponse, error)
	// Lists Workspaces in a given Repository.
	ListWorkspaces(context.Context, *ListWorkspacesRequest) (*ListWorkspacesResponse, error)
	// Fetches a single Workspace.
	GetWorkspace(context.Context, *GetWorkspaceRequest) (*Workspace, error)
	// Creates a new Workspace in a given Repository.
	CreateWorkspace(context.Context, *CreateWorkspaceRequest) (*Workspace, error)
	// Deletes a single Workspace.
	DeleteWorkspace(context.Context, *DeleteWorkspaceRequest) (*emptypb.Empty, error)
	// Installs dependency NPM packages (inside a Workspace).
	InstallNpmPackages(context.Context, *InstallNpmPackagesRequest) (*InstallNpmPackagesResponse, error)
	// Pulls Git commits from the Repository's remote into a Workspace.
	PullGitCommits(context.Context, *PullGitCommitsRequest) (*emptypb.Empty, error)
	// Pushes Git commits from a Workspace to the Repository's remote.
	PushGitCommits(context.Context, *PushGitCommitsRequest) (*emptypb.Empty, error)
	// Fetches Git statuses for the files in a Workspace.
	FetchFileGitStatuses(context.Context, *FetchFileGitStatusesRequest) (*FetchFileGitStatusesResponse, error)
	// Fetches Git ahead/behind against a remote branch.
	FetchGitAheadBehind(context.Context, *FetchGitAheadBehindRequest) (*FetchGitAheadBehindResponse, error)
	// Applies a Git commit for uncommitted files in a Workspace.
	CommitWorkspaceChanges(context.Context, *CommitWorkspaceChangesRequest) (*emptypb.Empty, error)
	// Performs a Git reset for uncommitted files in a Workspace.
	ResetWorkspaceChanges(context.Context, *ResetWorkspaceChangesRequest) (*emptypb.Empty, error)
	// Fetches Git diff for an uncommitted file in a Workspace.
	FetchFileDiff(context.Context, *FetchFileDiffRequest) (*FetchFileDiffResponse, error)
	// Returns the contents of a given Workspace directory.
	QueryDirectoryContents(context.Context, *QueryDirectoryContentsRequest) (*QueryDirectoryContentsResponse, error)
	// Creates a directory inside a Workspace.
	MakeDirectory(context.Context, *MakeDirectoryRequest) (*MakeDirectoryResponse, error)
	// Deletes a directory (inside a Workspace) and all of its contents.
	RemoveDirectory(context.Context, *RemoveDirectoryRequest) (*emptypb.Empty, error)
	// Moves a directory (inside a Workspace), and all of its contents, to a new
	// location.
	MoveDirectory(context.Context, *MoveDirectoryRequest) (*MoveDirectoryResponse, error)
	// Returns the contents of a file (inside a Workspace).
	ReadFile(context.Context, *ReadFileRequest) (*ReadFileResponse, error)
	// Deletes a file (inside a Workspace).
	RemoveFile(context.Context, *RemoveFileRequest) (*emptypb.Empty, error)
	// Moves a file (inside a Workspace) to a new location.
	MoveFile(context.Context, *MoveFileRequest) (*MoveFileResponse, error)
	// Writes to a file (inside a Workspace).
	WriteFile(context.Context, *WriteFileRequest) (*WriteFileResponse, error)
	// Lists CompilationResults in a given Repository.
	ListCompilationResults(context.Context, *ListCompilationResultsRequest) (*ListCompilationResultsResponse, error)
	// Fetches a single CompilationResult.
	GetCompilationResult(context.Context, *GetCompilationResultRequest) (*CompilationResult, error)
	// Creates a new CompilationResult in a given project and location.
	CreateCompilationResult(context.Context, *CreateCompilationResultRequest) (*CompilationResult, error)
	// Returns CompilationResultActions in a given CompilationResult.
	QueryCompilationResultActions(context.Context, *QueryCompilationResultActionsRequest) (*QueryCompilationResultActionsResponse, error)
	// Lists WorkflowInvocations in a given Repository.
	ListWorkflowInvocations(context.Context, *ListWorkflowInvocationsRequest) (*ListWorkflowInvocationsResponse, error)
	// Fetches a single WorkflowInvocation.
	GetWorkflowInvocation(context.Context, *GetWorkflowInvocationRequest) (*WorkflowInvocation, error)
	// Creates a new WorkflowInvocation in a given Repository.
	CreateWorkflowInvocation(context.Context, *CreateWorkflowInvocationRequest) (*WorkflowInvocation, error)
	// Deletes a single WorkflowInvocation.
	DeleteWorkflowInvocation(context.Context, *DeleteWorkflowInvocationRequest) (*emptypb.Empty, error)
	// Requests cancellation of a running WorkflowInvocation.
	CancelWorkflowInvocation(context.Context, *CancelWorkflowInvocationRequest) (*emptypb.Empty, error)
	// Returns WorkflowInvocationActions in a given WorkflowInvocation.
	QueryWorkflowInvocationActions(context.Context, *QueryWorkflowInvocationActionsRequest) (*QueryWorkflowInvocationActionsResponse, error)
}

DataformServer is the server API for Dataform service.

DeleteRepositoryRequest

type DeleteRepositoryRequest struct {

	// Required. The repository's name.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// If set to true, any child resources of this repository will also be
	// deleted. (Otherwise, the request will only succeed if the repository has no
	// child resources.)
	Force bool `protobuf:"varint,2,opt,name=force,proto3" json:"force,omitempty"`
	// contains filtered or unexported fields
}

DeleteRepository request message.

func (*DeleteRepositoryRequest) Descriptor

func (*DeleteRepositoryRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteRepositoryRequest.ProtoReflect.Descriptor instead.

func (*DeleteRepositoryRequest) GetForce

func (x *DeleteRepositoryRequest) GetForce() bool

func (*DeleteRepositoryRequest) GetName

func (x *DeleteRepositoryRequest) GetName() string

func (*DeleteRepositoryRequest) ProtoMessage

func (*DeleteRepositoryRequest) ProtoMessage()

func (*DeleteRepositoryRequest) ProtoReflect

func (x *DeleteRepositoryRequest) ProtoReflect() protoreflect.Message

func (*DeleteRepositoryRequest) Reset

func (x *DeleteRepositoryRequest) Reset()

func (*DeleteRepositoryRequest) String

func (x *DeleteRepositoryRequest) String() string

DeleteWorkflowInvocationRequest

type DeleteWorkflowInvocationRequest struct {

	// Required. The workflow invocation resource's name.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

DeleteWorkflowInvocation request message.

func (*DeleteWorkflowInvocationRequest) Descriptor

func (*DeleteWorkflowInvocationRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteWorkflowInvocationRequest.ProtoReflect.Descriptor instead.

func (*DeleteWorkflowInvocationRequest) GetName

func (*DeleteWorkflowInvocationRequest) ProtoMessage

func (*DeleteWorkflowInvocationRequest) ProtoMessage()

func (*DeleteWorkflowInvocationRequest) ProtoReflect

func (*DeleteWorkflowInvocationRequest) Reset

func (*DeleteWorkflowInvocationRequest) String

DeleteWorkspaceRequest

type DeleteWorkspaceRequest struct {

	// Required. The workspace resource's name.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

DeleteWorkspace request message.

func (*DeleteWorkspaceRequest) Descriptor

func (*DeleteWorkspaceRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteWorkspaceRequest.ProtoReflect.Descriptor instead.

func (*DeleteWorkspaceRequest) GetName

func (x *DeleteWorkspaceRequest) GetName() string

func (*DeleteWorkspaceRequest) ProtoMessage

func (*DeleteWorkspaceRequest) ProtoMessage()

func (*DeleteWorkspaceRequest) ProtoReflect

func (x *DeleteWorkspaceRequest) ProtoReflect() protoreflect.Message

func (*DeleteWorkspaceRequest) Reset

func (x *DeleteWorkspaceRequest) Reset()

func (*DeleteWorkspaceRequest) String

func (x *DeleteWorkspaceRequest) String() string

FetchFileDiffRequest

type FetchFileDiffRequest struct {

	// Required. The workspace's name.
	Workspace string `protobuf:"bytes,1,opt,name=workspace,proto3" json:"workspace,omitempty"`
	// Required. The file's full path including filename, relative to the workspace root.
	Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
	// contains filtered or unexported fields
}

FetchFileDiff request message.

func (*FetchFileDiffRequest) Descriptor

func (*FetchFileDiffRequest) Descriptor() ([]byte, []int)

Deprecated: Use FetchFileDiffRequest.ProtoReflect.Descriptor instead.

func (*FetchFileDiffRequest) GetPath

func (x *FetchFileDiffRequest) GetPath() string

func (*FetchFileDiffRequest) GetWorkspace

func (x *FetchFileDiffRequest) GetWorkspace() string

func (*FetchFileDiffRequest) ProtoMessage

func (*FetchFileDiffRequest) ProtoMessage()

func (*FetchFileDiffRequest) ProtoReflect

func (x *FetchFileDiffRequest) ProtoReflect() protoreflect.Message

func (*FetchFileDiffRequest) Reset

func (x *FetchFileDiffRequest) Reset()

func (*FetchFileDiffRequest) String

func (x *FetchFileDiffRequest) String() string

FetchFileDiffResponse

type FetchFileDiffResponse struct {

	// The raw formatted Git diff for the file.
	FormattedDiff string `protobuf:"bytes,1,opt,name=formatted_diff,json=formattedDiff,proto3" json:"formatted_diff,omitempty"`
	// contains filtered or unexported fields
}

FetchFileDiff response message.

func (*FetchFileDiffResponse) Descriptor

func (*FetchFileDiffResponse) Descriptor() ([]byte, []int)

Deprecated: Use FetchFileDiffResponse.ProtoReflect.Descriptor instead.

func (*FetchFileDiffResponse) GetFormattedDiff

func (x *FetchFileDiffResponse) GetFormattedDiff() string

func (*FetchFileDiffResponse) ProtoMessage

func (*FetchFileDiffResponse) ProtoMessage()

func (*FetchFileDiffResponse) ProtoReflect

func (x *FetchFileDiffResponse) ProtoReflect() protoreflect.Message

func (*FetchFileDiffResponse) Reset

func (x *FetchFileDiffResponse) Reset()

func (*FetchFileDiffResponse) String

func (x *FetchFileDiffResponse) String() string

FetchFileGitStatusesRequest

type FetchFileGitStatusesRequest struct {

	// Required. The workspace's name.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

FetchFileGitStatuses request message.

func (*FetchFileGitStatusesRequest) Descriptor

func (*FetchFileGitStatusesRequest) Descriptor() ([]byte, []int)

Deprecated: Use FetchFileGitStatusesRequest.ProtoReflect.Descriptor instead.

func (*FetchFileGitStatusesRequest) GetName

func (x *FetchFileGitStatusesRequest) GetName() string

func (*FetchFileGitStatusesRequest) ProtoMessage

func (*FetchFileGitStatusesRequest) ProtoMessage()

func (*FetchFileGitStatusesRequest) ProtoReflect

func (*FetchFileGitStatusesRequest) Reset

func (x *FetchFileGitStatusesRequest) Reset()

func (*FetchFileGitStatusesRequest) String

func (x *FetchFileGitStatusesRequest) String() string

FetchFileGitStatusesResponse

type FetchFileGitStatusesResponse struct {
	UncommittedFileChanges []*FetchFileGitStatusesResponse_UncommittedFileChange "" /* 129 byte string literal not displayed */

}

FetchFileGitStatuses response message.

func (*FetchFileGitStatusesResponse) Descriptor

func (*FetchFileGitStatusesResponse) Descriptor() ([]byte, []int)

Deprecated: Use FetchFileGitStatusesResponse.ProtoReflect.Descriptor instead.

func (*FetchFileGitStatusesResponse) GetUncommittedFileChanges

func (*FetchFileGitStatusesResponse) ProtoMessage

func (*FetchFileGitStatusesResponse) ProtoMessage()

func (*FetchFileGitStatusesResponse) ProtoReflect

func (*FetchFileGitStatusesResponse) Reset

func (x *FetchFileGitStatusesResponse) Reset()

func (*FetchFileGitStatusesResponse) String

FetchFileGitStatusesResponse_UncommittedFileChange

type FetchFileGitStatusesResponse_UncommittedFileChange struct {
	Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`

	State FetchFileGitStatusesResponse_UncommittedFileChange_State "" /* 157 byte string literal not displayed */

}

Represents the Git state of a file with uncommitted changes.

func (*FetchFileGitStatusesResponse_UncommittedFileChange) Descriptor

Deprecated: Use FetchFileGitStatusesResponse_UncommittedFileChange.ProtoReflect.Descriptor instead.

func (*FetchFileGitStatusesResponse_UncommittedFileChange) GetPath

func (*FetchFileGitStatusesResponse_UncommittedFileChange) GetState

func (*FetchFileGitStatusesResponse_UncommittedFileChange) ProtoMessage

func (*FetchFileGitStatusesResponse_UncommittedFileChange) ProtoReflect

func (*FetchFileGitStatusesResponse_UncommittedFileChange) Reset

func (*FetchFileGitStatusesResponse_UncommittedFileChange) String

FetchFileGitStatusesResponse_UncommittedFileChange_State

type FetchFileGitStatusesResponse_UncommittedFileChange_State int32

Indicates the status of an uncommitted file change.

FetchFileGitStatusesResponse_UncommittedFileChange_STATE_UNSPECIFIED, FetchFileGitStatusesResponse_UncommittedFileChange_ADDED, FetchFileGitStatusesResponse_UncommittedFileChange_DELETED, FetchFileGitStatusesResponse_UncommittedFileChange_MODIFIED, FetchFileGitStatusesResponse_UncommittedFileChange_HAS_CONFLICTS

const (
	// Default value. This value is unused.
	FetchFileGitStatusesResponse_UncommittedFileChange_STATE_UNSPECIFIED FetchFileGitStatusesResponse_UncommittedFileChange_State = 0
	// The file has been newly added.
	FetchFileGitStatusesResponse_UncommittedFileChange_ADDED FetchFileGitStatusesResponse_UncommittedFileChange_State = 1
	// The file has been deleted.
	FetchFileGitStatusesResponse_UncommittedFileChange_DELETED FetchFileGitStatusesResponse_UncommittedFileChange_State = 2
	// The file has been modified.
	FetchFileGitStatusesResponse_UncommittedFileChange_MODIFIED FetchFileGitStatusesResponse_UncommittedFileChange_State = 3
	// The file contains merge conflicts.
	FetchFileGitStatusesResponse_UncommittedFileChange_HAS_CONFLICTS FetchFileGitStatusesResponse_UncommittedFileChange_State = 4
)

func (FetchFileGitStatusesResponse_UncommittedFileChange_State) Descriptor

func (FetchFileGitStatusesResponse_UncommittedFileChange_State) Enum

func (FetchFileGitStatusesResponse_UncommittedFileChange_State) EnumDescriptor

Deprecated: Use FetchFileGitStatusesResponse_UncommittedFileChange_State.Descriptor instead.

func (FetchFileGitStatusesResponse_UncommittedFileChange_State) Number

func (FetchFileGitStatusesResponse_UncommittedFileChange_State) String

func (FetchFileGitStatusesResponse_UncommittedFileChange_State) Type

FetchGitAheadBehindRequest

type FetchGitAheadBehindRequest struct {

	// Required. The workspace's name.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Optional. The name of the branch in the Git remote against which this workspace
	// should be compared. If left unset, the repository's default branch name
	// will be used.
	RemoteBranch string `protobuf:"bytes,2,opt,name=remote_branch,json=remoteBranch,proto3" json:"remote_branch,omitempty"`
	// contains filtered or unexported fields
}

FetchGitAheadBehind request message.

func (*FetchGitAheadBehindRequest) Descriptor

func (*FetchGitAheadBehindRequest) Descriptor() ([]byte, []int)

Deprecated: Use FetchGitAheadBehindRequest.ProtoReflect.Descriptor instead.

func (*FetchGitAheadBehindRequest) GetName

func (x *FetchGitAheadBehindRequest) GetName() string

func (*FetchGitAheadBehindRequest) GetRemoteBranch

func (x *FetchGitAheadBehindRequest) GetRemoteBranch() string

func (*FetchGitAheadBehindRequest) ProtoMessage

func (*FetchGitAheadBehindRequest) ProtoMessage()

func (*FetchGitAheadBehindRequest) ProtoReflect

func (*FetchGitAheadBehindRequest) Reset

func (x *FetchGitAheadBehindRequest) Reset()

func (*FetchGitAheadBehindRequest) String

func (x *FetchGitAheadBehindRequest) String() string

FetchGitAheadBehindResponse

type FetchGitAheadBehindResponse struct {

	// The number of commits in the remote branch that are not in the workspace.
	CommitsAhead int32 `protobuf:"varint,1,opt,name=commits_ahead,json=commitsAhead,proto3" json:"commits_ahead,omitempty"`
	// The number of commits in the workspace that are not in the remote branch.
	CommitsBehind int32 `protobuf:"varint,2,opt,name=commits_behind,json=commitsBehind,proto3" json:"commits_behind,omitempty"`
	// contains filtered or unexported fields
}

FetchGitAheadBehind response message.

func (*FetchGitAheadBehindResponse) Descriptor

func (*FetchGitAheadBehindResponse) Descriptor() ([]byte, []int)

Deprecated: Use FetchGitAheadBehindResponse.ProtoReflect.Descriptor instead.

func (*FetchGitAheadBehindResponse) GetCommitsAhead

func (x *FetchGitAheadBehindResponse) GetCommitsAhead() int32

func (*FetchGitAheadBehindResponse) GetCommitsBehind

func (x *FetchGitAheadBehindResponse) GetCommitsBehind() int32

func (*FetchGitAheadBehindResponse) ProtoMessage

func (*FetchGitAheadBehindResponse) ProtoMessage()

func (*FetchGitAheadBehindResponse) ProtoReflect

func (*FetchGitAheadBehindResponse) Reset

func (x *FetchGitAheadBehindResponse) Reset()

func (*FetchGitAheadBehindResponse) String

func (x *FetchGitAheadBehindResponse) String() string

FetchRemoteBranchesRequest

type FetchRemoteBranchesRequest struct {

	// Required. The repository's name.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

FetchRemoteBranches request message.

func (*FetchRemoteBranchesRequest) Descriptor

func (*FetchRemoteBranchesRequest) Descriptor() ([]byte, []int)

Deprecated: Use FetchRemoteBranchesRequest.ProtoReflect.Descriptor instead.

func (*FetchRemoteBranchesRequest) GetName

func (x *FetchRemoteBranchesRequest) GetName() string

func (*FetchRemoteBranchesRequest) ProtoMessage

func (*FetchRemoteBranchesRequest) ProtoMessage()

func (*FetchRemoteBranchesRequest) ProtoReflect

func (*FetchRemoteBranchesRequest) Reset

func (x *FetchRemoteBranchesRequest) Reset()

func (*FetchRemoteBranchesRequest) String

func (x *FetchRemoteBranchesRequest) String() string

FetchRemoteBranchesResponse

type FetchRemoteBranchesResponse struct {

	// The remote repository's branch names.
	Branches []string `protobuf:"bytes,1,rep,name=branches,proto3" json:"branches,omitempty"`
	// contains filtered or unexported fields
}

FetchRemoteBranches response message.

func (*FetchRemoteBranchesResponse) Descriptor

func (*FetchRemoteBranchesResponse) Descriptor() ([]byte, []int)

Deprecated: Use FetchRemoteBranchesResponse.ProtoReflect.Descriptor instead.

func (*FetchRemoteBranchesResponse) GetBranches

func (x *FetchRemoteBranchesResponse) GetBranches() []string

func (*FetchRemoteBranchesResponse) ProtoMessage

func (*FetchRemoteBranchesResponse) ProtoMessage()

func (*FetchRemoteBranchesResponse) ProtoReflect

func (*FetchRemoteBranchesResponse) Reset

func (x *FetchRemoteBranchesResponse) Reset()

func (*FetchRemoteBranchesResponse) String

func (x *FetchRemoteBranchesResponse) String() string

GetCompilationResultRequest

type GetCompilationResultRequest struct {

	// Required. The compilation result's name.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

GetCompilationResult request message.

func (*GetCompilationResultRequest) Descriptor

func (*GetCompilationResultRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetCompilationResultRequest.ProtoReflect.Descriptor instead.

func (*GetCompilationResultRequest) GetName

func (x *GetCompilationResultRequest) GetName() string

func (*GetCompilationResultRequest) ProtoMessage

func (*GetCompilationResultRequest) ProtoMessage()

func (*GetCompilationResultRequest) ProtoReflect

func (*GetCompilationResultRequest) Reset

func (x *GetCompilationResultRequest) Reset()

func (*GetCompilationResultRequest) String

func (x *GetCompilationResultRequest) String() string

GetRepositoryRequest

type GetRepositoryRequest struct {

	// Required. The repository's name.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

GetRepository request message.

func (*GetRepositoryRequest) Descriptor

func (*GetRepositoryRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetRepositoryRequest.ProtoReflect.Descriptor instead.

func (*GetRepositoryRequest) GetName

func (x *GetRepositoryRequest) GetName() string

func (*GetRepositoryRequest) ProtoMessage

func (*GetRepositoryRequest) ProtoMessage()

func (*GetRepositoryRequest) ProtoReflect

func (x *GetRepositoryRequest) ProtoReflect() protoreflect.Message

func (*GetRepositoryRequest) Reset

func (x *GetRepositoryRequest) Reset()

func (*GetRepositoryRequest) String

func (x *GetRepositoryRequest) String() string

GetWorkflowInvocationRequest

type GetWorkflowInvocationRequest struct {

	// Required. The workflow invocation resource's name.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

GetWorkflowInvocation request message.

func (*GetWorkflowInvocationRequest) Descriptor

func (*GetWorkflowInvocationRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetWorkflowInvocationRequest.ProtoReflect.Descriptor instead.

func (*GetWorkflowInvocationRequest) GetName

func (x *GetWorkflowInvocationRequest) GetName() string

func (*GetWorkflowInvocationRequest) ProtoMessage

func (*GetWorkflowInvocationRequest) ProtoMessage()

func (*GetWorkflowInvocationRequest) ProtoReflect

func (*GetWorkflowInvocationRequest) Reset

func (x *GetWorkflowInvocationRequest) Reset()

func (*GetWorkflowInvocationRequest) String

GetWorkspaceRequest

type GetWorkspaceRequest struct {

	// Required. The workspace's name.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

GetWorkspace request message.

func (*GetWorkspaceRequest) Descriptor

func (*GetWorkspaceRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetWorkspaceRequest.ProtoReflect.Descriptor instead.

func (*GetWorkspaceRequest) GetName