Class ImportYumArtifactsErrorInfo.Builder (1.3.0)

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

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 ImportYumArtifactsErrorInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns Overrides

build()

public ImportYumArtifactsErrorInfo build()
Returns

buildPartial()

public ImportYumArtifactsErrorInfo buildPartial()
Returns

clear()

public ImportYumArtifactsErrorInfo.Builder clear()
Returns Overrides

clearError()

public ImportYumArtifactsErrorInfo.Builder clearError()

The detailed error status.

.google.rpc.Status error = 2;

Returns

clearField(Descriptors.FieldDescriptor field)

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

clearGcsSource()

public ImportYumArtifactsErrorInfo.Builder clearGcsSource()

Google Cloud Storage location requested.

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

Returns

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearSource()

public ImportYumArtifactsErrorInfo.Builder clearSource()
Returns

clone()

public ImportYumArtifactsErrorInfo.Builder clone()
Returns Overrides

getDefaultInstanceForType()

public ImportYumArtifactsErrorInfo getDefaultInstanceForType()
Returns

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.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1;

Returns
TypeDescription
ImportYumArtifactsGcsSource

The gcsSource.

getGcsSourceBuilder()

public ImportYumArtifactsGcsSource.Builder getGcsSourceBuilder()

Google Cloud Storage location requested.

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

Returns

getGcsSourceOrBuilder()

public ImportYumArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder()

Google Cloud Storage location requested.

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

Returns

getSourceCase()

public ImportYumArtifactsErrorInfo.SourceCase getSourceCase()
Returns

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

mergeFrom(ImportYumArtifactsErrorInfo other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeGcsSource(ImportYumArtifactsGcsSource value)

public ImportYumArtifactsErrorInfo.Builder mergeGcsSource(ImportYumArtifactsGcsSource value)

Google Cloud Storage location requested.

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

Parameter
NameDescription
valueImportYumArtifactsGcsSource
Returns

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ImportYumArtifactsErrorInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns 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

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setGcsSource(ImportYumArtifactsGcsSource value)

public ImportYumArtifactsErrorInfo.Builder setGcsSource(ImportYumArtifactsGcsSource value)

Google Cloud Storage location requested.

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

Parameter
NameDescription
valueImportYumArtifactsGcsSource
Returns

setGcsSource(ImportYumArtifactsGcsSource.Builder builderForValue)

public ImportYumArtifactsErrorInfo.Builder setGcsSource(ImportYumArtifactsGcsSource.Builder builderForValue)

Google Cloud Storage location requested.

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

Parameter
NameDescription
builderForValueImportYumArtifactsGcsSource.Builder
Returns

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 Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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