Class CompilationResultAction.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<CompilationResultAction.Builder>
com.google.cloud.dataform.v1beta1.CompilationResultAction.Builder
All Implemented Interfaces:
CompilationResultActionOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
CompilationResultAction

public static final class CompilationResultAction.Builder extends com.google.protobuf.GeneratedMessage.Builder<CompilationResultAction.Builder> implements CompilationResultActionOrBuilder
 Represents a single Dataform action in a compilation result.
 
Protobuf type google.cloud.dataform.v1beta1.CompilationResultAction
  • 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<CompilationResultAction.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<CompilationResultAction.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<CompilationResultAction.Builder>
    • getDefaultInstanceForType

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

      public CompilationResultAction build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

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

      public CompilationResultAction.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<CompilationResultAction.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<CompilationResultAction.Builder>
    • mergeFrom

      public CompilationResultAction.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<CompilationResultAction.Builder>
      Throws:
      IOException
    • getCompiledObjectCase

      public CompilationResultAction.CompiledObjectCase getCompiledObjectCase()
      Specified by:
      getCompiledObjectCase in interface CompilationResultActionOrBuilder
    • clearCompiledObject

      public CompilationResultAction.Builder clearCompiledObject()
    • hasRelation

      public boolean hasRelation()
       The database relation created/updated by this action.
       
      .google.cloud.dataform.v1beta1.CompilationResultAction.Relation relation = 4;
      Specified by:
      hasRelation in interface CompilationResultActionOrBuilder
      Returns:
      Whether the relation field is set.
    • getRelation

      public CompilationResultAction.Relation getRelation()
       The database relation created/updated by this action.
       
      .google.cloud.dataform.v1beta1.CompilationResultAction.Relation relation = 4;
      Specified by:
      getRelation in interface CompilationResultActionOrBuilder
      Returns:
      The relation.
    • setRelation

       The database relation created/updated by this action.
       
      .google.cloud.dataform.v1beta1.CompilationResultAction.Relation relation = 4;
    • setRelation

       The database relation created/updated by this action.
       
      .google.cloud.dataform.v1beta1.CompilationResultAction.Relation relation = 4;
    • mergeRelation

       The database relation created/updated by this action.
       
      .google.cloud.dataform.v1beta1.CompilationResultAction.Relation relation = 4;
    • clearRelation

      public CompilationResultAction.Builder clearRelation()
       The database relation created/updated by this action.
       
      .google.cloud.dataform.v1beta1.CompilationResultAction.Relation relation = 4;
    • getRelationBuilder

      public CompilationResultAction.Relation.Builder getRelationBuilder()
       The database relation created/updated by this action.
       
      .google.cloud.dataform.v1beta1.CompilationResultAction.Relation relation = 4;
    • getRelationOrBuilder

      public CompilationResultAction.RelationOrBuilder getRelationOrBuilder()
       The database relation created/updated by this action.
       
      .google.cloud.dataform.v1beta1.CompilationResultAction.Relation relation = 4;
      Specified by:
      getRelationOrBuilder in interface CompilationResultActionOrBuilder
    • hasOperations

      public boolean hasOperations()
       The database operations executed by this action.
       
      .google.cloud.dataform.v1beta1.CompilationResultAction.Operations operations = 5;
      Specified by:
      hasOperations in interface CompilationResultActionOrBuilder
      Returns:
      Whether the operations field is set.
    • getOperations

      public CompilationResultAction.Operations getOperations()
       The database operations executed by this action.
       
      .google.cloud.dataform.v1beta1.CompilationResultAction.Operations operations = 5;
      Specified by:
      getOperations in interface CompilationResultActionOrBuilder
      Returns:
      The operations.
    • setOperations

       The database operations executed by this action.
       
      .google.cloud.dataform.v1beta1.CompilationResultAction.Operations operations = 5;
    • setOperations

       The database operations executed by this action.
       
      .google.cloud.dataform.v1beta1.CompilationResultAction.Operations operations = 5;
    • mergeOperations

       The database operations executed by this action.
       
      .google.cloud.dataform.v1beta1.CompilationResultAction.Operations operations = 5;
    • clearOperations

      public CompilationResultAction.Builder clearOperations()
       The database operations executed by this action.
       
      .google.cloud.dataform.v1beta1.CompilationResultAction.Operations operations = 5;
    • getOperationsBuilder

      public CompilationResultAction.Operations.Builder getOperationsBuilder()
       The database operations executed by this action.
       
      .google.cloud.dataform.v1beta1.CompilationResultAction.Operations operations = 5;
    • getOperationsOrBuilder

      public CompilationResultAction.OperationsOrBuilder getOperationsOrBuilder()
       The database operations executed by this action.
       
      .google.cloud.dataform.v1beta1.CompilationResultAction.Operations operations = 5;
      Specified by:
      getOperationsOrBuilder in interface CompilationResultActionOrBuilder
    • hasAssertion

      public boolean hasAssertion()
       The assertion executed by this action.
       
      .google.cloud.dataform.v1beta1.CompilationResultAction.Assertion assertion = 6;
      Specified by:
      hasAssertion in interface CompilationResultActionOrBuilder
      Returns:
      Whether the assertion field is set.
    • getAssertion

      public CompilationResultAction.Assertion getAssertion()
       The assertion executed by this action.
       
      .google.cloud.dataform.v1beta1.CompilationResultAction.Assertion assertion = 6;
      Specified by:
      getAssertion in interface CompilationResultActionOrBuilder
      Returns:
      The assertion.
    • setAssertion

       The assertion executed by this action.
       
      .google.cloud.dataform.v1beta1.CompilationResultAction.Assertion assertion = 6;
    • setAssertion

       The assertion executed by this action.
       
      .google.cloud.dataform.v1beta1.CompilationResultAction.Assertion assertion = 6;
    • mergeAssertion

       The assertion executed by this action.
       
      .google.cloud.dataform.v1beta1.CompilationResultAction.Assertion assertion = 6;
    • clearAssertion

      public CompilationResultAction.Builder clearAssertion()
       The assertion executed by this action.
       
      .google.cloud.dataform.v1beta1.CompilationResultAction.Assertion assertion = 6;
    • getAssertionBuilder

      public CompilationResultAction.Assertion.Builder getAssertionBuilder()
       The assertion executed by this action.
       
      .google.cloud.dataform.v1beta1.CompilationResultAction.Assertion assertion = 6;
    • getAssertionOrBuilder

      public CompilationResultAction.AssertionOrBuilder getAssertionOrBuilder()
       The assertion executed by this action.
       
      .google.cloud.dataform.v1beta1.CompilationResultAction.Assertion assertion = 6;
      Specified by:
      getAssertionOrBuilder in interface CompilationResultActionOrBuilder
    • hasDeclaration

      public boolean hasDeclaration()
       The declaration declared by this action.
       
      .google.cloud.dataform.v1beta1.CompilationResultAction.Declaration declaration = 7;
      Specified by:
      hasDeclaration in interface CompilationResultActionOrBuilder
      Returns:
      Whether the declaration field is set.
    • getDeclaration

      public CompilationResultAction.Declaration getDeclaration()
       The declaration declared by this action.
       
      .google.cloud.dataform.v1beta1.CompilationResultAction.Declaration declaration = 7;
      Specified by:
      getDeclaration in interface CompilationResultActionOrBuilder
      Returns:
      The declaration.
    • setDeclaration

       The declaration declared by this action.
       
      .google.cloud.dataform.v1beta1.CompilationResultAction.Declaration declaration = 7;
    • setDeclaration

       The declaration declared by this action.
       
      .google.cloud.dataform.v1beta1.CompilationResultAction.Declaration declaration = 7;
    • mergeDeclaration

       The declaration declared by this action.
       
      .google.cloud.dataform.v1beta1.CompilationResultAction.Declaration declaration = 7;
    • clearDeclaration

      public CompilationResultAction.Builder clearDeclaration()
       The declaration declared by this action.
       
      .google.cloud.dataform.v1beta1.CompilationResultAction.Declaration declaration = 7;
    • getDeclarationBuilder

      public CompilationResultAction.Declaration.Builder getDeclarationBuilder()
       The declaration declared by this action.
       
      .google.cloud.dataform.v1beta1.CompilationResultAction.Declaration declaration = 7;
    • getDeclarationOrBuilder

      public CompilationResultAction.DeclarationOrBuilder getDeclarationOrBuilder()
       The declaration declared by this action.
       
      .google.cloud.dataform.v1beta1.CompilationResultAction.Declaration declaration = 7;
      Specified by:
      getDeclarationOrBuilder in interface CompilationResultActionOrBuilder
    • hasNotebook

      public boolean hasNotebook()
       The notebook executed by this action.
       
      .google.cloud.dataform.v1beta1.CompilationResultAction.Notebook notebook = 8;
      Specified by:
      hasNotebook in interface CompilationResultActionOrBuilder
      Returns:
      Whether the notebook field is set.
    • getNotebook

      public CompilationResultAction.Notebook getNotebook()
       The notebook executed by this action.
       
      .google.cloud.dataform.v1beta1.CompilationResultAction.Notebook notebook = 8;
      Specified by:
      getNotebook in interface CompilationResultActionOrBuilder
      Returns:
      The notebook.
    • setNotebook

       The notebook executed by this action.
       
      .google.cloud.dataform.v1beta1.CompilationResultAction.Notebook notebook = 8;
    • setNotebook

       The notebook executed by this action.
       
      .google.cloud.dataform.v1beta1.CompilationResultAction.Notebook notebook = 8;
    • mergeNotebook

       The notebook executed by this action.
       
      .google.cloud.dataform.v1beta1.CompilationResultAction.Notebook notebook = 8;
    • clearNotebook

      public CompilationResultAction.Builder clearNotebook()
       The notebook executed by this action.
       
      .google.cloud.dataform.v1beta1.CompilationResultAction.Notebook notebook = 8;
    • getNotebookBuilder

      public CompilationResultAction.Notebook.Builder getNotebookBuilder()
       The notebook executed by this action.
       
      .google.cloud.dataform.v1beta1.CompilationResultAction.Notebook notebook = 8;
    • getNotebookOrBuilder

      public CompilationResultAction.NotebookOrBuilder getNotebookOrBuilder()
       The notebook executed by this action.
       
      .google.cloud.dataform.v1beta1.CompilationResultAction.Notebook notebook = 8;
      Specified by:
      getNotebookOrBuilder in interface CompilationResultActionOrBuilder
    • hasDataPreparation

      public boolean hasDataPreparation()
       The data preparation executed by this action.
       
      .google.cloud.dataform.v1beta1.CompilationResultAction.DataPreparation data_preparation = 9;
      Specified by:
      hasDataPreparation in interface CompilationResultActionOrBuilder
      Returns:
      Whether the dataPreparation field is set.
    • getDataPreparation

      public CompilationResultAction.DataPreparation getDataPreparation()
       The data preparation executed by this action.
       
      .google.cloud.dataform.v1beta1.CompilationResultAction.DataPreparation data_preparation = 9;
      Specified by:
      getDataPreparation in interface CompilationResultActionOrBuilder
      Returns:
      The dataPreparation.
    • setDataPreparation

       The data preparation executed by this action.
       
      .google.cloud.dataform.v1beta1.CompilationResultAction.DataPreparation data_preparation = 9;
    • setDataPreparation

       The data preparation executed by this action.
       
      .google.cloud.dataform.v1beta1.CompilationResultAction.DataPreparation data_preparation = 9;
    • mergeDataPreparation

       The data preparation executed by this action.
       
      .google.cloud.dataform.v1beta1.CompilationResultAction.DataPreparation data_preparation = 9;
    • clearDataPreparation

      public CompilationResultAction.Builder clearDataPreparation()
       The data preparation executed by this action.
       
      .google.cloud.dataform.v1beta1.CompilationResultAction.DataPreparation data_preparation = 9;
    • getDataPreparationBuilder

      public CompilationResultAction.DataPreparation.Builder getDataPreparationBuilder()
       The data preparation executed by this action.
       
      .google.cloud.dataform.v1beta1.CompilationResultAction.DataPreparation data_preparation = 9;
    • getDataPreparationOrBuilder

      public CompilationResultAction.DataPreparationOrBuilder getDataPreparationOrBuilder()
       The data preparation executed by this action.
       
      .google.cloud.dataform.v1beta1.CompilationResultAction.DataPreparation data_preparation = 9;
      Specified by:
      getDataPreparationOrBuilder in interface CompilationResultActionOrBuilder
    • hasTarget

      public boolean hasTarget()
       This action's identifier. Unique within the compilation result.
       
      .google.cloud.dataform.v1beta1.Target target = 1;
      Specified by:
      hasTarget in interface CompilationResultActionOrBuilder
      Returns:
      Whether the target field is set.
    • getTarget

      public Target getTarget()
       This action's identifier. Unique within the compilation result.
       
      .google.cloud.dataform.v1beta1.Target target = 1;
      Specified by:
      getTarget in interface CompilationResultActionOrBuilder
      Returns:
      The target.
    • setTarget

      public CompilationResultAction.Builder setTarget(Target value)
       This action's identifier. Unique within the compilation result.
       
      .google.cloud.dataform.v1beta1.Target target = 1;
    • setTarget

      public CompilationResultAction.Builder setTarget(Target.Builder builderForValue)
       This action's identifier. Unique within the compilation result.
       
      .google.cloud.dataform.v1beta1.Target target = 1;
    • mergeTarget

      public CompilationResultAction.Builder mergeTarget(Target value)
       This action's identifier. Unique within the compilation result.
       
      .google.cloud.dataform.v1beta1.Target target = 1;
    • clearTarget

      public CompilationResultAction.Builder clearTarget()
       This action's identifier. Unique within the compilation result.
       
      .google.cloud.dataform.v1beta1.Target target = 1;
    • getTargetBuilder

      public Target.Builder getTargetBuilder()
       This action's identifier. Unique within the compilation result.
       
      .google.cloud.dataform.v1beta1.Target target = 1;
    • getTargetOrBuilder

      public TargetOrBuilder getTargetOrBuilder()
       This action's identifier. Unique within the compilation result.
       
      .google.cloud.dataform.v1beta1.Target target = 1;
      Specified by:
      getTargetOrBuilder in interface CompilationResultActionOrBuilder
    • hasCanonicalTarget

      public boolean hasCanonicalTarget()
       The action's identifier if the project had been compiled without any
       overrides configured. Unique within the compilation result.
       
      .google.cloud.dataform.v1beta1.Target canonical_target = 2;
      Specified by:
      hasCanonicalTarget in interface CompilationResultActionOrBuilder
      Returns:
      Whether the canonicalTarget field is set.
    • getCanonicalTarget

      public Target getCanonicalTarget()
       The action's identifier if the project had been compiled without any
       overrides configured. Unique within the compilation result.
       
      .google.cloud.dataform.v1beta1.Target canonical_target = 2;
      Specified by:
      getCanonicalTarget in interface CompilationResultActionOrBuilder
      Returns:
      The canonicalTarget.
    • setCanonicalTarget

      public CompilationResultAction.Builder setCanonicalTarget(Target value)
       The action's identifier if the project had been compiled without any
       overrides configured. Unique within the compilation result.
       
      .google.cloud.dataform.v1beta1.Target canonical_target = 2;
    • setCanonicalTarget

      public CompilationResultAction.Builder setCanonicalTarget(Target.Builder builderForValue)
       The action's identifier if the project had been compiled without any
       overrides configured. Unique within the compilation result.
       
      .google.cloud.dataform.v1beta1.Target canonical_target = 2;
    • mergeCanonicalTarget

      public CompilationResultAction.Builder mergeCanonicalTarget(Target value)
       The action's identifier if the project had been compiled without any
       overrides configured. Unique within the compilation result.
       
      .google.cloud.dataform.v1beta1.Target canonical_target = 2;
    • clearCanonicalTarget

      public CompilationResultAction.Builder clearCanonicalTarget()
       The action's identifier if the project had been compiled without any
       overrides configured. Unique within the compilation result.
       
      .google.cloud.dataform.v1beta1.Target canonical_target = 2;
    • getCanonicalTargetBuilder

      public Target.Builder getCanonicalTargetBuilder()
       The action's identifier if the project had been compiled without any
       overrides configured. Unique within the compilation result.
       
      .google.cloud.dataform.v1beta1.Target canonical_target = 2;
    • getCanonicalTargetOrBuilder

      public TargetOrBuilder getCanonicalTargetOrBuilder()
       The action's identifier if the project had been compiled without any
       overrides configured. Unique within the compilation result.
       
      .google.cloud.dataform.v1beta1.Target canonical_target = 2;
      Specified by:
      getCanonicalTargetOrBuilder in interface CompilationResultActionOrBuilder
    • getFilePath

      public String getFilePath()
       The full path including filename in which this action is located, relative
       to the workspace root.
       
      string file_path = 3;
      Specified by:
      getFilePath in interface CompilationResultActionOrBuilder
      Returns:
      The filePath.
    • getFilePathBytes

      public com.google.protobuf.ByteString getFilePathBytes()
       The full path including filename in which this action is located, relative
       to the workspace root.
       
      string file_path = 3;
      Specified by:
      getFilePathBytes in interface CompilationResultActionOrBuilder
      Returns:
      The bytes for filePath.
    • setFilePath

      public CompilationResultAction.Builder setFilePath(String value)
       The full path including filename in which this action is located, relative
       to the workspace root.
       
      string file_path = 3;
      Parameters:
      value - The filePath to set.
      Returns:
      This builder for chaining.
    • clearFilePath

      public CompilationResultAction.Builder clearFilePath()
       The full path including filename in which this action is located, relative
       to the workspace root.
       
      string file_path = 3;
      Returns:
      This builder for chaining.
    • setFilePathBytes

      public CompilationResultAction.Builder setFilePathBytes(com.google.protobuf.ByteString value)
       The full path including filename in which this action is located, relative
       to the workspace root.
       
      string file_path = 3;
      Parameters:
      value - The bytes for filePath to set.
      Returns:
      This builder for chaining.
    • hasInternalMetadata

      public boolean hasInternalMetadata()
       Output only. All the metadata information that is used internally to serve
       the resource. For example: timestamps, flags, status fields, etc. The
       format of this field is a JSON string.
       
      optional string internal_metadata = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasInternalMetadata in interface CompilationResultActionOrBuilder
      Returns:
      Whether the internalMetadata field is set.
    • getInternalMetadata

      public String getInternalMetadata()
       Output only. All the metadata information that is used internally to serve
       the resource. For example: timestamps, flags, status fields, etc. The
       format of this field is a JSON string.
       
      optional string internal_metadata = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getInternalMetadata in interface CompilationResultActionOrBuilder
      Returns:
      The internalMetadata.
    • getInternalMetadataBytes

      public com.google.protobuf.ByteString getInternalMetadataBytes()
       Output only. All the metadata information that is used internally to serve
       the resource. For example: timestamps, flags, status fields, etc. The
       format of this field is a JSON string.
       
      optional string internal_metadata = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getInternalMetadataBytes in interface CompilationResultActionOrBuilder
      Returns:
      The bytes for internalMetadata.
    • setInternalMetadata

      public CompilationResultAction.Builder setInternalMetadata(String value)
       Output only. All the metadata information that is used internally to serve
       the resource. For example: timestamps, flags, status fields, etc. The
       format of this field is a JSON string.
       
      optional string internal_metadata = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The internalMetadata to set.
      Returns:
      This builder for chaining.
    • clearInternalMetadata

      public CompilationResultAction.Builder clearInternalMetadata()
       Output only. All the metadata information that is used internally to serve
       the resource. For example: timestamps, flags, status fields, etc. The
       format of this field is a JSON string.
       
      optional string internal_metadata = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setInternalMetadataBytes

      public CompilationResultAction.Builder setInternalMetadataBytes(com.google.protobuf.ByteString value)
       Output only. All the metadata information that is used internally to serve
       the resource. For example: timestamps, flags, status fields, etc. The
       format of this field is a JSON string.
       
      optional string internal_metadata = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for internalMetadata to set.
      Returns:
      This builder for chaining.