Class CompilationResultAction.Operations.Builder

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

public static final class CompilationResultAction.Operations.Builder extends com.google.protobuf.GeneratedMessage.Builder<CompilationResultAction.Operations.Builder> implements CompilationResultAction.OperationsOrBuilder
 Represents a list of arbitrary database operations.
 
Protobuf type google.cloud.dataform.v1.CompilationResultAction.Operations
  • 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.Operations.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.Operations.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.Operations.Builder>
    • getDefaultInstanceForType

      public CompilationResultAction.Operations 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 CompilationResultAction.Operations buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

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

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

      public List<Target> getDependencyTargetsList()
       A list of actions that this action depends on.
       
      repeated .google.cloud.dataform.v1.Target dependency_targets = 1;
      Specified by:
      getDependencyTargetsList in interface CompilationResultAction.OperationsOrBuilder
    • getDependencyTargetsCount

      public int getDependencyTargetsCount()
       A list of actions that this action depends on.
       
      repeated .google.cloud.dataform.v1.Target dependency_targets = 1;
      Specified by:
      getDependencyTargetsCount in interface CompilationResultAction.OperationsOrBuilder
    • getDependencyTargets

      public Target getDependencyTargets(int index)
       A list of actions that this action depends on.
       
      repeated .google.cloud.dataform.v1.Target dependency_targets = 1;
      Specified by:
      getDependencyTargets in interface CompilationResultAction.OperationsOrBuilder
    • setDependencyTargets

      public CompilationResultAction.Operations.Builder setDependencyTargets(int index, Target value)
       A list of actions that this action depends on.
       
      repeated .google.cloud.dataform.v1.Target dependency_targets = 1;
    • setDependencyTargets

      public CompilationResultAction.Operations.Builder setDependencyTargets(int index, Target.Builder builderForValue)
       A list of actions that this action depends on.
       
      repeated .google.cloud.dataform.v1.Target dependency_targets = 1;
    • addDependencyTargets

      public CompilationResultAction.Operations.Builder addDependencyTargets(Target value)
       A list of actions that this action depends on.
       
      repeated .google.cloud.dataform.v1.Target dependency_targets = 1;
    • addDependencyTargets

      public CompilationResultAction.Operations.Builder addDependencyTargets(int index, Target value)
       A list of actions that this action depends on.
       
      repeated .google.cloud.dataform.v1.Target dependency_targets = 1;
    • addDependencyTargets

      public CompilationResultAction.Operations.Builder addDependencyTargets(Target.Builder builderForValue)
       A list of actions that this action depends on.
       
      repeated .google.cloud.dataform.v1.Target dependency_targets = 1;
    • addDependencyTargets

      public CompilationResultAction.Operations.Builder addDependencyTargets(int index, Target.Builder builderForValue)
       A list of actions that this action depends on.
       
      repeated .google.cloud.dataform.v1.Target dependency_targets = 1;
    • addAllDependencyTargets

      public CompilationResultAction.Operations.Builder addAllDependencyTargets(Iterable<? extends Target> values)
       A list of actions that this action depends on.
       
      repeated .google.cloud.dataform.v1.Target dependency_targets = 1;
    • clearDependencyTargets

      public CompilationResultAction.Operations.Builder clearDependencyTargets()
       A list of actions that this action depends on.
       
      repeated .google.cloud.dataform.v1.Target dependency_targets = 1;
    • removeDependencyTargets

      public CompilationResultAction.Operations.Builder removeDependencyTargets(int index)
       A list of actions that this action depends on.
       
      repeated .google.cloud.dataform.v1.Target dependency_targets = 1;
    • getDependencyTargetsBuilder

      public Target.Builder getDependencyTargetsBuilder(int index)
       A list of actions that this action depends on.
       
      repeated .google.cloud.dataform.v1.Target dependency_targets = 1;
    • getDependencyTargetsOrBuilder

      public TargetOrBuilder getDependencyTargetsOrBuilder(int index)
       A list of actions that this action depends on.
       
      repeated .google.cloud.dataform.v1.Target dependency_targets = 1;
      Specified by:
      getDependencyTargetsOrBuilder in interface CompilationResultAction.OperationsOrBuilder
    • getDependencyTargetsOrBuilderList

      public List<? extends TargetOrBuilder> getDependencyTargetsOrBuilderList()
       A list of actions that this action depends on.
       
      repeated .google.cloud.dataform.v1.Target dependency_targets = 1;
      Specified by:
      getDependencyTargetsOrBuilderList in interface CompilationResultAction.OperationsOrBuilder
    • addDependencyTargetsBuilder

      public Target.Builder addDependencyTargetsBuilder()
       A list of actions that this action depends on.
       
      repeated .google.cloud.dataform.v1.Target dependency_targets = 1;
    • addDependencyTargetsBuilder

      public Target.Builder addDependencyTargetsBuilder(int index)
       A list of actions that this action depends on.
       
      repeated .google.cloud.dataform.v1.Target dependency_targets = 1;
    • getDependencyTargetsBuilderList

      public List<Target.Builder> getDependencyTargetsBuilderList()
       A list of actions that this action depends on.
       
      repeated .google.cloud.dataform.v1.Target dependency_targets = 1;
    • getDisabled

      public boolean getDisabled()
       Whether this action is disabled (i.e. should not be run).
       
      bool disabled = 2;
      Specified by:
      getDisabled in interface CompilationResultAction.OperationsOrBuilder
      Returns:
      The disabled.
    • setDisabled

      public CompilationResultAction.Operations.Builder setDisabled(boolean value)
       Whether this action is disabled (i.e. should not be run).
       
      bool disabled = 2;
      Parameters:
      value - The disabled to set.
      Returns:
      This builder for chaining.
    • clearDisabled

       Whether this action is disabled (i.e. should not be run).
       
      bool disabled = 2;
      Returns:
      This builder for chaining.
    • getTagsList

      public com.google.protobuf.ProtocolStringList getTagsList()
       Arbitrary, user-defined tags on this action.
       
      repeated string tags = 3;
      Specified by:
      getTagsList in interface CompilationResultAction.OperationsOrBuilder
      Returns:
      A list containing the tags.
    • getTagsCount

      public int getTagsCount()
       Arbitrary, user-defined tags on this action.
       
      repeated string tags = 3;
      Specified by:
      getTagsCount in interface CompilationResultAction.OperationsOrBuilder
      Returns:
      The count of tags.
    • getTags

      public String getTags(int index)
       Arbitrary, user-defined tags on this action.
       
      repeated string tags = 3;
      Specified by:
      getTags in interface CompilationResultAction.OperationsOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The tags at the given index.
    • getTagsBytes

      public com.google.protobuf.ByteString getTagsBytes(int index)
       Arbitrary, user-defined tags on this action.
       
      repeated string tags = 3;
      Specified by:
      getTagsBytes in interface CompilationResultAction.OperationsOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the tags at the given index.
    • setTags

      public CompilationResultAction.Operations.Builder setTags(int index, String value)
       Arbitrary, user-defined tags on this action.
       
      repeated string tags = 3;
      Parameters:
      index - The index to set the value at.
      value - The tags to set.
      Returns:
      This builder for chaining.
    • addTags

       Arbitrary, user-defined tags on this action.
       
      repeated string tags = 3;
      Parameters:
      value - The tags to add.
      Returns:
      This builder for chaining.
    • addAllTags

       Arbitrary, user-defined tags on this action.
       
      repeated string tags = 3;
      Parameters:
      values - The tags to add.
      Returns:
      This builder for chaining.
    • clearTags

       Arbitrary, user-defined tags on this action.
       
      repeated string tags = 3;
      Returns:
      This builder for chaining.
    • addTagsBytes

      public CompilationResultAction.Operations.Builder addTagsBytes(com.google.protobuf.ByteString value)
       Arbitrary, user-defined tags on this action.
       
      repeated string tags = 3;
      Parameters:
      value - The bytes of the tags to add.
      Returns:
      This builder for chaining.
    • hasRelationDescriptor

      public boolean hasRelationDescriptor()
       Descriptor for any output relation and its columns. Only set if
       `has_output` is true.
       
      .google.cloud.dataform.v1.RelationDescriptor relation_descriptor = 6;
      Specified by:
      hasRelationDescriptor in interface CompilationResultAction.OperationsOrBuilder
      Returns:
      Whether the relationDescriptor field is set.
    • getRelationDescriptor

      public RelationDescriptor getRelationDescriptor()
       Descriptor for any output relation and its columns. Only set if
       `has_output` is true.
       
      .google.cloud.dataform.v1.RelationDescriptor relation_descriptor = 6;
      Specified by:
      getRelationDescriptor in interface CompilationResultAction.OperationsOrBuilder
      Returns:
      The relationDescriptor.
    • setRelationDescriptor

      public CompilationResultAction.Operations.Builder setRelationDescriptor(RelationDescriptor value)
       Descriptor for any output relation and its columns. Only set if
       `has_output` is true.
       
      .google.cloud.dataform.v1.RelationDescriptor relation_descriptor = 6;
    • setRelationDescriptor

      public CompilationResultAction.Operations.Builder setRelationDescriptor(RelationDescriptor.Builder builderForValue)
       Descriptor for any output relation and its columns. Only set if
       `has_output` is true.
       
      .google.cloud.dataform.v1.RelationDescriptor relation_descriptor = 6;
    • mergeRelationDescriptor

      public CompilationResultAction.Operations.Builder mergeRelationDescriptor(RelationDescriptor value)
       Descriptor for any output relation and its columns. Only set if
       `has_output` is true.
       
      .google.cloud.dataform.v1.RelationDescriptor relation_descriptor = 6;
    • clearRelationDescriptor

      public CompilationResultAction.Operations.Builder clearRelationDescriptor()
       Descriptor for any output relation and its columns. Only set if
       `has_output` is true.
       
      .google.cloud.dataform.v1.RelationDescriptor relation_descriptor = 6;
    • getRelationDescriptorBuilder

      public RelationDescriptor.Builder getRelationDescriptorBuilder()
       Descriptor for any output relation and its columns. Only set if
       `has_output` is true.
       
      .google.cloud.dataform.v1.RelationDescriptor relation_descriptor = 6;
    • getRelationDescriptorOrBuilder

      public RelationDescriptorOrBuilder getRelationDescriptorOrBuilder()
       Descriptor for any output relation and its columns. Only set if
       `has_output` is true.
       
      .google.cloud.dataform.v1.RelationDescriptor relation_descriptor = 6;
      Specified by:
      getRelationDescriptorOrBuilder in interface CompilationResultAction.OperationsOrBuilder
    • getQueriesList

      public com.google.protobuf.ProtocolStringList getQueriesList()
       A list of arbitrary SQL statements that will be executed without
       alteration.
       
      repeated string queries = 4;
      Specified by:
      getQueriesList in interface CompilationResultAction.OperationsOrBuilder
      Returns:
      A list containing the queries.
    • getQueriesCount

      public int getQueriesCount()
       A list of arbitrary SQL statements that will be executed without
       alteration.
       
      repeated string queries = 4;
      Specified by:
      getQueriesCount in interface CompilationResultAction.OperationsOrBuilder
      Returns:
      The count of queries.
    • getQueries

      public String getQueries(int index)
       A list of arbitrary SQL statements that will be executed without
       alteration.
       
      repeated string queries = 4;
      Specified by:
      getQueries in interface CompilationResultAction.OperationsOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The queries at the given index.
    • getQueriesBytes

      public com.google.protobuf.ByteString getQueriesBytes(int index)
       A list of arbitrary SQL statements that will be executed without
       alteration.
       
      repeated string queries = 4;
      Specified by:
      getQueriesBytes in interface CompilationResultAction.OperationsOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the queries at the given index.
    • setQueries

      public CompilationResultAction.Operations.Builder setQueries(int index, String value)
       A list of arbitrary SQL statements that will be executed without
       alteration.
       
      repeated string queries = 4;
      Parameters:
      index - The index to set the value at.
      value - The queries to set.
      Returns:
      This builder for chaining.
    • addQueries

       A list of arbitrary SQL statements that will be executed without
       alteration.
       
      repeated string queries = 4;
      Parameters:
      value - The queries to add.
      Returns:
      This builder for chaining.
    • addAllQueries

       A list of arbitrary SQL statements that will be executed without
       alteration.
       
      repeated string queries = 4;
      Parameters:
      values - The queries to add.
      Returns:
      This builder for chaining.
    • clearQueries

       A list of arbitrary SQL statements that will be executed without
       alteration.
       
      repeated string queries = 4;
      Returns:
      This builder for chaining.
    • addQueriesBytes

      public CompilationResultAction.Operations.Builder addQueriesBytes(com.google.protobuf.ByteString value)
       A list of arbitrary SQL statements that will be executed without
       alteration.
       
      repeated string queries = 4;
      Parameters:
      value - The bytes of the queries to add.
      Returns:
      This builder for chaining.
    • getHasOutput

      public boolean getHasOutput()
       Whether these operations produce an output relation.
       
      bool has_output = 5;
      Specified by:
      getHasOutput in interface CompilationResultAction.OperationsOrBuilder
      Returns:
      The hasOutput.
    • setHasOutput

      public CompilationResultAction.Operations.Builder setHasOutput(boolean value)
       Whether these operations produce an output relation.
       
      bool has_output = 5;
      Parameters:
      value - The hasOutput to set.
      Returns:
      This builder for chaining.
    • clearHasOutput

       Whether these operations produce an output relation.
       
      bool has_output = 5;
      Returns:
      This builder for chaining.