Class ImportYumArtifactsErrorInfo.Builder (1.45.0)

public static final class ImportYumArtifactsErrorInfo.Builder extends GeneratedMessageV3.Builder<ImportYumArtifactsErrorInfo.Builder> implements ImportYumArtifactsErrorInfoOrBuilder

Error information explaining why a package was not imported.

Protobuf type google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ImportYumArtifactsErrorInfo build()
Returns
Type Description
ImportYumArtifactsErrorInfo

buildPartial()

public ImportYumArtifactsErrorInfo buildPartial()
Returns
Type Description
ImportYumArtifactsErrorInfo

clear()

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

clearError()

public ImportYumArtifactsErrorInfo.Builder clearError()

The detailed error status.

.google.rpc.Status error = 2;

Returns
Type Description
ImportYumArtifactsErrorInfo.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearGcsSource()

public ImportYumArtifactsErrorInfo.Builder clearGcsSource()

Google Cloud Storage location requested.

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

Returns
Type Description
ImportYumArtifactsErrorInfo.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearSource()

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

clone()

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

getDefaultInstanceForType()

public ImportYumArtifactsErrorInfo getDefaultInstanceForType()
Returns
Type Description
ImportYumArtifactsErrorInfo

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 ImportYumArtifactsGcsSource getGcsSource()

Google Cloud Storage location requested.

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

Returns
Type Description
ImportYumArtifactsGcsSource

The gcsSource.

getGcsSourceBuilder()

public ImportYumArtifactsGcsSource.Builder getGcsSourceBuilder()

Google Cloud Storage location requested.

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

Returns
Type Description
ImportYumArtifactsGcsSource.Builder

getGcsSourceOrBuilder()

public ImportYumArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder()

Google Cloud Storage location requested.

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

Returns
Type Description
ImportYumArtifactsGcsSourceOrBuilder

getSourceCase()

public ImportYumArtifactsErrorInfo.SourceCase getSourceCase()
Returns
Type Description
ImportYumArtifactsErrorInfo.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.ImportYumArtifactsGcsSource 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 ImportYumArtifactsErrorInfo.Builder mergeError(Status value)

The detailed error status.

.google.rpc.Status error = 2;

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

mergeFrom(ImportYumArtifactsErrorInfo other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeGcsSource(ImportYumArtifactsGcsSource value)

public ImportYumArtifactsErrorInfo.Builder mergeGcsSource(ImportYumArtifactsGcsSource value)

Google Cloud Storage location requested.

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

Parameter
Name Description
value ImportYumArtifactsGcsSource
Returns
Type Description
ImportYumArtifactsErrorInfo.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setError(Status value)

public ImportYumArtifactsErrorInfo.Builder setError(Status value)

The detailed error status.

.google.rpc.Status error = 2;

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

setError(Status.Builder builderForValue)

public ImportYumArtifactsErrorInfo.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
ImportYumArtifactsErrorInfo.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setGcsSource(ImportYumArtifactsGcsSource value)

public ImportYumArtifactsErrorInfo.Builder setGcsSource(ImportYumArtifactsGcsSource value)

Google Cloud Storage location requested.

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

Parameter
Name Description
value ImportYumArtifactsGcsSource
Returns
Type Description
ImportYumArtifactsErrorInfo.Builder

setGcsSource(ImportYumArtifactsGcsSource.Builder builderForValue)

public ImportYumArtifactsErrorInfo.Builder setGcsSource(ImportYumArtifactsGcsSource.Builder builderForValue)

Google Cloud Storage location requested.

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

Parameter
Name Description
builderForValue ImportYumArtifactsGcsSource.Builder
Returns
Type Description
ImportYumArtifactsErrorInfo.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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