Interface CompilationResultOrBuilder (0.43.0)

public interface CompilationResultOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCodeCompilationConfig()

public abstract CodeCompilationConfig getCodeCompilationConfig()

Immutable. If set, fields of code_compilation_config override the default compilation settings that are specified in dataform.json.

.google.cloud.dataform.v1beta1.CodeCompilationConfig code_compilation_config = 4 [(.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
CodeCompilationConfig

The codeCompilationConfig.

getCodeCompilationConfigOrBuilder()

public abstract CodeCompilationConfigOrBuilder getCodeCompilationConfigOrBuilder()

Immutable. If set, fields of code_compilation_config override the default compilation settings that are specified in dataform.json.

.google.cloud.dataform.v1beta1.CodeCompilationConfig code_compilation_config = 4 [(.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
CodeCompilationConfigOrBuilder

getCompilationErrors(int index)

public abstract CompilationResult.CompilationError getCompilationErrors(int index)

Output only. Errors encountered during project compilation.

repeated .google.cloud.dataform.v1beta1.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
CompilationResult.CompilationError

getCompilationErrorsCount()

public abstract int getCompilationErrorsCount()

Output only. Errors encountered during project compilation.

repeated .google.cloud.dataform.v1beta1.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

getCompilationErrorsList()

public abstract List<CompilationResult.CompilationError> getCompilationErrorsList()

Output only. Errors encountered during project compilation.

repeated .google.cloud.dataform.v1beta1.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<CompilationError>

getCompilationErrorsOrBuilder(int index)

public abstract CompilationResult.CompilationErrorOrBuilder getCompilationErrorsOrBuilder(int index)

Output only. Errors encountered during project compilation.

repeated .google.cloud.dataform.v1beta1.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
CompilationResult.CompilationErrorOrBuilder

getCompilationErrorsOrBuilderList()

public abstract List<? extends CompilationResult.CompilationErrorOrBuilder> getCompilationErrorsOrBuilderList()

Output only. Errors encountered during project compilation.

repeated .google.cloud.dataform.v1beta1.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<? extends com.google.cloud.dataform.v1beta1.CompilationResult.CompilationErrorOrBuilder>

getDataformCoreVersion()

public abstract String getDataformCoreVersion()

Output only. The version of @dataform/core that was used for compilation.

string dataform_core_version = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The dataformCoreVersion.

getDataformCoreVersionBytes()

public abstract ByteString getDataformCoreVersionBytes()

Output only. The version of @dataform/core that was used for compilation.

string dataform_core_version = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for dataformCoreVersion.

getGitCommitish()

public abstract String getGitCommitish()

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

string git_commitish = 2 [(.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
String

The gitCommitish.

getGitCommitishBytes()

public abstract ByteString getGitCommitishBytes()

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

string git_commitish = 2 [(.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
ByteString

The bytes for gitCommitish.

getName()

public abstract String getName()

Output only. The compilation result's name.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Output only. The compilation result's name.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for name.

getReleaseConfig()

public abstract String getReleaseConfig()

Immutable. The name of the release config to compile. The release config's 'current_compilation_result' field will be updated to this compilation result. Must be in the format projects/*/locations/*/repositories/*/releaseConfigs/*.

string release_config = 7 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The releaseConfig.

getReleaseConfigBytes()

public abstract ByteString getReleaseConfigBytes()

Immutable. The name of the release config to compile. The release config's 'current_compilation_result' field will be updated to this compilation result. Must be in the format projects/*/locations/*/repositories/*/releaseConfigs/*.

string release_config = 7 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for releaseConfig.

getResolvedGitCommitSha()

public abstract String getResolvedGitCommitSha()

Output only. The fully resolved Git commit SHA of the code that was compiled. Not set for compilation results whose source is a workspace.

string resolved_git_commit_sha = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The resolvedGitCommitSha.

getResolvedGitCommitShaBytes()

public abstract ByteString getResolvedGitCommitShaBytes()

Output only. The fully resolved Git commit SHA of the code that was compiled. Not set for compilation results whose source is a workspace.

string resolved_git_commit_sha = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for resolvedGitCommitSha.

getSourceCase()

public abstract CompilationResult.SourceCase getSourceCase()
Returns
Type Description
CompilationResult.SourceCase

getWorkspace()

public abstract String getWorkspace()

Immutable. The name of the workspace to compile. Must be in the format projects/*/locations/*/repositories/*/workspaces/*.

string workspace = 3 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The workspace.

getWorkspaceBytes()

public abstract ByteString getWorkspaceBytes()

Immutable. The name of the workspace to compile. Must be in the format projects/*/locations/*/repositories/*/workspaces/*.

string workspace = 3 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for workspace.

hasCodeCompilationConfig()

public abstract boolean hasCodeCompilationConfig()

Immutable. If set, fields of code_compilation_config override the default compilation settings that are specified in dataform.json.

.google.cloud.dataform.v1beta1.CodeCompilationConfig code_compilation_config = 4 [(.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
boolean

Whether the codeCompilationConfig field is set.

hasGitCommitish()

public abstract boolean hasGitCommitish()

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

string git_commitish = 2 [(.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
boolean

Whether the gitCommitish field is set.

hasReleaseConfig()

public abstract boolean hasReleaseConfig()

Immutable. The name of the release config to compile. The release config's 'current_compilation_result' field will be updated to this compilation result. Must be in the format projects/*/locations/*/repositories/*/releaseConfigs/*.

string release_config = 7 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }

Returns
Type Description
boolean

Whether the releaseConfig field is set.

hasWorkspace()

public abstract boolean hasWorkspace()

Immutable. The name of the workspace to compile. Must be in the format projects/*/locations/*/repositories/*/workspaces/*.

string workspace = 3 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }

Returns
Type Description
boolean

Whether the workspace field is set.