Class CompilationResult.CompilationError.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.Builder<CompilationResult.CompilationError.Builder> implements CompilationResult.CompilationErrorOrBuilder
An error encountered when attempting to compile a Dataform project.
Protobuf typegoogle.cloud.dataform.v1beta1.CompilationResult.CompilationError
-
-
Method Summary
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
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.Builder<CompilationResult.CompilationError.Builder>
-
clear
public CompilationResult.CompilationError.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<CompilationResult.CompilationError.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<CompilationResult.CompilationError.Builder>
-
getDefaultInstanceForType
public CompilationResult.CompilationError getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public CompilationResult.CompilationError build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public CompilationResult.CompilationError buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public CompilationResult.CompilationError.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<CompilationResult.CompilationError.Builder>
-
setField
public CompilationResult.CompilationError.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<CompilationResult.CompilationError.Builder>
-
clearField
public CompilationResult.CompilationError.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<CompilationResult.CompilationError.Builder>
-
clearOneof
public CompilationResult.CompilationError.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<CompilationResult.CompilationError.Builder>
-
setRepeatedField
public CompilationResult.CompilationError.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<CompilationResult.CompilationError.Builder>
-
addRepeatedField
public CompilationResult.CompilationError.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<CompilationResult.CompilationError.Builder>
-
mergeFrom
public CompilationResult.CompilationError.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<CompilationResult.CompilationError.Builder>
-
mergeFrom
public CompilationResult.CompilationError.Builder mergeFrom(CompilationResult.CompilationError other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<CompilationResult.CompilationError.Builder>
-
mergeFrom
public CompilationResult.CompilationError.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<CompilationResult.CompilationError.Builder>
- Throws:
IOException
-
getMessage
public String getMessage()
Output only. The error's top level message.
string message = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getMessage
in 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:
getMessageBytes
in interfaceCompilationResult.CompilationErrorOrBuilder
- Returns:
- The bytes for message.
-
setMessage
public CompilationResult.CompilationError.Builder setMessage(String value)
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
public CompilationResult.CompilationError.Builder 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
public String getStack()
Output only. The error's full stack trace.
string stack = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getStack
in 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:
getStackBytes
in interfaceCompilationResult.CompilationErrorOrBuilder
- Returns:
- The bytes for stack.
-
setStack
public CompilationResult.CompilationError.Builder setStack(String value)
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
public CompilationResult.CompilationError.Builder 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
public String 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:
getPath
in 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:
getPathBytes
in interfaceCompilationResult.CompilationErrorOrBuilder
- Returns:
- The bytes for path.
-
setPath
public CompilationResult.CompilationError.Builder setPath(String 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 path to set.- Returns:
- This builder for chaining.
-
clearPath
public CompilationResult.CompilationError.Builder 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:
hasActionTarget
in interfaceCompilationResult.CompilationErrorOrBuilder
- Returns:
- Whether the actionTarget field is set.
-
getActionTarget
public Target 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:
getActionTarget
in interfaceCompilationResult.CompilationErrorOrBuilder
- Returns:
- The actionTarget.
-
setActionTarget
public CompilationResult.CompilationError.Builder setActionTarget(Target value)
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
public CompilationResult.CompilationError.Builder setActionTarget(Target.Builder builderForValue)
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
public CompilationResult.CompilationError.Builder mergeActionTarget(Target value)
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
public CompilationResult.CompilationError.Builder 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
public Target.Builder 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
public TargetOrBuilder 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:
getActionTargetOrBuilder
in interfaceCompilationResult.CompilationErrorOrBuilder
-
setUnknownFields
public final CompilationResult.CompilationError.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<CompilationResult.CompilationError.Builder>
-
mergeUnknownFields
public final CompilationResult.CompilationError.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<CompilationResult.CompilationError.Builder>
-
-