Class CreateNotebookRuntimeTemplateRequest.Builder

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

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

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

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

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

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

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

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

      public CreateNotebookRuntimeTemplateRequest.Builder setParentBytes(com.google.protobuf.ByteString value)
       Required. The resource name of the Location to create the
       NotebookRuntimeTemplate. 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.
    • hasNotebookRuntimeTemplate

      public boolean hasNotebookRuntimeTemplate()
       Required. The NotebookRuntimeTemplate to create.
       
      .google.cloud.aiplatform.v1.NotebookRuntimeTemplate notebook_runtime_template = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasNotebookRuntimeTemplate in interface CreateNotebookRuntimeTemplateRequestOrBuilder
      Returns:
      Whether the notebookRuntimeTemplate field is set.
    • getNotebookRuntimeTemplate

      public NotebookRuntimeTemplate getNotebookRuntimeTemplate()
       Required. The NotebookRuntimeTemplate to create.
       
      .google.cloud.aiplatform.v1.NotebookRuntimeTemplate notebook_runtime_template = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getNotebookRuntimeTemplate in interface CreateNotebookRuntimeTemplateRequestOrBuilder
      Returns:
      The notebookRuntimeTemplate.
    • setNotebookRuntimeTemplate

      public CreateNotebookRuntimeTemplateRequest.Builder setNotebookRuntimeTemplate(NotebookRuntimeTemplate value)
       Required. The NotebookRuntimeTemplate to create.
       
      .google.cloud.aiplatform.v1.NotebookRuntimeTemplate notebook_runtime_template = 2 [(.google.api.field_behavior) = REQUIRED];
    • setNotebookRuntimeTemplate

      public CreateNotebookRuntimeTemplateRequest.Builder setNotebookRuntimeTemplate(NotebookRuntimeTemplate.Builder builderForValue)
       Required. The NotebookRuntimeTemplate to create.
       
      .google.cloud.aiplatform.v1.NotebookRuntimeTemplate notebook_runtime_template = 2 [(.google.api.field_behavior) = REQUIRED];
    • mergeNotebookRuntimeTemplate

      public CreateNotebookRuntimeTemplateRequest.Builder mergeNotebookRuntimeTemplate(NotebookRuntimeTemplate value)
       Required. The NotebookRuntimeTemplate to create.
       
      .google.cloud.aiplatform.v1.NotebookRuntimeTemplate notebook_runtime_template = 2 [(.google.api.field_behavior) = REQUIRED];
    • clearNotebookRuntimeTemplate

      public CreateNotebookRuntimeTemplateRequest.Builder clearNotebookRuntimeTemplate()
       Required. The NotebookRuntimeTemplate to create.
       
      .google.cloud.aiplatform.v1.NotebookRuntimeTemplate notebook_runtime_template = 2 [(.google.api.field_behavior) = REQUIRED];
    • getNotebookRuntimeTemplateBuilder

      public NotebookRuntimeTemplate.Builder getNotebookRuntimeTemplateBuilder()
       Required. The NotebookRuntimeTemplate to create.
       
      .google.cloud.aiplatform.v1.NotebookRuntimeTemplate notebook_runtime_template = 2 [(.google.api.field_behavior) = REQUIRED];
    • getNotebookRuntimeTemplateOrBuilder

      public NotebookRuntimeTemplateOrBuilder getNotebookRuntimeTemplateOrBuilder()
       Required. The NotebookRuntimeTemplate to create.
       
      .google.cloud.aiplatform.v1.NotebookRuntimeTemplate notebook_runtime_template = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getNotebookRuntimeTemplateOrBuilder in interface CreateNotebookRuntimeTemplateRequestOrBuilder
    • getNotebookRuntimeTemplateId

      public String getNotebookRuntimeTemplateId()
       Optional. User specified ID for the notebook runtime template.
       
      string notebook_runtime_template_id = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getNotebookRuntimeTemplateId in interface CreateNotebookRuntimeTemplateRequestOrBuilder
      Returns:
      The notebookRuntimeTemplateId.
    • getNotebookRuntimeTemplateIdBytes

      public com.google.protobuf.ByteString getNotebookRuntimeTemplateIdBytes()
       Optional. User specified ID for the notebook runtime template.
       
      string notebook_runtime_template_id = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getNotebookRuntimeTemplateIdBytes in interface CreateNotebookRuntimeTemplateRequestOrBuilder
      Returns:
      The bytes for notebookRuntimeTemplateId.
    • setNotebookRuntimeTemplateId

      public CreateNotebookRuntimeTemplateRequest.Builder setNotebookRuntimeTemplateId(String value)
       Optional. User specified ID for the notebook runtime template.
       
      string notebook_runtime_template_id = 3 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The notebookRuntimeTemplateId to set.
      Returns:
      This builder for chaining.
    • clearNotebookRuntimeTemplateId

      public CreateNotebookRuntimeTemplateRequest.Builder clearNotebookRuntimeTemplateId()
       Optional. User specified ID for the notebook runtime template.
       
      string notebook_runtime_template_id = 3 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setNotebookRuntimeTemplateIdBytes

      public CreateNotebookRuntimeTemplateRequest.Builder setNotebookRuntimeTemplateIdBytes(com.google.protobuf.ByteString value)
       Optional. User specified ID for the notebook runtime template.
       
      string notebook_runtime_template_id = 3 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for notebookRuntimeTemplateId to set.
      Returns:
      This builder for chaining.