public static final class ImportAptArtifactsErrorInfo.Builder extends GeneratedMessage.Builder<ImportAptArtifactsErrorInfo.Builder> implements ImportAptArtifactsErrorInfoOrBuilder
Error information explaining why a package was not imported.
Protobuf type google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo
Inherited Members
com.google.protobuf.GeneratedMessage.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessage.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessage.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldsProto3(com.google.protobuf.UnknownFieldSet)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Methods
public ImportAptArtifactsErrorInfo build()
public ImportAptArtifactsErrorInfo buildPartial()
public ImportAptArtifactsErrorInfo.Builder clear()
Overrides
public ImportAptArtifactsErrorInfo.Builder clearError()
The detailed error status.
.google.rpc.Status error = 2;
public ImportAptArtifactsErrorInfo.Builder clearGcsSource()
Google Cloud Storage location requested.
.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1;
public ImportAptArtifactsErrorInfo.Builder clearSource()
public ImportAptArtifactsErrorInfo getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
The detailed error status.
.google.rpc.Status error = 2;
| Returns |
| Type |
Description |
com.google.rpc.Status |
The error.
|
public Status.Builder getErrorBuilder()
The detailed error status.
.google.rpc.Status error = 2;
| Returns |
| Type |
Description |
com.google.rpc.Status.Builder |
|
public StatusOrBuilder getErrorOrBuilder()
The detailed error status.
.google.rpc.Status error = 2;
| Returns |
| Type |
Description |
com.google.rpc.StatusOrBuilder |
|
public ImportAptArtifactsGcsSource getGcsSource()
Google Cloud Storage location requested.
.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1;
public ImportAptArtifactsGcsSource.Builder getGcsSourceBuilder()
Google Cloud Storage location requested.
.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1;
public ImportAptArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder()
Google Cloud Storage location requested.
.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1;
public ImportAptArtifactsErrorInfo.SourceCase getSourceCase()
public boolean hasError()
The detailed error status.
.google.rpc.Status error = 2;
| Returns |
| Type |
Description |
boolean |
Whether the error field is set.
|
public boolean hasGcsSource()
Google Cloud Storage location requested.
.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1;
| Returns |
| Type |
Description |
boolean |
Whether the gcsSource field is set.
|
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public ImportAptArtifactsErrorInfo.Builder mergeError(Status value)
The detailed error status.
.google.rpc.Status error = 2;
| Parameter |
| Name |
Description |
value |
com.google.rpc.Status
|
public ImportAptArtifactsErrorInfo.Builder mergeFrom(ImportAptArtifactsErrorInfo other)
public ImportAptArtifactsErrorInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public ImportAptArtifactsErrorInfo.Builder mergeFrom(Message other)
| Parameter |
| Name |
Description |
other |
Message
|
Overrides
public ImportAptArtifactsErrorInfo.Builder mergeGcsSource(ImportAptArtifactsGcsSource value)
Google Cloud Storage location requested.
.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1;
public ImportAptArtifactsErrorInfo.Builder setError(Status value)
The detailed error status.
.google.rpc.Status error = 2;
| Parameter |
| Name |
Description |
value |
com.google.rpc.Status
|
public ImportAptArtifactsErrorInfo.Builder setError(Status.Builder builderForValue)
The detailed error status.
.google.rpc.Status error = 2;
| Parameter |
| Name |
Description |
builderForValue |
com.google.rpc.Status.Builder
|
public ImportAptArtifactsErrorInfo.Builder setGcsSource(ImportAptArtifactsGcsSource value)
Google Cloud Storage location requested.
.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1;
public ImportAptArtifactsErrorInfo.Builder setGcsSource(ImportAptArtifactsGcsSource.Builder builderForValue)
Google Cloud Storage location requested.
.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1;