Class ExportArtifactMetadata.ExportedFile (1.80.0)

public static final class ExportArtifactMetadata.ExportedFile extends GeneratedMessageV3 implements ExportArtifactMetadata.ExportedFileOrBuilder

The exported artifact file.

Protobuf type google.devtools.artifactregistry.v1.ExportArtifactMetadata.ExportedFile

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > ExportArtifactMetadata.ExportedFile

Static Fields

GCS_OBJECT_PATH_FIELD_NUMBER

public static final int GCS_OBJECT_PATH_FIELD_NUMBER
Field Value
Type Description
int

HASHES_FIELD_NUMBER

public static final int HASHES_FIELD_NUMBER
Field Value
Type Description
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ExportArtifactMetadata.ExportedFile getDefaultInstance()
Returns
Type Description
ExportArtifactMetadata.ExportedFile

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static ExportArtifactMetadata.ExportedFile.Builder newBuilder()
Returns
Type Description
ExportArtifactMetadata.ExportedFile.Builder

newBuilder(ExportArtifactMetadata.ExportedFile prototype)

public static ExportArtifactMetadata.ExportedFile.Builder newBuilder(ExportArtifactMetadata.ExportedFile prototype)
Parameter
Name Description
prototype ExportArtifactMetadata.ExportedFile
Returns
Type Description
ExportArtifactMetadata.ExportedFile.Builder

parseDelimitedFrom(InputStream input)

public static ExportArtifactMetadata.ExportedFile parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ExportArtifactMetadata.ExportedFile
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ExportArtifactMetadata.ExportedFile parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExportArtifactMetadata.ExportedFile
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ExportArtifactMetadata.ExportedFile parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ExportArtifactMetadata.ExportedFile
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ExportArtifactMetadata.ExportedFile parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExportArtifactMetadata.ExportedFile
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ExportArtifactMetadata.ExportedFile parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ExportArtifactMetadata.ExportedFile
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ExportArtifactMetadata.ExportedFile parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExportArtifactMetadata.ExportedFile
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ExportArtifactMetadata.ExportedFile parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ExportArtifactMetadata.ExportedFile
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ExportArtifactMetadata.ExportedFile parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExportArtifactMetadata.ExportedFile
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ExportArtifactMetadata.ExportedFile parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ExportArtifactMetadata.ExportedFile
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ExportArtifactMetadata.ExportedFile parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExportArtifactMetadata.ExportedFile
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ExportArtifactMetadata.ExportedFile parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ExportArtifactMetadata.ExportedFile
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ExportArtifactMetadata.ExportedFile parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExportArtifactMetadata.ExportedFile
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ExportArtifactMetadata.ExportedFile> parser()
Returns
Type Description
Parser<ExportedFile>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public ExportArtifactMetadata.ExportedFile getDefaultInstanceForType()
Returns
Type Description
ExportArtifactMetadata.ExportedFile

getDestinationCase()

public ExportArtifactMetadata.ExportedFile.DestinationCase getDestinationCase()
Returns
Type Description
ExportArtifactMetadata.ExportedFile.DestinationCase

getGcsObjectPath()

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.

getGcsObjectPathBytes()

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.

getHashes(int index)

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

getHashesCount()

public int getHashesCount()

The hashes of the file content.

repeated .google.devtools.artifactregistry.v1.Hash hashes = 3;

Returns
Type Description
int

getHashesList()

public 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 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 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 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 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.

getParserForType()

public Parser<ExportArtifactMetadata.ExportedFile> getParserForType()
Returns
Type Description
Parser<ExportedFile>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasGcsObjectPath()

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ExportArtifactMetadata.ExportedFile.Builder newBuilderForType()
Returns
Type Description
ExportArtifactMetadata.ExportedFile.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ExportArtifactMetadata.ExportedFile.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ExportArtifactMetadata.ExportedFile.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public ExportArtifactMetadata.ExportedFile.Builder toBuilder()
Returns
Type Description
ExportArtifactMetadata.ExportedFile.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException