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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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
public static final Descriptors.Descriptor getDescriptor()
Methods
public ImportYumArtifactsErrorInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public ImportYumArtifactsErrorInfo build()
public ImportYumArtifactsErrorInfo buildPartial()
public ImportYumArtifactsErrorInfo.Builder clear()
Overrides
public ImportYumArtifactsErrorInfo.Builder clearError()
The detailed error status.
.google.rpc.Status error = 2;
public ImportYumArtifactsErrorInfo.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public ImportYumArtifactsErrorInfo.Builder clearGcsSource()
Google Cloud Storage location requested.
.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 1;
public ImportYumArtifactsErrorInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public ImportYumArtifactsErrorInfo.Builder clearSource()
public ImportYumArtifactsErrorInfo.Builder clone()
Overrides
public ImportYumArtifactsErrorInfo getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
The detailed error status.
.google.rpc.Status error = 2;
Returns |
Type |
Description |
com.google.rpc.Status |
The error.
|
public Status.Builder getErrorBuilder()
The detailed error status.
.google.rpc.Status error = 2;
Returns |
Type |
Description |
com.google.rpc.Status.Builder |
|
public StatusOrBuilder getErrorOrBuilder()
The detailed error status.
.google.rpc.Status error = 2;
Returns |
Type |
Description |
com.google.rpc.StatusOrBuilder |
|
public ImportYumArtifactsGcsSource getGcsSource()
Google Cloud Storage location requested.
.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 1;
public ImportYumArtifactsGcsSource.Builder getGcsSourceBuilder()
Google Cloud Storage location requested.
.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 1;
public ImportYumArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder()
Google Cloud Storage location requested.
.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 1;
public ImportYumArtifactsErrorInfo.SourceCase getSourceCase()
public boolean hasError()
The detailed error status.
.google.rpc.Status error = 2;
Returns |
Type |
Description |
boolean |
Whether the error field is set.
|
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.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public ImportYumArtifactsErrorInfo.Builder mergeError(Status value)
The detailed error status.
.google.rpc.Status error = 2;
Parameter |
Name |
Description |
value |
com.google.rpc.Status
|
public ImportYumArtifactsErrorInfo.Builder mergeFrom(ImportYumArtifactsErrorInfo other)
public ImportYumArtifactsErrorInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public ImportYumArtifactsErrorInfo.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public ImportYumArtifactsErrorInfo.Builder mergeGcsSource(ImportYumArtifactsGcsSource value)
Google Cloud Storage location requested.
.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 1;
public final ImportYumArtifactsErrorInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public ImportYumArtifactsErrorInfo.Builder setError(Status value)
The detailed error status.
.google.rpc.Status error = 2;
Parameter |
Name |
Description |
value |
com.google.rpc.Status
|
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
|
public ImportYumArtifactsErrorInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public ImportYumArtifactsErrorInfo.Builder setGcsSource(ImportYumArtifactsGcsSource value)
Google Cloud Storage location requested.
.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 1;
public ImportYumArtifactsErrorInfo.Builder setGcsSource(ImportYumArtifactsGcsSource.Builder builderForValue)
Google Cloud Storage location requested.
.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 1;
public ImportYumArtifactsErrorInfo.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final ImportYumArtifactsErrorInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides