Class ImportAptArtifactsResponse.Builder (1.23.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.v1.ImportAptArtifactsResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAllAptArtifacts(Iterable<? extends AptArtifact> values)

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

The Apt artifacts imported.

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

Parameter
NameDescription
valuesIterable<? extends com.google.devtools.artifactregistry.v1.AptArtifact>
Returns
TypeDescription
ImportAptArtifactsResponse.Builder

addAllErrors(Iterable<? extends ImportAptArtifactsErrorInfo> values)

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

Detailed error info for packages that were not imported.

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

Parameter
NameDescription
valuesIterable<? extends com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo>
Returns
TypeDescription
ImportAptArtifactsResponse.Builder

addAptArtifacts(AptArtifact value)

public ImportAptArtifactsResponse.Builder addAptArtifacts(AptArtifact value)

The Apt artifacts imported.

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

Parameter
NameDescription
valueAptArtifact
Returns
TypeDescription
ImportAptArtifactsResponse.Builder

addAptArtifacts(AptArtifact.Builder builderForValue)

public ImportAptArtifactsResponse.Builder addAptArtifacts(AptArtifact.Builder builderForValue)

The Apt artifacts imported.

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

Parameter
NameDescription
builderForValueAptArtifact.Builder
Returns
TypeDescription
ImportAptArtifactsResponse.Builder

addAptArtifacts(int index, AptArtifact value)

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

The Apt artifacts imported.

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

Parameters
NameDescription
indexint
valueAptArtifact
Returns
TypeDescription
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.v1.AptArtifact apt_artifacts = 1;

Parameters
NameDescription
indexint
builderForValueAptArtifact.Builder
Returns
TypeDescription
ImportAptArtifactsResponse.Builder

addAptArtifactsBuilder()

public AptArtifact.Builder addAptArtifactsBuilder()

The Apt artifacts imported.

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

Returns
TypeDescription
AptArtifact.Builder

addAptArtifactsBuilder(int index)

public AptArtifact.Builder addAptArtifactsBuilder(int index)

The Apt artifacts imported.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
AptArtifact.Builder

addErrors(ImportAptArtifactsErrorInfo value)

public ImportAptArtifactsResponse.Builder addErrors(ImportAptArtifactsErrorInfo value)

Detailed error info for packages that were not imported.

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

Parameter
NameDescription
valueImportAptArtifactsErrorInfo
Returns
TypeDescription
ImportAptArtifactsResponse.Builder

addErrors(ImportAptArtifactsErrorInfo.Builder builderForValue)

public ImportAptArtifactsResponse.Builder addErrors(ImportAptArtifactsErrorInfo.Builder builderForValue)

Detailed error info for packages that were not imported.

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

Parameter
NameDescription
builderForValueImportAptArtifactsErrorInfo.Builder
Returns
TypeDescription
ImportAptArtifactsResponse.Builder

addErrors(int index, ImportAptArtifactsErrorInfo value)

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

Detailed error info for packages that were not imported.

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

Parameters
NameDescription
indexint
valueImportAptArtifactsErrorInfo
Returns
TypeDescription
ImportAptArtifactsResponse.Builder

addErrors(int index, ImportAptArtifactsErrorInfo.Builder builderForValue)

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

Detailed error info for packages that were not imported.

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

Parameters
NameDescription
indexint
builderForValueImportAptArtifactsErrorInfo.Builder
Returns
TypeDescription
ImportAptArtifactsResponse.Builder

addErrorsBuilder()

public ImportAptArtifactsErrorInfo.Builder addErrorsBuilder()

Detailed error info for packages that were not imported.

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

Returns
TypeDescription
ImportAptArtifactsErrorInfo.Builder

addErrorsBuilder(int index)

public ImportAptArtifactsErrorInfo.Builder addErrorsBuilder(int index)

Detailed error info for packages that were not imported.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
ImportAptArtifactsErrorInfo.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ImportAptArtifactsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ImportAptArtifactsResponse.Builder
Overrides

build()

public ImportAptArtifactsResponse build()
Returns
TypeDescription
ImportAptArtifactsResponse

buildPartial()

public ImportAptArtifactsResponse buildPartial()
Returns
TypeDescription
ImportAptArtifactsResponse

clear()

public ImportAptArtifactsResponse.Builder clear()
Returns
TypeDescription
ImportAptArtifactsResponse.Builder
Overrides

clearAptArtifacts()

public ImportAptArtifactsResponse.Builder clearAptArtifacts()

The Apt artifacts imported.

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

Returns
TypeDescription
ImportAptArtifactsResponse.Builder

clearErrors()

public ImportAptArtifactsResponse.Builder clearErrors()

Detailed error info for packages that were not imported.

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

Returns
TypeDescription
ImportAptArtifactsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

public ImportAptArtifactsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ImportAptArtifactsResponse.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ImportAptArtifactsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ImportAptArtifactsResponse.Builder
Overrides

clone()

public ImportAptArtifactsResponse.Builder clone()
Returns
TypeDescription
ImportAptArtifactsResponse.Builder
Overrides

getAptArtifacts(int index)

public AptArtifact getAptArtifacts(int index)

The Apt artifacts imported.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
AptArtifact

getAptArtifactsBuilder(int index)

public AptArtifact.Builder getAptArtifactsBuilder(int index)

The Apt artifacts imported.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
AptArtifact.Builder

getAptArtifactsBuilderList()

public List<AptArtifact.Builder> getAptArtifactsBuilderList()

The Apt artifacts imported.

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

Returns
TypeDescription
List<Builder>

getAptArtifactsCount()

public int getAptArtifactsCount()

The Apt artifacts imported.

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

Returns
TypeDescription
int

getAptArtifactsList()

public List<AptArtifact> getAptArtifactsList()

The Apt artifacts imported.

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

Returns
TypeDescription
List<AptArtifact>

getAptArtifactsOrBuilder(int index)

public AptArtifactOrBuilder getAptArtifactsOrBuilder(int index)

The Apt artifacts imported.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
AptArtifactOrBuilder

getAptArtifactsOrBuilderList()

public List<? extends AptArtifactOrBuilder> getAptArtifactsOrBuilderList()

The Apt artifacts imported.

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

Returns
TypeDescription
List<? extends com.google.devtools.artifactregistry.v1.AptArtifactOrBuilder>

getDefaultInstanceForType()

public ImportAptArtifactsResponse getDefaultInstanceForType()
Returns
TypeDescription
ImportAptArtifactsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getErrors(int index)

public ImportAptArtifactsErrorInfo getErrors(int index)

Detailed error info for packages that were not imported.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
ImportAptArtifactsErrorInfo

getErrorsBuilder(int index)

public ImportAptArtifactsErrorInfo.Builder getErrorsBuilder(int index)

Detailed error info for packages that were not imported.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
ImportAptArtifactsErrorInfo.Builder

getErrorsBuilderList()

public List<ImportAptArtifactsErrorInfo.Builder> getErrorsBuilderList()

Detailed error info for packages that were not imported.

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

Returns
TypeDescription
List<Builder>

getErrorsCount()

public int getErrorsCount()

Detailed error info for packages that were not imported.

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

Returns
TypeDescription
int

getErrorsList()

public List<ImportAptArtifactsErrorInfo> getErrorsList()

Detailed error info for packages that were not imported.

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

Returns
TypeDescription
List<ImportAptArtifactsErrorInfo>

getErrorsOrBuilder(int index)

public ImportAptArtifactsErrorInfoOrBuilder getErrorsOrBuilder(int index)

Detailed error info for packages that were not imported.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
ImportAptArtifactsErrorInfoOrBuilder

getErrorsOrBuilderList()

public List<? extends ImportAptArtifactsErrorInfoOrBuilder> getErrorsOrBuilderList()

Detailed error info for packages that were not imported.

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

Returns
TypeDescription
List<? extends com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfoOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ImportAptArtifactsResponse other)

