Class ImportAptArtifactsErrorInfo.Builder (1.26.0)

See more code actions.
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

com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ImportAptArtifactsErrorInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Overrides

build()

public ImportAptArtifactsErrorInfo build()
Returns
TypeDescription
ImportAptArtifactsErrorInfo

buildPartial()

public ImportAptArtifactsErrorInfo buildPartial()
Returns
TypeDescription
ImportAptArtifactsErrorInfo

clear()

public ImportAptArtifactsErrorInfo.Builder clear()
Overrides

clearError()

public ImportAptArtifactsErrorInfo.Builder clearError()

The detailed error status.

.google.rpc.Status error = 2;

clearField(Descriptors.FieldDescriptor field)

public ImportAptArtifactsErrorInfo.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Overrides

clearGcsSource()

public ImportAptArtifactsErrorInfo.Builder clearGcsSource()

Google Cloud Storage location requested.

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

clearOneof(Descriptors.OneofDescriptor oneof)

public ImportAptArtifactsErrorInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Overrides

clearSource()

public ImportAptArtifactsErrorInfo.Builder clearSource()

clone()

public ImportAptArtifactsErrorInfo.Builder clone()
Overrides

getDefaultInstanceForType()

public ImportAptArtifactsErrorInfo getDefaultInstanceForType()
Returns
TypeDescription
ImportAptArtifactsErrorInfo

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getError()

public Status getError()

The detailed error status.

.google.rpc.Status error = 2;

Returns
TypeDescription
com.google.rpc.Status

The error.

getErrorBuilder()

public Status.Builder getErrorBuilder()

The detailed error status.

.google.rpc.Status error = 2;

Returns
TypeDescription
com.google.rpc.Status.Builder

getErrorOrBuilder()

public StatusOrBuilder getErrorOrBuilder()

The detailed error status.

.google.rpc.Status error = 2;

Returns
TypeDescription
com.google.rpc.StatusOrBuilder

getGcsSource()

public ImportAptArtifactsGcsSource getGcsSource()

Google Cloud Storage location requested.

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

Returns
TypeDescription
ImportAptArtifactsGcsSource

The gcsSource.

getGcsSourceBuilder()

public ImportAptArtifactsGcsSource.Builder getGcsSourceBuilder()

Google Cloud Storage location requested.

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

getGcsSourceOrBuilder()

public ImportAptArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder()

Google Cloud Storage location requested.

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

getSourceCase()

public ImportAptArtifactsErrorInfo.SourceCase getSourceCase()

hasError()

public boolean hasError()

The detailed error status.

.google.rpc.Status error = 2;

Returns
TypeDescription
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
TypeDescription
boolean

Whether the gcsSource field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeError(Status value)

public ImportAptArtifactsErrorInfo.Builder mergeError(Status value)

The detailed error status.

.google.rpc.Status error = 2;

Parameter
NameDescription
valuecom.google.rpc.Status

mergeFrom(ImportAptArtifactsErrorInfo other)

public ImportAptArtifactsErrorInfo.Builder mergeFrom(ImportAptArtifactsErrorInfo other)
Parameter
NameDescription
otherImportAptArtifactsErrorInfo

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ImportAptArtifactsErrorInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ImportAptArtifactsErrorInfo.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Overrides

mergeGcsSource(ImportAptArtifactsGcsSource value)

public ImportAptArtifactsErrorInfo.Builder mergeGcsSource(ImportAptArtifactsGcsSource value)

Google Cloud Storage location requested.

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

Parameter
NameDescription
valueImportAptArtifactsGcsSource

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ImportAptArtifactsErrorInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Overrides

setError(Status value)

public ImportAptArtifactsErrorInfo.Builder setError(Status value)

The detailed error status.

.google.rpc.Status error = 2;

Parameter
NameDescription
valuecom.google.rpc.Status

setError(Status.Builder builderForValue)

public ImportAptArtifactsErrorInfo.Builder setError(Status.Builder builderForValue)

The detailed error status.

.google.rpc.Status error = 2;

Parameter
NameDescription
builderForValuecom.google.rpc.Status.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ImportAptArtifactsErrorInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Overrides

setGcsSource(ImportAptArtifactsGcsSource value)

public ImportAptArtifactsErrorInfo.Builder setGcsSource(ImportAptArtifactsGcsSource value)

Google Cloud Storage location requested.

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

Parameter
NameDescription
valueImportAptArtifactsGcsSource

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
NameDescription
builderForValueImportAptArtifactsGcsSource.Builder

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

public ImportAptArtifactsErrorInfo.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ImportAptArtifactsErrorInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Overrides