Class ExportArtifactMetadata.Builder (1.80.0)

public static final class ExportArtifactMetadata.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ExportArtifactMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ExportArtifactMetadata.Builder
Overrides

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

clearField(Descriptors.FieldDescriptor field)

public ExportArtifactMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ExportArtifactMetadata.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ExportArtifactMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ExportArtifactMetadata.Builder
Overrides

clone()

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

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ExportArtifactMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
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

setField(Descriptors.FieldDescriptor field, Object value)

public ExportArtifactMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ExportArtifactMetadata.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ExportArtifactMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ExportArtifactMetadata.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ExportArtifactMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ExportArtifactMetadata.Builder
Overrides