Class ExportArtifactMetadata.ExportedFile (1.80.0)
Version latestkeyboard_arrow_down
public static final class ExportArtifactMetadata . ExportedFile extends GeneratedMessageV3 implements ExportArtifactMetadata . ExportedFileOrBuilder
The exported artifact file.
Protobuf type google.devtools.artifactregistry.v1.ExportArtifactMetadata.ExportedFile
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
public static final int GCS_OBJECT_PATH_FIELD_NUMBER
Field Value
Type
Description
int
public static final int HASHES_FIELD_NUMBER
Field Value
Type
Description
int
public static final int NAME_FIELD_NUMBER
Field Value
Type
Description
int
Static Methods
public static ExportArtifactMetadata . ExportedFile getDefaultInstance ()
public static final Descriptors . Descriptor getDescriptor ()
public static ExportArtifactMetadata . ExportedFile . Builder newBuilder ()
public static ExportArtifactMetadata . ExportedFile . Builder newBuilder ( ExportArtifactMetadata . ExportedFile prototype )
public static ExportArtifactMetadata . ExportedFile parseDelimitedFrom ( InputStream input )
public static ExportArtifactMetadata . ExportedFile parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static ExportArtifactMetadata . ExportedFile parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
public static ExportArtifactMetadata . ExportedFile parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
public static ExportArtifactMetadata . ExportedFile parseFrom ( ByteString data )
public static ExportArtifactMetadata . ExportedFile parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static ExportArtifactMetadata . ExportedFile parseFrom ( CodedInputStream input )
public static ExportArtifactMetadata . ExportedFile parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static ExportArtifactMetadata . ExportedFile parseFrom ( InputStream input )
public static ExportArtifactMetadata . ExportedFile parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static ExportArtifactMetadata . ExportedFile parseFrom ( ByteBuffer data )
public static ExportArtifactMetadata . ExportedFile parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
public static Parser<ExportArtifactMetadata . ExportedFile > parser ()
Methods
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
public ExportArtifactMetadata . ExportedFile getDefaultInstanceForType ()
public ExportArtifactMetadata . ExportedFile . DestinationCase getDestinationCase ()
public 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.
public 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.
public 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
public int getHashesCount ()
The hashes of the file content.
repeated .google.devtools.artifactregistry.v1.Hash hashes = 3;
Returns
Type
Description
int
public List<Hash> getHashesList ()
The hashes of the file content.
repeated .google.devtools.artifactregistry.v1.Hash hashes = 3;
public HashOrBuilder getHashesOrBuilder ( int index )
The hashes of the file content.
repeated .google.devtools.artifactregistry.v1.Hash hashes = 3;
Parameter
Name
Description
index
int
public 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 >
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.
public 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.
public Parser<ExportArtifactMetadata . ExportedFile > getParserForType ()
Overrides
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
public 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.
Returns
Type
Description
int
Overrides
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
public final boolean isInitialized ()
Overrides
public ExportArtifactMetadata . ExportedFile . Builder newBuilderForType ()
protected ExportArtifactMetadata . ExportedFile . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
public ExportArtifactMetadata . ExportedFile . Builder toBuilder ()
public void writeTo ( CodedOutputStream output )
Overrides
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-01-10 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-01-10 UTC."],[],[]]