Class WorkflowInvocationAction.NotebookAction.Builder

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

public static final class WorkflowInvocationAction.NotebookAction.Builder extends com.google.protobuf.GeneratedMessage.Builder<WorkflowInvocationAction.NotebookAction.Builder> implements WorkflowInvocationAction.NotebookActionOrBuilder
 Represents a workflow action that will run against a Notebook runtime.
 
Protobuf type google.cloud.dataform.v1beta1.WorkflowInvocationAction.NotebookAction
  • 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<WorkflowInvocationAction.NotebookAction.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<WorkflowInvocationAction.NotebookAction.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<WorkflowInvocationAction.NotebookAction.Builder>
    • getDefaultInstanceForType

      public WorkflowInvocationAction.NotebookAction 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

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

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

      public WorkflowInvocationAction.NotebookAction.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<WorkflowInvocationAction.NotebookAction.Builder>
      Throws:
      IOException
    • getContents

      public String getContents()
       Output only. The code contents of a Notebook to be run.
       
      string contents = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getContents in interface WorkflowInvocationAction.NotebookActionOrBuilder
      Returns:
      The contents.
    • getContentsBytes

      public com.google.protobuf.ByteString getContentsBytes()
       Output only. The code contents of a Notebook to be run.
       
      string contents = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getContentsBytes in interface WorkflowInvocationAction.NotebookActionOrBuilder
      Returns:
      The bytes for contents.
    • setContents

       Output only. The code contents of a Notebook to be run.
       
      string contents = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The contents to set.
      Returns:
      This builder for chaining.
    • clearContents

       Output only. The code contents of a Notebook to be run.
       
      string contents = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setContentsBytes

      public WorkflowInvocationAction.NotebookAction.Builder setContentsBytes(com.google.protobuf.ByteString value)
       Output only. The code contents of a Notebook to be run.
       
      string contents = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for contents to set.
      Returns:
      This builder for chaining.
    • getJobId

      public String getJobId()
       Output only. The ID of the Vertex job that executed the notebook in
       contents and also the ID used for the outputs created in Google Cloud
       Storage buckets. Only set once the job has started to run.
       
      string job_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getJobId in interface WorkflowInvocationAction.NotebookActionOrBuilder
      Returns:
      The jobId.
    • getJobIdBytes

      public com.google.protobuf.ByteString getJobIdBytes()
       Output only. The ID of the Vertex job that executed the notebook in
       contents and also the ID used for the outputs created in Google Cloud
       Storage buckets. Only set once the job has started to run.
       
      string job_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getJobIdBytes in interface WorkflowInvocationAction.NotebookActionOrBuilder
      Returns:
      The bytes for jobId.
    • setJobId

       Output only. The ID of the Vertex job that executed the notebook in
       contents and also the ID used for the outputs created in Google Cloud
       Storage buckets. Only set once the job has started to run.
       
      string job_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The jobId to set.
      Returns:
      This builder for chaining.
    • clearJobId

       Output only. The ID of the Vertex job that executed the notebook in
       contents and also the ID used for the outputs created in Google Cloud
       Storage buckets. Only set once the job has started to run.
       
      string job_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setJobIdBytes

      public WorkflowInvocationAction.NotebookAction.Builder setJobIdBytes(com.google.protobuf.ByteString value)
       Output only. The ID of the Vertex job that executed the notebook in
       contents and also the ID used for the outputs created in Google Cloud
       Storage buckets. Only set once the job has started to run.
       
      string job_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for jobId to set.
      Returns:
      This builder for chaining.