public static interface ExportArtifactMetadata.ExportedFileOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getDestinationCase()
public abstract ExportArtifactMetadata.ExportedFile.DestinationCase getDestinationCase()| Returns | |
|---|---|
| Type | Description |
ExportArtifactMetadata.ExportedFile.DestinationCase |
|
getGcsObjectPath()
public abstract String getGcsObjectPath() Cloud Storage Object path of the exported file. Examples:
dst_bucket/file1, dst_bucket/sub_dir/file1
string gcs_object_path = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The gcsObjectPath. |
getGcsObjectPathBytes()
public abstract ByteString getGcsObjectPathBytes() Cloud Storage Object path of the exported file. Examples:
dst_bucket/file1, dst_bucket/sub_dir/file1
string gcs_object_path = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for gcsObjectPath. |
getHashes(int index)
public abstract Hash getHashes(int index)The hashes of the file content.
repeated .google.devtools.artifactregistry.v1.Hash hashes = 3;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Hash |
|
getHashesCount()
public abstract int getHashesCount()The hashes of the file content.
repeated .google.devtools.artifactregistry.v1.Hash hashes = 3;
| Returns | |
|---|---|
| Type | Description |
int |
|
getHashesList()
public abstract List<Hash> getHashesList()The hashes of the file content.
repeated .google.devtools.artifactregistry.v1.Hash hashes = 3;
| Returns | |
|---|---|
| Type | Description |
List<Hash> |
|
getHashesOrBuilder(int index)
public abstract HashOrBuilder getHashesOrBuilder(int index)The hashes of the file content.
repeated .google.devtools.artifactregistry.v1.Hash hashes = 3;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
HashOrBuilder |
|
getHashesOrBuilderList()
public abstract List<? extends HashOrBuilder> getHashesOrBuilderList()The hashes of the file content.
repeated .google.devtools.artifactregistry.v1.Hash hashes = 3;
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.devtools.artifactregistry.v1.HashOrBuilder> |
|
getName()
public abstract String getName() Name of the exported artifact file.
Format: projects/p1/locations/us/repositories/repo1/files/file1
string name = 1 [(.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public abstract ByteString getNameBytes() Name of the exported artifact file.
Format: projects/p1/locations/us/repositories/repo1/files/file1
string name = 1 [(.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
hasGcsObjectPath()
public abstract boolean hasGcsObjectPath() Cloud Storage Object path of the exported file. Examples:
dst_bucket/file1, dst_bucket/sub_dir/file1
string gcs_object_path = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the gcsObjectPath field is set. |