Interface ExportArtifactRequestOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
ExportArtifactRequest, ExportArtifactRequest.Builder

@Generated public interface ExportArtifactRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • hasSourceVersion

      boolean hasSourceVersion()
       The artifact version to export.
       Format:
       projects/{project}/locations/{location}/repositories/{repository}/packages/{package}/versions/{version}
       
      string source_version = 2 [(.google.api.resource_reference) = { ... }
      Returns:
      Whether the sourceVersion field is set.
    • getSourceVersion

      String getSourceVersion()
       The artifact version to export.
       Format:
       projects/{project}/locations/{location}/repositories/{repository}/packages/{package}/versions/{version}
       
      string source_version = 2 [(.google.api.resource_reference) = { ... }
      Returns:
      The sourceVersion.
    • getSourceVersionBytes

      com.google.protobuf.ByteString getSourceVersionBytes()
       The artifact version to export.
       Format:
       projects/{project}/locations/{location}/repositories/{repository}/packages/{package}/versions/{version}
       
      string source_version = 2 [(.google.api.resource_reference) = { ... }
      Returns:
      The bytes for sourceVersion.
    • hasSourceTag

      boolean hasSourceTag()
       The artifact tag to export.
       Format:projects/{project}/locations/{location}/repositories/{repository}/packages/{package}/tags/{tag}
       
      string source_tag = 4 [(.google.api.resource_reference) = { ... }
      Returns:
      Whether the sourceTag field is set.
    • getSourceTag

      String getSourceTag()
       The artifact tag to export.
       Format:projects/{project}/locations/{location}/repositories/{repository}/packages/{package}/tags/{tag}
       
      string source_tag = 4 [(.google.api.resource_reference) = { ... }
      Returns:
      The sourceTag.
    • getSourceTagBytes

      com.google.protobuf.ByteString getSourceTagBytes()
       The artifact tag to export.
       Format:projects/{project}/locations/{location}/repositories/{repository}/packages/{package}/tags/{tag}
       
      string source_tag = 4 [(.google.api.resource_reference) = { ... }
      Returns:
      The bytes for sourceTag.
    • hasGcsPath

      boolean hasGcsPath()
       The Cloud Storage path to export the artifact to. Should start with the
       bucket name, and optionally have a directory path. Examples:
       `dst_bucket`, `dst_bucket/sub_dir`.
       Existing objects with the same path will be overwritten.
       
      string gcs_path = 3;
      Returns:
      Whether the gcsPath field is set.
    • getGcsPath

      String getGcsPath()
       The Cloud Storage path to export the artifact to. Should start with the
       bucket name, and optionally have a directory path. Examples:
       `dst_bucket`, `dst_bucket/sub_dir`.
       Existing objects with the same path will be overwritten.
       
      string gcs_path = 3;
      Returns:
      The gcsPath.
    • getGcsPathBytes

      com.google.protobuf.ByteString getGcsPathBytes()
       The Cloud Storage path to export the artifact to. Should start with the
       bucket name, and optionally have a directory path. Examples:
       `dst_bucket`, `dst_bucket/sub_dir`.
       Existing objects with the same path will be overwritten.
       
      string gcs_path = 3;
      Returns:
      The bytes for gcsPath.
    • getRepository

      String getRepository()
       Required. The repository of the artifact to export.
       Format: projects/{project}/locations/{location}/repositories/{repository}
       
      string repository = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      The repository.
    • getRepositoryBytes

      com.google.protobuf.ByteString getRepositoryBytes()
       Required. The repository of the artifact to export.
       Format: projects/{project}/locations/{location}/repositories/{repository}
       
      string repository = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      The bytes for repository.
    • getSourceArtifactCase

    • getDestinationCase