public static final class CompilationResult.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<CompilationResult.Builder> implements CompilationResultOrBuilder
Represents the result of compiling a Dataform project.Protobuf type
google.cloud.dataform.v1alpha2.CompilationResultgetAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<CompilationResult.Builder>public CompilationResult.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<CompilationResult.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<CompilationResult.Builder>public CompilationResult getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic CompilationResult build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic CompilationResult buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic CompilationResult.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<CompilationResult.Builder>public CompilationResult.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<CompilationResult.Builder>public CompilationResult.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<CompilationResult.Builder>public CompilationResult.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<CompilationResult.Builder>public CompilationResult.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<CompilationResult.Builder>public CompilationResult.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<CompilationResult.Builder>public CompilationResult.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<CompilationResult.Builder>public CompilationResult.Builder mergeFrom(CompilationResult other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<CompilationResult.Builder>public CompilationResult.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<CompilationResult.Builder>IOExceptionpublic CompilationResult.SourceCase getSourceCase()
getSourceCase in interface CompilationResultOrBuilderpublic CompilationResult.Builder clearSource()
public String getName()
Output only. The compilation result's name.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];getName in interface CompilationResultOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
Output only. The compilation result's name.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];getNameBytes in interface CompilationResultOrBuilderpublic CompilationResult.Builder setName(String value)
Output only. The compilation result's name.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The name to set.public CompilationResult.Builder clearName()
Output only. The compilation result's name.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];public CompilationResult.Builder setNameBytes(com.google.protobuf.ByteString value)
Output only. The compilation result's name.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The bytes for name to set.public 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];hasGitCommitish in interface CompilationResultOrBuilderpublic 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];getGitCommitish in interface CompilationResultOrBuilderpublic com.google.protobuf.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];getGitCommitishBytes in interface CompilationResultOrBuilderpublic CompilationResult.Builder setGitCommitish(String value)
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];value - The gitCommitish to set.public CompilationResult.Builder clearGitCommitish()
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];public CompilationResult.Builder setGitCommitishBytes(com.google.protobuf.ByteString value)
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];value - The bytes for gitCommitish to set.public 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) = { ... }
hasWorkspace in interface CompilationResultOrBuilderpublic 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) = { ... }
getWorkspace in interface CompilationResultOrBuilderpublic com.google.protobuf.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) = { ... }
getWorkspaceBytes in interface CompilationResultOrBuilderpublic CompilationResult.Builder setWorkspace(String value)
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) = { ... }
value - The workspace to set.public CompilationResult.Builder clearWorkspace()
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) = { ... }
public CompilationResult.Builder setWorkspaceBytes(com.google.protobuf.ByteString value)
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) = { ... }
value - The bytes for workspace to set.public boolean hasCodeCompilationConfig()
Immutable. If set, fields of `code_compilation_overrides` override the default compilation settings that are specified in dataform.json.
.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig code_compilation_config = 4 [(.google.api.field_behavior) = IMMUTABLE];
hasCodeCompilationConfig in interface CompilationResultOrBuilderpublic 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.v1alpha2.CompilationResult.CodeCompilationConfig code_compilation_config = 4 [(.google.api.field_behavior) = IMMUTABLE];
getCodeCompilationConfig in interface CompilationResultOrBuilderpublic CompilationResult.Builder setCodeCompilationConfig(CompilationResult.CodeCompilationConfig value)
Immutable. If set, fields of `code_compilation_overrides` override the default compilation settings that are specified in dataform.json.
.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig code_compilation_config = 4 [(.google.api.field_behavior) = IMMUTABLE];
public CompilationResult.Builder setCodeCompilationConfig(CompilationResult.CodeCompilationConfig.Builder builderForValue)
Immutable. If set, fields of `code_compilation_overrides` override the default compilation settings that are specified in dataform.json.
.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig code_compilation_config = 4 [(.google.api.field_behavior) = IMMUTABLE];
public CompilationResult.Builder mergeCodeCompilationConfig(CompilationResult.CodeCompilationConfig value)
Immutable. If set, fields of `code_compilation_overrides` override the default compilation settings that are specified in dataform.json.
.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig code_compilation_config = 4 [(.google.api.field_behavior) = IMMUTABLE];
public CompilationResult.Builder clearCodeCompilationConfig()
Immutable. If set, fields of `code_compilation_overrides` override the default compilation settings that are specified in dataform.json.
.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig code_compilation_config = 4 [(.google.api.field_behavior) = IMMUTABLE];
public CompilationResult.CodeCompilationConfig.Builder getCodeCompilationConfigBuilder()
Immutable. If set, fields of `code_compilation_overrides` override the default compilation settings that are specified in dataform.json.
.google.cloud.dataform.v1alpha2.CompilationResult.CodeCompilationConfig code_compilation_config = 4 [(.google.api.field_behavior) = IMMUTABLE];
public 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.v1alpha2.CompilationResult.CodeCompilationConfig code_compilation_config = 4 [(.google.api.field_behavior) = IMMUTABLE];
getCodeCompilationConfigOrBuilder in interface CompilationResultOrBuilderpublic 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];getDataformCoreVersion in interface CompilationResultOrBuilderpublic com.google.protobuf.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];getDataformCoreVersionBytes in interface CompilationResultOrBuilderpublic CompilationResult.Builder setDataformCoreVersion(String value)
Output only. The version of `@dataform/core` that was used for compilation.
string dataform_core_version = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The dataformCoreVersion to set.public CompilationResult.Builder clearDataformCoreVersion()
Output only. The version of `@dataform/core` that was used for compilation.
string dataform_core_version = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];public CompilationResult.Builder setDataformCoreVersionBytes(com.google.protobuf.ByteString value)
Output only. The version of `@dataform/core` that was used for compilation.
string dataform_core_version = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The bytes for dataformCoreVersion to set.public List<CompilationResult.CompilationError> getCompilationErrorsList()
Output only. Errors encountered during project compilation.
repeated .google.cloud.dataform.v1alpha2.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCompilationErrorsList in interface CompilationResultOrBuilderpublic int getCompilationErrorsCount()
Output only. Errors encountered during project compilation.
repeated .google.cloud.dataform.v1alpha2.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCompilationErrorsCount in interface CompilationResultOrBuilderpublic CompilationResult.CompilationError getCompilationErrors(int index)
Output only. Errors encountered during project compilation.
repeated .google.cloud.dataform.v1alpha2.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCompilationErrors in interface CompilationResultOrBuilderpublic CompilationResult.Builder setCompilationErrors(int index, CompilationResult.CompilationError value)
Output only. Errors encountered during project compilation.
repeated .google.cloud.dataform.v1alpha2.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
public CompilationResult.Builder setCompilationErrors(int index, CompilationResult.CompilationError.Builder builderForValue)
Output only. Errors encountered during project compilation.
repeated .google.cloud.dataform.v1alpha2.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
public CompilationResult.Builder addCompilationErrors(CompilationResult.CompilationError value)
Output only. Errors encountered during project compilation.
repeated .google.cloud.dataform.v1alpha2.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
public CompilationResult.Builder addCompilationErrors(int index, CompilationResult.CompilationError value)
Output only. Errors encountered during project compilation.
repeated .google.cloud.dataform.v1alpha2.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
public CompilationResult.Builder addCompilationErrors(CompilationResult.CompilationError.Builder builderForValue)
Output only. Errors encountered during project compilation.
repeated .google.cloud.dataform.v1alpha2.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
public CompilationResult.Builder addCompilationErrors(int index, CompilationResult.CompilationError.Builder builderForValue)
Output only. Errors encountered during project compilation.
repeated .google.cloud.dataform.v1alpha2.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
public CompilationResult.Builder addAllCompilationErrors(Iterable<? extends CompilationResult.CompilationError> values)
Output only. Errors encountered during project compilation.
repeated .google.cloud.dataform.v1alpha2.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
public CompilationResult.Builder clearCompilationErrors()
Output only. Errors encountered during project compilation.
repeated .google.cloud.dataform.v1alpha2.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
public CompilationResult.Builder removeCompilationErrors(int index)
Output only. Errors encountered during project compilation.
repeated .google.cloud.dataform.v1alpha2.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
public CompilationResult.CompilationError.Builder getCompilationErrorsBuilder(int index)
Output only. Errors encountered during project compilation.
repeated .google.cloud.dataform.v1alpha2.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
public CompilationResult.CompilationErrorOrBuilder getCompilationErrorsOrBuilder(int index)
Output only. Errors encountered during project compilation.
repeated .google.cloud.dataform.v1alpha2.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCompilationErrorsOrBuilder in interface CompilationResultOrBuilderpublic List<? extends CompilationResult.CompilationErrorOrBuilder> getCompilationErrorsOrBuilderList()
Output only. Errors encountered during project compilation.
repeated .google.cloud.dataform.v1alpha2.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCompilationErrorsOrBuilderList in interface CompilationResultOrBuilderpublic CompilationResult.CompilationError.Builder addCompilationErrorsBuilder()
Output only. Errors encountered during project compilation.
repeated .google.cloud.dataform.v1alpha2.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
public CompilationResult.CompilationError.Builder addCompilationErrorsBuilder(int index)
Output only. Errors encountered during project compilation.
repeated .google.cloud.dataform.v1alpha2.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
public List<CompilationResult.CompilationError.Builder> getCompilationErrorsBuilderList()
Output only. Errors encountered during project compilation.
repeated .google.cloud.dataform.v1alpha2.CompilationResult.CompilationError compilation_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
public final CompilationResult.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CompilationResult.Builder>public final CompilationResult.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CompilationResult.Builder>Copyright © 2024 Google LLC. All rights reserved.