public static final class Backup.Stats.Builder extends GeneratedMessageV3.Builder<Backup.Stats.Builder> implements Backup.StatsOrBuilder
Backup specific statistics.
Protobuf type google.firestore.admin.v1.Backup.Stats
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Backup.Stats.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public Backup.Stats build()
buildPartial()
public Backup.Stats buildPartial()
clear()
public Backup.Stats.Builder clear()
Overrides
clearDocumentCount()
public Backup.Stats.Builder clearDocumentCount()
Output only. The total number of documents contained in the backup.
int64 document_count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
clearField(Descriptors.FieldDescriptor field)
public Backup.Stats.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearIndexCount()
public Backup.Stats.Builder clearIndexCount()
Output only. The total number of index entries contained in the backup.
int64 index_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
clearOneof(Descriptors.OneofDescriptor oneof)
public Backup.Stats.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearSizeBytes()
public Backup.Stats.Builder clearSizeBytes()
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];
clone()
public Backup.Stats.Builder clone()
Overrides
getDefaultInstanceForType()
public Backup.Stats getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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.
|
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.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(Backup.Stats other)
public Backup.Stats.Builder mergeFrom(Backup.Stats other)
public Backup.Stats.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public Backup.Stats.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Backup.Stats.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setDocumentCount(long value)
public Backup.Stats.Builder setDocumentCount(long value)
Output only. The total number of documents contained in the backup.
int64 document_count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
---|
Name | Description |
value | long
The documentCount to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public Backup.Stats.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setIndexCount(long value)
public Backup.Stats.Builder setIndexCount(long value)
Output only. The total number of index entries contained in the backup.
int64 index_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
---|
Name | Description |
value | long
The indexCount to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Backup.Stats.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setSizeBytes(long value)
public Backup.Stats.Builder setSizeBytes(long value)
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];
Parameter |
---|
Name | Description |
value | long
The sizeBytes to set.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final Backup.Stats.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides