Class NotebookExecutionJob.GcsNotebookSource.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<NotebookExecutionJob.GcsNotebookSource.Builder>
com.google.cloud.aiplatform.v1.NotebookExecutionJob.GcsNotebookSource.Builder
All Implemented Interfaces:
NotebookExecutionJob.GcsNotebookSourceOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
NotebookExecutionJob.GcsNotebookSource

public static final class NotebookExecutionJob.GcsNotebookSource.Builder extends com.google.protobuf.GeneratedMessage.Builder<NotebookExecutionJob.GcsNotebookSource.Builder> implements NotebookExecutionJob.GcsNotebookSourceOrBuilder
 The Cloud Storage uri for the input notebook.
 
Protobuf type google.cloud.aiplatform.v1.NotebookExecutionJob.GcsNotebookSource
  • 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<NotebookExecutionJob.GcsNotebookSource.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<NotebookExecutionJob.GcsNotebookSource.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<NotebookExecutionJob.GcsNotebookSource.Builder>
    • getDefaultInstanceForType

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

      public NotebookExecutionJob.GcsNotebookSource.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<NotebookExecutionJob.GcsNotebookSource.Builder>
      Throws:
      IOException
    • getUri

      public String getUri()
       The Cloud Storage uri pointing to the ipynb file. Format:
       `gs://bucket/notebook_file.ipynb`
       
      string uri = 1;
      Specified by:
      getUri in interface NotebookExecutionJob.GcsNotebookSourceOrBuilder
      Returns:
      The uri.
    • getUriBytes

      public com.google.protobuf.ByteString getUriBytes()
       The Cloud Storage uri pointing to the ipynb file. Format:
       `gs://bucket/notebook_file.ipynb`
       
      string uri = 1;
      Specified by:
      getUriBytes in interface NotebookExecutionJob.GcsNotebookSourceOrBuilder
      Returns:
      The bytes for uri.
    • setUri

       The Cloud Storage uri pointing to the ipynb file. Format:
       `gs://bucket/notebook_file.ipynb`
       
      string uri = 1;
      Parameters:
      value - The uri to set.
      Returns:
      This builder for chaining.
    • clearUri

       The Cloud Storage uri pointing to the ipynb file. Format:
       `gs://bucket/notebook_file.ipynb`
       
      string uri = 1;
      Returns:
      This builder for chaining.
    • setUriBytes

      public NotebookExecutionJob.GcsNotebookSource.Builder setUriBytes(com.google.protobuf.ByteString value)
       The Cloud Storage uri pointing to the ipynb file. Format:
       `gs://bucket/notebook_file.ipynb`
       
      string uri = 1;
      Parameters:
      value - The bytes for uri to set.
      Returns:
      This builder for chaining.
    • getGeneration

      public String getGeneration()
       The version of the Cloud Storage object to read. If unset, the current
       version of the object is read. See
       https://cloud.google.com/storage/docs/metadata#generation-number.
       
      string generation = 2;
      Specified by:
      getGeneration in interface NotebookExecutionJob.GcsNotebookSourceOrBuilder
      Returns:
      The generation.
    • getGenerationBytes

      public com.google.protobuf.ByteString getGenerationBytes()
       The version of the Cloud Storage object to read. If unset, the current
       version of the object is read. See
       https://cloud.google.com/storage/docs/metadata#generation-number.
       
      string generation = 2;
      Specified by:
      getGenerationBytes in interface NotebookExecutionJob.GcsNotebookSourceOrBuilder
      Returns:
      The bytes for generation.
    • setGeneration

       The version of the Cloud Storage object to read. If unset, the current
       version of the object is read. See
       https://cloud.google.com/storage/docs/metadata#generation-number.
       
      string generation = 2;
      Parameters:
      value - The generation to set.
      Returns:
      This builder for chaining.
    • clearGeneration

       The version of the Cloud Storage object to read. If unset, the current
       version of the object is read. See
       https://cloud.google.com/storage/docs/metadata#generation-number.
       
      string generation = 2;
      Returns:
      This builder for chaining.
    • setGenerationBytes

      public NotebookExecutionJob.GcsNotebookSource.Builder setGenerationBytes(com.google.protobuf.ByteString value)
       The version of the Cloud Storage object to read. If unset, the current
       version of the object is read. See
       https://cloud.google.com/storage/docs/metadata#generation-number.
       
      string generation = 2;
      Parameters:
      value - The bytes for generation to set.
      Returns:
      This builder for chaining.