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

com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)

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>

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>

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

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

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

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

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

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

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

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

addErrorsBuilder()

public ImportAptArtifactsErrorInfo.Builder addErrorsBuilder()

Detailed error info for packages that were not imported.

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

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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ImportAptArtifactsResponse build()
Returns
TypeDescription
ImportAptArtifactsResponse

buildPartial()

public ImportAptArtifactsResponse buildPartial()
Returns
TypeDescription
ImportAptArtifactsResponse

clear()

public ImportAptArtifactsResponse.Builder clear()
Overrides

clearAptArtifacts()

public ImportAptArtifactsResponse.Builder clearAptArtifacts()

The Apt artifacts imported.

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

clearErrors()

public ImportAptArtifactsResponse.Builder clearErrors()

Detailed error info for packages that were not imported.

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public ImportAptArtifactsResponse.Builder clone()
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

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ImportAptArtifactsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
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

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

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

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

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

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

setField(Descriptors.FieldDescriptor field, Object value)

public ImportAptArtifactsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
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
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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