Class ImportAptArtifactsResponse.Builder (1.41.0)

public static final class ImportAptArtifactsResponse.Builder extends GeneratedMessageV3.Builder<ImportAptArtifactsResponse.Builder> implements ImportAptArtifactsResponseOrBuilder

The response message from importing APT artifacts.

Protobuf type google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse

Static Methods

getDescriptor()

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

Methods

addAllAptArtifacts(Iterable<? extends AptArtifact> values)

public ImportAptArtifactsResponse.Builder addAllAptArtifacts(Iterable<? extends AptArtifact> values)

The Apt artifacts imported.

repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1;

Parameter
Name Description
values Iterable<? extends com.google.devtools.artifactregistry.v1beta2.AptArtifact>
Returns
Type Description
ImportAptArtifactsResponse.Builder

addAllErrors(Iterable<? extends ImportAptArtifactsErrorInfo> values)

public ImportAptArtifactsResponse.Builder addAllErrors(Iterable<? extends ImportAptArtifactsErrorInfo> values)

Detailed error info for artifacts that were not imported.

repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2;

Parameter
Name Description
values Iterable<? extends com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo>
Returns
Type Description
ImportAptArtifactsResponse.Builder

addAptArtifacts(AptArtifact value)

public ImportAptArtifactsResponse.Builder addAptArtifacts(AptArtifact value)

The Apt artifacts imported.

repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1;

Parameter
Name Description
value AptArtifact
Returns
Type Description
ImportAptArtifactsResponse.Builder

addAptArtifacts(AptArtifact.Builder builderForValue)

public ImportAptArtifactsResponse.Builder addAptArtifacts(AptArtifact.Builder builderForValue)

The Apt artifacts imported.

repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1;

Parameter
Name Description
builderForValue AptArtifact.Builder
Returns
Type Description
ImportAptArtifactsResponse.Builder

addAptArtifacts(int index, AptArtifact value)

public ImportAptArtifactsResponse.Builder addAptArtifacts(int index, AptArtifact value)

The Apt artifacts imported.

repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1;

Parameters
Name Description
index int
value AptArtifact
Returns
Type Description
ImportAptArtifactsResponse.Builder

addAptArtifacts(int index, AptArtifact.Builder builderForValue)

public ImportAptArtifactsResponse.Builder addAptArtifacts(int index, AptArtifact.Builder builderForValue)

The Apt artifacts imported.

repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1;

Parameters
Name Description
index int
builderForValue AptArtifact.Builder
Returns
Type Description
ImportAptArtifactsResponse.Builder

addAptArtifactsBuilder()

public AptArtifact.Builder addAptArtifactsBuilder()

The Apt artifacts imported.

repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1;

Returns
Type Description
AptArtifact.Builder

addAptArtifactsBuilder(int index)

public AptArtifact.Builder addAptArtifactsBuilder(int index)

The Apt artifacts imported.

repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1;

Parameter
Name Description
index int
Returns
Type Description
AptArtifact.Builder

addErrors(ImportAptArtifactsErrorInfo value)

public ImportAptArtifactsResponse.Builder addErrors(ImportAptArtifactsErrorInfo value)

Detailed error info for artifacts that were not imported.

repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2;

Parameter
Name Description
value ImportAptArtifactsErrorInfo
Returns
Type Description
ImportAptArtifactsResponse.Builder

addErrors(ImportAptArtifactsErrorInfo.Builder builderForValue)

public ImportAptArtifactsResponse.Builder addErrors(ImportAptArtifactsErrorInfo.Builder builderForValue)

Detailed error info for artifacts that were not imported.

repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2;

Parameter
Name Description
builderForValue ImportAptArtifactsErrorInfo.Builder
Returns
Type Description
ImportAptArtifactsResponse.Builder

addErrors(int index, ImportAptArtifactsErrorInfo value)

public ImportAptArtifactsResponse.Builder addErrors(int index, ImportAptArtifactsErrorInfo value)

Detailed error info for artifacts that were not imported.

repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2;

Parameters
Name Description
index int
value ImportAptArtifactsErrorInfo
Returns
Type Description
ImportAptArtifactsResponse.Builder

addErrors(int index, ImportAptArtifactsErrorInfo.Builder builderForValue)

public ImportAptArtifactsResponse.Builder addErrors(int index, ImportAptArtifactsErrorInfo.Builder builderForValue)

Detailed error info for artifacts that were not imported.

repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2;

Parameters
Name Description
index int
builderForValue ImportAptArtifactsErrorInfo.Builder
Returns
Type Description
ImportAptArtifactsResponse.Builder

addErrorsBuilder()

public ImportAptArtifactsErrorInfo.Builder addErrorsBuilder()

Detailed error info for artifacts that were not imported.

repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2;

Returns
Type Description
ImportAptArtifactsErrorInfo.Builder

addErrorsBuilder(int index)

public ImportAptArtifactsErrorInfo.Builder addErrorsBuilder(int index)

Detailed error info for artifacts that were not imported.

repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2;

Parameter
Name Description
index int
Returns
Type Description
ImportAptArtifactsErrorInfo.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ImportAptArtifactsResponse build()
Returns
Type Description
ImportAptArtifactsResponse

buildPartial()

public ImportAptArtifactsResponse buildPartial()
Returns
Type Description
ImportAptArtifactsResponse

clear()

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

clearAptArtifacts()

public ImportAptArtifactsResponse.Builder clearAptArtifacts()

The Apt artifacts imported.

repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1;

Returns
Type Description
ImportAptArtifactsResponse.Builder

clearErrors()

public ImportAptArtifactsResponse.Builder clearErrors()

