Class CompilationResult
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.dataform.v1alpha2.CompilationResult
-
- All Implemented Interfaces:
CompilationResultOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class CompilationResult extends com.google.protobuf.GeneratedMessageV3 implements CompilationResultOrBuilder
Represents the result of compiling a Dataform project.
Protobuf typegoogle.cloud.dataform.v1alpha2.CompilationResult- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCompilationResult.BuilderRepresents the result of compiling a Dataform project.static classCompilationResult.CodeCompilationConfigConfigures various aspects of Dataform code compilation.static interfaceCompilationResult.CodeCompilationConfigOrBuilderstatic classCompilationResult.CompilationErrorAn error encountered when attempting to compile a Dataform project.static interfaceCompilationResult.CompilationErrorOrBuilderstatic classCompilationResult.SourceCase-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
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
-
-
Field Summary
Fields Modifier and Type Field Description static intCODE_COMPILATION_CONFIG_FIELD_NUMBERstatic intCOMPILATION_ERRORS_FIELD_NUMBERstatic intDATAFORM_CORE_VERSION_FIELD_NUMBERstatic intGIT_COMMITISH_FIELD_NUMBERstatic intNAME_FIELD_NUMBERstatic intWORKSPACE_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)CompilationResult.CodeCompilationConfiggetCodeCompilationConfig()Immutable.CompilationResult.CodeCompilationConfigOrBuildergetCodeCompilationConfigOrBuilder()Immutable.CompilationResult.CompilationErrorgetCompilationErrors(int index)Output only.intgetCompilationErrorsCount()Output only.List<CompilationResult.CompilationError>getCompilationErrorsList()Output only.CompilationResult.CompilationErrorOrBuildergetCompilationErrorsOrBuilder(int index)Output only.List<? extends CompilationResult.CompilationErrorOrBuilder>getCompilationErrorsOrBuilderList()Output only.StringgetDataformCoreVersion()Output only.com.google.protobuf.ByteStringgetDataformCoreVersionBytes()Output only.static CompilationResultgetDefaultInstance()CompilationResultgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()StringgetGitCommitish()Immutable.com.google.protobuf.ByteStringgetGitCommitishBytes()Immutable.StringgetName()Output only.com.google.protobuf.ByteStringgetNameBytes()Output only.com.google.protobuf.Parser<CompilationResult>getParserForType()intgetSerializedSize()CompilationResult.SourceCasegetSourceCase()StringgetWorkspace()Immutable.com.google.protobuf.ByteStringgetWorkspaceBytes()Immutable.booleanhasCodeCompilationConfig()Immutable.booleanhasGitCommitish()Immutable.inthashCode()booleanhasWorkspace()Immutable.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static CompilationResult.BuildernewBuilder()static CompilationResult.BuildernewBuilder(CompilationResult prototype)CompilationResult.BuildernewBuilderForType()protected CompilationResult.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static CompilationResultparseDelimitedFrom(InputStream input)static CompilationResultparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static CompilationResultparseFrom(byte[] data)static CompilationResultparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static CompilationResultparseFrom(com.google.protobuf.ByteString data)static CompilationResultparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static CompilationResultparseFrom(com.google.protobuf.CodedInputStream input)static CompilationResultparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static CompilationResultparseFrom(InputStream input)static CompilationResultparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static CompilationResultparseFrom(ByteBuffer data)static CompilationResultparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<CompilationResult>parser()CompilationResult.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, 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, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
GIT_COMMITISH_FIELD_NUMBER
public static final int GIT_COMMITISH_FIELD_NUMBER
- See Also:
- Constant Field Values
-
WORKSPACE_FIELD_NUMBER
public static final int WORKSPACE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CODE_COMPILATION_CONFIG_FIELD_NUMBER
public static final int CODE_COMPILATION_CONFIG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DATAFORM_CORE_VERSION_FIELD_NUMBER
public static final int DATAFORM_CORE_VERSION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
COMPILATION_ERRORS_FIELD_NUMBER
public static final int COMPILATION_ERRORS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getSourceCase
public CompilationResult.SourceCase getSourceCase()
- Specified by:
getSourceCasein interfaceCompilationResultOrBuilder
-
getName
public String getName()
Output only. The compilation result's name.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getNamein interfaceCompilationResultOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
Output only. The compilation result's name.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getNameBytesin interfaceCompilationResultOrBuilder- Returns:
- The bytes for name.
-
hasGitCommitish
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];- Specified by:
hasGitCommitishin interfaceCompilationResultOrBuilder- Returns:
- Whether the gitCommitish field is set.
-
getGitCommitish
public 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];- Specified by:
getGitCommitishin interfaceCompilationResultOrBuilder- Returns:
- The gitCommitish.
-
getGitCommitishBytes
public 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];- Specified by:
getGitCommitishBytesin interfaceCompilationResultOrBuilder- Returns:
- The bytes for gitCommitish.
-
hasWorkspace
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) = { ... }- Specified by:
hasWorkspacein interfaceCompilationResultOrBuilder- Returns:
- Whether the workspace field is set.
-
getWorkspace
public 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) = { ... }- Specified by:
getWorkspacein interfaceCompilationResultOrBuilder- Returns:
- The workspace.
-
getWorkspaceBytes
public 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) = { ... }- Specified by:
getWorkspaceBytesin interfaceCompilationResultOrBuilder- Returns:
- The bytes for workspace.
-
hasCodeCompilationConfig
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];- Specified by:
hasCodeCompilationConfigin interfaceCompilationResultOrBuilder- Returns:
- Whether the codeCompilationConfig field is set.
-
getCodeCompilationConfig
public 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];- Specified by:
getCodeCompilationConfigin interfaceCompilationResultOrBuilder- Returns:
- The codeCompilationConfig.
-
getCodeCompilationConfigOrBuilder
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];- Specified by:
getCodeCompilationConfigOrBuilderin interfaceCompilationResultOrBuilder
-
getDataformCoreVersion
public 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];- Specified by:
getDataformCoreVersionin interfaceCompilationResultOrBuilder- Returns:
- The dataformCoreVersion.
-
getDataformCoreVersionBytes
public 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];- Specified by:
getDataformCoreVersionBytesin interfaceCompilationResultOrBuilder- Returns:
- The bytes for dataformCoreVersion.
-
getCompilationErrorsList
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];- Specified by:
getCompilationErrorsListin interfaceCompilationResultOrBuilder
-
getCompilationErrorsOrBuilderList
public 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];- Specified by:
getCompilationErrorsOrBuilderListin interfaceCompilationResultOrBuilder
-
getCompilationErrorsCount
public 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];- Specified by:
getCompilationErrorsCountin interfaceCompilationResultOrBuilder
-
getCompilationErrors
public 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];- Specified by:
getCompilationErrorsin interfaceCompilationResultOrBuilder
-
getCompilationErrorsOrBuilder
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];- Specified by:
getCompilationErrorsOrBuilderin interfaceCompilationResultOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static CompilationResult parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CompilationResult parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CompilationResult parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CompilationResult parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CompilationResult parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CompilationResult parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CompilationResult parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static CompilationResult parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static CompilationResult parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static CompilationResult parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static CompilationResult parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static CompilationResult parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public CompilationResult.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static CompilationResult.Builder newBuilder()
-
newBuilder
public static CompilationResult.Builder newBuilder(CompilationResult prototype)
-
toBuilder
public CompilationResult.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected CompilationResult.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static CompilationResult getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<CompilationResult> parser()
-
getParserForType
public com.google.protobuf.Parser<CompilationResult> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public CompilationResult getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-