Class ImportDataRequest.Builder

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

public static final class ImportDataRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<ImportDataRequest.Builder> implements ImportDataRequestOrBuilder
 Message for importing data to Lustre.
 
Protobuf type google.cloud.lustre.v1.ImportDataRequest
  • 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<ImportDataRequest.Builder>
    • clear

      public ImportDataRequest.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<ImportDataRequest.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<ImportDataRequest.Builder>
    • getDefaultInstanceForType

      public ImportDataRequest getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public ImportDataRequest build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public ImportDataRequest buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

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

      public ImportDataRequest.Builder mergeFrom(ImportDataRequest other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<ImportDataRequest.Builder>
    • mergeFrom

      public ImportDataRequest.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<ImportDataRequest.Builder>
      Throws:
      IOException
    • getSourceCase

      public ImportDataRequest.SourceCase getSourceCase()
      Specified by:
      getSourceCase in interface ImportDataRequestOrBuilder
    • clearSource

      public ImportDataRequest.Builder clearSource()
    • getDestinationCase

      public ImportDataRequest.DestinationCase getDestinationCase()
      Specified by:
      getDestinationCase in interface ImportDataRequestOrBuilder
    • clearDestination

      public ImportDataRequest.Builder clearDestination()
    • hasGcsPath

      public boolean hasGcsPath()
       The Cloud Storage source bucket and, optionally, path inside the bucket.
       If a path inside the bucket is specified, it must end with a forward
       slash (`/`).
       
      .google.cloud.lustre.v1.GcsPath gcs_path = 2;
      Specified by:
      hasGcsPath in interface ImportDataRequestOrBuilder
      Returns:
      Whether the gcsPath field is set.
    • getGcsPath

      public GcsPath getGcsPath()
       The Cloud Storage source bucket and, optionally, path inside the bucket.
       If a path inside the bucket is specified, it must end with a forward
       slash (`/`).
       
      .google.cloud.lustre.v1.GcsPath gcs_path = 2;
      Specified by:
      getGcsPath in interface ImportDataRequestOrBuilder
      Returns:
      The gcsPath.
    • setGcsPath

      public ImportDataRequest.Builder setGcsPath(GcsPath value)
       The Cloud Storage source bucket and, optionally, path inside the bucket.
       If a path inside the bucket is specified, it must end with a forward
       slash (`/`).
       
      .google.cloud.lustre.v1.GcsPath gcs_path = 2;
    • setGcsPath

      public ImportDataRequest.Builder setGcsPath(GcsPath.Builder builderForValue)
       The Cloud Storage source bucket and, optionally, path inside the bucket.
       If a path inside the bucket is specified, it must end with a forward
       slash (`/`).
       
      .google.cloud.lustre.v1.GcsPath gcs_path = 2;
    • mergeGcsPath

      public ImportDataRequest.Builder mergeGcsPath(GcsPath value)
       The Cloud Storage source bucket and, optionally, path inside the bucket.
       If a path inside the bucket is specified, it must end with a forward
       slash (`/`).
       
      .google.cloud.lustre.v1.GcsPath gcs_path = 2;
    • clearGcsPath

      public ImportDataRequest.Builder clearGcsPath()
       The Cloud Storage source bucket and, optionally, path inside the bucket.
       If a path inside the bucket is specified, it must end with a forward
       slash (`/`).
       
      .google.cloud.lustre.v1.GcsPath gcs_path = 2;
    • getGcsPathBuilder

      public GcsPath.Builder getGcsPathBuilder()
       The Cloud Storage source bucket and, optionally, path inside the bucket.
       If a path inside the bucket is specified, it must end with a forward
       slash (`/`).
       
      .google.cloud.lustre.v1.GcsPath gcs_path = 2;
    • getGcsPathOrBuilder

      public GcsPathOrBuilder getGcsPathOrBuilder()
       The Cloud Storage source bucket and, optionally, path inside the bucket.
       If a path inside the bucket is specified, it must end with a forward
       slash (`/`).
       
      .google.cloud.lustre.v1.GcsPath gcs_path = 2;
      Specified by:
      getGcsPathOrBuilder in interface ImportDataRequestOrBuilder
    • hasLustrePath

      public boolean hasLustrePath()
       Lustre path destination.
       
      .google.cloud.lustre.v1.LustrePath lustre_path = 3;
      Specified by:
      hasLustrePath in interface ImportDataRequestOrBuilder
      Returns:
      Whether the lustrePath field is set.
    • getLustrePath

      public LustrePath getLustrePath()
       Lustre path destination.
       
      .google.cloud.lustre.v1.LustrePath lustre_path = 3;
      Specified by:
      getLustrePath in interface ImportDataRequestOrBuilder
      Returns:
      The lustrePath.
    • setLustrePath

      public ImportDataRequest.Builder setLustrePath(LustrePath value)
       Lustre path destination.
       
      .google.cloud.lustre.v1.LustrePath lustre_path = 3;
    • setLustrePath

      public ImportDataRequest.Builder setLustrePath(LustrePath.Builder builderForValue)
       Lustre path destination.
       
      .google.cloud.lustre.v1.LustrePath lustre_path = 3;
    • mergeLustrePath

      public ImportDataRequest.Builder mergeLustrePath(LustrePath value)
       Lustre path destination.
       
      .google.cloud.lustre.v1.LustrePath lustre_path = 3;
    • clearLustrePath

      public ImportDataRequest.Builder clearLustrePath()
       Lustre path destination.
       
      .google.cloud.lustre.v1.LustrePath lustre_path = 3;
    • getLustrePathBuilder

      public LustrePath.Builder getLustrePathBuilder()
       Lustre path destination.
       
      .google.cloud.lustre.v1.LustrePath lustre_path = 3;
    • getLustrePathOrBuilder

      public LustrePathOrBuilder getLustrePathOrBuilder()
       Lustre path destination.
       
      .google.cloud.lustre.v1.LustrePath lustre_path = 3;
      Specified by:
      getLustrePathOrBuilder in interface ImportDataRequestOrBuilder
    • getName

      public String getName()
       Required. The name of the Managed Lustre instance in the format
       `projects/{project}/locations/{location}/instances/{instance}`.
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getName in interface ImportDataRequestOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Required. The name of the Managed Lustre instance in the format
       `projects/{project}/locations/{location}/instances/{instance}`.
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getNameBytes in interface ImportDataRequestOrBuilder
      Returns:
      The bytes for name.
    • setName

      public ImportDataRequest.Builder setName(String value)
       Required. The name of the Managed Lustre instance in the format
       `projects/{project}/locations/{location}/instances/{instance}`.
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public ImportDataRequest.Builder clearName()
       Required. The name of the Managed Lustre instance in the format
       `projects/{project}/locations/{location}/instances/{instance}`.
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setNameBytes

      public ImportDataRequest.Builder setNameBytes(com.google.protobuf.ByteString value)
       Required. The name of the Managed Lustre instance in the format
       `projects/{project}/locations/{location}/instances/{instance}`.
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • getRequestId

      public String getRequestId()
       Optional. UUID to identify requests.
       
      string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
      Specified by:
      getRequestId in interface ImportDataRequestOrBuilder
      Returns:
      The requestId.
    • getRequestIdBytes

      public com.google.protobuf.ByteString getRequestIdBytes()
       Optional. UUID to identify requests.
       
      string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
      Specified by:
      getRequestIdBytes in interface ImportDataRequestOrBuilder
      Returns:
      The bytes for requestId.
    • setRequestId

      public ImportDataRequest.Builder setRequestId(String value)
       Optional. UUID to identify requests.
       
      string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
      Parameters:
      value - The requestId to set.
      Returns:
      This builder for chaining.
    • clearRequestId

      public ImportDataRequest.Builder clearRequestId()
       Optional. UUID to identify requests.
       
      string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
      Returns:
      This builder for chaining.
    • setRequestIdBytes

      public ImportDataRequest.Builder setRequestIdBytes(com.google.protobuf.ByteString value)
       Optional. UUID to identify requests.
       
      string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
      Parameters:
      value - The bytes for requestId to set.
      Returns:
      This builder for chaining.
    • getServiceAccount

      public String getServiceAccount()
       Optional. User-specified service account used to perform the transfer.
       If unspecified, the default Managed Lustre service agent will be used.
       
      string service_account = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Specified by:
      getServiceAccount in interface ImportDataRequestOrBuilder
      Returns:
      The serviceAccount.
    • getServiceAccountBytes

      public com.google.protobuf.ByteString getServiceAccountBytes()
       Optional. User-specified service account used to perform the transfer.
       If unspecified, the default Managed Lustre service agent will be used.
       
      string service_account = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Specified by:
      getServiceAccountBytes in interface ImportDataRequestOrBuilder
      Returns:
      The bytes for serviceAccount.
    • setServiceAccount

      public ImportDataRequest.Builder setServiceAccount(String value)
       Optional. User-specified service account used to perform the transfer.
       If unspecified, the default Managed Lustre service agent will be used.
       
      string service_account = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The serviceAccount to set.
      Returns:
      This builder for chaining.
    • clearServiceAccount

      public ImportDataRequest.Builder clearServiceAccount()
       Optional. User-specified service account used to perform the transfer.
       If unspecified, the default Managed Lustre service agent will be used.
       
      string service_account = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setServiceAccountBytes

      public ImportDataRequest.Builder setServiceAccountBytes(com.google.protobuf.ByteString value)
       Optional. User-specified service account used to perform the transfer.
       If unspecified, the default Managed Lustre service agent will be used.
       
      string service_account = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes for serviceAccount to set.
      Returns:
      This builder for chaining.