Class CompilationResultAction.Notebook.Builder

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

public static final class CompilationResultAction.Notebook.Builder extends com.google.protobuf.GeneratedMessage.Builder<CompilationResultAction.Notebook.Builder> implements CompilationResultAction.NotebookOrBuilder
 Represents a notebook.
 
Protobuf type google.cloud.dataform.v1.CompilationResultAction.Notebook
  • 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.Notebook.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.Notebook.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.Notebook.Builder>
    • getDefaultInstanceForType

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

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

      public CompilationResultAction.Notebook.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.Notebook.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.NotebookOrBuilder
    • 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.NotebookOrBuilder
    • 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.NotebookOrBuilder
    • setDependencyTargets

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

      public CompilationResultAction.Notebook.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.NotebookOrBuilder
    • 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.NotebookOrBuilder
    • 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.NotebookOrBuilder
      Returns:
      The disabled.
    • setDisabled

      public CompilationResultAction.Notebook.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.
    • getContents

      public String getContents()
       The contents of the notebook.
       
      string contents = 3;
      Specified by:
      getContents in interface CompilationResultAction.NotebookOrBuilder
      Returns:
      The contents.
    • getContentsBytes

      public com.google.protobuf.ByteString getContentsBytes()
       The contents of the notebook.
       
      string contents = 3;
      Specified by:
      getContentsBytes in interface CompilationResultAction.NotebookOrBuilder
      Returns:
      The bytes for contents.
    • setContents

       The contents of the notebook.
       
      string contents = 3;
      Parameters:
      value - The contents to set.
      Returns:
      This builder for chaining.
    • clearContents

       The contents of the notebook.
       
      string contents = 3;
      Returns:
      This builder for chaining.
    • setContentsBytes

      public CompilationResultAction.Notebook.Builder setContentsBytes(com.google.protobuf.ByteString value)
       The contents of the notebook.
       
      string contents = 3;
      Parameters:
      value - The bytes for contents to set.
      Returns:
      This builder for chaining.
    • getTagsList

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

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

      public String getTags(int index)
       Arbitrary, user-defined tags on this action.
       
      repeated string tags = 4;
      Specified by:
      getTags in interface CompilationResultAction.NotebookOrBuilder
      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 = 4;
      Specified by:
      getTagsBytes in interface CompilationResultAction.NotebookOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the tags at the given index.
    • setTags

      public CompilationResultAction.Notebook.Builder setTags(int index, String value)
       Arbitrary, user-defined tags on this action.
       
      repeated string tags = 4;
      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 = 4;
      Parameters:
      value - The tags to add.
      Returns:
      This builder for chaining.
    • addAllTags

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

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

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