Class ImportAptArtifactsErrorInfo.Builder (1.82.0)

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.v1.ImportAptArtifactsErrorInfo

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public ImportAptArtifactsErrorInfo build()
Returns
Type Description
ImportAptArtifactsErrorInfo

buildPartial()

public ImportAptArtifactsErrorInfo buildPartial()
Returns
Type Description
ImportAptArtifactsErrorInfo

clear()

public ImportAptArtifactsErrorInfo.Builder clear()
Returns
Type Description
ImportAptArtifactsErrorInfo.Builder
Overrides

clearError()

public ImportAptArtifactsErrorInfo.Builder clearError()

The detailed error status.

.google.rpc.Status error = 2;

Returns
Type Description
ImportAptArtifactsErrorInfo.Builder

clearGcsSource()

public ImportAptArtifactsErrorInfo.Builder clearGcsSource()

Google Cloud Storage location requested.

.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 1;

Returns
Type Description
ImportAptArtifactsErrorInfo.Builder

clearSource()

public ImportAptArtifactsErrorInfo.Builder clearSource()
Returns
Type Description
ImportAptArtifactsErrorInfo.Builder

getDefaultInstanceForType()

public ImportAptArtifactsErrorInfo getDefaultInstanceForType()
Returns
Type Description
ImportAptArtifactsErrorInfo

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getError()

public Status getError()

The detailed error status.

.google.rpc.Status error = 2;

Returns
Type Description
com.google.rpc.Status

The error.

getErrorBuilder()

public Status.Builder getErrorBuilder()

The detailed error status.

.google.rpc.Status error = 2;

Returns
Type Description
com.google.rpc.Status.Builder

getErrorOrBuilder()

public StatusOrBuilder getErrorOrBuilder()

The detailed error status.

.google.rpc.Status error = 2;

Returns
Type Description
com.google.rpc.StatusOrBuilder

getGcsSource()

public ImportAptArtifactsGcsSource getGcsSource()

Google Cloud Storage location requested.

.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 1;

Returns
Type Description
ImportAptArtifactsGcsSource

The gcsSource.

getGcsSourceBuilder()

public ImportAptArtifactsGcsSource.Builder getGcsSourceBuilder()

Google Cloud Storage location requested.

.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 1;

Returns
Type Description
ImportAptArtifactsGcsSource.Builder

getGcsSourceOrBuilder()

public ImportAptArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder()

Google Cloud Storage location requested.

.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 1;

Returns
Type Description
ImportAptArtifactsGcsSourceOrBuilder

getSourceCase()

public ImportAptArtifactsErrorInfo.SourceCase getSourceCase()
Returns
Type Description
ImportAptArtifactsErrorInfo.SourceCase

hasError()

public boolean hasError()

The detailed error status.

.google.rpc.Status error = 2;

Returns
Type Description
boolean

Whether the error field is set.

hasGcsSource()

public boolean hasGcsSource()

Google Cloud Storage location requested.

.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 1;

Returns
Type Description
boolean

Whether the gcsSource field is set.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeError(Status value)

public ImportAptArtifactsErrorInfo.Builder mergeError(Status value)

The detailed error status.

.google.rpc.Status error = 2;

Parameter
Name Description
value com.google.rpc.Status
Returns
Type Description
ImportAptArtifactsErrorInfo.Builder

mergeFrom(ImportAptArtifactsErrorInfo other)

public ImportAptArtifactsErrorInfo.Builder mergeFrom(ImportAptArtifactsErrorInfo other)
Parameter
Name Description
other ImportAptArtifactsErrorInfo
Returns
Type Description
ImportAptArtifactsErrorInfo.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ImportAptArtifactsErrorInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ImportAptArtifactsErrorInfo.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ImportAptArtifactsErrorInfo.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ImportAptArtifactsErrorInfo.Builder
Overrides

mergeGcsSource(ImportAptArtifactsGcsSource value)

public ImportAptArtifactsErrorInfo.Builder mergeGcsSource(ImportAptArtifactsGcsSource value)

Google Cloud Storage location requested.

.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 1;

Parameter
Name Description
value ImportAptArtifactsGcsSource
Returns
Type Description
ImportAptArtifactsErrorInfo.Builder

setError(Status value)

public ImportAptArtifactsErrorInfo.Builder setError(Status value)

The detailed error status.

.google.rpc.Status error = 2;

Parameter
Name Description
value com.google.rpc.Status
Returns
Type Description
ImportAptArtifactsErrorInfo.Builder

setError(Status.Builder builderForValue)

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
Returns
Type Description
ImportAptArtifactsErrorInfo.Builder

setGcsSource(ImportAptArtifactsGcsSource value)

public ImportAptArtifactsErrorInfo.Builder setGcsSource(ImportAptArtifactsGcsSource value)

Google Cloud Storage location requested.

.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 1;

Parameter
Name Description
value ImportAptArtifactsGcsSource
Returns
Type Description
ImportAptArtifactsErrorInfo.Builder

setGcsSource(ImportAptArtifactsGcsSource.Builder builderForValue)

public ImportAptArtifactsErrorInfo.Builder setGcsSource(ImportAptArtifactsGcsSource.Builder builderForValue)

Google Cloud Storage location requested.

.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 1;

Parameter
Name Description
builderForValue ImportAptArtifactsGcsSource.Builder
Returns
Type Description
ImportAptArtifactsErrorInfo.Builder