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