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.parallelstore.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 Parallelstore to Cloud Storage.
 
Protobuf type google.cloud.parallelstore.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()
    • hasSourceParallelstore

      public boolean hasSourceParallelstore()
       Parallelstore source.
       
      .google.cloud.parallelstore.v1.SourceParallelstore source_parallelstore = 2;
      Specified by:
      hasSourceParallelstore in interface ExportDataRequestOrBuilder
      Returns:
      Whether the sourceParallelstore field is set.
    • getSourceParallelstore

      public SourceParallelstore getSourceParallelstore()
       Parallelstore source.
       
      .google.cloud.parallelstore.v1.SourceParallelstore source_parallelstore = 2;
      Specified by:
      getSourceParallelstore in interface ExportDataRequestOrBuilder
      Returns:
      The sourceParallelstore.
    • setSourceParallelstore

      public ExportDataRequest.Builder setSourceParallelstore(SourceParallelstore value)
       Parallelstore source.
       
      .google.cloud.parallelstore.v1.SourceParallelstore source_parallelstore = 2;
    • setSourceParallelstore

      public ExportDataRequest.Builder setSourceParallelstore(SourceParallelstore.Builder builderForValue)
       Parallelstore source.
       
      .google.cloud.parallelstore.v1.SourceParallelstore source_parallelstore = 2;
    • mergeSourceParallelstore

      public ExportDataRequest.Builder mergeSourceParallelstore(SourceParallelstore value)
       Parallelstore source.
       
      .google.cloud.parallelstore.v1.SourceParallelstore source_parallelstore = 2;
    • clearSourceParallelstore

      public ExportDataRequest.Builder clearSourceParallelstore()
       Parallelstore source.
       
      .google.cloud.parallelstore.v1.SourceParallelstore source_parallelstore = 2;
    • getSourceParallelstoreBuilder

      public SourceParallelstore.Builder getSourceParallelstoreBuilder()
       Parallelstore source.
       
      .google.cloud.parallelstore.v1.SourceParallelstore source_parallelstore = 2;
    • getSourceParallelstoreOrBuilder

      public SourceParallelstoreOrBuilder getSourceParallelstoreOrBuilder()
       Parallelstore source.
       
      .google.cloud.parallelstore.v1.SourceParallelstore source_parallelstore = 2;
      Specified by:
      getSourceParallelstoreOrBuilder in interface ExportDataRequestOrBuilder
    • hasDestinationGcsBucket

      public boolean hasDestinationGcsBucket()
       Cloud Storage destination.
       
      .google.cloud.parallelstore.v1.DestinationGcsBucket destination_gcs_bucket = 3;
      Specified by:
      hasDestinationGcsBucket in interface ExportDataRequestOrBuilder
      Returns:
      Whether the destinationGcsBucket field is set.
    • getDestinationGcsBucket

      public DestinationGcsBucket getDestinationGcsBucket()
       Cloud Storage destination.
       
      .google.cloud.parallelstore.v1.DestinationGcsBucket destination_gcs_bucket = 3;
      Specified by:
      getDestinationGcsBucket in interface ExportDataRequestOrBuilder
      Returns:
      The destinationGcsBucket.
    • setDestinationGcsBucket

      public ExportDataRequest.Builder setDestinationGcsBucket(DestinationGcsBucket value)
       Cloud Storage destination.
       
      .google.cloud.parallelstore.v1.DestinationGcsBucket destination_gcs_bucket = 3;
    • setDestinationGcsBucket

      public ExportDataRequest.Builder setDestinationGcsBucket(DestinationGcsBucket.Builder builderForValue)
       Cloud Storage destination.
       
      .google.cloud.parallelstore.v1.DestinationGcsBucket destination_gcs_bucket = 3;
    • mergeDestinationGcsBucket

      public ExportDataRequest.Builder mergeDestinationGcsBucket(DestinationGcsBucket value)
       Cloud Storage destination.
       
      .google.cloud.parallelstore.v1.DestinationGcsBucket destination_gcs_bucket = 3;
    • clearDestinationGcsBucket

      public ExportDataRequest.Builder clearDestinationGcsBucket()
       Cloud Storage destination.
       
      .google.cloud.parallelstore.v1.DestinationGcsBucket destination_gcs_bucket = 3;
    • getDestinationGcsBucketBuilder

      public DestinationGcsBucket.Builder getDestinationGcsBucketBuilder()
       Cloud Storage destination.
       
      .google.cloud.parallelstore.v1.DestinationGcsBucket destination_gcs_bucket = 3;
    • getDestinationGcsBucketOrBuilder

      public DestinationGcsBucketOrBuilder getDestinationGcsBucketOrBuilder()
       Cloud Storage destination.
       
      .google.cloud.parallelstore.v1.DestinationGcsBucket destination_gcs_bucket = 3;
      Specified by:
      getDestinationGcsBucketOrBuilder in interface ExportDataRequestOrBuilder
    • getName

      public String getName()
       Required. Name of the resource.
       
      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. Name of the resource.
       
      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. Name of the resource.
       
      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. Name of the resource.
       
      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. Name of the resource.
       
      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. An optional request ID to identify requests. Specify a unique
       request ID so that if you must retry your request, the server will know to
       ignore the request if it has already been completed. The server will
       guarantee that for at least 60 minutes since the first request.
      
       For example, consider a situation where you make an initial request and
       the request times out. If you make the request again with the same request
       ID, the server can check if original operation with the same request ID
       was received, and if so, will ignore the second request. This prevents
       clients from accidentally creating duplicate commitments.
      
       The request ID must be a valid UUID with the exception that zero UUID is
       not supported (00000000-0000-0000-0000-000000000000).
       
      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. An optional request ID to identify requests. Specify a unique
       request ID so that if you must retry your request, the server will know to
       ignore the request if it has already been completed. The server will
       guarantee that for at least 60 minutes since the first request.
      
       For example, consider a situation where you make an initial request and
       the request times out. If you make the request again with the same request
       ID, the server can check if original operation with the same request ID
       was received, and if so, will ignore the second request. This prevents
       clients from accidentally creating duplicate commitments.
      
       The request ID must be a valid UUID with the exception that zero UUID is
       not supported (00000000-0000-0000-0000-000000000000).
       
      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. An optional request ID to identify requests. Specify a unique
       request ID so that if you must retry your request, the server will know to
       ignore the request if it has already been completed. The server will
       guarantee that for at least 60 minutes since the first request.
      
       For example, consider a situation where you make an initial request and
       the request times out. If you make the request again with the same request
       ID, the server can check if original operation with the same request ID
       was received, and if so, will ignore the second request. This prevents
       clients from accidentally creating duplicate commitments.
      
       The request ID must be a valid UUID with the exception that zero UUID is
       not supported (00000000-0000-0000-0000-000000000000).
       
      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. An optional request ID to identify requests. Specify a unique
       request ID so that if you must retry your request, the server will know to
       ignore the request if it has already been completed. The server will
       guarantee that for at least 60 minutes since the first request.
      
       For example, consider a situation where you make an initial request and
       the request times out. If you make the request again with the same request
       ID, the server can check if original operation with the same request ID
       was received, and if so, will ignore the second request. This prevents
       clients from accidentally creating duplicate commitments.
      
       The request ID must be a valid UUID with the exception that zero UUID is
       not supported (00000000-0000-0000-0000-000000000000).
       
      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. An optional request ID to identify requests. Specify a unique
       request ID so that if you must retry your request, the server will know to
       ignore the request if it has already been completed. The server will
       guarantee that for at least 60 minutes since the first request.
      
       For example, consider a situation where you make an initial request and
       the request times out. If you make the request again with the same request
       ID, the server can check if original operation with the same request ID
       was received, and if so, will ignore the second request. This prevents
       clients from accidentally creating duplicate commitments.
      
       The request ID must be a valid UUID with the exception that zero UUID is
       not supported (00000000-0000-0000-0000-000000000000).
       
      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 (SA) credentials to be used when
       performing the transfer.
       Use one of the following formats:
      
       * `{EMAIL_ADDRESS_OR_UNIQUE_ID}`
       * `projects/{PROJECT_ID_OR_NUMBER}/serviceAccounts/{EMAIL_ADDRESS_OR_UNIQUE_ID}`
       * `projects/-/serviceAccounts/{EMAIL_ADDRESS_OR_UNIQUE_ID}`
      
       If unspecified, the Parallelstore service agent is used:
       `service-<PROJECT_NUMBER>@gcp-sa-parallelstore.iam.gserviceaccount.com`
       
      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 (SA) credentials to be used when
       performing the transfer.
       Use one of the following formats:
      
       * `{EMAIL_ADDRESS_OR_UNIQUE_ID}`
       * `projects/{PROJECT_ID_OR_NUMBER}/serviceAccounts/{EMAIL_ADDRESS_OR_UNIQUE_ID}`
       * `projects/-/serviceAccounts/{EMAIL_ADDRESS_OR_UNIQUE_ID}`
      
       If unspecified, the Parallelstore service agent is used:
       `service-<PROJECT_NUMBER>@gcp-sa-parallelstore.iam.gserviceaccount.com`
       
      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 (SA) credentials to be used when
       performing the transfer.
       Use one of the following formats:
      
       * `{EMAIL_ADDRESS_OR_UNIQUE_ID}`
       * `projects/{PROJECT_ID_OR_NUMBER}/serviceAccounts/{EMAIL_ADDRESS_OR_UNIQUE_ID}`
       * `projects/-/serviceAccounts/{EMAIL_ADDRESS_OR_UNIQUE_ID}`
      
       If unspecified, the Parallelstore service agent is used:
       `service-<PROJECT_NUMBER>@gcp-sa-parallelstore.iam.gserviceaccount.com`
       
      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 (SA) credentials to be used when
       performing the transfer.
       Use one of the following formats:
      
       * `{EMAIL_ADDRESS_OR_UNIQUE_ID}`
       * `projects/{PROJECT_ID_OR_NUMBER}/serviceAccounts/{EMAIL_ADDRESS_OR_UNIQUE_ID}`
       * `projects/-/serviceAccounts/{EMAIL_ADDRESS_OR_UNIQUE_ID}`
      
       If unspecified, the Parallelstore service agent is used:
       `service-<PROJECT_NUMBER>@gcp-sa-parallelstore.iam.gserviceaccount.com`
       
      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 (SA) credentials to be used when
       performing the transfer.
       Use one of the following formats:
      
       * `{EMAIL_ADDRESS_OR_UNIQUE_ID}`
       * `projects/{PROJECT_ID_OR_NUMBER}/serviceAccounts/{EMAIL_ADDRESS_OR_UNIQUE_ID}`
       * `projects/-/serviceAccounts/{EMAIL_ADDRESS_OR_UNIQUE_ID}`
      
       If unspecified, the Parallelstore service agent is used:
       `service-<PROJECT_NUMBER>@gcp-sa-parallelstore.iam.gserviceaccount.com`
       
      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.
    • hasMetadataOptions

      public boolean hasMetadataOptions()
       Optional. The metadata options for the export data.
       
      .google.cloud.parallelstore.v1.TransferMetadataOptions metadata_options = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasMetadataOptions in interface ExportDataRequestOrBuilder
      Returns:
      Whether the metadataOptions field is set.
    • getMetadataOptions

      public TransferMetadataOptions getMetadataOptions()
       Optional. The metadata options for the export data.
       
      .google.cloud.parallelstore.v1.TransferMetadataOptions metadata_options = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getMetadataOptions in interface ExportDataRequestOrBuilder
      Returns:
      The metadataOptions.
    • setMetadataOptions

      public ExportDataRequest.Builder setMetadataOptions(TransferMetadataOptions value)
       Optional. The metadata options for the export data.
       
      .google.cloud.parallelstore.v1.TransferMetadataOptions metadata_options = 6 [(.google.api.field_behavior) = OPTIONAL];
    • setMetadataOptions

      public ExportDataRequest.Builder setMetadataOptions(TransferMetadataOptions.Builder builderForValue)
       Optional. The metadata options for the export data.
       
      .google.cloud.parallelstore.v1.TransferMetadataOptions metadata_options = 6 [(.google.api.field_behavior) = OPTIONAL];
    • mergeMetadataOptions

      public ExportDataRequest.Builder mergeMetadataOptions(TransferMetadataOptions value)
       Optional. The metadata options for the export data.
       
      .google.cloud.parallelstore.v1.TransferMetadataOptions metadata_options = 6 [(.google.api.field_behavior) = OPTIONAL];
    • clearMetadataOptions

      public ExportDataRequest.Builder clearMetadataOptions()
       Optional. The metadata options for the export data.
       
      .google.cloud.parallelstore.v1.TransferMetadataOptions metadata_options = 6 [(.google.api.field_behavior) = OPTIONAL];
    • getMetadataOptionsBuilder

      public TransferMetadataOptions.Builder getMetadataOptionsBuilder()
       Optional. The metadata options for the export data.
       
      .google.cloud.parallelstore.v1.TransferMetadataOptions metadata_options = 6 [(.google.api.field_behavior) = OPTIONAL];
    • getMetadataOptionsOrBuilder

      public TransferMetadataOptionsOrBuilder getMetadataOptionsOrBuilder()
       Optional. The metadata options for the export data.
       
      .google.cloud.parallelstore.v1.TransferMetadataOptions metadata_options = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getMetadataOptionsOrBuilder in interface ExportDataRequestOrBuilder