public final class CompilationResult extends com.google.protobuf.GeneratedMessageV3 implements CompilationResultOrBuilder
Represents the result of compiling a Dataform project.Protobuf type
google.cloud.dataform.v1alpha2.CompilationResult| Modifier and Type | Class and Description |
|---|---|
static class |
CompilationResult.Builder
Represents the result of compiling a Dataform project.
|
static class |
CompilationResult.CodeCompilationConfig
Configures various aspects of Dataform code compilation.
|
static interface |
CompilationResult.CodeCompilationConfigOrBuilder |
static class |
CompilationResult.CompilationError
An error encountered when attempting to compile a Dataform project.
|
static interface |
CompilationResult.CompilationErrorOrBuilder |
static class |
CompilationResult.SourceCase |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
CODE_COMPILATION_CONFIG_FIELD_NUMBER |
static int |
COMPILATION_ERRORS_FIELD_NUMBER |
static int |
DATAFORM_CORE_VERSION_FIELD_NUMBER |
static int |
GIT_COMMITISH_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
WORKSPACE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
CompilationResult.CodeCompilationConfig |
getCodeCompilationConfig()
Immutable.
|
CompilationResult.CodeCompilationConfigOrBuilder |
getCodeCompilationConfigOrBuilder()
Immutable.
|
CompilationResult.CompilationError |
getCompilationErrors(int index)
Output only.
|
int |
getCompilationErrorsCount()
Output only.
|
List<CompilationResult.CompilationError> |
getCompilationErrorsList()
Output only.
|
CompilationResult.CompilationErrorOrBuilder |
getCompilationErrorsOrBuilder(int index)
Output only.
|
List<? extends CompilationResult.CompilationErrorOrBuilder> |
getCompilationErrorsOrBuilderList()
Output only.
|
String |
getDataformCoreVersion()
Output only.
|
com.google.protobuf.ByteString |
getDataformCoreVersionBytes()
Output only.
|
static CompilationResult |
getDefaultInstance() |
CompilationResult |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getGitCommitish()
Immutable.
|
com.google.protobuf.ByteString |
getGitCommitishBytes()
Immutable.
|
String |
getName()
Output only.
|
com.google.protobuf.ByteString |
getNameBytes()
Output only.
|
com.google.protobuf.Parser<CompilationResult> |
getParserForType() |
int |
getSerializedSize() |
CompilationResult.SourceCase |
getSourceCase() |
String |
getWorkspace()
Immutable.
|
com.google.protobuf.ByteString |
getWorkspaceBytes()
Immutable.
|
boolean |
hasCodeCompilationConfig()
Immutable.
|
boolean |
hasGitCommitish()
Immutable.
|
int |
hashCode() |
boolean |
hasWorkspace()
Immutable.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static CompilationResult.Builder |
newBuilder() |
static CompilationResult.Builder |
newBuilder(CompilationResult prototype) |
CompilationResult.Builder |
newBuilderForType() |
protected CompilationResult.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static CompilationResult |
parseDelimitedFrom(InputStream input) |
static CompilationResult |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CompilationResult |
parseFrom(byte[] data) |
static CompilationResult |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CompilationResult |
parseFrom(ByteBuffer data) |
static CompilationResult |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CompilationResult |
parseFrom(com.google.protobuf.ByteString data) |
static CompilationResult |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CompilationResult |
parseFrom(com.google.protobuf.CodedInputStream input) |
static CompilationResult |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CompilationResult |
parseFrom(InputStream input) |
static CompilationResult |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<CompilationResult> |
parser() |
CompilationResult.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int NAME_FIELD_NUMBER
public static final int GIT_COMMITISH_FIELD_NUMBER
public static final int WORKSPACE_FIELD_NUMBER
public static final int CODE_COMPILATION_CONFIG_FIELD_NUMBER
public static final int DATAFORM_CORE_VERSION_FIELD_NUMBER
public static final int COMPILATION_ERRORS_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public CompilationResult.SourceCase getSourceCase()
getSourceCase in interface CompilationResultOrBuilderpublic 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 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 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 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.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 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 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 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.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 final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static CompilationResult parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CompilationResult parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CompilationResult parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CompilationResult parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CompilationResult parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CompilationResult parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CompilationResult parseFrom(InputStream input) throws IOException
IOExceptionpublic static CompilationResult parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static CompilationResult parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static CompilationResult parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static CompilationResult parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static CompilationResult parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic CompilationResult.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static CompilationResult.Builder newBuilder()
public static CompilationResult.Builder newBuilder(CompilationResult prototype)
public CompilationResult.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected CompilationResult.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static CompilationResult getDefaultInstance()
public static com.google.protobuf.Parser<CompilationResult> parser()
public com.google.protobuf.Parser<CompilationResult> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public CompilationResult getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2024 Google LLC. All rights reserved.