Detailed error info for artifacts that were not imported.

repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2;

Returns
Type Description
ImportAptArtifactsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getAptArtifacts(int index)

public AptArtifact getAptArtifacts(int index)

The Apt artifacts imported.

repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1;

Parameter
Name Description
index int
Returns
Type Description
AptArtifact

getAptArtifactsBuilder(int index)

public AptArtifact.Builder getAptArtifactsBuilder(int index)

The Apt artifacts imported.

repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1;

Parameter
Name Description
index int
Returns
Type Description
AptArtifact.Builder

getAptArtifactsBuilderList()

public List<AptArtifact.Builder> getAptArtifactsBuilderList()

The Apt artifacts imported.

repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1;

Returns
Type Description
List<Builder>

getAptArtifactsCount()

public int getAptArtifactsCount()

The Apt artifacts imported.

repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1;

Returns
Type Description
int

getAptArtifactsList()

public List<AptArtifact> getAptArtifactsList()

The Apt artifacts imported.

repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1;

Returns
Type Description
List<AptArtifact>

getAptArtifactsOrBuilder(int index)

public AptArtifactOrBuilder getAptArtifactsOrBuilder(int index)

The Apt artifacts imported.

repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1;

Parameter
Name Description
index int
Returns
Type Description
AptArtifactOrBuilder

getAptArtifactsOrBuilderList()

public List<? extends AptArtifactOrBuilder> getAptArtifactsOrBuilderList()

The Apt artifacts imported.

repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1;

Returns
Type Description
List<? extends com.google.devtools.artifactregistry.v1beta2.AptArtifactOrBuilder>

getDefaultInstanceForType()

public ImportAptArtifactsResponse getDefaultInstanceForType()
Returns
Type Description
ImportAptArtifactsResponse

getDescriptorForType()

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

getErrors(int index)

public ImportAptArtifactsErrorInfo getErrors(int index)

Detailed error info for artifacts that were not imported.

repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2;

Parameter
Name Description
index int
Returns
Type Description
ImportAptArtifactsErrorInfo

getErrorsBuilder(int index)

public ImportAptArtifactsErrorInfo.Builder getErrorsBuilder(int index)

Detailed error info for artifacts that were not imported.

repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2;

Parameter
Name Description
index int
Returns
Type Description
ImportAptArtifactsErrorInfo.Builder

getErrorsBuilderList()

public List<ImportAptArtifactsErrorInfo.Builder> getErrorsBuilderList()

Detailed error info for artifacts that were not imported.

repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2;

Returns
Type Description
List<Builder>

getErrorsCount()

public int getErrorsCount()

Detailed error info for artifacts that were not imported.

repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2;

Returns
Type Description
int

getErrorsList()

public List<ImportAptArtifactsErrorInfo> getErrorsList()

Detailed error info for artifacts that were not imported.

repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2;

Returns
Type Description
List<ImportAptArtifactsErrorInfo>

getErrorsOrBuilder(int index)

public ImportAptArtifactsErrorInfoOrBuilder getErrorsOrBuilder(int index)

Detailed error info for artifacts that were not imported.

repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2;

Parameter
Name Description
index int
Returns
Type Description
ImportAptArtifactsErrorInfoOrBuilder

getErrorsOrBuilderList()

public List<? extends ImportAptArtifactsErrorInfoOrBuilder> getErrorsOrBuilderList()

Detailed error info for artifacts that were not imported.

repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2;

Returns
Type Description
List<? extends com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfoOrBuilder>

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ImportAptArtifactsResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ImportAptArtifactsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ImportAptArtifactsResponse.Builder
Overrides

removeAptArtifacts(int index)

public ImportAptArtifactsResponse.Builder removeAptArtifacts(int index)

The Apt artifacts imported.

repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1;

Parameter
Name Description
index int
Returns
Type Description
ImportAptArtifactsResponse.Builder

removeErrors(int index)

public ImportAptArtifactsResponse.Builder removeErrors(int index)

Detailed error info for artifacts that were not imported.

repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2;

Parameter
Name Description
index int
Returns
Type Description
ImportAptArtifactsResponse.Builder

setAptArtifacts(int index, AptArtifact value)

public ImportAptArtifactsResponse.Builder setAptArtifacts(int index, AptArtifact value)

The Apt artifacts imported.

repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1;

Parameters
Name Description
index int
value AptArtifact
Returns
Type Description
ImportAptArtifactsResponse.Builder

setAptArtifacts(int index, AptArtifact.Builder builderForValue)

public ImportAptArtifactsResponse.Builder setAptArtifacts(int index, AptArtifact.Builder builderForValue)

The Apt artifacts imported.

repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1;

Parameters
Name Description
index int
builderForValue AptArtifact.Builder
Returns
Type Description
ImportAptArtifactsResponse.Builder

setErrors(int index, ImportAptArtifactsErrorInfo value)

public ImportAptArtifactsResponse.Builder setErrors(int index, ImportAptArtifactsErrorInfo value)

Detailed error info for artifacts that were not imported.

repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2;

Parameters
Name Description
index int
value ImportAptArtifactsErrorInfo
Returns
Type Description
ImportAptArtifactsResponse.Builder

setErrors(int index, ImportAptArtifactsErrorInfo.Builder builderForValue)

public ImportAptArtifactsResponse.Builder setErrors(int index, ImportAptArtifactsErrorInfo.Builder builderForValue)

Detailed error info for artifacts that were not imported.

repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2;

Parameters
Name Description
index int
builderForValue ImportAptArtifactsErrorInfo.Builder
Returns
Type Description
ImportAptArtifactsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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