Class BatchDeleteVersionsMetadata (1.45.0)

public final class BatchDeleteVersionsMetadata extends GeneratedMessageV3 implements BatchDeleteVersionsMetadataOrBuilder

The metadata of an LRO from deleting multiple versions.

Protobuf type google.devtools.artifactregistry.v1.BatchDeleteVersionsMetadata

Static Fields

FAILED_VERSIONS_FIELD_NUMBER

public static final int FAILED_VERSIONS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static BatchDeleteVersionsMetadata getDefaultInstance()
Returns
Type Description
BatchDeleteVersionsMetadata

getDescriptor()

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

newBuilder()

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

newBuilder(BatchDeleteVersionsMetadata prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public BatchDeleteVersionsMetadata getDefaultInstanceForType()
Returns
Type Description
BatchDeleteVersionsMetadata

getFailedVersions(int index)

public String getFailedVersions(int index)

The versions the operation failed to delete.

repeated string failed_versions = 2;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The failedVersions at the given index.

getFailedVersionsBytes(int index)

public ByteString getFailedVersionsBytes(int index)

The versions the operation failed to delete.

repeated string failed_versions = 2;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the failedVersions at the given index.

getFailedVersionsCount()

public int getFailedVersionsCount()

The versions the operation failed to delete.

repeated string failed_versions = 2;

Returns
Type Description
int

The count of failedVersions.

getFailedVersionsList()

public ProtocolStringList getFailedVersionsList()

The versions the operation failed to delete.

repeated string failed_versions = 2;

Returns
Type Description
ProtocolStringList

A list containing the failedVersions.

getParserForType()

public Parser<BatchDeleteVersionsMetadata> getParserForType()
Returns
Type Description
Parser<BatchDeleteVersionsMetadata>
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 BatchDeleteVersionsMetadata.Builder newBuilderForType()
Returns
Type Description
BatchDeleteVersionsMetadata.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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