Class CompilationResult.CompilationError.Builder (0.45.0)

public static final class CompilationResult.CompilationError.Builder extends GeneratedMessageV3.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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CompilationResult.CompilationError.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CompilationResult.CompilationError.Builder
Overrides

build()

public CompilationResult.CompilationError build()
Returns
Type Description
CompilationResult.CompilationError

buildPartial()

public CompilationResult.CompilationError buildPartial()
Returns
Type Description
CompilationResult.CompilationError

clear()

public CompilationResult.CompilationError.Builder clear()
Returns
Type Description
CompilationResult.CompilationError.Builder
Overrides

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];

Returns
Type Description
CompilationResult.CompilationError.Builder

clearField(Descriptors.FieldDescriptor field)

public CompilationResult.CompilationError.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
CompilationResult.CompilationError.Builder
Overrides

clearMessage()

public CompilationResult.CompilationError.Builder clearMessage()

Output only. The error's top level message.

string message = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
CompilationResult.CompilationError.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public CompilationResult.CompilationError.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
CompilationResult.CompilationError.Builder
Overrides

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
Type Description
CompilationResult.CompilationError.Builder

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
Type Description
CompilationResult.CompilationError.Builder

This builder for chaining.

clone()

public CompilationResult.CompilationError.Builder clone()
Returns
Type Description
CompilationResult.CompilationError.Builder
Overrides

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];

Returns
Type Description
Target

The actionTarget.

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];

Returns
Type Description
Target.Builder

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];

Returns
Type Description
TargetOrBuilder

getDefaultInstanceForType()

public CompilationResult.CompilationError getDefaultInstanceForType()
Returns
Type Description
CompilationResult.CompilationError

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getMessage()

public String getMessage()

Output only. The error's top level message.

string message = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The message.

getMessageBytes()

public ByteString getMessageBytes()

Output only. The error's top level message.

string message = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for message.

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];

Returns
Type Description
String

The path.

getPathBytes()

public 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];

Returns
Type Description
ByteString

The bytes for path.

getStack()

public String getStack()

Output only. The error's full stack trace.

string stack = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The stack.

getStackBytes()

public ByteString getStackBytes()

Output only. The error's full stack trace.

string stack = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for stack.

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];

Returns
Type Description
boolean

Whether the actionTarget field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeActionTarget(Target value)

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];

Parameter
Name Description
value Target
Returns
Type Description
CompilationResult.CompilationError.Builder

mergeFrom(CompilationResult.CompilationError other)

public CompilationResult.CompilationError.Builder mergeFrom(CompilationResult.CompilationError other)
Parameter
Name Description
other CompilationResult.CompilationError
Returns
Type Description
CompilationResult.CompilationError.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CompilationResult.CompilationError.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CompilationResult.CompilationError.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public CompilationResult.CompilationError.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
CompilationResult.CompilationError.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CompilationResult.CompilationError.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CompilationResult.CompilationError.Builder
Overrides

setActionTarget(Target value)

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];

Parameter
Name Description
value Target
Returns
Type Description
CompilationResult.CompilationError.Builder

setActionTarget(Target.Builder builderForValue)

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];

Parameter
Name Description
builderForValue Target.Builder
Returns
Type Description
CompilationResult.CompilationError.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public CompilationResult.CompilationError.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CompilationResult.CompilationError.Builder
Overrides

setMessage(String value)

public CompilationResult.CompilationError.Builder setMessage(String value)

Output only. The error's top level message.

string message = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The message to set.

Returns
Type Description
CompilationResult.CompilationError.Builder

This builder for chaining.

setMessageBytes(ByteString value)

public CompilationResult.CompilationError.Builder setMessageBytes(ByteString value)

Output only. The error's top level message.

string message = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for message to set.

Returns
Type Description
CompilationResult.CompilationError.Builder

This builder for chaining.

setPath(String value)

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];

Parameter
Name Description
value String

The path to set.

Returns
Type Description
CompilationResult.CompilationError.Builder

This builder for chaining.

setPathBytes(ByteString value)

public CompilationResult.CompilationError.Builder setPathBytes(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];

Parameter
Name Description
value ByteString

The bytes for path to set.

Returns
Type Description
CompilationResult.CompilationError.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public CompilationResult.CompilationError.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
CompilationResult.CompilationError.Builder
Overrides

setStack(String value)

public CompilationResult.CompilationError.Builder setStack(String value)

Output only. The error's full stack trace.

string stack = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The stack to set.

Returns
Type Description
CompilationResult.CompilationError.Builder

This builder for chaining.

setStackBytes(ByteString value)

public CompilationResult.CompilationError.Builder setStackBytes(ByteString value)

Output only. The error's full stack trace.

string stack = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for stack to set.

Returns
Type Description
CompilationResult.CompilationError.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final CompilationResult.CompilationError.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CompilationResult.CompilationError.Builder
Overrides