Class ExportDataRequest.Builder

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

public static final class ExportDataRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<ExportDataRequest.Builder> implements ExportDataRequestOrBuilder
 Export data from Managed Lustre to a Cloud Storage bucket.
 
Protobuf type google.cloud.lustre.v1.ExportDataRequest
  • 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<ExportDataRequest.Builder>
    • clear

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

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

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

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

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

      public ExportDataRequest.Builder mergeFrom(ExportDataRequest other)
    • isInitialized

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

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

      public ExportDataRequest.SourceCase getSourceCase()
      Specified by:
      getSourceCase in interface ExportDataRequestOrBuilder
    • clearSource

      public ExportDataRequest.Builder clearSource()
    • getDestinationCase

      public ExportDataRequest.DestinationCase getDestinationCase()
      Specified by:
      getDestinationCase in interface ExportDataRequestOrBuilder
    • clearDestination

      public ExportDataRequest.Builder clearDestination()
    • hasLustrePath

      public boolean hasLustrePath()
       The root directory path to the Managed Lustre file system. Must start
       with `/`. Default is `/`.
       
      .google.cloud.lustre.v1.LustrePath lustre_path = 2;
      Specified by:
      hasLustrePath in interface ExportDataRequestOrBuilder
      Returns:
      Whether the lustrePath field is set.
    • getLustrePath

      public LustrePath getLustrePath()
       The root directory path to the Managed Lustre file system. Must start
       with `/`. Default is `/`.
       
      .google.cloud.lustre.v1.LustrePath lustre_path = 2;
      Specified by:
      getLustrePath in interface ExportDataRequestOrBuilder
      Returns:
      The lustrePath.
    • setLustrePath

      public ExportDataRequest.Builder setLustrePath(LustrePath value)
       The root directory path to the Managed Lustre file system. Must start
       with `/`. Default is `/`.
       
      .google.cloud.lustre.v1.LustrePath lustre_path = 2;
    • setLustrePath

      public ExportDataRequest.Builder setLustrePath(LustrePath.Builder builderForValue)
       The root directory path to the Managed Lustre file system. Must start
       with `/`. Default is `/`.
       
      .google.cloud.lustre.v1.LustrePath lustre_path = 2;
    • mergeLustrePath

      public ExportDataRequest.Builder mergeLustrePath(LustrePath value)
       The root directory path to the Managed Lustre file system. Must start
       with `/`. Default is `/`.
       
      .google.cloud.lustre.v1.LustrePath lustre_path = 2;
    • clearLustrePath

      public ExportDataRequest.Builder clearLustrePath()
       The root directory path to the Managed Lustre file system. Must start
       with `/`. Default is `/`.
       
      .google.cloud.lustre.v1.LustrePath lustre_path = 2;
    • getLustrePathBuilder

      public LustrePath.Builder getLustrePathBuilder()
       The root directory path to the Managed Lustre file system. Must start
       with `/`. Default is `/`.
       
      .google.cloud.lustre.v1.LustrePath lustre_path = 2;
    • getLustrePathOrBuilder

      public LustrePathOrBuilder getLustrePathOrBuilder()
       The root directory path to the Managed Lustre file system. Must start
       with `/`. Default is `/`.
       
      .google.cloud.lustre.v1.LustrePath lustre_path = 2;
      Specified by:
      getLustrePathOrBuilder in interface ExportDataRequestOrBuilder
    • hasGcsPath

      public boolean hasGcsPath()
       The URI to a Cloud Storage bucket, or a path within a bucket, using
       the format `gs://<bucket_name>/<optional_path_inside_bucket>/`. If a
       path inside the bucket is specified, it must end with a forward slash
       (`/`).
       
      .google.cloud.lustre.v1.GcsPath gcs_path = 3;
      Specified by:
      hasGcsPath in interface ExportDataRequestOrBuilder
      Returns:
      Whether the gcsPath field is set.
    • getGcsPath

      public GcsPath getGcsPath()
       The URI to a Cloud Storage bucket, or a path within a bucket, using
       the format `gs://<bucket_name>/<optional_path_inside_bucket>/`. If a
       path inside the bucket is specified, it must end with a forward slash
       (`/`).
       
      .google.cloud.lustre.v1.GcsPath gcs_path = 3;
      Specified by:
      getGcsPath in interface ExportDataRequestOrBuilder
      Returns:
      The gcsPath.
    • setGcsPath

      public ExportDataRequest.Builder setGcsPath(GcsPath value)
       The URI to a Cloud Storage bucket, or a path within a bucket, using
       the format `gs://<bucket_name>/<optional_path_inside_bucket>/`. If a
       path inside the bucket is specified, it must end with a forward slash
       (`/`).
       
      .google.cloud.lustre.v1.GcsPath gcs_path = 3;
    • setGcsPath

      public ExportDataRequest.Builder setGcsPath(GcsPath.Builder builderForValue)
       The URI to a Cloud Storage bucket, or a path within a bucket, using
       the format `gs://<bucket_name>/<optional_path_inside_bucket>/`. If a
       path inside the bucket is specified, it must end with a forward slash
       (`/`).
       
      .google.cloud.lustre.v1.GcsPath gcs_path = 3;
    • mergeGcsPath

      public ExportDataRequest.Builder mergeGcsPath(GcsPath value)
       The URI to a Cloud Storage bucket, or a path within a bucket, using
       the format `gs://<bucket_name>/<optional_path_inside_bucket>/`. If a
       path inside the bucket is specified, it must end with a forward slash
       (`/`).
       
      .google.cloud.lustre.v1.GcsPath gcs_path = 3;
    • clearGcsPath

      public ExportDataRequest.Builder clearGcsPath()
       The URI to a Cloud Storage bucket, or a path within a bucket, using
       the format `gs://<bucket_name>/<optional_path_inside_bucket>/`. If a
       path inside the bucket is specified, it must end with a forward slash
       (`/`).
       
      .google.cloud.lustre.v1.GcsPath gcs_path = 3;
    • getGcsPathBuilder

      public GcsPath.Builder getGcsPathBuilder()
       The URI to a Cloud Storage bucket, or a path within a bucket, using
       the format `gs://<bucket_name>/<optional_path_inside_bucket>/`. If a
       path inside the bucket is specified, it must end with a forward slash
       (`/`).
       
      .google.cloud.lustre.v1.GcsPath gcs_path = 3;
    • getGcsPathOrBuilder

      public GcsPathOrBuilder getGcsPathOrBuilder()
       The URI to a Cloud Storage bucket, or a path within a bucket, using
       the format `gs://<bucket_name>/<optional_path_inside_bucket>/`. If a
       path inside the bucket is specified, it must end with a forward slash
       (`/`).
       
      .google.cloud.lustre.v1.GcsPath gcs_path = 3;
      Specified by:
      getGcsPathOrBuilder in interface ExportDataRequestOrBuilder
    • 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 ExportDataRequestOrBuilder
      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 ExportDataRequestOrBuilder
      Returns:
      The bytes for name.
    • setName

      public ExportDataRequest.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 ExportDataRequest.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 ExportDataRequest.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 ExportDataRequestOrBuilder
      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 ExportDataRequestOrBuilder
      Returns:
      The bytes for requestId.
    • setRequestId

      public ExportDataRequest.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 ExportDataRequest.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 ExportDataRequest.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 Managed Lustre service agent is used.
       
      string service_account = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Specified by:
      getServiceAccount in interface ExportDataRequestOrBuilder
      Returns:
      The serviceAccount.
    • getServiceAccountBytes

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

      public ExportDataRequest.Builder setServiceAccount(String value)
       Optional. User-specified service account used to perform the transfer.
       If unspecified, the Managed Lustre service agent is 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 ExportDataRequest.Builder clearServiceAccount()
       Optional. User-specified service account used to perform the transfer.
       If unspecified, the Managed Lustre service agent is used.
       
      string service_account = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setServiceAccountBytes

      public ExportDataRequest.Builder setServiceAccountBytes(com.google.protobuf.ByteString value)
       Optional. User-specified service account used to perform the transfer.
       If unspecified, the Managed Lustre service agent is 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.