public ImportAptArtifactsResponse.Builder mergeFrom(ImportAptArtifactsResponse other)
Parameter
NameDescription
otherImportAptArtifactsResponse
Returns
TypeDescription
ImportAptArtifactsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ImportAptArtifactsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ImportAptArtifactsResponse.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ImportAptArtifactsResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ImportAptArtifactsResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ImportAptArtifactsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ImportAptArtifactsResponse.Builder
Overrides

removeAptArtifacts(int index)

public ImportAptArtifactsResponse.Builder removeAptArtifacts(int index)

The Apt artifacts imported.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
ImportAptArtifactsResponse.Builder

removeErrors(int index)

public ImportAptArtifactsResponse.Builder removeErrors(int index)

Detailed error info for packages that were not imported.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
ImportAptArtifactsResponse.Builder

setAptArtifacts(int index, AptArtifact value)

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

The Apt artifacts imported.

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

Parameters
NameDescription
indexint
valueAptArtifact
Returns
TypeDescription
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.v1.AptArtifact apt_artifacts = 1;

Parameters
NameDescription
indexint
builderForValueAptArtifact.Builder
Returns
TypeDescription
ImportAptArtifactsResponse.Builder

setErrors(int index, ImportAptArtifactsErrorInfo value)

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

Detailed error info for packages that were not imported.

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

Parameters
NameDescription
indexint
valueImportAptArtifactsErrorInfo
Returns
TypeDescription
ImportAptArtifactsResponse.Builder

setErrors(int index, ImportAptArtifactsErrorInfo.Builder builderForValue)

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

Detailed error info for packages that were not imported.

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

Parameters
NameDescription
indexint
builderForValueImportAptArtifactsErrorInfo.Builder
Returns
TypeDescription
ImportAptArtifactsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ImportAptArtifactsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ImportAptArtifactsResponse.Builder
Overrides

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

public ImportAptArtifactsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ImportAptArtifactsResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ImportAptArtifactsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ImportAptArtifactsResponse.Builder
Overrides