Class ExportArtifactMetadata.Builder (1.82.0)

public static final class ExportArtifactMetadata.Builder extends GeneratedMessage.Builder<ExportArtifactMetadata.Builder> implements ExportArtifactMetadataOrBuilder

The LRO metadata for exporting an artifact.

Protobuf type google.devtools.artifactregistry.v1.ExportArtifactMetadata

Static Methods

getDescriptor()

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

Methods

addAllExportedFiles(Iterable<? extends ExportArtifactMetadata.ExportedFile> values)

public ExportArtifactMetadata.Builder addAllExportedFiles(Iterable<? extends ExportArtifactMetadata.ExportedFile> values)

The exported artifact files.

repeated .google.devtools.artifactregistry.v1.ExportArtifactMetadata.ExportedFile exported_files = 1;

Parameter
Name Description
values Iterable<? extends com.google.devtools.artifactregistry.v1.ExportArtifactMetadata.ExportedFile>
Returns
Type Description
ExportArtifactMetadata.Builder

addExportedFiles(ExportArtifactMetadata.ExportedFile value)

public ExportArtifactMetadata.Builder addExportedFiles(ExportArtifactMetadata.ExportedFile value)

The exported artifact files.

repeated .google.devtools.artifactregistry.v1.ExportArtifactMetadata.ExportedFile exported_files = 1;

Parameter
Name Description
value ExportArtifactMetadata.ExportedFile
Returns
Type Description
ExportArtifactMetadata.Builder

addExportedFiles(ExportArtifactMetadata.ExportedFile.Builder builderForValue)

public ExportArtifactMetadata.Builder addExportedFiles(ExportArtifactMetadata.ExportedFile.Builder builderForValue)

The exported artifact files.

repeated .google.devtools.artifactregistry.v1.ExportArtifactMetadata.ExportedFile exported_files = 1;

Parameter
Name Description
builderForValue ExportArtifactMetadata.ExportedFile.Builder
Returns
Type Description
ExportArtifactMetadata.Builder

addExportedFiles(int index, ExportArtifactMetadata.ExportedFile value)

public ExportArtifactMetadata.Builder addExportedFiles(int index, ExportArtifactMetadata.ExportedFile value)

The exported artifact files.

repeated .google.devtools.artifactregistry.v1.ExportArtifactMetadata.ExportedFile exported_files = 1;

Parameters
Name Description
index int
value ExportArtifactMetadata.ExportedFile
Returns
Type Description
ExportArtifactMetadata.Builder

addExportedFiles(int index, ExportArtifactMetadata.ExportedFile.Builder builderForValue)

public ExportArtifactMetadata.Builder addExportedFiles(int index, ExportArtifactMetadata.ExportedFile.Builder builderForValue)

The exported artifact files.

repeated .google.devtools.artifactregistry.v1.ExportArtifactMetadata.ExportedFile exported_files = 1;

Parameters
Name Description
index int
builderForValue ExportArtifactMetadata.ExportedFile.Builder
Returns
Type Description
ExportArtifactMetadata.Builder

addExportedFilesBuilder()

public ExportArtifactMetadata.ExportedFile.Builder addExportedFilesBuilder()

The exported artifact files.

repeated .google.devtools.artifactregistry.v1.ExportArtifactMetadata.ExportedFile exported_files = 1;

Returns
Type Description
ExportArtifactMetadata.ExportedFile.Builder

addExportedFilesBuilder(int index)

public ExportArtifactMetadata.ExportedFile.Builder addExportedFilesBuilder(int index)

The exported artifact files.

repeated .google.devtools.artifactregistry.v1.ExportArtifactMetadata.ExportedFile exported_files = 1;

Parameter
Name Description
index int
Returns
Type Description
ExportArtifactMetadata.ExportedFile.Builder

build()

public ExportArtifactMetadata build()
Returns
Type Description
ExportArtifactMetadata

buildPartial()

public ExportArtifactMetadata buildPartial()
Returns
Type Description
ExportArtifactMetadata

clear()

public ExportArtifactMetadata.Builder clear()
Returns
Type Description
ExportArtifactMetadata.Builder
Overrides

clearExportedFiles()

public ExportArtifactMetadata.Builder clearExportedFiles()

The exported artifact files.

repeated .google.devtools.artifactregistry.v1.ExportArtifactMetadata.ExportedFile exported_files = 1;

