Class CompilationResult.CompilationError.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<CompilationResult.CompilationError.Builder>
com.google.cloud.dataform.v1beta1.CompilationResult.CompilationError.Builder
- All Implemented Interfaces:
CompilationResult.CompilationErrorOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- CompilationResult.CompilationError
public static final class CompilationResult.CompilationError.Builder
extends com.google.protobuf.GeneratedMessage.Builder<CompilationResult.CompilationError.Builder>
implements CompilationResult.CompilationErrorOrBuilder
An error encountered when attempting to compile a Dataform project.Protobuf type
google.cloud.dataform.v1beta1.CompilationResult.CompilationError-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Output only.Output only.Output only.Output only.Output only.Output only.Output only.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorOutput only.com.google.protobuf.ByteStringOutput only.getPath()Output only.com.google.protobuf.ByteStringOutput only.getStack()Output only.com.google.protobuf.ByteStringOutput only.booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeActionTarget(Target value) Output only.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setActionTarget(Target value) Output only.setActionTarget(Target.Builder builderForValue) Output only.setMessage(String value) Output only.setMessageBytes(com.google.protobuf.ByteString value) Output only.Output only.setPathBytes(com.google.protobuf.ByteString value) Output only.Output only.setStackBytes(com.google.protobuf.ByteString value) Output only.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<CompilationResult.CompilationError.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<CompilationResult.CompilationError.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<CompilationResult.CompilationError.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<CompilationResult.CompilationError.Builder>
-
mergeFrom
public CompilationResult.CompilationError.Builder mergeFrom(CompilationResult.CompilationError other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<CompilationResult.CompilationError.Builder>
-
mergeFrom
public CompilationResult.CompilationError.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<CompilationResult.CompilationError.Builder>- Throws:
IOException
-
getMessage
Output only. The error's top level message.
string message = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getMessagein interfaceCompilationResult.CompilationErrorOrBuilder- Returns:
- The message.
-
getMessageBytes
public com.google.protobuf.ByteString getMessageBytes()Output only. The error's top level message.
string message = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getMessageBytesin interfaceCompilationResult.CompilationErrorOrBuilder- Returns:
- The bytes for message.
-
setMessage
Output only. The error's top level message.
string message = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The message to set.- Returns:
- This builder for chaining.
-
clearMessage
Output only. The error's top level message.
string message = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setMessageBytes
public CompilationResult.CompilationError.Builder setMessageBytes(com.google.protobuf.ByteString value) Output only. The error's top level message.
string message = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for message to set.- Returns:
- This builder for chaining.
-
getStack
Output only. The error's full stack trace.
string stack = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStackin interfaceCompilationResult.CompilationErrorOrBuilder- Returns:
- The stack.
-
getStackBytes
public com.google.protobuf.ByteString getStackBytes()Output only. The error's full stack trace.
string stack = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStackBytesin interfaceCompilationResult.CompilationErrorOrBuilder- Returns:
- The bytes for stack.
-
setStack
Output only. The error's full stack trace.
string stack = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The stack to set.- Returns:
- This builder for chaining.
-
clearStack
Output only. The error's full stack trace.
string stack = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setStackBytes
public CompilationResult.CompilationError.Builder setStackBytes(com.google.protobuf.ByteString value) Output only. The error's full stack trace.
string stack = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for stack to set.- Returns:
- This builder for chaining.
-
getPath
Output only. The path of the file where this error occurred, if available, relative to the project root.
string path = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getPathin interfaceCompilationResult.CompilationErrorOrBuilder- Returns:
- The path.
-
getPathBytes
public com.google.protobuf.ByteString getPathBytes()Output only. The path of the file where this error occurred, if available, relative to the project root.
string path = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getPathBytesin interfaceCompilationResult.CompilationErrorOrBuilder- Returns:
- The bytes for path.
-
setPath
Output only. The path of the file where this error occurred, if available, relative to the project root.
string path = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The path to set.- Returns:
- This builder for chaining.
-
clearPath
Output only. The path of the file where this error occurred, if available, relative to the project root.
string path = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setPathBytes
public CompilationResult.CompilationError.Builder setPathBytes(com.google.protobuf.ByteString value) Output only. The path of the file where this error occurred, if available, relative to the project root.
string path = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for path to set.- Returns:
- This builder for chaining.
-
hasActionTarget
public boolean hasActionTarget()Output only. The identifier of the action where this error occurred, if available.
.google.cloud.dataform.v1beta1.Target action_target = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasActionTargetin interfaceCompilationResult.CompilationErrorOrBuilder- Returns:
- Whether the actionTarget field is set.
-
getActionTarget
Output only. The identifier of the action where this error occurred, if available.
.google.cloud.dataform.v1beta1.Target action_target = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getActionTargetin interfaceCompilationResult.CompilationErrorOrBuilder- Returns:
- The actionTarget.
-
setActionTarget
Output only. The identifier of the action where this error occurred, if available.
.google.cloud.dataform.v1beta1.Target action_target = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setActionTarget
Output only. The identifier of the action where this error occurred, if available.
.google.cloud.dataform.v1beta1.Target action_target = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeActionTarget
Output only. The identifier of the action where this error occurred, if available.
.google.cloud.dataform.v1beta1.Target action_target = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearActionTarget
Output only. The identifier of the action where this error occurred, if available.
.google.cloud.dataform.v1beta1.Target action_target = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getActionTargetBuilder
Output only. The identifier of the action where this error occurred, if available.
.google.cloud.dataform.v1beta1.Target action_target = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getActionTargetOrBuilder
Output only. The identifier of the action where this error occurred, if available.
.google.cloud.dataform.v1beta1.Target action_target = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getActionTargetOrBuilderin interfaceCompilationResult.CompilationErrorOrBuilder
-