public static final class Backup.Stats extends GeneratedMessageV3 implements Backup.StatsOrBuilder
Backup specific statistics.
Protobuf type google.firestore.admin.v1.Backup.Stats
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > Backup.StatsImplements
Backup.StatsOrBuilderStatic Fields
DOCUMENT_COUNT_FIELD_NUMBER
public static final int DOCUMENT_COUNT_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
INDEX_COUNT_FIELD_NUMBER
public static final int INDEX_COUNT_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
SIZE_BYTES_FIELD_NUMBER
public static final int SIZE_BYTES_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
Static Methods
getDefaultInstance()
public static Backup.Stats getDefaultInstance()
Returns | |
---|---|
Type | Description |
Backup.Stats |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
newBuilder()
public static Backup.Stats.Builder newBuilder()
Returns | |
---|---|
Type | Description |
Backup.Stats.Builder |
newBuilder(Backup.Stats prototype)
public static Backup.Stats.Builder newBuilder(Backup.Stats prototype)
Parameter | |
---|---|
Name | Description |
prototype | Backup.Stats |
Returns | |
---|---|
Type | Description |
Backup.Stats.Builder |
parseDelimitedFrom(InputStream input)
public static Backup.Stats parseDelimitedFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input | InputStream |
Returns | |
---|---|
Type | Description |
Backup.Stats |
Exceptions | |
---|---|
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Backup.Stats parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Backup.Stats |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(byte[] data)
public static Backup.Stats parseFrom(byte[] data)
Parameter | |
---|---|
Name | Description |
data | byte[] |
Returns | |
---|---|
Type | Description |
Backup.Stats |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Backup.Stats parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Backup.Stats |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static Backup.Stats parseFrom(ByteString data)
Parameter | |
---|---|
Name | Description |
data | ByteString |
Returns | |
---|---|
Type | Description |
Backup.Stats |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Backup.Stats parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Backup.Stats |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static Backup.Stats parseFrom(CodedInputStream input)
Parameter | |
---|---|
Name | Description |
input | CodedInputStream |
Returns | |
---|---|
Type | Description |
Backup.Stats |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Backup.Stats parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Backup.Stats |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input)
public static Backup.Stats parseFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input | InputStream |
Returns | |
---|---|
Type | Description |
Backup.Stats |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Backup.Stats parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Backup.Stats |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static Backup.Stats parseFrom(ByteBuffer data)
Parameter | |
---|---|
Name | Description |
data | ByteBuffer |
Returns | |
---|---|
Type | Description |
Backup.Stats |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Backup.Stats parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Backup.Stats |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<Backup.Stats> parser()
Returns | |
---|---|
Type | Description |
Parser<Stats> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter | |
---|---|
Name | Description |
obj | Object |
Returns | |
---|---|
Type | Description |
boolean |
getDefaultInstanceForType()
public Backup.Stats getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
long | The indexCount. |
getParserForType()
public Parser<Backup.Stats> getParserForType()
Returns | |
---|---|
Type | Description |
Parser<Stats> |
getSerializedSize()
public int getSerializedSize()
Returns | |
---|---|
Type | Description |
int |
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 | |
---|---|
Type | Description |
long | The sizeBytes. |
hashCode()
public int hashCode()
Returns | |
---|---|
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
newBuilderForType()
public Backup.Stats.Builder newBuilderForType()
Returns | |
---|---|
Type | Description |
Backup.Stats.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Backup.Stats.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter | |
---|---|
Name | Description |
parent | BuilderParent |
Returns | |
---|---|
Type | Description |
Backup.Stats.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter | |
---|---|
Name | Description |
unused | UnusedPrivateParameter |
Returns | |
---|---|
Type | Description |
Object |
toBuilder()
public Backup.Stats.Builder toBuilder()
Returns | |
---|---|
Type | Description |
Backup.Stats.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter | |
---|---|
Name | Description |
output | CodedOutputStream |
Exceptions | |
---|---|
Type | Description |
IOException |