Returns
Type Description
ExportArtifactMetadata.Builder

getDefaultInstanceForType()

public ExportArtifactMetadata getDefaultInstanceForType()
Returns
Type Description
ExportArtifactMetadata

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getExportedFiles(int index)

public ExportArtifactMetadata.ExportedFile getExportedFiles(int index)

The exported artifact files.

repeated .google.devtools.artifactregistry.v1.ExportArtifactMetadata.ExportedFile exported_files = 1;

Parameter
Name Description
index int
Returns
Type Description
ExportArtifactMetadata.ExportedFile

getExportedFilesBuilder(int index)

public ExportArtifactMetadata.ExportedFile.Builder getExportedFilesBuilder(int index)

The exported artifact files.

repeated .google.devtools.artifactregistry.v1.ExportArtifactMetadata.ExportedFile exported_files = 1;

Parameter
Name Description
index int
Returns
Type Description
ExportArtifactMetadata.ExportedFile.Builder

getExportedFilesBuilderList()

public List<ExportArtifactMetadata.ExportedFile.Builder> getExportedFilesBuilderList()

The exported artifact files.

repeated .google.devtools.artifactregistry.v1.ExportArtifactMetadata.ExportedFile exported_files = 1;

Returns
Type Description
List<Builder>

getExportedFilesCount()

public int getExportedFilesCount()

The exported artifact files.

repeated .google.devtools.artifactregistry.v1.ExportArtifactMetadata.ExportedFile exported_files = 1;

Returns
Type Description
int

getExportedFilesList()

public List<ExportArtifactMetadata.ExportedFile> getExportedFilesList()

The exported artifact files.

repeated .google.devtools.artifactregistry.v1.ExportArtifactMetadata.ExportedFile exported_files = 1;

Returns
Type Description
List<ExportedFile>

getExportedFilesOrBuilder(int index)

public ExportArtifactMetadata.ExportedFileOrBuilder getExportedFilesOrBuilder(int index)

The exported artifact files.

repeated .google.devtools.artifactregistry.v1.ExportArtifactMetadata.ExportedFile exported_files = 1;

Parameter
Name Description
index int
Returns
Type Description
ExportArtifactMetadata.ExportedFileOrBuilder

getExportedFilesOrBuilderList()

public List<? extends ExportArtifactMetadata.ExportedFileOrBuilder> getExportedFilesOrBuilderList()

The exported artifact files.

repeated .google.devtools.artifactregistry.v1.ExportArtifactMetadata.ExportedFile exported_files = 1;

Returns
Type Description
List<? extends com.google.devtools.artifactregistry.v1.ExportArtifactMetadata.ExportedFileOrBuilder>

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ExportArtifactMetadata other)

public ExportArtifactMetadata.Builder mergeFrom(ExportArtifactMetadata other)
Parameter
Name Description
other ExportArtifactMetadata
Returns
Type Description
ExportArtifactMetadata.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ExportArtifactMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExportArtifactMetadata.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ExportArtifactMetadata.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ExportArtifactMetadata.Builder
Overrides

removeExportedFiles(int index)

public ExportArtifactMetadata.Builder removeExportedFiles(int index)

The exported artifact files.

repeated .google.devtools.artifactregistry.v1.ExportArtifactMetadata.ExportedFile exported_files = 1;

Parameter
Name Description
index int
Returns
Type Description
ExportArtifactMetadata.Builder

setExportedFiles(int index, ExportArtifactMetadata.ExportedFile value)

public ExportArtifactMetadata.Builder setExportedFiles(int index, ExportArtifactMetadata.ExportedFile value)

The exported artifact files.

repeated .google.devtools.artifactregistry.v1.ExportArtifactMetadata.ExportedFile exported_files = 1;

Parameters
Name Description
index int
value ExportArtifactMetadata.ExportedFile
Returns
Type Description
ExportArtifactMetadata.Builder

setExportedFiles(int index, ExportArtifactMetadata.ExportedFile.Builder builderForValue)

public ExportArtifactMetadata.Builder setExportedFiles(int index, ExportArtifactMetadata.ExportedFile.Builder builderForValue)

The exported artifact files.

repeated .google.devtools.artifactregistry.v1.ExportArtifactMetadata.ExportedFile exported_files = 1;

Parameters
Name Description
index int
builderForValue ExportArtifactMetadata.ExportedFile.Builder
Returns
Type Description
ExportArtifactMetadata.Builder