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 Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<CompilationResult.CompilationError.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<CompilationResult.CompilationError.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<CompilationResult.CompilationError.Builder>
    • getDefaultInstanceForType

      public CompilationResult.CompilationError getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public CompilationResult.CompilationError buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public CompilationResult.CompilationError.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<CompilationResult.CompilationError.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.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:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.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 interface CompilationResult.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 interface CompilationResult.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

      public String getStack()
       Output only. The error's full stack trace.
       
      string stack = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getStack in interface CompilationResult.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 interface CompilationResult.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

      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 interface CompilationResult.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 interface CompilationResult.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:
      hasActionTarget in interface CompilationResult.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 interface CompilationResult.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 interface CompilationResult.CompilationErrorOrBuilder