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 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
-
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 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
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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(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 CompilationResult
parseFrom(ByteBuffer data)
static CompilationResult
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<CompilationResult>
parser()
CompilationResult.Builder
toBuilder()
void
writeTo(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:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
getSourceCase
public CompilationResult.SourceCase getSourceCase()
- Specified by:
getSourceCase
in interfaceCompilationResultOrBuilder
-
getName
public String getName()
Output only. The compilation result's name.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getName
in 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:
getNameBytes
in 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:
hasGitCommitish
in 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:
getGitCommitish
in 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:
getGitCommitishBytes
in 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:
hasWorkspace
in 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:
getWorkspace
in 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:
getWorkspaceBytes
in 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:
hasCodeCompilationConfig
in 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:
getCodeCompilationConfig
in 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:
getCodeCompilationConfigOrBuilder
in 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:
getDataformCoreVersion
in 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:
getDataformCoreVersionBytes
in 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:
getCompilationErrorsList
in 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:
getCompilationErrorsOrBuilderList
in 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:
getCompilationErrorsCount
in 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:
getCompilationErrors
in 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:
getCompilationErrorsOrBuilder
in interfaceCompilationResultOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in 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:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in 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:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected CompilationResult.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in 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:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public CompilationResult getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-