Class CreateNotebookExecutionJobRequest.Builder

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

public static final class CreateNotebookExecutionJobRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<CreateNotebookExecutionJobRequest.Builder> implements CreateNotebookExecutionJobRequestOrBuilder
 Request message for [NotebookService.CreateNotebookExecutionJob]
 
Protobuf type google.cloud.aiplatform.v1.CreateNotebookExecutionJobRequest
  • 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<CreateNotebookExecutionJobRequest.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<CreateNotebookExecutionJobRequest.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<CreateNotebookExecutionJobRequest.Builder>
    • getDefaultInstanceForType

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

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

      public CreateNotebookExecutionJobRequest.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<CreateNotebookExecutionJobRequest.Builder>
      Throws:
      IOException
    • getParent

      public String getParent()
       Required. The resource name of the Location to create the
       NotebookExecutionJob. Format: `projects/{project}/locations/{location}`
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getParent in interface CreateNotebookExecutionJobRequestOrBuilder
      Returns:
      The parent.
    • getParentBytes

      public com.google.protobuf.ByteString getParentBytes()
       Required. The resource name of the Location to create the
       NotebookExecutionJob. Format: `projects/{project}/locations/{location}`
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getParentBytes in interface CreateNotebookExecutionJobRequestOrBuilder
      Returns:
      The bytes for parent.
    • setParent

       Required. The resource name of the Location to create the
       NotebookExecutionJob. Format: `projects/{project}/locations/{location}`
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The parent to set.
      Returns:
      This builder for chaining.
    • clearParent

       Required. The resource name of the Location to create the
       NotebookExecutionJob. Format: `projects/{project}/locations/{location}`
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setParentBytes

      public CreateNotebookExecutionJobRequest.Builder setParentBytes(com.google.protobuf.ByteString value)
       Required. The resource name of the Location to create the
       NotebookExecutionJob. Format: `projects/{project}/locations/{location}`
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes for parent to set.
      Returns:
      This builder for chaining.
    • hasNotebookExecutionJob

      public boolean hasNotebookExecutionJob()
       Required. The NotebookExecutionJob to create.
       
      .google.cloud.aiplatform.v1.NotebookExecutionJob notebook_execution_job = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasNotebookExecutionJob in interface CreateNotebookExecutionJobRequestOrBuilder
      Returns:
      Whether the notebookExecutionJob field is set.
    • getNotebookExecutionJob

      public NotebookExecutionJob getNotebookExecutionJob()
       Required. The NotebookExecutionJob to create.
       
      .google.cloud.aiplatform.v1.NotebookExecutionJob notebook_execution_job = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getNotebookExecutionJob in interface CreateNotebookExecutionJobRequestOrBuilder
      Returns:
      The notebookExecutionJob.
    • setNotebookExecutionJob

      public CreateNotebookExecutionJobRequest.Builder setNotebookExecutionJob(NotebookExecutionJob value)
       Required. The NotebookExecutionJob to create.
       
      .google.cloud.aiplatform.v1.NotebookExecutionJob notebook_execution_job = 2 [(.google.api.field_behavior) = REQUIRED];
    • setNotebookExecutionJob

      public CreateNotebookExecutionJobRequest.Builder setNotebookExecutionJob(NotebookExecutionJob.Builder builderForValue)
       Required. The NotebookExecutionJob to create.
       
      .google.cloud.aiplatform.v1.NotebookExecutionJob notebook_execution_job = 2 [(.google.api.field_behavior) = REQUIRED];
    • mergeNotebookExecutionJob

      public CreateNotebookExecutionJobRequest.Builder mergeNotebookExecutionJob(NotebookExecutionJob value)
       Required. The NotebookExecutionJob to create.
       
      .google.cloud.aiplatform.v1.NotebookExecutionJob notebook_execution_job = 2 [(.google.api.field_behavior) = REQUIRED];
    • clearNotebookExecutionJob

      public CreateNotebookExecutionJobRequest.Builder clearNotebookExecutionJob()
       Required. The NotebookExecutionJob to create.
       
      .google.cloud.aiplatform.v1.NotebookExecutionJob notebook_execution_job = 2 [(.google.api.field_behavior) = REQUIRED];
    • getNotebookExecutionJobBuilder

      public NotebookExecutionJob.Builder getNotebookExecutionJobBuilder()
       Required. The NotebookExecutionJob to create.
       
      .google.cloud.aiplatform.v1.NotebookExecutionJob notebook_execution_job = 2 [(.google.api.field_behavior) = REQUIRED];
    • getNotebookExecutionJobOrBuilder

      public NotebookExecutionJobOrBuilder getNotebookExecutionJobOrBuilder()
       Required. The NotebookExecutionJob to create.
       
      .google.cloud.aiplatform.v1.NotebookExecutionJob notebook_execution_job = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getNotebookExecutionJobOrBuilder in interface CreateNotebookExecutionJobRequestOrBuilder
    • getNotebookExecutionJobId

      public String getNotebookExecutionJobId()
       Optional. User specified ID for the NotebookExecutionJob.
       
      string notebook_execution_job_id = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getNotebookExecutionJobId in interface CreateNotebookExecutionJobRequestOrBuilder
      Returns:
      The notebookExecutionJobId.
    • getNotebookExecutionJobIdBytes

      public com.google.protobuf.ByteString getNotebookExecutionJobIdBytes()
       Optional. User specified ID for the NotebookExecutionJob.
       
      string notebook_execution_job_id = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getNotebookExecutionJobIdBytes in interface CreateNotebookExecutionJobRequestOrBuilder
      Returns:
      The bytes for notebookExecutionJobId.
    • setNotebookExecutionJobId

      public CreateNotebookExecutionJobRequest.Builder setNotebookExecutionJobId(String value)
       Optional. User specified ID for the NotebookExecutionJob.
       
      string notebook_execution_job_id = 3 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The notebookExecutionJobId to set.
      Returns:
      This builder for chaining.
    • clearNotebookExecutionJobId

      public CreateNotebookExecutionJobRequest.Builder clearNotebookExecutionJobId()
       Optional. User specified ID for the NotebookExecutionJob.
       
      string notebook_execution_job_id = 3 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setNotebookExecutionJobIdBytes

      public CreateNotebookExecutionJobRequest.Builder setNotebookExecutionJobIdBytes(com.google.protobuf.ByteString value)
       Optional. User specified ID for the NotebookExecutionJob.
       
      string notebook_execution_job_id = 3 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for notebookExecutionJobId to set.
      Returns:
      This builder for chaining.