Interface CompilationResultOrBuilder (0.17.0)

public interface CompilationResultOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCodeCompilationConfig()

public abstract CompilationResult.CodeCompilationConfig getCodeCompilationConfig()

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

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

Returns
Type Description
CompilationResult.CodeCompilationConfig

The codeCompilationConfig.

getCodeCompilationConfigOrBuilder()

public abstract CompilationResult.CodeCompilationConfigOrBuilder getCodeCompilationConfigOrBuilder()

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

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

Returns
Type Description
CompilationResult.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.

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_overrides override the default compilation settings that are specified in dataform.json.

.google.cloud.dataform.v1beta1.CompilationResult.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.

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.