Class ImportAptArtifactsResponse (1.16.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
TypeDescription
int

ERRORS_FIELD_NUMBER

public static final int ERRORS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ImportAptArtifactsResponse getDefaultInstance()
Returns
TypeDescription
ImportAptArtifactsResponse

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static ImportAptArtifactsResponse.Builder newBuilder()
Returns
TypeDescription
ImportAptArtifactsResponse.Builder

newBuilder(ImportAptArtifactsResponse prototype)

public static ImportAptArtifactsResponse.Builder newBuilder(ImportAptArtifactsResponse prototype)
Parameter
NameDescription
prototypeImportAptArtifactsResponse
Returns
TypeDescription
ImportAptArtifactsResponse.Builder

parseDelimitedFrom(InputStream input)

public static ImportAptArtifactsResponse parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ImportAptArtifactsResponse
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ImportAptArtifactsResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ImportAptArtifactsResponse
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ImportAptArtifactsResponse parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ImportAptArtifactsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ImportAptArtifactsResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ImportAptArtifactsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ImportAptArtifactsResponse parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ImportAptArtifactsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ImportAptArtifactsResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ImportAptArtifactsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ImportAptArtifactsResponse parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ImportAptArtifactsResponse
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ImportAptArtifactsResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ImportAptArtifactsResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ImportAptArtifactsResponse parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ImportAptArtifactsResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ImportAptArtifactsResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ImportAptArtifactsResponse
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ImportAptArtifactsResponse parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ImportAptArtifactsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ImportAptArtifactsResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ImportAptArtifactsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ImportAptArtifactsResponse> parser()
Returns
TypeDescription
Parser<ImportAptArtifactsResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getAptArtifacts(int index)

public AptArtifact getAptArtifacts(int index)

The Apt artifacts imported.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
AptArtifact

getAptArtifactsCount()

public int getAptArtifactsCount()

The Apt artifacts imported.

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

Returns
TypeDescription
int

getAptArtifactsList()

public List<AptArtifact> getAptArtifactsList()

The Apt artifacts imported.

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

Returns
TypeDescription
List<AptArtifact>

getAptArtifactsOrBuilder(int index)

public AptArtifactOrBuilder getAptArtifactsOrBuilder(int index)

The Apt artifacts imported.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
AptArtifactOrBuilder

getAptArtifactsOrBuilderList()

public List<? extends AptArtifactOrBuilder> getAptArtifactsOrBuilderList()

The Apt artifacts imported.

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

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

getDefaultInstanceForType()

public ImportAptArtifactsResponse getDefaultInstanceForType()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
ImportAptArtifactsErrorInfo

getErrorsCount()

public int getErrorsCount()

Detailed error info for artifacts that were not imported.

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

Returns
TypeDescription
int

getErrorsList()

public List<ImportAptArtifactsErrorInfo> getErrorsList()

Detailed error info for artifacts that were not imported.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfoOrBuilder>

getParserForType()

public Parser<ImportAptArtifactsResponse> getParserForType()
Returns
TypeDescription
Parser<ImportAptArtifactsResponse>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ImportAptArtifactsResponse.Builder newBuilderForType()
Returns
TypeDescription
ImportAptArtifactsResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ImportAptArtifactsResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ImportAptArtifactsResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ImportAptArtifactsResponse.Builder toBuilder()
Returns
TypeDescription
ImportAptArtifactsResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException