Class ImportYumArtifactsErrorInfo.Builder (1.2.9)

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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ImportYumArtifactsErrorInfo build()
Returns
TypeDescription
ImportYumArtifactsErrorInfo

buildPartial()

public ImportYumArtifactsErrorInfo buildPartial()
Returns
TypeDescription
ImportYumArtifactsErrorInfo

clear()

public ImportYumArtifactsErrorInfo.Builder clear()
Returns
TypeDescription
ImportYumArtifactsErrorInfo.Builder
Overrides

clearError()

public ImportYumArtifactsErrorInfo.Builder clearError()

The detailed error status.

.google.rpc.Status error = 2;

Returns
TypeDescription
ImportYumArtifactsErrorInfo.Builder

clearField(Descriptors.FieldDescriptor field)

public ImportYumArtifactsErrorInfo.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ImportYumArtifactsErrorInfo.Builder
Overrides

clearGcsSource()

public ImportYumArtifactsErrorInfo.Builder clearGcsSource()

Google Cloud Storage location requested.

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

Returns
TypeDescription
ImportYumArtifactsErrorInfo.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public ImportYumArtifactsErrorInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ImportYumArtifactsErrorInfo.Builder
Overrides

clearSource()

public ImportYumArtifactsErrorInfo.Builder clearSource()
Returns
TypeDescription
ImportYumArtifactsErrorInfo.Builder

clone()

public ImportYumArtifactsErrorInfo.Builder clone()
Returns
TypeDescription
ImportYumArtifactsErrorInfo.Builder
Overrides

getDefaultInstanceForType()

public ImportYumArtifactsErrorInfo getDefaultInstanceForType()
Returns
TypeDescription
ImportYumArtifactsErrorInfo

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

Google Cloud Storage location requested.

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

Returns
TypeDescription
ImportYumArtifactsGcsSource

The gcsSource.

getGcsSourceBuilder()

public ImportYumArtifactsGcsSource.Builder getGcsSourceBuilder()

Google Cloud Storage location requested.

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

Returns
TypeDescription
ImportYumArtifactsGcsSource.Builder

getGcsSourceOrBuilder()

public ImportYumArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder()

Google Cloud Storage location requested.

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

Returns
TypeDescription
ImportYumArtifactsGcsSourceOrBuilder

getSourceCase()

public ImportYumArtifactsErrorInfo.SourceCase getSourceCase()
Returns
TypeDescription
ImportYumArtifactsErrorInfo.SourceCase

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.ImportYumArtifactsGcsSource 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 ImportYumArtifactsErrorInfo.Builder mergeError(Status value)

The detailed error status.

.google.rpc.Status error = 2;

Parameter
NameDescription
valuecom.google.rpc.Status
Returns
TypeDescription
ImportYumArtifactsErrorInfo.Builder

mergeFrom(ImportYumArtifactsErrorInfo other)

public ImportYumArtifactsErrorInfo.Builder mergeFrom(ImportYumArtifactsErrorInfo other)
Parameter
NameDescription
otherImportYumArtifactsErrorInfo
Returns
TypeDescription
ImportYumArtifactsErrorInfo.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public ImportYumArtifactsErrorInfo.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueImportYumArtifactsGcsSource
Returns
TypeDescription
ImportYumArtifactsErrorInfo.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ImportYumArtifactsErrorInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ImportYumArtifactsErrorInfo.Builder
Overrides

setError(Status value)

public ImportYumArtifactsErrorInfo.Builder setError(Status value)

The detailed error status.

.google.rpc.Status error = 2;

Parameter
NameDescription
valuecom.google.rpc.Status
Returns
TypeDescription
ImportYumArtifactsErrorInfo.Builder

setError(Status.Builder builderForValue)

public ImportYumArtifactsErrorInfo.Builder setError(Status.Builder builderForValue)

The detailed error status.

.google.rpc.Status error = 2;

Parameter
NameDescription
builderForValuecom.google.rpc.Status.Builder
Returns
TypeDescription
ImportYumArtifactsErrorInfo.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ImportYumArtifactsErrorInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueImportYumArtifactsGcsSource
Returns
TypeDescription
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
NameDescription
builderForValueImportYumArtifactsGcsSource.Builder
Returns
TypeDescription
ImportYumArtifactsErrorInfo.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

public final ImportYumArtifactsErrorInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ImportYumArtifactsErrorInfo.Builder
Overrides