Interface Database.SourceInfoOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
Database.SourceInfo, Database.SourceInfo.Builder
Enclosing class:
Database

public static interface Database.SourceInfoOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    If set, this database was restored from the specified backup (or a snapshot thereof).
    If set, this database was restored from the specified backup (or a snapshot thereof).
    The associated long-running operation.
    com.google.protobuf.ByteString
    The associated long-running operation.
     
    boolean
    If set, this database was restored from the specified backup (or a snapshot thereof).

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • hasBackup

      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:
      Whether the backup field is set.
    • getBackup

       If set, this database was restored from the specified backup (or a
       snapshot thereof).
       
      .google.firestore.admin.v1.Database.SourceInfo.BackupSource backup = 1;
      Returns:
      The backup.
    • getBackupOrBuilder

       If set, this database was restored from the specified backup (or a
       snapshot thereof).
       
      .google.firestore.admin.v1.Database.SourceInfo.BackupSource backup = 1;
    • getOperation

      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:
      The operation.
    • getOperationBytes

      com.google.protobuf.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:
      The bytes for operation.
    • getSourceCase