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
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
public ImportAptArtifactsResponse.Builder addAllAptArtifacts(Iterable<? extends AptArtifact> values)
The Apt artifacts imported.
repeated .google.devtools.artifactregistry.v1.AptArtifact apt_artifacts = 1;
Parameter
Name | Description |
values | Iterable<? extends com.google.devtools.artifactregistry.v1.AptArtifact>
|
Returns
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
Name | Description |
values | Iterable<? extends com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo>
|
Returns
public ImportAptArtifactsResponse.Builder addAptArtifacts(AptArtifact value)
The Apt artifacts imported.
repeated .google.devtools.artifactregistry.v1.AptArtifact apt_artifacts = 1;
Parameter
Returns
public ImportAptArtifactsResponse.Builder addAptArtifacts(AptArtifact.Builder builderForValue)
The Apt artifacts imported.
repeated .google.devtools.artifactregistry.v1.AptArtifact apt_artifacts = 1;
Parameter
Returns
public ImportAptArtifactsResponse.Builder addAptArtifacts(int index, AptArtifact value)
The Apt artifacts imported.
repeated .google.devtools.artifactregistry.v1.AptArtifact apt_artifacts = 1;
Parameters
Returns
public ImportAptArtifactsResponse.Builder addAptArtifacts(int index, AptArtifact.Builder builderForValue)
The Apt artifacts imported.
repeated .google.devtools.artifactregistry.v1.AptArtifact apt_artifacts = 1;
Parameters
Returns
public AptArtifact.Builder addAptArtifactsBuilder()
The Apt artifacts imported.
repeated .google.devtools.artifactregistry.v1.AptArtifact apt_artifacts = 1;
Returns
public AptArtifact.Builder addAptArtifactsBuilder(int index)
The Apt artifacts imported.
repeated .google.devtools.artifactregistry.v1.AptArtifact apt_artifacts = 1;
Parameter
Returns
public ImportAptArtifactsResponse.Builder addErrors(ImportAptArtifactsErrorInfo value)
Detailed error info for packages that were not imported.
repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2;
Parameter
Returns
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
Returns
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
Returns
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
Returns
public ImportAptArtifactsErrorInfo.Builder addErrorsBuilder()
Detailed error info for packages that were not imported.
repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2;
Returns
public ImportAptArtifactsErrorInfo.Builder addErrorsBuilder(int index)
Detailed error info for packages that were not imported.
repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2;
Parameter
Returns
public ImportAptArtifactsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public ImportAptArtifactsResponse build()
Returns
public ImportAptArtifactsResponse buildPartial()
Returns
public ImportAptArtifactsResponse.Builder clear()
Returns
Overrides
public ImportAptArtifactsResponse.Builder clearAptArtifacts()
The Apt artifacts imported.
repeated .google.devtools.artifactregistry.v1.AptArtifact apt_artifacts = 1;
Returns
public ImportAptArtifactsResponse.Builder clearErrors()
Detailed error info for packages that were not imported.
repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2;
Returns
public ImportAptArtifactsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public ImportAptArtifactsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public ImportAptArtifactsResponse.Builder clone()
Returns
Overrides
public AptArtifact getAptArtifacts(int index)
The Apt artifacts imported.
repeated .google.devtools.artifactregistry.v1.AptArtifact apt_artifacts = 1;
Parameter
Returns
public AptArtifact.Builder getAptArtifactsBuilder(int index)
The Apt artifacts imported.
repeated .google.devtools.artifactregistry.v1.AptArtifact apt_artifacts = 1;
Parameter
Returns
public List<AptArtifact.Builder> getAptArtifactsBuilderList()
The Apt artifacts imported.
repeated .google.devtools.artifactregistry.v1.AptArtifact apt_artifacts = 1;
Returns
public int getAptArtifactsCount()
The Apt artifacts imported.
repeated .google.devtools.artifactregistry.v1.AptArtifact apt_artifacts = 1;
Returns
public List<AptArtifact> getAptArtifactsList()
The Apt artifacts imported.
repeated .google.devtools.artifactregistry.v1.AptArtifact apt_artifacts = 1;
Returns
public AptArtifactOrBuilder getAptArtifactsOrBuilder(int index)
The Apt artifacts imported.
repeated .google.devtools.artifactregistry.v1.AptArtifact apt_artifacts = 1;
Parameter
Returns
public List<? extends AptArtifactOrBuilder> getAptArtifactsOrBuilderList()
The Apt artifacts imported.
repeated .google.devtools.artifactregistry.v1.AptArtifact apt_artifacts = 1;
Returns
Type | Description |
List<? extends com.google.devtools.artifactregistry.v1.AptArtifactOrBuilder> | |
public ImportAptArtifactsResponse getDefaultInstanceForType()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
public ImportAptArtifactsErrorInfo getErrors(int index)
Detailed error info for packages that were not imported.
repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2;
Parameter
Returns
public ImportAptArtifactsErrorInfo.Builder getErrorsBuilder(int index)
Detailed error info for packages that were not imported.
repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2;
Parameter
Returns
public List<ImportAptArtifactsErrorInfo.Builder> getErrorsBuilderList()
Detailed error info for packages that were not imported.
repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2;
Returns
public int getErrorsCount()
Detailed error info for packages that were not imported.
repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2;
Returns
public List<ImportAptArtifactsErrorInfo> getErrorsList()
Detailed error info for packages that were not imported.
repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2;
Returns
public ImportAptArtifactsErrorInfoOrBuilder getErrorsOrBuilder(int index)
Detailed error info for packages that were not imported.
repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2;
Parameter
Returns
public List<? extends ImportAptArtifactsErrorInfoOrBuilder> getErrorsOrBuilderList()
Detailed error info for packages that were not imported.
repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2;
Returns
Type | Description |
List<? extends com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfoOrBuilder> | |
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public ImportAptArtifactsResponse.Builder mergeFrom(ImportAptArtifactsResponse other)
Parameter
Returns
public ImportAptArtifactsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public ImportAptArtifactsResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public final ImportAptArtifactsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public ImportAptArtifactsResponse.Builder removeAptArtifacts(int index)
The Apt artifacts imported.
repeated .google.devtools.artifactregistry.v1.AptArtifact apt_artifacts = 1;
Parameter
Returns
public ImportAptArtifactsResponse.Builder removeErrors(int index)
Detailed error info for packages that were not imported.
repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2;
Parameter
Returns
public ImportAptArtifactsResponse.Builder setAptArtifacts(int index, AptArtifact value)
The Apt artifacts imported.
repeated .google.devtools.artifactregistry.v1.AptArtifact apt_artifacts = 1;
Parameters
Returns
public ImportAptArtifactsResponse.Builder setAptArtifacts(int index, AptArtifact.Builder builderForValue)
The Apt artifacts imported.
repeated .google.devtools.artifactregistry.v1.AptArtifact apt_artifacts = 1;
Parameters
Returns
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
Returns
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
Returns
public ImportAptArtifactsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public ImportAptArtifactsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public final ImportAptArtifactsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides