public static final class Database.SourceInfo extends GeneratedMessageV3 implements Database.SourceInfoOrBuilder
Information about the provenance of this database.
Protobuf type google.firestore.admin.v1.Database.SourceInfo
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
BACKUP_FIELD_NUMBER
public static final int BACKUP_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
OPERATION_FIELD_NUMBER
public static final int OPERATION_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static Database.SourceInfo getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static Database.SourceInfo.Builder newBuilder()
newBuilder(Database.SourceInfo prototype)
public static Database.SourceInfo.Builder newBuilder(Database.SourceInfo prototype)
public static Database.SourceInfo parseDelimitedFrom(InputStream input)
public static Database.SourceInfo parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static Database.SourceInfo parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Database.SourceInfo parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static Database.SourceInfo parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Database.SourceInfo parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Database.SourceInfo parseFrom(CodedInputStream input)
public static Database.SourceInfo parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Database.SourceInfo parseFrom(InputStream input)
public static Database.SourceInfo parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static Database.SourceInfo parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Database.SourceInfo parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<Database.SourceInfo> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getBackup()
public Database.SourceInfo.BackupSource getBackup()
If set, this database was restored from the specified backup (or a
snapshot thereof).
.google.firestore.admin.v1.Database.SourceInfo.BackupSource backup = 1;
getBackupOrBuilder()
public Database.SourceInfo.BackupSourceOrBuilder getBackupOrBuilder()
If set, this database was restored from the specified backup (or a
snapshot thereof).
.google.firestore.admin.v1.Database.SourceInfo.BackupSource backup = 1;
getDefaultInstanceForType()
public Database.SourceInfo getDefaultInstanceForType()
getOperation()
public String getOperation()
The associated long-running operation. This field may not be set after
the operation has completed. Format:
projects/{project}/databases/{database}/operations/{operation}
.
string operation = 3 [(.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
String |
The operation.
|
getOperationBytes()
public ByteString getOperationBytes()
The associated long-running operation. This field may not be set after
the operation has completed. Format:
projects/{project}/databases/{database}/operations/{operation}
.
string operation = 3 [(.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
ByteString |
The bytes for operation.
|
getParserForType()
public Parser<Database.SourceInfo> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
getSourceCase()
public Database.SourceInfo.SourceCase getSourceCase()
hasBackup()
public boolean hasBackup()
If set, this database was restored from the specified backup (or a
snapshot thereof).
.google.firestore.admin.v1.Database.SourceInfo.BackupSource backup = 1;
Returns |
Type |
Description |
boolean |
Whether the backup field is set.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public Database.SourceInfo.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Database.SourceInfo.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public Database.SourceInfo.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides