Interface ExportArtifactRequestOrBuilder (1.80.0)

public interface ExportArtifactRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDestinationCase()

public abstract ExportArtifactRequest.DestinationCase getDestinationCase()
Returns
Type Description
ExportArtifactRequest.DestinationCase

getGcsPath()

public abstract 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
Type Description
String

The gcsPath.

getGcsPathBytes()

public abstract 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
Type Description
ByteString

The bytes for gcsPath.

getRepository()

public abstract 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
Type Description
String

The repository.

getRepositoryBytes()

public abstract 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
Type Description
ByteString

The bytes for repository.

getSourceArtifactCase()

public abstract ExportArtifactRequest.SourceArtifactCase getSourceArtifactCase()
Returns
Type Description
ExportArtifactRequest.SourceArtifactCase

getSourceTag()

public abstract 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
Type Description
String

The sourceTag.

getSourceTagBytes()

public abstract 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
Type Description
ByteString

The bytes for sourceTag.

getSourceVersion()

public abstract 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
Type Description
String

The sourceVersion.

getSourceVersionBytes()

public abstract 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
Type Description
ByteString

The bytes for sourceVersion.

hasGcsPath()

public abstract 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
Type Description
boolean

Whether the gcsPath field is set.

hasSourceTag()

public abstract 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
Type Description
boolean

Whether the sourceTag field is set.

hasSourceVersion()

public abstract 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
Type Description
boolean

Whether the sourceVersion field is set.