Class CompilationResultAction.Assertion.Builder

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

public static final class CompilationResultAction.Assertion.Builder extends com.google.protobuf.GeneratedMessage.Builder<CompilationResultAction.Assertion.Builder> implements CompilationResultAction.AssertionOrBuilder
 Represents an assertion upon a SQL query which is required return zero
 rows.
 
Protobuf type google.cloud.dataform.v1.CompilationResultAction.Assertion
  • 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.Assertion.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.Assertion.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.Assertion.Builder>
    • getDefaultInstanceForType

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

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

      public CompilationResultAction.Assertion.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.Assertion.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.AssertionOrBuilder
    • 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.AssertionOrBuilder
    • 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.AssertionOrBuilder
    • setDependencyTargets

      public CompilationResultAction.Assertion.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.Assertion.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.Assertion.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.Assertion.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.Assertion.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.Assertion.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.Assertion.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.Assertion.Builder clearDependencyTargets()
       A list of actions that this action depends on.
       
      repeated .google.cloud.dataform.v1.Target dependency_targets = 1;
    • removeDependencyTargets

      public CompilationResultAction.Assertion.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.AssertionOrBuilder
    • 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.AssertionOrBuilder
    • 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;
    • hasParentAction

      public boolean hasParentAction()
       The parent action of this assertion. Only set if this assertion was
       automatically generated.
       
      .google.cloud.dataform.v1.Target parent_action = 5;
      Specified by:
      hasParentAction in interface CompilationResultAction.AssertionOrBuilder
      Returns:
      Whether the parentAction field is set.
    • getParentAction

      public Target getParentAction()
       The parent action of this assertion. Only set if this assertion was
       automatically generated.
       
      .google.cloud.dataform.v1.Target parent_action = 5;
      Specified by:
      getParentAction in interface CompilationResultAction.AssertionOrBuilder
      Returns:
      The parentAction.
    • setParentAction

      public CompilationResultAction.Assertion.Builder setParentAction(Target value)
       The parent action of this assertion. Only set if this assertion was
       automatically generated.
       
      .google.cloud.dataform.v1.Target parent_action = 5;
    • setParentAction

      public CompilationResultAction.Assertion.Builder setParentAction(Target.Builder builderForValue)
       The parent action of this assertion. Only set if this assertion was
       automatically generated.
       
      .google.cloud.dataform.v1.Target parent_action = 5;
    • mergeParentAction

      public CompilationResultAction.Assertion.Builder mergeParentAction(Target value)
       The parent action of this assertion. Only set if this assertion was
       automatically generated.
       
      .google.cloud.dataform.v1.Target parent_action = 5;
    • clearParentAction

      public CompilationResultAction.Assertion.Builder clearParentAction()
       The parent action of this assertion. Only set if this assertion was
       automatically generated.
       
      .google.cloud.dataform.v1.Target parent_action = 5;
    • getParentActionBuilder

      public Target.Builder getParentActionBuilder()
       The parent action of this assertion. Only set if this assertion was
       automatically generated.
       
      .google.cloud.dataform.v1.Target parent_action = 5;
    • getParentActionOrBuilder

      public TargetOrBuilder getParentActionOrBuilder()
       The parent action of this assertion. Only set if this assertion was
       automatically generated.
       
      .google.cloud.dataform.v1.Target parent_action = 5;
      Specified by:
      getParentActionOrBuilder in interface CompilationResultAction.AssertionOrBuilder
    • getDisabled

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

      public CompilationResultAction.Assertion.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.AssertionOrBuilder
      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.AssertionOrBuilder
      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.AssertionOrBuilder
      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.AssertionOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the tags at the given index.
    • setTags

      public CompilationResultAction.Assertion.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.Assertion.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.
    • getSelectQuery

      public String getSelectQuery()
       The SELECT query which must return zero rows in order for this assertion
       to succeed.
       
      string select_query = 4;
      Specified by:
      getSelectQuery in interface CompilationResultAction.AssertionOrBuilder
      Returns:
      The selectQuery.
    • getSelectQueryBytes

      public com.google.protobuf.ByteString getSelectQueryBytes()
       The SELECT query which must return zero rows in order for this assertion
       to succeed.
       
      string select_query = 4;
      Specified by:
      getSelectQueryBytes in interface CompilationResultAction.AssertionOrBuilder
      Returns:
      The bytes for selectQuery.
    • setSelectQuery

      public CompilationResultAction.Assertion.Builder setSelectQuery(String value)
       The SELECT query which must return zero rows in order for this assertion
       to succeed.
       
      string select_query = 4;
      Parameters:
      value - The selectQuery to set.
      Returns:
      This builder for chaining.
    • clearSelectQuery

      public CompilationResultAction.Assertion.Builder clearSelectQuery()
       The SELECT query which must return zero rows in order for this assertion
       to succeed.
       
      string select_query = 4;
      Returns:
      This builder for chaining.
    • setSelectQueryBytes

      public CompilationResultAction.Assertion.Builder setSelectQueryBytes(com.google.protobuf.ByteString value)
       The SELECT query which must return zero rows in order for this assertion
       to succeed.
       
      string select_query = 4;
      Parameters:
      value - The bytes for selectQuery to set.
      Returns:
      This builder for chaining.
    • hasRelationDescriptor

      public boolean hasRelationDescriptor()
       Descriptor for the assertion's automatically-generated view and its
       columns.
       
      .google.cloud.dataform.v1.RelationDescriptor relation_descriptor = 6;
      Specified by:
      hasRelationDescriptor in interface CompilationResultAction.AssertionOrBuilder
      Returns:
      Whether the relationDescriptor field is set.
    • getRelationDescriptor

      public RelationDescriptor getRelationDescriptor()
       Descriptor for the assertion's automatically-generated view and its
       columns.
       
      .google.cloud.dataform.v1.RelationDescriptor relation_descriptor = 6;
      Specified by:
      getRelationDescriptor in interface CompilationResultAction.AssertionOrBuilder
      Returns:
      The relationDescriptor.
    • setRelationDescriptor

      public CompilationResultAction.Assertion.Builder setRelationDescriptor(RelationDescriptor value)
       Descriptor for the assertion's automatically-generated view and its
       columns.
       
      .google.cloud.dataform.v1.RelationDescriptor relation_descriptor = 6;
    • setRelationDescriptor

      public CompilationResultAction.Assertion.Builder setRelationDescriptor(RelationDescriptor.Builder builderForValue)
       Descriptor for the assertion's automatically-generated view and its
       columns.
       
      .google.cloud.dataform.v1.RelationDescriptor relation_descriptor = 6;
    • mergeRelationDescriptor

      public CompilationResultAction.Assertion.Builder mergeRelationDescriptor(RelationDescriptor value)
       Descriptor for the assertion's automatically-generated view and its
       columns.
       
      .google.cloud.dataform.v1.RelationDescriptor relation_descriptor = 6;
    • clearRelationDescriptor

      public CompilationResultAction.Assertion.Builder clearRelationDescriptor()
       Descriptor for the assertion's automatically-generated view and its
       columns.
       
      .google.cloud.dataform.v1.RelationDescriptor relation_descriptor = 6;
    • getRelationDescriptorBuilder

      public RelationDescriptor.Builder getRelationDescriptorBuilder()
       Descriptor for the assertion's automatically-generated view and its
       columns.
       
      .google.cloud.dataform.v1.RelationDescriptor relation_descriptor = 6;
    • getRelationDescriptorOrBuilder

      public RelationDescriptorOrBuilder getRelationDescriptorOrBuilder()
       Descriptor for the assertion's automatically-generated view and its
       columns.
       
      .google.cloud.dataform.v1.RelationDescriptor relation_descriptor = 6;
      Specified by:
      getRelationDescriptorOrBuilder in interface CompilationResultAction.AssertionOrBuilder