Class ImportAptArtifactsErrorInfo.Builder (1.41.0)

public static final class ImportAptArtifactsErrorInfo.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ImportAptArtifactsErrorInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ImportAptArtifactsErrorInfo.Builder
Overrides

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

clearField(Descriptors.FieldDescriptor field)

public ImportAptArtifactsErrorInfo.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ImportAptArtifactsErrorInfo.Builder
Overrides

clearGcsSource()

public ImportAptArtifactsErrorInfo.Builder clearGcsSource()

Google Cloud Storage location requested.

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

Returns
Type Description
ImportAptArtifactsErrorInfo.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public ImportAptArtifactsErrorInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ImportAptArtifactsErrorInfo.Builder
Overrides

clearSource()

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

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ImportAptArtifactsErrorInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ImportAptArtifactsErrorInfo.Builder
Overrides

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

setField(Descriptors.FieldDescriptor field, Object value)

public ImportAptArtifactsErrorInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ImportAptArtifactsErrorInfo.Builder
Overrides

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

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ImportAptArtifactsErrorInfo.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ImportAptArtifactsErrorInfo.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ImportAptArtifactsErrorInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ImportAptArtifactsErrorInfo.Builder
Overrides