public final class ImportAptArtifactsErrorInfo extends GeneratedMessageV3 implements ImportAptArtifactsErrorInfoOrBuilder
Error information explaining why a package was not imported.
Protobuf type google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo
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 ImportAptArtifactsErrorInfo getDefaultInstance()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public static ImportAptArtifactsErrorInfo.Builder newBuilder()
Returns
public static ImportAptArtifactsErrorInfo.Builder newBuilder(ImportAptArtifactsErrorInfo prototype)
Parameter
Returns
public static ImportAptArtifactsErrorInfo parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static ImportAptArtifactsErrorInfo parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ImportAptArtifactsErrorInfo parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
public static ImportAptArtifactsErrorInfo parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ImportAptArtifactsErrorInfo parseFrom(ByteString data)
Parameter
Returns
Exceptions
public static ImportAptArtifactsErrorInfo parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ImportAptArtifactsErrorInfo parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static ImportAptArtifactsErrorInfo parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ImportAptArtifactsErrorInfo parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static ImportAptArtifactsErrorInfo parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ImportAptArtifactsErrorInfo parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
public static ImportAptArtifactsErrorInfo parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Parser<ImportAptArtifactsErrorInfo> parser()
Returns
Methods
public boolean equals(Object obj)
Parameter
Returns
Overrides
public ImportAptArtifactsErrorInfo 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 ImportAptArtifactsGcsSource getGcsSource()
Google Cloud Storage location requested.
.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1;
Returns
public ImportAptArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder()
Google Cloud Storage location requested.
.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1;
Returns
public Parser<ImportAptArtifactsErrorInfo> getParserForType()
Returns
Overrides
public int getSerializedSize()
Returns
Overrides
public ImportAptArtifactsErrorInfo.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.v1beta2.ImportAptArtifactsGcsSource 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 ImportAptArtifactsErrorInfo.Builder newBuilderForType()
Returns
protected ImportAptArtifactsErrorInfo.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public ImportAptArtifactsErrorInfo.Builder toBuilder()
Returns
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions