Class ImportAptArtifactsResponse (1.43.0)

public final class ImportAptArtifactsResponse extends GeneratedMessageV3 implements ImportAptArtifactsResponseOrBuilder

The response message from importing APT artifacts.

Protobuf type google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse

Static Fields

APT_ARTIFACTS_FIELD_NUMBER

public static final int APT_ARTIFACTS_FIELD_NUMBER
Field Value
Type Description
int

ERRORS_FIELD_NUMBER

public static final int ERRORS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ImportAptArtifactsResponse getDefaultInstance()
Returns
Type Description
ImportAptArtifactsResponse

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static ImportAptArtifactsResponse.Builder newBuilder()
Returns
Type Description
ImportAptArtifactsResponse.Builder

newBuilder(ImportAptArtifactsResponse prototype)

public static ImportAptArtifactsResponse.Builder newBuilder(ImportAptArtifactsResponse prototype)
Parameter
Name Description
prototype ImportAptArtifactsResponse
Returns
Type Description
ImportAptArtifactsResponse.Builder

parseDelimitedFrom(InputStream input)

public static ImportAptArtifactsResponse parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ImportAptArtifactsResponse
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ImportAptArtifactsResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ImportAptArtifactsResponse
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ImportAptArtifactsResponse parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ImportAptArtifactsResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ImportAptArtifactsResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ImportAptArtifactsResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ImportAptArtifactsResponse parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ImportAptArtifactsResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ImportAptArtifactsResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ImportAptArtifactsResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ImportAptArtifactsResponse parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ImportAptArtifactsResponse
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ImportAptArtifactsResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ImportAptArtifactsResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ImportAptArtifactsResponse parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ImportAptArtifactsResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ImportAptArtifactsResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ImportAptArtifactsResponse
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ImportAptArtifactsResponse parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ImportAptArtifactsResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ImportAptArtifactsResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ImportAptArtifactsResponse
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ImportAptArtifactsResponse> parser()
Returns
Type Description
Parser<ImportAptArtifactsResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getAptArtifacts(int index)

public AptArtifact getAptArtifacts(int index)

The Apt artifacts imported.

repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1;

Parameter
Name Description
index int
Returns
Type Description
AptArtifact

getAptArtifactsCount()

public int getAptArtifactsCount()

The Apt artifacts imported.

repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1;

Returns
Type Description
int

getAptArtifactsList()

public List<AptArtifact> getAptArtifactsList()

The Apt artifacts imported.

repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1;

Returns
Type Description
List<AptArtifact>

getAptArtifactsOrBuilder(int index)

public AptArtifactOrBuilder getAptArtifactsOrBuilder(int index)

The Apt artifacts imported.

repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1;

Parameter
Name Description
index int
Returns
Type Description
AptArtifactOrBuilder

getAptArtifactsOrBuilderList()

public List<? extends AptArtifactOrBuilder> getAptArtifactsOrBuilderList()

The Apt artifacts imported.

repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1;

Returns
Type Description
List<? extends com.google.devtools.artifactregistry.v1beta2.AptArtifactOrBuilder>

getDefaultInstanceForType()

public ImportAptArtifactsResponse getDefaultInstanceForType()
Returns
Type Description
ImportAptArtifactsResponse

getErrors(int index)

public ImportAptArtifactsErrorInfo getErrors(int index)

Detailed error info for artifacts that were not imported.

repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2;

Parameter
Name Description
index int
Returns
Type Description
ImportAptArtifactsErrorInfo

getErrorsCount()

public int getErrorsCount()

Detailed error info for artifacts that were not imported.

repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2;

Returns
Type Description
int

getErrorsList()

public List<ImportAptArtifactsErrorInfo> getErrorsList()

Detailed error info for artifacts that were not imported.

repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2;

Returns
Type Description
List<ImportAptArtifactsErrorInfo>

getErrorsOrBuilder(int index)

public ImportAptArtifactsErrorInfoOrBuilder getErrorsOrBuilder(int index)

Detailed error info for artifacts that were not imported.

repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2;

Parameter
Name Description
index int
Returns
Type Description
ImportAptArtifactsErrorInfoOrBuilder

getErrorsOrBuilderList()

public List<? extends ImportAptArtifactsErrorInfoOrBuilder> getErrorsOrBuilderList()

Detailed error info for artifacts that were not imported.

repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2;

Returns
Type Description
List<? extends com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfoOrBuilder>

getParserForType()

public Parser<ImportAptArtifactsResponse> getParserForType()
Returns
Type Description
Parser<ImportAptArtifactsResponse>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ImportAptArtifactsResponse.Builder newBuilderForType()
Returns
Type Description
ImportAptArtifactsResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ImportAptArtifactsResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ImportAptArtifactsResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public ImportAptArtifactsResponse.Builder toBuilder()
Returns
Type Description
ImportAptArtifactsResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException