public final class ImportYumArtifactsErrorInfo extends GeneratedMessageV3 implements ImportYumArtifactsErrorInfoOrBuilder
Error information explaining why a package was not imported.
Protobuf type google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo
Static Fields
public static final int ERROR_FIELD_NUMBER
Field Value
public static final int GCS_SOURCE_FIELD_NUMBER
Field Value
Static Methods
public static ImportYumArtifactsErrorInfo getDefaultInstance()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public static ImportYumArtifactsErrorInfo.Builder newBuilder()
Returns
public static ImportYumArtifactsErrorInfo.Builder newBuilder(ImportYumArtifactsErrorInfo prototype)
Parameter
Returns
public static ImportYumArtifactsErrorInfo parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static ImportYumArtifactsErrorInfo parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ImportYumArtifactsErrorInfo parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
public static ImportYumArtifactsErrorInfo parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ImportYumArtifactsErrorInfo parseFrom(ByteString data)
Parameter
Returns
Exceptions
public static ImportYumArtifactsErrorInfo parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ImportYumArtifactsErrorInfo parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static ImportYumArtifactsErrorInfo parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ImportYumArtifactsErrorInfo parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static ImportYumArtifactsErrorInfo parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ImportYumArtifactsErrorInfo parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
public static ImportYumArtifactsErrorInfo parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Parser<ImportYumArtifactsErrorInfo> parser()
Returns
Methods
public boolean equals(Object obj)
Parameter
Returns
Overrides
public ImportYumArtifactsErrorInfo getDefaultInstanceForType()
Returns
The detailed error status.
.google.rpc.Status error = 2;
Returns
Type | Description |
com.google.rpc.Status | The error.
|
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;
Returns
public ImportYumArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder()
Google Cloud Storage location requested.
.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 1;
Returns
public Parser<ImportYumArtifactsErrorInfo> getParserForType()
Returns
Overrides
public int getSerializedSize()
Returns
Overrides
public ImportYumArtifactsErrorInfo.SourceCase getSourceCase()
Returns
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
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.
|
Returns
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public ImportYumArtifactsErrorInfo.Builder newBuilderForType()
Returns
protected ImportYumArtifactsErrorInfo.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public ImportYumArtifactsErrorInfo.Builder toBuilder()
Returns
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions