Class Backup.Stats (3.20.0)

public static final class Backup.Stats extends GeneratedMessageV3 implements Backup.StatsOrBuilder

Backup specific statistics.

Protobuf type google.firestore.admin.v1.Backup.Stats

Static Fields

DOCUMENT_COUNT_FIELD_NUMBER

public static final int DOCUMENT_COUNT_FIELD_NUMBER
Field Value
TypeDescription
int

INDEX_COUNT_FIELD_NUMBER

public static final int INDEX_COUNT_FIELD_NUMBER
Field Value
TypeDescription
int

SIZE_BYTES_FIELD_NUMBER

public static final int SIZE_BYTES_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static Backup.Stats getDefaultInstance()
Returns
TypeDescription
Backup.Stats

getDescriptor()

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

newBuilder()

public static Backup.Stats.Builder newBuilder()
Returns
TypeDescription
Backup.Stats.Builder

newBuilder(Backup.Stats prototype)

public static Backup.Stats.Builder newBuilder(Backup.Stats prototype)
Parameter
NameDescription
prototypeBackup.Stats
Returns
TypeDescription
Backup.Stats.Builder

parseDelimitedFrom(InputStream input)

public static Backup.Stats parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Backup.Stats
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static Backup.Stats parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
Backup.Stats
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static Backup.Stats parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
Backup.Stats
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static Backup.Stats parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Backup.Stats
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static Backup.Stats parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
Backup.Stats
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<Backup.Stats> parser()
Returns
TypeDescription
Parser<Stats>

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public Backup.Stats getDefaultInstanceForType()
Returns
TypeDescription
Backup.Stats

getDocumentCount()

public long getDocumentCount()

Output only. The total number of documents contained in the backup.

int64 document_count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
long

The documentCount.

getIndexCount()

public long getIndexCount()

Output only. The total number of index entries contained in the backup.

int64 index_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
long

The indexCount.

getParserForType()

public Parser<Backup.Stats> getParserForType()
Returns
TypeDescription
Parser<Stats>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getSizeBytes()

public long getSizeBytes()

Output only. Summation of the size of all documents and index entries in the backup, measured in bytes.

int64 size_bytes = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
long

The sizeBytes.

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 Backup.Stats.Builder newBuilderForType()
Returns
TypeDescription
Backup.Stats.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public Backup.Stats.Builder toBuilder()
Returns
TypeDescription
Backup.Stats.Builder

writeTo(CodedOutputStream output)

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