Class BatchDeleteVersionsMetadata (1.20.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
TypeDescription
int

Static Methods

getDefaultInstance()

public static BatchDeleteVersionsMetadata getDefaultInstance()
Returns
TypeDescription
BatchDeleteVersionsMetadata

getDescriptor()

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

newBuilder()

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

newBuilder(BatchDeleteVersionsMetadata prototype)

public static BatchDeleteVersionsMetadata.Builder newBuilder(BatchDeleteVersionsMetadata prototype)
Parameter
NameDescription
prototypeBatchDeleteVersionsMetadata
Returns
TypeDescription
BatchDeleteVersionsMetadata.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public BatchDeleteVersionsMetadata getDefaultInstanceForType()
Returns
TypeDescription
BatchDeleteVersionsMetadata

getFailedVersions(int index)

public String getFailedVersions(int index)

The versions the operation failed to delete.

repeated string failed_versions = 2;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
int

The count of failedVersions.

getFailedVersionsList()

public ProtocolStringList getFailedVersionsList()

The versions the operation failed to delete.

repeated string failed_versions = 2;

Returns
TypeDescription
ProtocolStringList

A list containing the failedVersions.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
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 BatchDeleteVersionsMetadata.Builder newBuilderForType()
Returns
TypeDescription
BatchDeleteVersionsMetadata.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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