Documentation
¶
Overview ¶
Package adminpb is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Variables
- func RegisterFirestoreAdminHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterFirestoreAdminHandlerClient(ctx context.Context, mux *runtime.ServeMux, client FirestoreAdminClient) error
- func RegisterFirestoreAdminHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterFirestoreAdminHandlerServer(ctx context.Context, mux *runtime.ServeMux, server FirestoreAdminServer) error
- func RegisterFirestoreAdminServer(s grpc.ServiceRegistrar, srv FirestoreAdminServer)
- type Backup
- func (*Backup) Descriptor() ([]byte, []int)deprecated
- func (x *Backup) GetDatabase() string
- func (x *Backup) GetDatabaseUid() string
- func (x *Backup) GetExpireTime() *timestamp.Timestamp
- func (x *Backup) GetName() string
- func (x *Backup) GetSnapshotTime() *timestamp.Timestamp
- func (x *Backup) GetState() Backup_State
- func (x *Backup) GetStats() *Backup_Stats
- func (*Backup) ProtoMessage()
- func (x *Backup) ProtoReflect() protoreflect.Message
- func (x *Backup) Reset()
- func (x *Backup) String() string
- type BackupSchedule
- func (*BackupSchedule) Descriptor() ([]byte, []int)deprecated
- func (x *BackupSchedule) GetCreateTime() *timestamp.Timestamp
- func (x *BackupSchedule) GetDailyRecurrence() *DailyRecurrence
- func (x *BackupSchedule) GetName() string
- func (m *BackupSchedule) GetRecurrence() isBackupSchedule_Recurrence
- func (x *BackupSchedule) GetRetention() *duration.Duration
- func (x *BackupSchedule) GetUpdateTime() *timestamp.Timestamp
- func (x *BackupSchedule) GetWeeklyRecurrence() *WeeklyRecurrence
- func (*BackupSchedule) ProtoMessage()
- func (x *BackupSchedule) ProtoReflect() protoreflect.Message
- func (x *BackupSchedule) Reset()
- func (x *BackupSchedule) String() string
- type BackupSchedule_DailyRecurrence
- type BackupSchedule_WeeklyRecurrence
- type Backup_State
- func (Backup_State) Descriptor() protoreflect.EnumDescriptor
- func (x Backup_State) Enum() *Backup_State
- func (Backup_State) EnumDescriptor() ([]byte, []int)deprecated
- func (x Backup_State) Number() protoreflect.EnumNumber
- func (x Backup_State) String() string
- func (Backup_State) Type() protoreflect.EnumType
- type Backup_Stats
- func (*Backup_Stats) Descriptor() ([]byte, []int)deprecated
- func (x *Backup_Stats) GetDocumentCount() int64
- func (x *Backup_Stats) GetIndexCount() int64
- func (x *Backup_Stats) GetSizeBytes() int64
- func (*Backup_Stats) ProtoMessage()
- func (x *Backup_Stats) ProtoReflect() protoreflect.Message
- func (x *Backup_Stats) Reset()
- func (x *Backup_Stats) String() string
- type BulkDeleteDocumentsMetadata
- func (*BulkDeleteDocumentsMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *BulkDeleteDocumentsMetadata) GetCollectionIds() []string
- func (x *BulkDeleteDocumentsMetadata) GetEndTime() *timestamp.Timestamp
- func (x *BulkDeleteDocumentsMetadata) GetNamespaceIds() []string
- func (x *BulkDeleteDocumentsMetadata) GetOperationState() OperationState
- func (x *BulkDeleteDocumentsMetadata) GetProgressBytes() *Progress
- func (x *BulkDeleteDocumentsMetadata) GetProgressDocuments() *Progress
- func (x *BulkDeleteDocumentsMetadata) GetSnapshotTime() *timestamp.Timestamp
- func (x *BulkDeleteDocumentsMetadata) GetStartTime() *timestamp.Timestamp
- func (*BulkDeleteDocumentsMetadata) ProtoMessage()
- func (x *BulkDeleteDocumentsMetadata) ProtoReflect() protoreflect.Message
- func (x *BulkDeleteDocumentsMetadata) Reset()
- func (x *BulkDeleteDocumentsMetadata) String() string
- type BulkDeleteDocumentsRequest
- func (*BulkDeleteDocumentsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BulkDeleteDocumentsRequest) GetCollectionIds() []string
- func (x *BulkDeleteDocumentsRequest) GetName() string
- func (x *BulkDeleteDocumentsRequest) GetNamespaceIds() []string
- func (*BulkDeleteDocumentsRequest) ProtoMessage()
- func (x *BulkDeleteDocumentsRequest) ProtoReflect() protoreflect.Message
- func (x *BulkDeleteDocumentsRequest) Reset()
- func (x *BulkDeleteDocumentsRequest) String() string
- type BulkDeleteDocumentsResponse
- type CreateBackupScheduleRequest
- func (*CreateBackupScheduleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateBackupScheduleRequest) GetBackupSchedule() *BackupSchedule
- func (x *CreateBackupScheduleRequest) GetParent() string
- func (*CreateBackupScheduleRequest) ProtoMessage()
- func (x *CreateBackupScheduleRequest) ProtoReflect() protoreflect.Message
- func (x *CreateBackupScheduleRequest) Reset()
- func (x *CreateBackupScheduleRequest) String() string
- type CreateDatabaseMetadata
- type CreateDatabaseRequest
- func (*CreateDatabaseRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateDatabaseRequest) GetDatabase() *Database
- func (x *CreateDatabaseRequest) GetDatabaseId() string
- func (x *CreateDatabaseRequest) GetParent() string
- func (*CreateDatabaseRequest) ProtoMessage()
- func (x *CreateDatabaseRequest) ProtoReflect() protoreflect.Message
- func (x *CreateDatabaseRequest) Reset()
- func (x *CreateDatabaseRequest) String() string
- type CreateIndexRequest
- func (*CreateIndexRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateIndexRequest) GetIndex() *Index
- func (x *CreateIndexRequest) GetParent() string
- func (*CreateIndexRequest) ProtoMessage()
- func (x *CreateIndexRequest) ProtoReflect() protoreflect.Message
- func (x *CreateIndexRequest) Reset()
- func (x *CreateIndexRequest) String() string
- type DailyRecurrence
- type Database
- func (*Database) Descriptor() ([]byte, []int)deprecated
- func (x *Database) GetAppEngineIntegrationMode() Database_AppEngineIntegrationMode
- func (x *Database) GetCmekConfig() *Database_CmekConfig
- func (x *Database) GetConcurrencyMode() Database_ConcurrencyMode
- func (x *Database) GetCreateTime() *timestamp.Timestamp
- func (x *Database) GetDeleteProtectionState() Database_DeleteProtectionState
- func (x *Database) GetDeleteTime() *timestamp.Timestamp
- func (x *Database) GetEarliestVersionTime() *timestamp.Timestamp
- func (x *Database) GetEtag() string
- func (x *Database) GetKeyPrefix() string
- func (x *Database) GetLocationId() string
- func (x *Database) GetName() string
- func (x *Database) GetPointInTimeRecoveryEnablement() Database_PointInTimeRecoveryEnablement
- func (x *Database) GetPreviousId() string
- func (x *Database) GetSourceInfo() *Database_SourceInfo
- func (x *Database) GetType() Database_DatabaseType
- func (x *Database) GetUid() string
- func (x *Database) GetUpdateTime() *timestamp.Timestamp
- func (x *Database) GetVersionRetentionPeriod() *duration.Duration
- func (*Database) ProtoMessage()
- func (x *Database) ProtoReflect() protoreflect.Message
- func (x *Database) Reset()
- func (x *Database) String() string
- type Database_AppEngineIntegrationMode
- func (Database_AppEngineIntegrationMode) Descriptor() protoreflect.EnumDescriptor
- func (x Database_AppEngineIntegrationMode) Enum() *Database_AppEngineIntegrationMode
- func (Database_AppEngineIntegrationMode) EnumDescriptor() ([]byte, []int)deprecated
- func (x Database_AppEngineIntegrationMode) Number() protoreflect.EnumNumber
- func (x Database_AppEngineIntegrationMode) String() string
- func (Database_AppEngineIntegrationMode) Type() protoreflect.EnumType
- type Database_CmekConfig
- func (*Database_CmekConfig) Descriptor() ([]byte, []int)deprecated
- func (x *Database_CmekConfig) GetActiveKeyVersion() []string
- func (x *Database_CmekConfig) GetKmsKeyName() string
- func (*Database_CmekConfig) ProtoMessage()
- func (x *Database_CmekConfig) ProtoReflect() protoreflect.Message
- func (x *Database_CmekConfig) Reset()
- func (x *Database_CmekConfig) String() string
- type Database_ConcurrencyMode
- func (Database_ConcurrencyMode) Descriptor() protoreflect.EnumDescriptor
- func (x Database_ConcurrencyMode) Enum() *Database_ConcurrencyMode
- func (Database_ConcurrencyMode) EnumDescriptor() ([]byte, []int)deprecated
- func (x Database_ConcurrencyMode) Number() protoreflect.EnumNumber
- func (x Database_ConcurrencyMode) String() string
- func (Database_ConcurrencyMode) Type() protoreflect.EnumType
- type Database_DatabaseType
- func (Database_DatabaseType) Descriptor() protoreflect.EnumDescriptor
- func (x Database_DatabaseType) Enum() *Database_DatabaseType
- func (Database_DatabaseType) EnumDescriptor() ([]byte, []int)deprecated
- func (x Database_DatabaseType) Number() protoreflect.EnumNumber
- func (x Database_DatabaseType) String() string
- func (Database_DatabaseType) Type() protoreflect.EnumType
- type Database_DeleteProtectionState
- func (Database_DeleteProtectionState) Descriptor() protoreflect.EnumDescriptor
- func (x Database_DeleteProtectionState) Enum() *Database_DeleteProtectionState
- func (Database_DeleteProtectionState) EnumDescriptor() ([]byte, []int)deprecated
- func (x Database_DeleteProtectionState) Number() protoreflect.EnumNumber
- func (x Database_DeleteProtectionState) String() string
- func (Database_DeleteProtectionState) Type() protoreflect.EnumType
- type Database_EncryptionConfig
- func (*Database_EncryptionConfig) Descriptor() ([]byte, []int)deprecated
- func (x *Database_EncryptionConfig) GetCustomerManagedEncryption() *Database_EncryptionConfig_CustomerManagedEncryptionOptions
- func (m *Database_EncryptionConfig) GetEncryptionType() isDatabase_EncryptionConfig_EncryptionType
- func (x *Database_EncryptionConfig) GetGoogleDefaultEncryption() *Database_EncryptionConfig_GoogleDefaultEncryptionOptions
- func (x *Database_EncryptionConfig) GetUseSourceEncryption() *Database_EncryptionConfig_SourceEncryptionOptions
- func (*Database_EncryptionConfig) ProtoMessage()
- func (x *Database_EncryptionConfig) ProtoReflect() protoreflect.Message
- func (x *Database_EncryptionConfig) Reset()
- func (x *Database_EncryptionConfig) String() string
- type Database_EncryptionConfig_CustomerManagedEncryption
- type Database_EncryptionConfig_CustomerManagedEncryptionOptions
- func (*Database_EncryptionConfig_CustomerManagedEncryptionOptions) Descriptor() ([]byte, []int)deprecated
- func (x *Database_EncryptionConfig_CustomerManagedEncryptionOptions) GetKmsKeyName() string
- func (*Database_EncryptionConfig_CustomerManagedEncryptionOptions) ProtoMessage()
- func (x *Database_EncryptionConfig_CustomerManagedEncryptionOptions) ProtoReflect() protoreflect.Message
- func (x *Database_EncryptionConfig_CustomerManagedEncryptionOptions) Reset()
- func (x *Database_EncryptionConfig_CustomerManagedEncryptionOptions) String() string
- type Database_EncryptionConfig_GoogleDefaultEncryption
- type Database_EncryptionConfig_GoogleDefaultEncryptionOptions
- func (*Database_EncryptionConfig_GoogleDefaultEncryptionOptions) Descriptor() ([]byte, []int)deprecated
- func (*Database_EncryptionConfig_GoogleDefaultEncryptionOptions) ProtoMessage()
- func (x *Database_EncryptionConfig_GoogleDefaultEncryptionOptions) ProtoReflect() protoreflect.Message
- func (x *Database_EncryptionConfig_GoogleDefaultEncryptionOptions) Reset()
- func (x *Database_EncryptionConfig_GoogleDefaultEncryptionOptions) String() string
- type Database_EncryptionConfig_SourceEncryptionOptions
- func (*Database_EncryptionConfig_SourceEncryptionOptions) Descriptor() ([]byte, []int)deprecated
- func (*Database_EncryptionConfig_SourceEncryptionOptions) ProtoMessage()
- func (x *Database_EncryptionConfig_SourceEncryptionOptions) ProtoReflect() protoreflect.Message
- func (x *Database_EncryptionConfig_SourceEncryptionOptions) Reset()
- func (x *Database_EncryptionConfig_SourceEncryptionOptions) String() string
- type Database_EncryptionConfig_UseSourceEncryption
- type Database_PointInTimeRecoveryEnablement
- func (Database_PointInTimeRecoveryEnablement) Descriptor() protoreflect.EnumDescriptor
- func (x Database_PointInTimeRecoveryEnablement) Enum() *Database_PointInTimeRecoveryEnablement
- func (Database_PointInTimeRecoveryEnablement) EnumDescriptor() ([]byte, []int)deprecated
- func (x Database_PointInTimeRecoveryEnablement) Number() protoreflect.EnumNumber
- func (x Database_PointInTimeRecoveryEnablement) String() string
- func (Database_PointInTimeRecoveryEnablement) Type() protoreflect.EnumType
- type Database_SourceInfo
- func (*Database_SourceInfo) Descriptor() ([]byte, []int)deprecated
- func (x *Database_SourceInfo) GetBackup() *Database_SourceInfo_BackupSource
- func (x *Database_SourceInfo) GetOperation() string
- func (m *Database_SourceInfo) GetSource() isDatabase_SourceInfo_Source
- func (*Database_SourceInfo) ProtoMessage()
- func (x *Database_SourceInfo) ProtoReflect() protoreflect.Message
- func (x *Database_SourceInfo) Reset()
- func (x *Database_SourceInfo) String() string
- type Database_SourceInfo_Backup
- type Database_SourceInfo_BackupSource
- func (*Database_SourceInfo_BackupSource) Descriptor() ([]byte, []int)deprecated
- func (x *Database_SourceInfo_BackupSource) GetBackup() string
- func (*Database_SourceInfo_BackupSource) ProtoMessage()
- func (x *Database_SourceInfo_BackupSource) ProtoReflect() protoreflect.Message
- func (x *Database_SourceInfo_BackupSource) Reset()
- func (x *Database_SourceInfo_BackupSource) String() string
- type DeleteBackupRequest
- func (*DeleteBackupRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteBackupRequest) GetName() string
- func (*DeleteBackupRequest) ProtoMessage()
- func (x *DeleteBackupRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteBackupRequest) Reset()
- func (x *DeleteBackupRequest) String() string
- type DeleteBackupScheduleRequest
- func (*DeleteBackupScheduleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteBackupScheduleRequest) GetName() string
- func (*DeleteBackupScheduleRequest) ProtoMessage()
- func (x *DeleteBackupScheduleRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteBackupScheduleRequest) Reset()
- func (x *DeleteBackupScheduleRequest) String() string
- type DeleteDatabaseMetadata
- type DeleteDatabaseRequest
- func (*DeleteDatabaseRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteDatabaseRequest) GetEtag() string
- func (x *DeleteDatabaseRequest) GetName() string
- func (*DeleteDatabaseRequest) ProtoMessage()
- func (x *DeleteDatabaseRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteDatabaseRequest) Reset()
- func (x *DeleteDatabaseRequest) String() string
- type DeleteIndexRequest
- func (*DeleteIndexRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteIndexRequest) GetName() string
- func (*DeleteIndexRequest) ProtoMessage()
- func (x *DeleteIndexRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteIndexRequest) Reset()
- func (x *DeleteIndexRequest) String() string
- type ExportDocumentsMetadata
- func (*ExportDocumentsMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *ExportDocumentsMetadata) GetCollectionIds() []string
- func (x *ExportDocumentsMetadata) GetEndTime() *timestamp.Timestamp
- func (x *ExportDocumentsMetadata) GetNamespaceIds() []string
- func (x *ExportDocumentsMetadata) GetOperationState() OperationState
- func (x *ExportDocumentsMetadata) GetOutputUriPrefix() string
- func (x *ExportDocumentsMetadata) GetProgressBytes() *Progress
- func (x *ExportDocumentsMetadata) GetProgressDocuments() *Progress
- func (x *ExportDocumentsMetadata) GetSnapshotTime() *timestamp.Timestamp
- func (x *ExportDocumentsMetadata) GetStartTime() *timestamp.Timestamp
- func (*ExportDocumentsMetadata) ProtoMessage()
- func (x *ExportDocumentsMetadata) ProtoReflect() protoreflect.Message
- func (x *ExportDocumentsMetadata) Reset()
- func (x *ExportDocumentsMetadata) String() string
- type ExportDocumentsRequest
- func (*ExportDocumentsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ExportDocumentsRequest) GetCollectionIds() []string
- func (x *ExportDocumentsRequest) GetName() string
- func (x *ExportDocumentsRequest) GetNamespaceIds() []string
- func (x *ExportDocumentsRequest) GetOutputUriPrefix() string
- func (x *ExportDocumentsRequest) GetSnapshotTime() *timestamp.Timestamp
- func (*ExportDocumentsRequest) ProtoMessage()
- func (x *ExportDocumentsRequest) ProtoReflect() protoreflect.Message
- func (x *ExportDocumentsRequest) Reset()
- func (x *ExportDocumentsRequest) String() string
- type ExportDocumentsResponse
- func (*ExportDocumentsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ExportDocumentsResponse) GetOutputUriPrefix() string
- func (*ExportDocumentsResponse) ProtoMessage()
- func (x *ExportDocumentsResponse) ProtoReflect() protoreflect.Message
- func (x *ExportDocumentsResponse) Reset()
- func (x *ExportDocumentsResponse) String() string
- type Field
- func (*Field) Descriptor() ([]byte, []int)deprecated
- func (x *Field) GetIndexConfig() *Field_IndexConfig
- func (x *Field) GetName() string
- func (x *Field) GetTtlConfig() *Field_TtlConfig
- func (*Field) ProtoMessage()
- func (x *Field) ProtoReflect() protoreflect.Message
- func (x *Field) Reset()
- func (x *Field) String() string
- type FieldOperationMetadata
- func (*FieldOperationMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *FieldOperationMetadata) GetEndTime() *timestamp.Timestamp
- func (x *FieldOperationMetadata) GetField() string
- func (x *FieldOperationMetadata) GetIndexConfigDeltas() []*FieldOperationMetadata_IndexConfigDelta
- func (x *FieldOperationMetadata) GetProgressBytes() *Progress
- func (x *FieldOperationMetadata) GetProgressDocuments() *Progress
- func (x *FieldOperationMetadata) GetStartTime() *timestamp.Timestamp
- func (x *FieldOperationMetadata) GetState() OperationState
- func (x *FieldOperationMetadata) GetTtlConfigDelta() *FieldOperationMetadata_TtlConfigDelta
- func (*FieldOperationMetadata) ProtoMessage()
- func (x *FieldOperationMetadata) ProtoReflect() protoreflect.Message
- func (x *FieldOperationMetadata) Reset()
- func (x *FieldOperationMetadata) String() string
- type FieldOperationMetadata_IndexConfigDelta
- func (*FieldOperationMetadata_IndexConfigDelta) Descriptor() ([]byte, []int)deprecated
- func (x *FieldOperationMetadata_IndexConfigDelta) GetChangeType() FieldOperationMetadata_IndexConfigDelta_ChangeType
- func (x *FieldOperationMetadata_IndexConfigDelta) GetIndex() *Index
- func (*FieldOperationMetadata_IndexConfigDelta) ProtoMessage()
- func (x *FieldOperationMetadata_IndexConfigDelta) ProtoReflect() protoreflect.Message
- func (x *FieldOperationMetadata_IndexConfigDelta) Reset()
- func (x *FieldOperationMetadata_IndexConfigDelta) String() string
- type FieldOperationMetadata_IndexConfigDelta_ChangeType
- func (FieldOperationMetadata_IndexConfigDelta_ChangeType) Descriptor() protoreflect.EnumDescriptor
- func (x FieldOperationMetadata_IndexConfigDelta_ChangeType) Enum() *FieldOperationMetadata_IndexConfigDelta_ChangeType
- func (FieldOperationMetadata_IndexConfigDelta_ChangeType) EnumDescriptor() ([]byte, []int)deprecated
- func (x FieldOperationMetadata_IndexConfigDelta_ChangeType) Number() protoreflect.EnumNumber
- func (x FieldOperationMetadata_IndexConfigDelta_ChangeType) String() string
- func (FieldOperationMetadata_IndexConfigDelta_ChangeType) Type() protoreflect.EnumType
- type FieldOperationMetadata_TtlConfigDelta
- func (*FieldOperationMetadata_TtlConfigDelta) Descriptor() ([]byte, []int)deprecated
- func (x *FieldOperationMetadata_TtlConfigDelta) GetChangeType() FieldOperationMetadata_TtlConfigDelta_ChangeType
- func (*FieldOperationMetadata_TtlConfigDelta) ProtoMessage()
- func (x *FieldOperationMetadata_TtlConfigDelta) ProtoReflect() protoreflect.Message
- func (x *FieldOperationMetadata_TtlConfigDelta) Reset()
- func (x *FieldOperationMetadata_TtlConfigDelta) String() string
- type FieldOperationMetadata_TtlConfigDelta_ChangeType
- func (FieldOperationMetadata_TtlConfigDelta_ChangeType) Descriptor() protoreflect.EnumDescriptor
- func (x FieldOperationMetadata_TtlConfigDelta_ChangeType) Enum() *FieldOperationMetadata_TtlConfigDelta_ChangeType
- func (FieldOperationMetadata_TtlConfigDelta_ChangeType) EnumDescriptor() ([]byte, []int)deprecated
- func (x FieldOperationMetadata_TtlConfigDelta_ChangeType) Number() protoreflect.EnumNumber
- func (x FieldOperationMetadata_TtlConfigDelta_ChangeType) String() string
- func (FieldOperationMetadata_TtlConfigDelta_ChangeType) Type() protoreflect.EnumType
- type Field_IndexConfig
- func (*Field_IndexConfig) Descriptor() ([]byte, []int)deprecated
- func (x *Field_IndexConfig) GetAncestorField() string
- func (x *Field_IndexConfig) GetIndexes() []*Index
- func (x *Field_IndexConfig) GetReverting() bool
- func (x *Field_IndexConfig) GetUsesAncestorConfig() bool
- func (*Field_IndexConfig) ProtoMessage()
- func (x *Field_IndexConfig) ProtoReflect() protoreflect.Message
- func (x *Field_IndexConfig) Reset()
- func (x *Field_IndexConfig) String() string
- type Field_TtlConfig
- type Field_TtlConfig_State
- func (Field_TtlConfig_State) Descriptor() protoreflect.EnumDescriptor
- func (x Field_TtlConfig_State) Enum() *Field_TtlConfig_State
- func (Field_TtlConfig_State) EnumDescriptor() ([]byte, []int)deprecated
- func (x Field_TtlConfig_State) Number() protoreflect.EnumNumber
- func (x Field_TtlConfig_State) String() string
- func (Field_TtlConfig_State) Type() protoreflect.EnumType
- type FirestoreAdminClient
- type FirestoreAdminServer
- type GetBackupRequest
- type GetBackupScheduleRequest
- func (*GetBackupScheduleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetBackupScheduleRequest) GetName() string
- func (*GetBackupScheduleRequest) ProtoMessage()
- func (x *GetBackupScheduleRequest) ProtoReflect() protoreflect.Message
- func (x *GetBackupScheduleRequest) Reset()
- func (x *GetBackupScheduleRequest) String() string
- type GetDatabaseRequest
- func (*GetDatabaseRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetDatabaseRequest) GetName() string
- func (*GetDatabaseRequest) ProtoMessage()
- func (x *GetDatabaseRequest) ProtoReflect() protoreflect.Message
- func (x *GetDatabaseRequest) Reset()
- func (x *GetDatabaseRequest) String() string
- type GetFieldRequest
- type GetIndexRequest
- type ImportDocumentsMetadata
- func (*ImportDocumentsMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *ImportDocumentsMetadata) GetCollectionIds() []string
- func (x *ImportDocumentsMetadata) GetEndTime() *timestamp.Timestamp
- func (x *ImportDocumentsMetadata) GetInputUriPrefix() string
- func (x *ImportDocumentsMetadata) GetNamespaceIds() []string
- func (x *ImportDocumentsMetadata) GetOperationState() OperationState
- func (x *ImportDocumentsMetadata) GetProgressBytes() *Progress
- func (x *ImportDocumentsMetadata) GetProgressDocuments() *Progress
- func (x *ImportDocumentsMetadata) GetStartTime() *timestamp.Timestamp
- func (*ImportDocumentsMetadata) ProtoMessage()
- func (x *ImportDocumentsMetadata) ProtoReflect() protoreflect.Message
- func (x *ImportDocumentsMetadata) Reset()
- func (x *ImportDocumentsMetadata) String() string
- type ImportDocumentsRequest
- func (*ImportDocumentsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ImportDocumentsRequest) GetCollectionIds() []string
- func (x *ImportDocumentsRequest) GetInputUriPrefix() string
- func (x *ImportDocumentsRequest) GetName() string
- func (x *ImportDocumentsRequest) GetNamespaceIds() []string
- func (*ImportDocumentsRequest) ProtoMessage()
- func (x *ImportDocumentsRequest) ProtoReflect() protoreflect.Message
- func (x *ImportDocumentsRequest) Reset()
- func (x *ImportDocumentsRequest) String() string
- type Index
- func (*Index) Descriptor() ([]byte, []int)deprecated
- func (x *Index) GetApiScope() Index_ApiScope
- func (x *Index) GetFields() []*Index_IndexField
- func (x *Index) GetName() string
- func (x *Index) GetQueryScope() Index_QueryScope
- func (x *Index) GetState() Index_State
- func (*Index) ProtoMessage()
- func (x *Index) ProtoReflect() protoreflect.Message
- func (x *Index) Reset()
- func (x *Index) String() string
- type IndexOperationMetadata
- func (*IndexOperationMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *IndexOperationMetadata) GetEndTime() *timestamp.Timestamp
- func (x *IndexOperationMetadata) GetIndex() string
- func (x *IndexOperationMetadata) GetProgressBytes() *Progress
- func (x *IndexOperationMetadata) GetProgressDocuments() *Progress
- func (x *IndexOperationMetadata) GetStartTime() *timestamp.Timestamp
- func (x *IndexOperationMetadata) GetState() OperationState
- func (*IndexOperationMetadata) ProtoMessage()
- func (x *IndexOperationMetadata) ProtoReflect() protoreflect.Message
- func (x *IndexOperationMetadata) Reset()
- func (x *IndexOperationMetadata) String() string
- type Index_ApiScope
- func (Index_ApiScope) Descriptor() protoreflect.EnumDescriptor
- func (x Index_ApiScope) Enum() *Index_ApiScope
- func (Index_ApiScope) EnumDescriptor() ([]byte, []int)deprecated
- func (x Index_ApiScope) Number() protoreflect.EnumNumber
- func (x Index_ApiScope) String() string
- func (Index_ApiScope) Type() protoreflect.EnumType
- type Index_IndexField
- func (*Index_IndexField) Descriptor() ([]byte, []int)deprecated
- func (x *Index_IndexField) GetArrayConfig() Index_IndexField_ArrayConfig
- func (x *Index_IndexField) GetFieldPath() string
- func (x *Index_IndexField) GetOrder() Index_IndexField_Order
- func (m *Index_IndexField) GetValueMode() isIndex_IndexField_ValueMode
- func (x *Index_IndexField) GetVectorConfig() *Index_IndexField_VectorConfig
- func (*Index_IndexField) ProtoMessage()
- func (x *Index_IndexField) ProtoReflect() protoreflect.Message
- func (x *Index_IndexField) Reset()
- func (x *Index_IndexField) String() string
- type Index_IndexField_ArrayConfig
- func (Index_IndexField_ArrayConfig) Descriptor() protoreflect.EnumDescriptor
- func (x Index_IndexField_ArrayConfig) Enum() *Index_IndexField_ArrayConfig
- func (Index_IndexField_ArrayConfig) EnumDescriptor() ([]byte, []int)deprecated
- func (x Index_IndexField_ArrayConfig) Number() protoreflect.EnumNumber
- func (x Index_IndexField_ArrayConfig) String() string
- func (Index_IndexField_ArrayConfig) Type() protoreflect.EnumType
- type Index_IndexField_ArrayConfig_
- type Index_IndexField_Order
- func (Index_IndexField_Order) Descriptor() protoreflect.EnumDescriptor
- func (x Index_IndexField_Order) Enum() *Index_IndexField_Order
- func (Index_IndexField_Order) EnumDescriptor() ([]byte, []int)deprecated
- func (x Index_IndexField_Order) Number() protoreflect.EnumNumber
- func (x Index_IndexField_Order) String() string
- func (Index_IndexField_Order) Type() protoreflect.EnumType
- type Index_IndexField_Order_
- type Index_IndexField_VectorConfig
- func (*Index_IndexField_VectorConfig) Descriptor() ([]byte, []int)deprecated
- func (x *Index_IndexField_VectorConfig) GetDimension() int32
- func (x *Index_IndexField_VectorConfig) GetFlat() *Index_IndexField_VectorConfig_FlatIndex
- func (m *Index_IndexField_VectorConfig) GetType() isIndex_IndexField_VectorConfig_Type
- func (*Index_IndexField_VectorConfig) ProtoMessage()
- func (x *Index_IndexField_VectorConfig) ProtoReflect() protoreflect.Message
- func (x *Index_IndexField_VectorConfig) Reset()
- func (x *Index_IndexField_VectorConfig) String() string
- type Index_IndexField_VectorConfig_
- type Index_IndexField_VectorConfig_Flat
- type Index_IndexField_VectorConfig_FlatIndex
- func (*Index_IndexField_VectorConfig_FlatIndex) Descriptor() ([]byte, []int)deprecated
- func (*Index_IndexField_VectorConfig_FlatIndex) ProtoMessage()
- func (x *Index_IndexField_VectorConfig_FlatIndex) ProtoReflect() protoreflect.Message
- func (x *Index_IndexField_VectorConfig_FlatIndex) Reset()
- func (x *Index_IndexField_VectorConfig_FlatIndex) String() string
- type Index_QueryScope
- func (Index_QueryScope) Descriptor() protoreflect.EnumDescriptor
- func (x Index_QueryScope) Enum() *Index_QueryScope
- func (Index_QueryScope) EnumDescriptor() ([]byte, []int)deprecated
- func (x Index_QueryScope) Number() protoreflect.EnumNumber
- func (x Index_QueryScope) String() string
- func (Index_QueryScope) Type() protoreflect.EnumType
- type Index_State
- func (Index_State) Descriptor() protoreflect.EnumDescriptor
- func (x Index_State) Enum() *Index_State
- func (Index_State) EnumDescriptor() ([]byte, []int)deprecated
- func (x Index_State) Number() protoreflect.EnumNumber
- func (x Index_State) String() string
- func (Index_State) Type() protoreflect.EnumType
- type ListBackupSchedulesRequest
- func (*ListBackupSchedulesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListBackupSchedulesRequest) GetParent() string
- func (*ListBackupSchedulesRequest) ProtoMessage()
- func (x *ListBackupSchedulesRequest) ProtoReflect() protoreflect.Message
- func (x *ListBackupSchedulesRequest) Reset()
- func (x *ListBackupSchedulesRequest) String() string
- type ListBackupSchedulesResponse
- func (*ListBackupSchedulesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListBackupSchedulesResponse) GetBackupSchedules() []*BackupSchedule
- func (*ListBackupSchedulesResponse) ProtoMessage()
- func (x *ListBackupSchedulesResponse) ProtoReflect() protoreflect.Message
- func (x *ListBackupSchedulesResponse) Reset()
- func (x *ListBackupSchedulesResponse) String() string
- type ListBackupsRequest
- func (*ListBackupsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListBackupsRequest) GetParent() string
- func (*ListBackupsRequest) ProtoMessage()
- func (x *ListBackupsRequest) ProtoReflect() protoreflect.Message
- func (x *ListBackupsRequest) Reset()
- func (x *ListBackupsRequest) String() string
- type ListBackupsResponse
- func (*ListBackupsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListBackupsResponse) GetBackups() []*Backup
- func (x *ListBackupsResponse) GetUnreachable() []string
- func (*ListBackupsResponse) ProtoMessage()
- func (x *ListBackupsResponse) ProtoReflect() protoreflect.Message
- func (x *ListBackupsResponse) Reset()
- func (x *ListBackupsResponse) String() string
- type ListDatabasesRequest
- func (*ListDatabasesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListDatabasesRequest) GetParent() string
- func (x *ListDatabasesRequest) GetShowDeleted() bool
- func (*ListDatabasesRequest) ProtoMessage()
- func (x *ListDatabasesRequest) ProtoReflect() protoreflect.Message
- func (x *ListDatabasesRequest) Reset()
- func (x *ListDatabasesRequest) String() string
- type ListDatabasesResponse
- func (*ListDatabasesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListDatabasesResponse) GetDatabases() []*Database
- func (x *ListDatabasesResponse) GetUnreachable() []string
- func (*ListDatabasesResponse) ProtoMessage()
- func (x *ListDatabasesResponse) ProtoReflect() protoreflect.Message
- func (x *ListDatabasesResponse) Reset()
- func (x *ListDatabasesResponse) String() string
- type ListFieldsRequest
- func (*ListFieldsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListFieldsRequest) GetFilter() string
- func (x *ListFieldsRequest) GetPageSize() int32
- func (x *ListFieldsRequest) GetPageToken() string
- func (x *ListFieldsRequest) GetParent() string
- func (*ListFieldsRequest) ProtoMessage()
- func (x *ListFieldsRequest) ProtoReflect() protoreflect.Message
- func (x *ListFieldsRequest) Reset()
- func (x *ListFieldsRequest) String() string
- type ListFieldsResponse
- func (*ListFieldsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListFieldsResponse) GetFields() []*Field
- func (x *ListFieldsResponse) GetNextPageToken() string
- func (*ListFieldsResponse) ProtoMessage()
- func (x *ListFieldsResponse) ProtoReflect() protoreflect.Message
- func (x *ListFieldsResponse) Reset()
- func (x *ListFieldsResponse) String() string
- type ListIndexesRequest
- func (*ListIndexesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListIndexesRequest) GetFilter() string
- func (x *ListIndexesRequest) GetPageSize() int32
- func (x *ListIndexesRequest) GetPageToken() string
- func (x *ListIndexesRequest) GetParent() string
- func (*ListIndexesRequest) ProtoMessage()
- func (x *ListIndexesRequest) ProtoReflect() protoreflect.Message
- func (x *ListIndexesRequest) Reset()
- func (x *ListIndexesRequest) String() string
- type ListIndexesResponse
- func (*ListIndexesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListIndexesResponse) GetIndexes() []*Index
- func (x *ListIndexesResponse) GetNextPageToken() string
- func (*ListIndexesResponse) ProtoMessage()
- func (x *ListIndexesResponse) ProtoReflect() protoreflect.Message
- func (x *ListIndexesResponse) Reset()
- func (x *ListIndexesResponse) String() string
- type LocationMetadata
- type OperationState
- func (OperationState) Descriptor() protoreflect.EnumDescriptor
- func (x OperationState) Enum() *OperationState
- func (OperationState) EnumDescriptor() ([]byte, []int)deprecated
- func (x OperationState) Number() protoreflect.EnumNumber
- func (x OperationState) String() string
- func (OperationState) Type() protoreflect.EnumType
- type Progress
- type RestoreDatabaseMetadata
- func (*RestoreDatabaseMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *RestoreDatabaseMetadata) GetBackup() string
- func (x *RestoreDatabaseMetadata) GetDatabase() string
- func (x *RestoreDatabaseMetadata) GetEndTime() *timestamp.Timestamp
- func (x *RestoreDatabaseMetadata) GetOperationState() OperationState
- func (x *RestoreDatabaseMetadata) GetProgressPercentage() *Progress
- func (x *RestoreDatabaseMetadata) GetStartTime() *timestamp.Timestamp
- func (*RestoreDatabaseMetadata) ProtoMessage()
- func (x *RestoreDatabaseMetadata) ProtoReflect() protoreflect.Message
- func (x *RestoreDatabaseMetadata) Reset()
- func (x *RestoreDatabaseMetadata) String() string
- type RestoreDatabaseRequest
- func (*RestoreDatabaseRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RestoreDatabaseRequest) GetBackup() string
- func (x *RestoreDatabaseRequest) GetDatabaseId() string
- func (x *RestoreDatabaseRequest) GetEncryptionConfig() *Database_EncryptionConfig
- func (x *RestoreDatabaseRequest) GetParent() string
- func (*RestoreDatabaseRequest) ProtoMessage()
- func (x *RestoreDatabaseRequest) ProtoReflect() protoreflect.Message
- func (x *RestoreDatabaseRequest) Reset()
- func (x *RestoreDatabaseRequest) String() string
- type UnimplementedFirestoreAdminServer
- func (UnimplementedFirestoreAdminServer) BulkDeleteDocuments(context.Context, *BulkDeleteDocumentsRequest) (*longrunningpb.Operation, error)
- func (UnimplementedFirestoreAdminServer) CreateBackupSchedule(context.Context, *CreateBackupScheduleRequest) (*BackupSchedule, error)
- func (UnimplementedFirestoreAdminServer) CreateDatabase(context.Context, *CreateDatabaseRequest) (*longrunningpb.Operation, error)
- func (UnimplementedFirestoreAdminServer) CreateIndex(context.Context, *CreateIndexRequest) (*longrunningpb.Operation, error)
- func (UnimplementedFirestoreAdminServer) DeleteBackup(context.Context, *DeleteBackupRequest) (*empty.Empty, error)
- func (UnimplementedFirestoreAdminServer) DeleteBackupSchedule(context.Context, *DeleteBackupScheduleRequest) (*empty.Empty, error)
- func (UnimplementedFirestoreAdminServer) DeleteDatabase(context.Context, *DeleteDatabaseRequest) (*longrunningpb.Operation, error)
- func (UnimplementedFirestoreAdminServer) DeleteIndex(context.Context, *DeleteIndexRequest) (*empty.Empty, error)
- func (UnimplementedFirestoreAdminServer) ExportDocuments(context.Context, *ExportDocumentsRequest) (*longrunningpb.Operation, error)
- func (UnimplementedFirestoreAdminServer) GetBackup(context.Context, *GetBackupRequest) (*Backup, error)
- func (UnimplementedFirestoreAdminServer) GetBackupSchedule(context.Context, *GetBackupScheduleRequest) (*BackupSchedule, error)
- func (UnimplementedFirestoreAdminServer) GetDatabase(context.Context, *GetDatabaseRequest) (*Database, error)
- func (UnimplementedFirestoreAdminServer) GetField(context.Context, *GetFieldRequest) (*Field, error)
- func (UnimplementedFirestoreAdminServer) GetIndex(context.Context, *GetIndexRequest) (*Index, error)
- func (UnimplementedFirestoreAdminServer) ImportDocuments(context.Context, *ImportDocumentsRequest) (*longrunningpb.Operation, error)
- func (UnimplementedFirestoreAdminServer) ListBackupSchedules(context.Context, *ListBackupSchedulesRequest) (*ListBackupSchedulesResponse, error)
- func (UnimplementedFirestoreAdminServer) ListBackups(context.Context, *ListBackupsRequest) (*ListBackupsResponse, error)
- func (UnimplementedFirestoreAdminServer) ListDatabases(context.Context, *ListDatabasesRequest) (*ListDatabasesResponse, error)
- func (UnimplementedFirestoreAdminServer) ListFields(context.Context, *ListFieldsRequest) (*ListFieldsResponse, error)
- func (UnimplementedFirestoreAdminServer) ListIndexes(context.Context, *ListIndexesRequest) (*ListIndexesResponse, error)
- func (UnimplementedFirestoreAdminServer) RestoreDatabase(context.Context, *RestoreDatabaseRequest) (*longrunningpb.Operation, error)
- func (UnimplementedFirestoreAdminServer) UpdateBackupSchedule(context.Context, *UpdateBackupScheduleRequest) (*BackupSchedule, error)
- func (UnimplementedFirestoreAdminServer) UpdateDatabase(context.Context, *UpdateDatabaseRequest) (*longrunningpb.Operation, error)
- func (UnimplementedFirestoreAdminServer) UpdateField(context.Context, *UpdateFieldRequest) (*longrunningpb.Operation, error)
- type UnsafeFirestoreAdminServer
- type UpdateBackupScheduleRequest
- func (*UpdateBackupScheduleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateBackupScheduleRequest) GetBackupSchedule() *BackupSchedule
- func (x *UpdateBackupScheduleRequest) GetUpdateMask() *field_mask.FieldMask
- func (*UpdateBackupScheduleRequest) ProtoMessage()
- func (x *UpdateBackupScheduleRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateBackupScheduleRequest) Reset()
- func (x *UpdateBackupScheduleRequest) String() string
- type UpdateDatabaseMetadata
- type UpdateDatabaseRequest
- func (*UpdateDatabaseRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateDatabaseRequest) GetDatabase() *Database
- func (x *UpdateDatabaseRequest) GetUpdateMask() *field_mask.FieldMask
- func (*UpdateDatabaseRequest) ProtoMessage()
- func (x *UpdateDatabaseRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateDatabaseRequest) Reset()
- func (x *UpdateDatabaseRequest) String() string
- type UpdateFieldRequest
- func (*UpdateFieldRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateFieldRequest) GetField() *Field
- func (x *UpdateFieldRequest) GetUpdateMask() *field_mask.FieldMask
- func (*UpdateFieldRequest) ProtoMessage()
- func (x *UpdateFieldRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateFieldRequest) Reset()
- func (x *UpdateFieldRequest) String() string
- type WeeklyRecurrence
- func (*WeeklyRecurrence) Descriptor() ([]byte, []int)deprecated
- func (x *WeeklyRecurrence) GetDay() dayofweek.DayOfWeek
- func (*WeeklyRecurrence) ProtoMessage()
- func (x *WeeklyRecurrence) ProtoReflect() protoreflect.Message
- func (x *WeeklyRecurrence) Reset()
- func (x *WeeklyRecurrence) String() string
Constants ¶
This section is empty.
Variables ¶
var ( Backup_State_name = map[int32]string{ 0: "STATE_UNSPECIFIED", 1: "CREATING", 2: "READY", 3: "NOT_AVAILABLE", } Backup_State_value = map[string]int32{ "STATE_UNSPECIFIED": 0, "CREATING": 1, "READY": 2, "NOT_AVAILABLE": 3, } )
Enum value maps for Backup_State.
var ( Database_DatabaseType_name = map[int32]string{ 0: "DATABASE_TYPE_UNSPECIFIED", 1: "FIRESTORE_NATIVE", 2: "DATASTORE_MODE", } Database_DatabaseType_value = map[string]int32{ "DATABASE_TYPE_UNSPECIFIED": 0, "FIRESTORE_NATIVE": 1, "DATASTORE_MODE": 2, } )
Enum value maps for Database_DatabaseType.
var ( Database_ConcurrencyMode_name = map[int32]string{ 0: "CONCURRENCY_MODE_UNSPECIFIED", 1: "OPTIMISTIC", 2: "PESSIMISTIC", 3: "OPTIMISTIC_WITH_ENTITY_GROUPS", } Database_ConcurrencyMode_value = map[string]int32{ "CONCURRENCY_MODE_UNSPECIFIED": 0, "OPTIMISTIC": 1, "PESSIMISTIC": 2, "OPTIMISTIC_WITH_ENTITY_GROUPS": 3, } )
Enum value maps for Database_ConcurrencyMode.
var ( Database_PointInTimeRecoveryEnablement_name = map[int32]string{ 0: "POINT_IN_TIME_RECOVERY_ENABLEMENT_UNSPECIFIED", 1: "POINT_IN_TIME_RECOVERY_ENABLED", 2: "POINT_IN_TIME_RECOVERY_DISABLED", } Database_PointInTimeRecoveryEnablement_value = map[string]int32{ "POINT_IN_TIME_RECOVERY_ENABLEMENT_UNSPECIFIED": 0, "POINT_IN_TIME_RECOVERY_ENABLED": 1, "POINT_IN_TIME_RECOVERY_DISABLED": 2, } )
Enum value maps for Database_PointInTimeRecoveryEnablement.
var ( Database_AppEngineIntegrationMode_name = map[int32]string{ 0: "APP_ENGINE_INTEGRATION_MODE_UNSPECIFIED", 1: "ENABLED", 2: "DISABLED", } Database_AppEngineIntegrationMode_value = map[string]int32{ "APP_ENGINE_INTEGRATION_MODE_UNSPECIFIED": 0, "ENABLED": 1, "DISABLED": 2, } )
Enum value maps for Database_AppEngineIntegrationMode.
var ( Database_DeleteProtectionState_name = map[int32]string{ 0: "DELETE_PROTECTION_STATE_UNSPECIFIED", 1: "DELETE_PROTECTION_DISABLED", 2: "DELETE_PROTECTION_ENABLED", } Database_DeleteProtectionState_value = map[string]int32{ "DELETE_PROTECTION_STATE_UNSPECIFIED": 0, "DELETE_PROTECTION_DISABLED": 1, "DELETE_PROTECTION_ENABLED": 2, } )
Enum value maps for Database_DeleteProtectionState.
var ( Field_TtlConfig_State_name = map[int32]string{ 0: "STATE_UNSPECIFIED", 1: "CREATING", 2: "ACTIVE", 3: "NEEDS_REPAIR", } Field_TtlConfig_State_value = map[string]int32{ "STATE_UNSPECIFIED": 0, "CREATING": 1, "ACTIVE": 2, "NEEDS_REPAIR": 3, } )
Enum value maps for Field_TtlConfig_State.
var ( Index_QueryScope_name = map[int32]string{ 0: "QUERY_SCOPE_UNSPECIFIED", 1: "COLLECTION", 2: "COLLECTION_GROUP", 3: "COLLECTION_RECURSIVE", } Index_QueryScope_value = map[string]int32{ "QUERY_SCOPE_UNSPECIFIED": 0, "COLLECTION": 1, "COLLECTION_GROUP": 2, "COLLECTION_RECURSIVE": 3, } )
Enum value maps for Index_QueryScope.
var ( Index_ApiScope_name = map[int32]string{ 0: "ANY_API", 1: "DATASTORE_MODE_API", } Index_ApiScope_value = map[string]int32{ "ANY_API": 0, "DATASTORE_MODE_API": 1, } )
Enum value maps for Index_ApiScope.
var ( Index_State_name = map[int32]string{ 0: "STATE_UNSPECIFIED", 1: "CREATING", 2: "READY", 3: "NEEDS_REPAIR", } Index_State_value = map[string]int32{ "STATE_UNSPECIFIED": 0, "CREATING": 1, "READY": 2, "NEEDS_REPAIR": 3, } )
Enum value maps for Index_State.
var ( Index_IndexField_Order_name = map[int32]string{ 0: "ORDER_UNSPECIFIED", 1: "ASCENDING", 2: "DESCENDING", } Index_IndexField_Order_value = map[string]int32{ "ORDER_UNSPECIFIED": 0, "ASCENDING": 1, "DESCENDING": 2, } )
Enum value maps for Index_IndexField_Order.
var ( Index_IndexField_ArrayConfig_name = map[int32]string{ 0: "ARRAY_CONFIG_UNSPECIFIED", 1: "CONTAINS", } Index_IndexField_ArrayConfig_value = map[string]int32{ "ARRAY_CONFIG_UNSPECIFIED": 0, "CONTAINS": 1, } )
Enum value maps for Index_IndexField_ArrayConfig.
var ( OperationState_name = map[int32]string{ 0: "OPERATION_STATE_UNSPECIFIED", 1: "INITIALIZING", 2: "PROCESSING", 3: "CANCELLING", 4: "FINALIZING", 5: "SUCCESSFUL", 6: "FAILED", 7: "CANCELLED", } OperationState_value = map[string]int32{ "OPERATION_STATE_UNSPECIFIED": 0, "INITIALIZING": 1, "PROCESSING": 2, "CANCELLING": 3, "FINALIZING": 4, "SUCCESSFUL": 5, "FAILED": 6, "CANCELLED": 7, } )
Enum value maps for OperationState.
var ( FieldOperationMetadata_IndexConfigDelta_ChangeType_name = map[int32]string{ 0: "CHANGE_TYPE_UNSPECIFIED", 1: "ADD", 2: "REMOVE", } FieldOperationMetadata_IndexConfigDelta_ChangeType_value = map[string]int32{ "CHANGE_TYPE_UNSPECIFIED": 0, "ADD": 1, "REMOVE": 2, } )
Enum value maps for FieldOperationMetadata_IndexConfigDelta_ChangeType.
var ( FieldOperationMetadata_TtlConfigDelta_ChangeType_name = map[int32]string{ 0: "CHANGE_TYPE_UNSPECIFIED", 1: "ADD", 2: "REMOVE", } FieldOperationMetadata_TtlConfigDelta_ChangeType_value = map[string]int32{ "CHANGE_TYPE_UNSPECIFIED": 0, "ADD": 1, "REMOVE": 2, } )
Enum value maps for FieldOperationMetadata_TtlConfigDelta_ChangeType.
var File_mockgcp_firestore_admin_v1_backup_proto protoreflect.FileDescriptor
var File_mockgcp_firestore_admin_v1_database_proto protoreflect.FileDescriptor
var File_mockgcp_firestore_admin_v1_field_proto protoreflect.FileDescriptor
var File_mockgcp_firestore_admin_v1_firestore_admin_proto protoreflect.FileDescriptor
var File_mockgcp_firestore_admin_v1_index_proto protoreflect.FileDescriptor
var File_mockgcp_firestore_admin_v1_location_proto protoreflect.FileDescriptor
var File_mockgcp_firestore_admin_v1_operation_proto protoreflect.FileDescriptor
var File_mockgcp_firestore_admin_v1_schedule_proto protoreflect.FileDescriptor
var FirestoreAdmin_ServiceDesc = grpc.ServiceDesc{ ServiceName: "mockgcp.firestore.admin.v1.FirestoreAdmin", HandlerType: (*FirestoreAdminServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateIndex", Handler: _FirestoreAdmin_CreateIndex_Handler, }, { MethodName: "ListIndexes", Handler: _FirestoreAdmin_ListIndexes_Handler, }, { MethodName: "GetIndex", Handler: _FirestoreAdmin_GetIndex_Handler, }, { MethodName: "DeleteIndex", Handler: _FirestoreAdmin_DeleteIndex_Handler, }, { MethodName: "GetField", Handler: _FirestoreAdmin_GetField_Handler, }, { MethodName: "UpdateField", Handler: _FirestoreAdmin_UpdateField_Handler, }, { MethodName: "ListFields", Handler: _FirestoreAdmin_ListFields_Handler, }, { MethodName: "ExportDocuments", Handler: _FirestoreAdmin_ExportDocuments_Handler, }, { MethodName: "ImportDocuments", Handler: _FirestoreAdmin_ImportDocuments_Handler, }, { MethodName: "BulkDeleteDocuments", Handler: _FirestoreAdmin_BulkDeleteDocuments_Handler, }, { MethodName: "CreateDatabase", Handler: _FirestoreAdmin_CreateDatabase_Handler, }, { MethodName: "GetDatabase", Handler: _FirestoreAdmin_GetDatabase_Handler, }, { MethodName: "ListDatabases", Handler: _FirestoreAdmin_ListDatabases_Handler, }, { MethodName: "UpdateDatabase", Handler: _FirestoreAdmin_UpdateDatabase_Handler, }, { MethodName: "DeleteDatabase", Handler: _FirestoreAdmin_DeleteDatabase_Handler, }, { MethodName: "GetBackup", Handler: _FirestoreAdmin_GetBackup_Handler, }, { MethodName: "ListBackups", Handler: _FirestoreAdmin_ListBackups_Handler, }, { MethodName: "DeleteBackup", Handler: _FirestoreAdmin_DeleteBackup_Handler, }, { MethodName: "RestoreDatabase", Handler: _FirestoreAdmin_RestoreDatabase_Handler, }, { MethodName: "CreateBackupSchedule", Handler: _FirestoreAdmin_CreateBackupSchedule_Handler, }, { MethodName: "GetBackupSchedule", Handler: _FirestoreAdmin_GetBackupSchedule_Handler, }, { MethodName: "ListBackupSchedules", Handler: _FirestoreAdmin_ListBackupSchedules_Handler, }, { MethodName: "UpdateBackupSchedule", Handler: _FirestoreAdmin_UpdateBackupSchedule_Handler, }, { MethodName: "DeleteBackupSchedule", Handler: _FirestoreAdmin_DeleteBackupSchedule_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "mockgcp/firestore/admin/v1/firestore_admin.proto", }
FirestoreAdmin_ServiceDesc is the grpc.ServiceDesc for FirestoreAdmin service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterFirestoreAdminHandler ¶
func RegisterFirestoreAdminHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterFirestoreAdminHandler registers the http handlers for service FirestoreAdmin to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterFirestoreAdminHandlerClient ¶
func RegisterFirestoreAdminHandlerClient(ctx context.Context, mux *runtime.ServeMux, client FirestoreAdminClient) error
RegisterFirestoreAdminHandlerClient registers the http handlers for service FirestoreAdmin to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "FirestoreAdminClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "FirestoreAdminClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "FirestoreAdminClient" to call the correct interceptors.
func RegisterFirestoreAdminHandlerFromEndpoint ¶
func RegisterFirestoreAdminHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterFirestoreAdminHandlerFromEndpoint is same as RegisterFirestoreAdminHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterFirestoreAdminHandlerServer ¶
func RegisterFirestoreAdminHandlerServer(ctx context.Context, mux *runtime.ServeMux, server FirestoreAdminServer) error
RegisterFirestoreAdminHandlerServer registers the http handlers for service FirestoreAdmin to "mux". UnaryRPC :call FirestoreAdminServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterFirestoreAdminHandlerFromEndpoint instead.
func RegisterFirestoreAdminServer ¶
func RegisterFirestoreAdminServer(s grpc.ServiceRegistrar, srv FirestoreAdminServer)
Types ¶
type Backup ¶
type Backup struct { // Output only. The unique resource name of the Backup. // // Format is `projects/{project}/locations/{location}/backups/{backup}`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Output only. Name of the Firestore database that the backup is from. // // Format is `projects/{project}/databases/{database}`. Database string `protobuf:"bytes,2,opt,name=database,proto3" json:"database,omitempty"` // Output only. The system-generated UUID4 for the Firestore database that the // backup is from. DatabaseUid string `protobuf:"bytes,7,opt,name=database_uid,json=databaseUid,proto3" json:"database_uid,omitempty"` // Output only. The backup contains an externally consistent copy of the // database at this time. SnapshotTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=snapshot_time,json=snapshotTime,proto3" json:"snapshot_time,omitempty"` // Output only. The timestamp at which this backup expires. ExpireTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=expire_time,json=expireTime,proto3" json:"expire_time,omitempty"` // Output only. Statistics about the backup. // // This data only becomes available after the backup is fully materialized to // secondary storage. This field will be empty till then. Stats *Backup_Stats `protobuf:"bytes,6,opt,name=stats,proto3" json:"stats,omitempty"` // Output only. The current state of the backup. State Backup_State `protobuf:"varint,8,opt,name=state,proto3,enum=mockgcp.firestore.admin.v1.Backup_State" json:"state,omitempty"` // contains filtered or unexported fields }
A Backup of a Cloud Firestore Database.
The backup contains all documents and index configurations for the given database at a specific point in time.
func (*Backup) Descriptor
deprecated
func (*Backup) GetDatabase ¶
func (*Backup) GetDatabaseUid ¶
func (*Backup) GetExpireTime ¶
func (*Backup) GetSnapshotTime ¶
func (*Backup) GetState ¶
func (x *Backup) GetState() Backup_State
func (*Backup) GetStats ¶
func (x *Backup) GetStats() *Backup_Stats
func (*Backup) ProtoMessage ¶
func (*Backup) ProtoMessage()
func (*Backup) ProtoReflect ¶
func (x *Backup) ProtoReflect() protoreflect.Message
type BackupSchedule ¶
type BackupSchedule struct { // Output only. The unique backup schedule identifier across all locations and // databases for the given project. // // This will be auto-assigned. // // Format is // `projects/{project}/databases/{database}/backupSchedules/{backup_schedule}` Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Output only. The timestamp at which this backup schedule was created and // effective since. // // No backups will be created for this schedule before this time. CreateTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Output only. The timestamp at which this backup schedule was most recently // updated. When a backup schedule is first created, this is the same as // create_time. UpdateTime *timestamp.Timestamp `protobuf:"bytes,10,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // At what relative time in the future, compared to its creation time, // the backup should be deleted, e.g. keep backups for 7 days. // // The maximum supported retention period is 14 weeks. Retention *duration.Duration `protobuf:"bytes,6,opt,name=retention,proto3" json:"retention,omitempty"` // A oneof field to represent when backups will be taken. // // Types that are assignable to Recurrence: // // *BackupSchedule_DailyRecurrence // *BackupSchedule_WeeklyRecurrence Recurrence isBackupSchedule_Recurrence `protobuf_oneof:"recurrence"` // contains filtered or unexported fields }
A backup schedule for a Cloud Firestore Database.
This resource is owned by the database it is backing up, and is deleted along with the database. The actual backups are not though.
func (*BackupSchedule) Descriptor
deprecated
func (*BackupSchedule) Descriptor() ([]byte, []int)
Deprecated: Use BackupSchedule.ProtoReflect.Descriptor instead.
func (*BackupSchedule) GetCreateTime ¶
func (x *BackupSchedule) GetCreateTime() *timestamp.Timestamp
func (*BackupSchedule) GetDailyRecurrence ¶
func (x *BackupSchedule) GetDailyRecurrence() *DailyRecurrence
func (*BackupSchedule) GetName ¶
func (x *BackupSchedule) GetName() string
func (*BackupSchedule) GetRecurrence ¶
func (m *BackupSchedule) GetRecurrence() isBackupSchedule_Recurrence
func (*BackupSchedule) GetRetention ¶
func (x *BackupSchedule) GetRetention() *duration.Duration
func (*BackupSchedule) GetUpdateTime ¶
func (x *BackupSchedule) GetUpdateTime() *timestamp.Timestamp
func (*BackupSchedule) GetWeeklyRecurrence ¶
func (x *BackupSchedule) GetWeeklyRecurrence() *WeeklyRecurrence
func (*BackupSchedule) ProtoMessage ¶
func (*BackupSchedule) ProtoMessage()
func (*BackupSchedule) ProtoReflect ¶
func (x *BackupSchedule) ProtoReflect() protoreflect.Message
func (*BackupSchedule) Reset ¶
func (x *BackupSchedule) Reset()
func (*BackupSchedule) String ¶
func (x *BackupSchedule) String() string
type BackupSchedule_DailyRecurrence ¶
type BackupSchedule_DailyRecurrence struct { // For a schedule that runs daily. DailyRecurrence *DailyRecurrence `protobuf:"bytes,7,opt,name=daily_recurrence,json=dailyRecurrence,proto3,oneof"` }
type BackupSchedule_WeeklyRecurrence ¶
type BackupSchedule_WeeklyRecurrence struct { // For a schedule that runs weekly on a specific day. WeeklyRecurrence *WeeklyRecurrence `protobuf:"bytes,8,opt,name=weekly_recurrence,json=weeklyRecurrence,proto3,oneof"` }
type Backup_State ¶
type Backup_State int32
Indicate the current state of the backup.
const ( // The state is unspecified. Backup_STATE_UNSPECIFIED Backup_State = 0 // The pending backup is still being created. Operations on the // backup will be rejected in this state. Backup_CREATING Backup_State = 1 // The backup is complete and ready to use. Backup_READY Backup_State = 2 // The backup is not available at this moment. Backup_NOT_AVAILABLE Backup_State = 3 )
func (Backup_State) Descriptor ¶
func (Backup_State) Descriptor() protoreflect.EnumDescriptor
func (Backup_State) Enum ¶
func (x Backup_State) Enum() *Backup_State
func (Backup_State) EnumDescriptor
deprecated
func (Backup_State) EnumDescriptor() ([]byte, []int)
Deprecated: Use Backup_State.Descriptor instead.
func (Backup_State) Number ¶
func (x Backup_State) Number() protoreflect.EnumNumber
func (Backup_State) String ¶
func (x Backup_State) String() string
func (Backup_State) Type ¶
func (Backup_State) Type() protoreflect.EnumType
type Backup_Stats ¶
type Backup_Stats struct { // Output only. Summation of the size of all documents and index entries in // the backup, measured in bytes. SizeBytes int64 `protobuf:"varint,1,opt,name=size_bytes,json=sizeBytes,proto3" json:"size_bytes,omitempty"` // Output only. The total number of documents contained in the backup. DocumentCount int64 `protobuf:"varint,2,opt,name=document_count,json=documentCount,proto3" json:"document_count,omitempty"` // Output only. The total number of index entries contained in the backup. IndexCount int64 `protobuf:"varint,3,opt,name=index_count,json=indexCount,proto3" json:"index_count,omitempty"` // contains filtered or unexported fields }
Backup specific statistics.
func (*Backup_Stats) Descriptor
deprecated
func (*Backup_Stats) Descriptor() ([]byte, []int)
Deprecated: Use Backup_Stats.ProtoReflect.Descriptor instead.
func (*Backup_Stats) GetDocumentCount ¶
func (x *Backup_Stats) GetDocumentCount() int64
func (*Backup_Stats) GetIndexCount ¶
func (x *Backup_Stats) GetIndexCount() int64
func (*Backup_Stats) GetSizeBytes ¶
func (x *Backup_Stats) GetSizeBytes() int64
func (*Backup_Stats) ProtoMessage ¶
func (*Backup_Stats) ProtoMessage()
func (*Backup_Stats) ProtoReflect ¶
func (x *Backup_Stats) ProtoReflect() protoreflect.Message
func (*Backup_Stats) Reset ¶
func (x *Backup_Stats) Reset()
func (*Backup_Stats) String ¶
func (x *Backup_Stats) String() string
type BulkDeleteDocumentsMetadata ¶
type BulkDeleteDocumentsMetadata struct { // The time this operation started. StartTime *timestamp.Timestamp `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` // The time this operation completed. Will be unset if operation still in // progress. EndTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` // The state of the operation. OperationState OperationState `` /* 151-byte string literal not displayed */ // The progress, in documents, of this operation. ProgressDocuments *Progress `protobuf:"bytes,4,opt,name=progress_documents,json=progressDocuments,proto3" json:"progress_documents,omitempty"` // The progress, in bytes, of this operation. ProgressBytes *Progress `protobuf:"bytes,5,opt,name=progress_bytes,json=progressBytes,proto3" json:"progress_bytes,omitempty"` // The IDs of the collection groups that are being deleted. CollectionIds []string `protobuf:"bytes,6,rep,name=collection_ids,json=collectionIds,proto3" json:"collection_ids,omitempty"` // Which namespace IDs are being deleted. NamespaceIds []string `protobuf:"bytes,7,rep,name=namespace_ids,json=namespaceIds,proto3" json:"namespace_ids,omitempty"` // The timestamp that corresponds to the version of the database that is being // read to get the list of documents to delete. This time can also be used as // the timestamp of PITR in case of disaster recovery (subject to PITR window // limit). SnapshotTime *timestamp.Timestamp `protobuf:"bytes,8,opt,name=snapshot_time,json=snapshotTime,proto3" json:"snapshot_time,omitempty"` // contains filtered or unexported fields }
Metadata for [google.longrunning.Operation][google.longrunning.Operation] results from [FirestoreAdmin.BulkDeleteDocuments][mockgcp.firestore.admin.v1.FirestoreAdmin.BulkDeleteDocuments].
func (*BulkDeleteDocumentsMetadata) Descriptor
deprecated
func (*BulkDeleteDocumentsMetadata) Descriptor() ([]byte, []int)
Deprecated: Use BulkDeleteDocumentsMetadata.ProtoReflect.Descriptor instead.
func (*BulkDeleteDocumentsMetadata) GetCollectionIds ¶
func (x *BulkDeleteDocumentsMetadata) GetCollectionIds() []string
func (*BulkDeleteDocumentsMetadata) GetEndTime ¶
func (x *BulkDeleteDocumentsMetadata) GetEndTime() *timestamp.Timestamp
func (*BulkDeleteDocumentsMetadata) GetNamespaceIds ¶
func (x *BulkDeleteDocumentsMetadata) GetNamespaceIds() []string
func (*BulkDeleteDocumentsMetadata) GetOperationState ¶
func (x *BulkDeleteDocumentsMetadata) GetOperationState() OperationState
func (*BulkDeleteDocumentsMetadata) GetProgressBytes ¶
func (x *BulkDeleteDocumentsMetadata) GetProgressBytes() *Progress
func (*BulkDeleteDocumentsMetadata) GetProgressDocuments ¶
func (x *BulkDeleteDocumentsMetadata) GetProgressDocuments() *Progress
func (*BulkDeleteDocumentsMetadata) GetSnapshotTime ¶
func (x *BulkDeleteDocumentsMetadata) GetSnapshotTime() *timestamp.Timestamp
func (*BulkDeleteDocumentsMetadata) GetStartTime ¶
func (x *BulkDeleteDocumentsMetadata) GetStartTime() *timestamp.Timestamp
func (*BulkDeleteDocumentsMetadata) ProtoMessage ¶
func (*BulkDeleteDocumentsMetadata) ProtoMessage()
func (*BulkDeleteDocumentsMetadata) ProtoReflect ¶
func (x *BulkDeleteDocumentsMetadata) ProtoReflect() protoreflect.Message
func (*BulkDeleteDocumentsMetadata) Reset ¶
func (x *BulkDeleteDocumentsMetadata) Reset()
func (*BulkDeleteDocumentsMetadata) String ¶
func (x *BulkDeleteDocumentsMetadata) String() string
type BulkDeleteDocumentsRequest ¶
type BulkDeleteDocumentsRequest struct { // Required. Database to operate. Should be of the form: // `projects/{project_id}/databases/{database_id}`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Optional. IDs of the collection groups to delete. Unspecified means all // collection groups. // // Each collection group in this list must be unique. CollectionIds []string `protobuf:"bytes,2,rep,name=collection_ids,json=collectionIds,proto3" json:"collection_ids,omitempty"` // Optional. Namespaces to delete. // // An empty list means all namespaces. This is the recommended // usage for databases that don't use namespaces. // // An empty string element represents the default namespace. This should be // used if the database has data in non-default namespaces, but doesn't want // to delete from them. // // Each namespace in this list must be unique. NamespaceIds []string `protobuf:"bytes,3,rep,name=namespace_ids,json=namespaceIds,proto3" json:"namespace_ids,omitempty"` // contains filtered or unexported fields }
The request for [FirestoreAdmin.BulkDeleteDocuments][mockgcp.firestore.admin.v1.FirestoreAdmin.BulkDeleteDocuments].
When both collection_ids and namespace_ids are set, only documents satisfying both conditions will be deleted.
Requests with namespace_ids and collection_ids both empty will be rejected. Please use [FirestoreAdmin.DeleteDatabase][mockgcp.firestore.admin.v1.FirestoreAdmin.DeleteDatabase] instead.
func (*BulkDeleteDocumentsRequest) Descriptor
deprecated
func (*BulkDeleteDocumentsRequest) Descriptor() ([]byte, []int)
Deprecated: Use BulkDeleteDocumentsRequest.ProtoReflect.Descriptor instead.
func (*BulkDeleteDocumentsRequest) GetCollectionIds ¶
func (x *BulkDeleteDocumentsRequest) GetCollectionIds() []string
func (*BulkDeleteDocumentsRequest) GetName ¶
func (x *BulkDeleteDocumentsRequest) GetName() string
func (*BulkDeleteDocumentsRequest) GetNamespaceIds ¶
func (x *BulkDeleteDocumentsRequest) GetNamespaceIds() []string
func (*BulkDeleteDocumentsRequest) ProtoMessage ¶
func (*BulkDeleteDocumentsRequest) ProtoMessage()
func (*BulkDeleteDocumentsRequest) ProtoReflect ¶
func (x *BulkDeleteDocumentsRequest) ProtoReflect() protoreflect.Message
func (*BulkDeleteDocumentsRequest) Reset ¶
func (x *BulkDeleteDocumentsRequest) Reset()
func (*BulkDeleteDocumentsRequest) String ¶
func (x *BulkDeleteDocumentsRequest) String() string
type BulkDeleteDocumentsResponse ¶
type BulkDeleteDocumentsResponse struct {
// contains filtered or unexported fields
}
The response for [FirestoreAdmin.BulkDeleteDocuments][mockgcp.firestore.admin.v1.FirestoreAdmin.BulkDeleteDocuments].
func (*BulkDeleteDocumentsResponse) Descriptor
deprecated
func (*BulkDeleteDocumentsResponse) Descriptor() ([]byte, []int)
Deprecated: Use BulkDeleteDocumentsResponse.ProtoReflect.Descriptor instead.
func (*BulkDeleteDocumentsResponse) ProtoMessage ¶
func (*BulkDeleteDocumentsResponse) ProtoMessage()
func (*BulkDeleteDocumentsResponse) ProtoReflect ¶
func (x *BulkDeleteDocumentsResponse) ProtoReflect() protoreflect.Message
func (*BulkDeleteDocumentsResponse) Reset ¶
func (x *BulkDeleteDocumentsResponse) Reset()
func (*BulkDeleteDocumentsResponse) String ¶
func (x *BulkDeleteDocumentsResponse) String() string
type CreateBackupScheduleRequest ¶
type CreateBackupScheduleRequest struct { // Required. The parent database. // // Format `projects/{project}/databases/{database}` Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Required. The backup schedule to create. BackupSchedule *BackupSchedule `protobuf:"bytes,2,opt,name=backup_schedule,json=backupSchedule,proto3" json:"backup_schedule,omitempty"` // contains filtered or unexported fields }
The request for [FirestoreAdmin.CreateBackupSchedule][mockgcp.firestore.admin.v1.FirestoreAdmin.CreateBackupSchedule].
func (*CreateBackupScheduleRequest) Descriptor
deprecated
func (*CreateBackupScheduleRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateBackupScheduleRequest.ProtoReflect.Descriptor instead.
func (*CreateBackupScheduleRequest) GetBackupSchedule ¶
func (x *CreateBackupScheduleRequest) GetBackupSchedule() *BackupSchedule
func (*CreateBackupScheduleRequest) GetParent ¶
func (x *CreateBackupScheduleRequest) GetParent() string
func (*CreateBackupScheduleRequest) ProtoMessage ¶
func (*CreateBackupScheduleRequest) ProtoMessage()
func (*CreateBackupScheduleRequest) ProtoReflect ¶
func (x *CreateBackupScheduleRequest) ProtoReflect() protoreflect.Message
func (*CreateBackupScheduleRequest) Reset ¶
func (x *CreateBackupScheduleRequest) Reset()
func (*CreateBackupScheduleRequest) String ¶
func (x *CreateBackupScheduleRequest) String() string
type CreateDatabaseMetadata ¶
type CreateDatabaseMetadata struct {
// contains filtered or unexported fields
}
Metadata related to the create database operation.
func (*CreateDatabaseMetadata) Descriptor
deprecated
func (*CreateDatabaseMetadata) Descriptor() ([]byte, []int)
Deprecated: Use CreateDatabaseMetadata.ProtoReflect.Descriptor instead.
func (*CreateDatabaseMetadata) ProtoMessage ¶
func (*CreateDatabaseMetadata) ProtoMessage()
func (*CreateDatabaseMetadata) ProtoReflect ¶
func (x *CreateDatabaseMetadata) ProtoReflect() protoreflect.Message
func (*CreateDatabaseMetadata) Reset ¶
func (x *CreateDatabaseMetadata) Reset()
func (*CreateDatabaseMetadata) String ¶
func (x *CreateDatabaseMetadata) String() string
type CreateDatabaseRequest ¶
type CreateDatabaseRequest struct { // Required. A parent name of the form // `projects/{project_id}` Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Required. The Database to create. Database *Database `protobuf:"bytes,2,opt,name=database,proto3" json:"database,omitempty"` // Required. The ID to use for the database, which will become the final // component of the database's resource name. // // This value should be 4-63 characters. Valid characters are /[a-z][0-9]-/ // with first character a letter and the last a letter or a number. Must not // be UUID-like /[0-9a-f]{8}(-[0-9a-f]{4}){3}-[0-9a-f]{12}/. // // "(default)" database ID is also valid. DatabaseId string `protobuf:"bytes,3,opt,name=database_id,json=databaseId,proto3" json:"database_id,omitempty"` // contains filtered or unexported fields }
The request for [FirestoreAdmin.CreateDatabase][mockgcp.firestore.admin.v1.FirestoreAdmin.CreateDatabase].
func (*CreateDatabaseRequest) Descriptor
deprecated
func (*CreateDatabaseRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateDatabaseRequest.ProtoReflect.Descriptor instead.
func (*CreateDatabaseRequest) GetDatabase ¶
func (x *CreateDatabaseRequest) GetDatabase() *Database
func (*CreateDatabaseRequest) GetDatabaseId ¶
func (x *CreateDatabaseRequest) GetDatabaseId() string
func (*CreateDatabaseRequest) GetParent ¶
func (x *CreateDatabaseRequest) GetParent() string
func (*CreateDatabaseRequest) ProtoMessage ¶
func (*CreateDatabaseRequest) ProtoMessage()
func (*CreateDatabaseRequest) ProtoReflect ¶
func (x *CreateDatabaseRequest) ProtoReflect() protoreflect.Message
func (*CreateDatabaseRequest) Reset ¶
func (x *CreateDatabaseRequest) Reset()
func (*CreateDatabaseRequest) String ¶
func (x *CreateDatabaseRequest) String() string
type CreateIndexRequest ¶
type CreateIndexRequest struct { // Required. A parent name of the form // `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}` Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Required. The composite index to create. Index *Index `protobuf:"bytes,2,opt,name=index,proto3" json:"index,omitempty"` // contains filtered or unexported fields }
The request for [FirestoreAdmin.CreateIndex][mockgcp.firestore.admin.v1.FirestoreAdmin.CreateIndex].
func (*CreateIndexRequest) Descriptor
deprecated
func (*CreateIndexRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateIndexRequest.ProtoReflect.Descriptor instead.
func (*CreateIndexRequest) GetIndex ¶
func (x *CreateIndexRequest) GetIndex() *Index
func (*CreateIndexRequest) GetParent ¶
func (x *CreateIndexRequest) GetParent() string
func (*CreateIndexRequest) ProtoMessage ¶
func (*CreateIndexRequest) ProtoMessage()
func (*CreateIndexRequest) ProtoReflect ¶
func (x *CreateIndexRequest) ProtoReflect() protoreflect.Message
func (*CreateIndexRequest) Reset ¶
func (x *CreateIndexRequest) Reset()
func (*CreateIndexRequest) String ¶
func (x *CreateIndexRequest) String() string
type DailyRecurrence ¶
type DailyRecurrence struct {
// contains filtered or unexported fields
}
Represents a recurring schedule that runs every day.
The time zone is UTC.
func (*DailyRecurrence) Descriptor
deprecated
func (*DailyRecurrence) Descriptor() ([]byte, []int)
Deprecated: Use DailyRecurrence.ProtoReflect.Descriptor instead.
func (*DailyRecurrence) ProtoMessage ¶
func (*DailyRecurrence) ProtoMessage()
func (*DailyRecurrence) ProtoReflect ¶
func (x *DailyRecurrence) ProtoReflect() protoreflect.Message
func (*DailyRecurrence) Reset ¶
func (x *DailyRecurrence) Reset()
func (*DailyRecurrence) String ¶
func (x *DailyRecurrence) String() string
type Database ¶
type Database struct { // The resource name of the Database. // Format: `projects/{project}/databases/{database}` Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Output only. The system-generated UUID4 for this Database. Uid string `protobuf:"bytes,3,opt,name=uid,proto3" json:"uid,omitempty"` // Output only. The timestamp at which this database was created. Databases // created before 2016 do not populate create_time. CreateTime *timestamp.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Output only. The timestamp at which this database was most recently // updated. Note this only includes updates to the database resource and not // data contained by the database. UpdateTime *timestamp.Timestamp `protobuf:"bytes,6,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // Output only. The timestamp at which this database was deleted. Only set if // the database has been deleted. DeleteTime *timestamp.Timestamp `protobuf:"bytes,7,opt,name=delete_time,json=deleteTime,proto3" json:"delete_time,omitempty"` // The location of the database. Available locations are listed at // https://cloud.google.com/firestore/docs/locations. LocationId string `protobuf:"bytes,9,opt,name=location_id,json=locationId,proto3" json:"location_id,omitempty"` // The type of the database. // See https://cloud.google.com/datastore/docs/firestore-or-datastore for // information about how to choose. Type Database_DatabaseType `protobuf:"varint,10,opt,name=type,proto3,enum=mockgcp.firestore.admin.v1.Database_DatabaseType" json:"type,omitempty"` // The concurrency control mode to use for this database. ConcurrencyMode Database_ConcurrencyMode `` /* 165-byte string literal not displayed */ // Output only. The period during which past versions of data are retained in // the database. // // Any [read][mockgcp.firestore.v1.GetDocumentRequest.read_time] // or [query][mockgcp.firestore.v1.ListDocumentsRequest.read_time] can specify // a `read_time` within this window, and will read the state of the database // at that time. // // If the PITR feature is enabled, the retention period is 7 days. Otherwise, // the retention period is 1 hour. VersionRetentionPeriod *duration.Duration `` /* 130-byte string literal not displayed */ // Output only. The earliest timestamp at which older versions of the data can // be read from the database. See [version_retention_period] above; this field // is populated with `now - version_retention_period`. // // This value is continuously updated, and becomes stale the moment it is // queried. If you are using this value to recover data, make sure to account // for the time from the moment when the value is queried to the moment when // you initiate the recovery. EarliestVersionTime *timestamp.Timestamp `protobuf:"bytes,18,opt,name=earliest_version_time,json=earliestVersionTime,proto3" json:"earliest_version_time,omitempty"` // Whether to enable the PITR feature on this database. PointInTimeRecoveryEnablement Database_PointInTimeRecoveryEnablement `` /* 227-byte string literal not displayed */ // The App Engine integration mode to use for this database. AppEngineIntegrationMode Database_AppEngineIntegrationMode `` /* 205-byte string literal not displayed */ // Output only. The key_prefix for this database. This key_prefix is used, in // combination with the project ID ("<key prefix>~<project id>") to construct // the application ID that is returned from the Cloud Datastore APIs in Google // App Engine first generation runtimes. // // This value may be empty in which case the appid to use for URL-encoded keys // is the project_id (eg: foo instead of v~foo). KeyPrefix string `protobuf:"bytes,20,opt,name=key_prefix,json=keyPrefix,proto3" json:"key_prefix,omitempty"` // State of delete protection for the database. DeleteProtectionState Database_DeleteProtectionState `` /* 191-byte string literal not displayed */ // Optional. Presence indicates CMEK is enabled for this database. CmekConfig *Database_CmekConfig `protobuf:"bytes,23,opt,name=cmek_config,json=cmekConfig,proto3" json:"cmek_config,omitempty"` // Output only. The database resource's prior database ID. This field is only // populated for deleted databases. PreviousId string `protobuf:"bytes,25,opt,name=previous_id,json=previousId,proto3" json:"previous_id,omitempty"` // Output only. Information about the provenance of this database. SourceInfo *Database_SourceInfo `protobuf:"bytes,26,opt,name=source_info,json=sourceInfo,proto3" json:"source_info,omitempty"` // This checksum is computed by the server based on the value of other // fields, and may be sent on update and delete requests to ensure the // client has an up-to-date value before proceeding. Etag string `protobuf:"bytes,99,opt,name=etag,proto3" json:"etag,omitempty"` // contains filtered or unexported fields }
A Cloud Firestore Database.
func (*Database) Descriptor
deprecated
func (*Database) GetAppEngineIntegrationMode ¶
func (x *Database) GetAppEngineIntegrationMode() Database_AppEngineIntegrationMode
func (*Database) GetCmekConfig ¶
func (x *Database) GetCmekConfig() *Database_CmekConfig
func (*Database) GetConcurrencyMode ¶
func (x *Database) GetConcurrencyMode() Database_ConcurrencyMode
func (*Database) GetCreateTime ¶
func (*Database) GetDeleteProtectionState ¶
func (x *Database) GetDeleteProtectionState() Database_DeleteProtectionState
func (*Database) GetDeleteTime ¶
func (*Database) GetEarliestVersionTime ¶
func (*Database) GetKeyPrefix ¶
func (*Database) GetLocationId ¶
func (*Database) GetPointInTimeRecoveryEnablement ¶
func (x *Database) GetPointInTimeRecoveryEnablement() Database_PointInTimeRecoveryEnablement
func (*Database) GetPreviousId ¶
func (*Database) GetSourceInfo ¶
func (x *Database) GetSourceInfo() *Database_SourceInfo
func (*Database) GetType ¶
func (x *Database) GetType() Database_DatabaseType
func (*Database) GetUpdateTime ¶
func (*Database) GetVersionRetentionPeriod ¶
func (*Database) ProtoMessage ¶
func (*Database) ProtoMessage()
func (*Database) ProtoReflect ¶
func (x *Database) ProtoReflect() protoreflect.Message
type Database_AppEngineIntegrationMode ¶
type Database_AppEngineIntegrationMode int32
The type of App Engine integration mode.
const ( // Not used. Database_APP_ENGINE_INTEGRATION_MODE_UNSPECIFIED Database_AppEngineIntegrationMode = 0 // If an App Engine application exists in the same region as this database, // App Engine configuration will impact this database. This includes // disabling of the application & database, as well as disabling writes to // the database. Database_ENABLED Database_AppEngineIntegrationMode = 1 // App Engine has no effect on the ability of this database to serve // requests. // // This is the default setting for databases created with the Firestore API. Database_DISABLED Database_AppEngineIntegrationMode = 2 )
func (Database_AppEngineIntegrationMode) Descriptor ¶
func (Database_AppEngineIntegrationMode) Descriptor() protoreflect.EnumDescriptor
func (Database_AppEngineIntegrationMode) Enum ¶
func (x Database_AppEngineIntegrationMode) Enum() *Database_AppEngineIntegrationMode
func (Database_AppEngineIntegrationMode) EnumDescriptor
deprecated
func (Database_AppEngineIntegrationMode) EnumDescriptor() ([]byte, []int)
Deprecated: Use Database_AppEngineIntegrationMode.Descriptor instead.
func (Database_AppEngineIntegrationMode) Number ¶
func (x Database_AppEngineIntegrationMode) Number() protoreflect.EnumNumber
func (Database_AppEngineIntegrationMode) String ¶
func (x Database_AppEngineIntegrationMode) String() string
func (Database_AppEngineIntegrationMode) Type ¶
func (Database_AppEngineIntegrationMode) Type() protoreflect.EnumType
type Database_CmekConfig ¶
type Database_CmekConfig struct { // Required. Only keys in the same location as this database are allowed to // be used for encryption. // // For Firestore's nam5 multi-region, this corresponds to Cloud KMS // multi-region us. For Firestore's eur3 multi-region, this corresponds to // Cloud KMS multi-region europe. See // https://cloud.google.com/kms/docs/locations. // // The expected format is // `projects/{project_id}/locations/{kms_location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}`. KmsKeyName string `protobuf:"bytes,1,opt,name=kms_key_name,json=kmsKeyName,proto3" json:"kms_key_name,omitempty"` // Output only. Currently in-use [KMS key // versions](https://cloud.google.com/kms/docs/resource-hierarchy#key_versions). // During [key rotation](https://cloud.google.com/kms/docs/key-rotation), // there can be multiple in-use key versions. // // The expected format is // `projects/{project_id}/locations/{kms_location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}/cryptoKeyVersions/{key_version}`. ActiveKeyVersion []string `protobuf:"bytes,2,rep,name=active_key_version,json=activeKeyVersion,proto3" json:"active_key_version,omitempty"` // contains filtered or unexported fields }
The CMEK (Customer Managed Encryption Key) configuration for a Firestore database. If not present, the database is secured by the default Google encryption key.
func (*Database_CmekConfig) Descriptor
deprecated
func (*Database_CmekConfig) Descriptor() ([]byte, []int)
Deprecated: Use Database_CmekConfig.ProtoReflect.Descriptor instead.
func (*Database_CmekConfig) GetActiveKeyVersion ¶
func (x *Database_CmekConfig) GetActiveKeyVersion() []string
func (*Database_CmekConfig) GetKmsKeyName ¶
func (x *Database_CmekConfig) GetKmsKeyName() string
func (*Database_CmekConfig) ProtoMessage ¶
func (*Database_CmekConfig) ProtoMessage()
func (*Database_CmekConfig) ProtoReflect ¶
func (x *Database_CmekConfig) ProtoReflect() protoreflect.Message
func (*Database_CmekConfig) Reset ¶
func (x *Database_CmekConfig) Reset()
func (*Database_CmekConfig) String ¶
func (x *Database_CmekConfig) String() string
type Database_ConcurrencyMode ¶
type Database_ConcurrencyMode int32
The type of concurrency control mode for transactions.
const ( // Not used. Database_CONCURRENCY_MODE_UNSPECIFIED Database_ConcurrencyMode = 0 // Use optimistic concurrency control by default. This mode is available // for Cloud Firestore databases. Database_OPTIMISTIC Database_ConcurrencyMode = 1 // Use pessimistic concurrency control by default. This mode is available // for Cloud Firestore databases. // // This is the default setting for Cloud Firestore. Database_PESSIMISTIC Database_ConcurrencyMode = 2 // Use optimistic concurrency control with entity groups by default. // // This is the only available mode for Cloud Datastore. // // This mode is also available for Cloud Firestore with Datastore Mode but // is not recommended. Database_OPTIMISTIC_WITH_ENTITY_GROUPS Database_ConcurrencyMode = 3 )
func (Database_ConcurrencyMode) Descriptor ¶
func (Database_ConcurrencyMode) Descriptor() protoreflect.EnumDescriptor
func (Database_ConcurrencyMode) Enum ¶
func (x Database_ConcurrencyMode) Enum() *Database_ConcurrencyMode
func (Database_ConcurrencyMode) EnumDescriptor
deprecated
func (Database_ConcurrencyMode) EnumDescriptor() ([]byte, []int)
Deprecated: Use Database_ConcurrencyMode.Descriptor instead.
func (Database_ConcurrencyMode) Number ¶
func (x Database_ConcurrencyMode) Number() protoreflect.EnumNumber
func (Database_ConcurrencyMode) String ¶
func (x Database_ConcurrencyMode) String() string
func (Database_ConcurrencyMode) Type ¶
func (Database_ConcurrencyMode) Type() protoreflect.EnumType
type Database_DatabaseType ¶
type Database_DatabaseType int32
The type of the database. See https://cloud.google.com/datastore/docs/firestore-or-datastore for information about how to choose.
Mode changes are only allowed if the database is empty.
const ( // Not used. Database_DATABASE_TYPE_UNSPECIFIED Database_DatabaseType = 0 // Firestore Native Mode Database_FIRESTORE_NATIVE Database_DatabaseType = 1 // Firestore in Datastore Mode. Database_DATASTORE_MODE Database_DatabaseType = 2 )
func (Database_DatabaseType) Descriptor ¶
func (Database_DatabaseType) Descriptor() protoreflect.EnumDescriptor
func (Database_DatabaseType) Enum ¶
func (x Database_DatabaseType) Enum() *Database_DatabaseType
func (Database_DatabaseType) EnumDescriptor
deprecated
func (Database_DatabaseType) EnumDescriptor() ([]byte, []int)
Deprecated: Use Database_DatabaseType.Descriptor instead.
func (Database_DatabaseType) Number ¶
func (x Database_DatabaseType) Number() protoreflect.EnumNumber
func (Database_DatabaseType) String ¶
func (x Database_DatabaseType) String() string
func (Database_DatabaseType) Type ¶
func (Database_DatabaseType) Type() protoreflect.EnumType
type Database_DeleteProtectionState ¶
type Database_DeleteProtectionState int32
The delete protection state of the database.
const ( // The default value. Delete protection type is not specified Database_DELETE_PROTECTION_STATE_UNSPECIFIED Database_DeleteProtectionState = 0 // Delete protection is disabled Database_DELETE_PROTECTION_DISABLED Database_DeleteProtectionState = 1 // Delete protection is enabled Database_DELETE_PROTECTION_ENABLED Database_DeleteProtectionState = 2 )
func (Database_DeleteProtectionState) Descriptor ¶
func (Database_DeleteProtectionState) Descriptor() protoreflect.EnumDescriptor
func (Database_DeleteProtectionState) Enum ¶
func (x Database_DeleteProtectionState) Enum() *Database_DeleteProtectionState
func (Database_DeleteProtectionState) EnumDescriptor
deprecated
func (Database_DeleteProtectionState) EnumDescriptor() ([]byte, []int)
Deprecated: Use Database_DeleteProtectionState.Descriptor instead.
func (Database_DeleteProtectionState) Number ¶
func (x Database_DeleteProtectionState) Number() protoreflect.EnumNumber
func (Database_DeleteProtectionState) String ¶
func (x Database_DeleteProtectionState) String() string
func (Database_DeleteProtectionState) Type ¶
func (Database_DeleteProtectionState) Type() protoreflect.EnumType
type Database_EncryptionConfig ¶
type Database_EncryptionConfig struct { // The method for encrypting the database. // // Types that are assignable to EncryptionType: // // *Database_EncryptionConfig_GoogleDefaultEncryption // *Database_EncryptionConfig_UseSourceEncryption // *Database_EncryptionConfig_CustomerManagedEncryption EncryptionType isDatabase_EncryptionConfig_EncryptionType `protobuf_oneof:"encryption_type"` // contains filtered or unexported fields }
Encryption configuration for a new database being created from another source.
The source could be a Backup[mockgcp.firestore.admin.v1.Backup] .
func (*Database_EncryptionConfig) Descriptor
deprecated
func (*Database_EncryptionConfig) Descriptor() ([]byte, []int)
Deprecated: Use Database_EncryptionConfig.ProtoReflect.Descriptor instead.
func (*Database_EncryptionConfig) GetCustomerManagedEncryption ¶
func (x *Database_EncryptionConfig) GetCustomerManagedEncryption() *Database_EncryptionConfig_CustomerManagedEncryptionOptions
func (*Database_EncryptionConfig) GetEncryptionType ¶
func (m *Database_EncryptionConfig) GetEncryptionType() isDatabase_EncryptionConfig_EncryptionType
func (*Database_EncryptionConfig) GetGoogleDefaultEncryption ¶
func (x *Database_EncryptionConfig) GetGoogleDefaultEncryption() *Database_EncryptionConfig_GoogleDefaultEncryptionOptions
func (*Database_EncryptionConfig) GetUseSourceEncryption ¶
func (x *Database_EncryptionConfig) GetUseSourceEncryption() *Database_EncryptionConfig_SourceEncryptionOptions
func (*Database_EncryptionConfig) ProtoMessage ¶
func (*Database_EncryptionConfig) ProtoMessage()
func (*Database_EncryptionConfig) ProtoReflect ¶
func (x *Database_EncryptionConfig) ProtoReflect() protoreflect.Message
func (*Database_EncryptionConfig) Reset ¶
func (x *Database_EncryptionConfig) Reset()
func (*Database_EncryptionConfig) String ¶
func (x *Database_EncryptionConfig) String() string
type Database_EncryptionConfig_CustomerManagedEncryption ¶
type Database_EncryptionConfig_CustomerManagedEncryption struct { // Use Customer Managed Encryption Keys (CMEK) for encryption. CustomerManagedEncryption *Database_EncryptionConfig_CustomerManagedEncryptionOptions `protobuf:"bytes,3,opt,name=customer_managed_encryption,json=customerManagedEncryption,proto3,oneof"` }
type Database_EncryptionConfig_CustomerManagedEncryptionOptions ¶
type Database_EncryptionConfig_CustomerManagedEncryptionOptions struct { // Required. Only keys in the same location as the database are allowed to // be used for encryption. // // For Firestore's nam5 multi-region, this corresponds to Cloud KMS // multi-region us. For Firestore's eur3 multi-region, this corresponds to // Cloud KMS multi-region europe. See // https://cloud.google.com/kms/docs/locations. // // The expected format is // `projects/{project_id}/locations/{kms_location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}`. KmsKeyName string `protobuf:"bytes,1,opt,name=kms_key_name,json=kmsKeyName,proto3" json:"kms_key_name,omitempty"` // contains filtered or unexported fields }
The configuration options for using CMEK (Customer Managed Encryption Key) encryption.
func (*Database_EncryptionConfig_CustomerManagedEncryptionOptions) Descriptor
deprecated
func (*Database_EncryptionConfig_CustomerManagedEncryptionOptions) Descriptor() ([]byte, []int)
Deprecated: Use Database_EncryptionConfig_CustomerManagedEncryptionOptions.ProtoReflect.Descriptor instead.
func (*Database_EncryptionConfig_CustomerManagedEncryptionOptions) GetKmsKeyName ¶
func (x *Database_EncryptionConfig_CustomerManagedEncryptionOptions) GetKmsKeyName() string
func (*Database_EncryptionConfig_CustomerManagedEncryptionOptions) ProtoMessage ¶
func (*Database_EncryptionConfig_CustomerManagedEncryptionOptions) ProtoMessage()
func (*Database_EncryptionConfig_CustomerManagedEncryptionOptions) ProtoReflect ¶
func (x *Database_EncryptionConfig_CustomerManagedEncryptionOptions) ProtoReflect() protoreflect.Message
func (*Database_EncryptionConfig_CustomerManagedEncryptionOptions) Reset ¶
func (x *Database_EncryptionConfig_CustomerManagedEncryptionOptions) Reset()
func (*Database_EncryptionConfig_CustomerManagedEncryptionOptions) String ¶
func (x *Database_EncryptionConfig_CustomerManagedEncryptionOptions) String() string
type Database_EncryptionConfig_GoogleDefaultEncryption ¶
type Database_EncryptionConfig_GoogleDefaultEncryption struct { // Use Google default encryption. GoogleDefaultEncryption *Database_EncryptionConfig_GoogleDefaultEncryptionOptions `protobuf:"bytes,1,opt,name=google_default_encryption,json=googleDefaultEncryption,proto3,oneof"` }
type Database_EncryptionConfig_GoogleDefaultEncryptionOptions ¶
type Database_EncryptionConfig_GoogleDefaultEncryptionOptions struct {
// contains filtered or unexported fields
}
The configuration options for using Google default encryption.
func (*Database_EncryptionConfig_GoogleDefaultEncryptionOptions) Descriptor
deprecated
func (*Database_EncryptionConfig_GoogleDefaultEncryptionOptions) Descriptor() ([]byte, []int)
Deprecated: Use Database_EncryptionConfig_GoogleDefaultEncryptionOptions.ProtoReflect.Descriptor instead.
func (*Database_EncryptionConfig_GoogleDefaultEncryptionOptions) ProtoMessage ¶
func (*Database_EncryptionConfig_GoogleDefaultEncryptionOptions) ProtoMessage()
func (*Database_EncryptionConfig_GoogleDefaultEncryptionOptions) ProtoReflect ¶
func (x *Database_EncryptionConfig_GoogleDefaultEncryptionOptions) ProtoReflect() protoreflect.Message
func (*Database_EncryptionConfig_GoogleDefaultEncryptionOptions) Reset ¶
func (x *Database_EncryptionConfig_GoogleDefaultEncryptionOptions) Reset()
func (*Database_EncryptionConfig_GoogleDefaultEncryptionOptions) String ¶
func (x *Database_EncryptionConfig_GoogleDefaultEncryptionOptions) String() string
type Database_EncryptionConfig_SourceEncryptionOptions ¶
type Database_EncryptionConfig_SourceEncryptionOptions struct {
// contains filtered or unexported fields
}
The configuration options for using the same encryption method as the source.
func (*Database_EncryptionConfig_SourceEncryptionOptions) Descriptor
deprecated
func (*Database_EncryptionConfig_SourceEncryptionOptions) Descriptor() ([]byte, []int)
Deprecated: Use Database_EncryptionConfig_SourceEncryptionOptions.ProtoReflect.Descriptor instead.
func (*Database_EncryptionConfig_SourceEncryptionOptions) ProtoMessage ¶
func (*Database_EncryptionConfig_SourceEncryptionOptions) ProtoMessage()
func (*Database_EncryptionConfig_SourceEncryptionOptions) ProtoReflect ¶
func (x *Database_EncryptionConfig_SourceEncryptionOptions) ProtoReflect() protoreflect.Message
func (*Database_EncryptionConfig_SourceEncryptionOptions) Reset ¶
func (x *Database_EncryptionConfig_SourceEncryptionOptions) Reset()
func (*Database_EncryptionConfig_SourceEncryptionOptions) String ¶
func (x *Database_EncryptionConfig_SourceEncryptionOptions) String() string
type Database_EncryptionConfig_UseSourceEncryption ¶
type Database_EncryptionConfig_UseSourceEncryption struct { // The database will use the same encryption configuration as the source. UseSourceEncryption *Database_EncryptionConfig_SourceEncryptionOptions `protobuf:"bytes,2,opt,name=use_source_encryption,json=useSourceEncryption,proto3,oneof"` }
type Database_PointInTimeRecoveryEnablement ¶
type Database_PointInTimeRecoveryEnablement int32
Point In Time Recovery feature enablement.
const ( // Not used. Database_POINT_IN_TIME_RECOVERY_ENABLEMENT_UNSPECIFIED Database_PointInTimeRecoveryEnablement = 0 // Reads are supported on selected versions of the data from within the past // 7 days: // // * Reads against any timestamp within the past hour // * Reads against 1-minute snapshots beyond 1 hour and within 7 days // // `version_retention_period` and `earliest_version_time` can be // used to determine the supported versions. Database_POINT_IN_TIME_RECOVERY_ENABLED Database_PointInTimeRecoveryEnablement = 1 // Reads are supported on any version of the data from within the past 1 // hour. Database_POINT_IN_TIME_RECOVERY_DISABLED Database_PointInTimeRecoveryEnablement = 2 )
func (Database_PointInTimeRecoveryEnablement) Descriptor ¶
func (Database_PointInTimeRecoveryEnablement) Descriptor() protoreflect.EnumDescriptor
func (Database_PointInTimeRecoveryEnablement) EnumDescriptor
deprecated
func (Database_PointInTimeRecoveryEnablement) EnumDescriptor() ([]byte, []int)
Deprecated: Use Database_PointInTimeRecoveryEnablement.Descriptor instead.
func (Database_PointInTimeRecoveryEnablement) Number ¶
func (x Database_PointInTimeRecoveryEnablement) Number() protoreflect.EnumNumber
func (Database_PointInTimeRecoveryEnablement) String ¶
func (x Database_PointInTimeRecoveryEnablement) String() string
func (Database_PointInTimeRecoveryEnablement) Type ¶
func (Database_PointInTimeRecoveryEnablement) Type() protoreflect.EnumType
type Database_SourceInfo ¶
type Database_SourceInfo struct { // The source from which this database is derived. // // Types that are assignable to Source: // // *Database_SourceInfo_Backup Source isDatabase_SourceInfo_Source `protobuf_oneof:"source"` // The associated long-running operation. This field may not be set after // the operation has completed. Format: // `projects/{project}/databases/{database}/operations/{operation}`. Operation string `protobuf:"bytes,3,opt,name=operation,proto3" json:"operation,omitempty"` // contains filtered or unexported fields }
Information about the provenance of this database.
func (*Database_SourceInfo) Descriptor
deprecated
func (*Database_SourceInfo) Descriptor() ([]byte, []int)
Deprecated: Use Database_SourceInfo.ProtoReflect.Descriptor instead.
func (*Database_SourceInfo) GetBackup ¶
func (x *Database_SourceInfo) GetBackup() *Database_SourceInfo_BackupSource
func (*Database_SourceInfo) GetOperation ¶
func (x *Database_SourceInfo) GetOperation() string
func (*Database_SourceInfo) GetSource ¶
func (m *Database_SourceInfo) GetSource() isDatabase_SourceInfo_Source
func (*Database_SourceInfo) ProtoMessage ¶
func (*Database_SourceInfo) ProtoMessage()
func (*Database_SourceInfo) ProtoReflect ¶
func (x *Database_SourceInfo) ProtoReflect() protoreflect.Message
func (*Database_SourceInfo) Reset ¶
func (x *Database_SourceInfo) Reset()
func (*Database_SourceInfo) String ¶
func (x *Database_SourceInfo) String() string
type Database_SourceInfo_Backup ¶
type Database_SourceInfo_Backup struct { // If set, this database was restored from the specified backup (or a // snapshot thereof). Backup *Database_SourceInfo_BackupSource `protobuf:"bytes,1,opt,name=backup,proto3,oneof"` }
type Database_SourceInfo_BackupSource ¶
type Database_SourceInfo_BackupSource struct { // The resource name of the backup that was used to restore this // database. Format: // `projects/{project}/locations/{location}/backups/{backup}`. Backup string `protobuf:"bytes,1,opt,name=backup,proto3" json:"backup,omitempty"` // contains filtered or unexported fields }
Information about a backup that was used to restore a database.
func (*Database_SourceInfo_BackupSource) Descriptor
deprecated
func (*Database_SourceInfo_BackupSource) Descriptor() ([]byte, []int)
Deprecated: Use Database_SourceInfo_BackupSource.ProtoReflect.Descriptor instead.
func (*Database_SourceInfo_BackupSource) GetBackup ¶
func (x *Database_SourceInfo_BackupSource) GetBackup() string
func (*Database_SourceInfo_BackupSource) ProtoMessage ¶
func (*Database_SourceInfo_BackupSource) ProtoMessage()
func (*Database_SourceInfo_BackupSource) ProtoReflect ¶
func (x *Database_SourceInfo_BackupSource) ProtoReflect() protoreflect.Message
func (*Database_SourceInfo_BackupSource) Reset ¶
func (x *Database_SourceInfo_BackupSource) Reset()
func (*Database_SourceInfo_BackupSource) String ¶
func (x *Database_SourceInfo_BackupSource) String() string
type DeleteBackupRequest ¶
type DeleteBackupRequest struct { // Required. Name of the backup to delete. // // format is `projects/{project}/locations/{location}/backups/{backup}`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
The request for [FirestoreAdmin.DeleteBackup][mockgcp.firestore.admin.v1.FirestoreAdmin.DeleteBackup].
func (*DeleteBackupRequest) Descriptor
deprecated
func (*DeleteBackupRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteBackupRequest.ProtoReflect.Descriptor instead.
func (*DeleteBackupRequest) GetName ¶
func (x *DeleteBackupRequest) GetName() string
func (*DeleteBackupRequest) ProtoMessage ¶
func (*DeleteBackupRequest) ProtoMessage()
func (*DeleteBackupRequest) ProtoReflect ¶
func (x *DeleteBackupRequest) ProtoReflect() protoreflect.Message
func (*DeleteBackupRequest) Reset ¶
func (x *DeleteBackupRequest) Reset()
func (*DeleteBackupRequest) String ¶
func (x *DeleteBackupRequest) String() string
type DeleteBackupScheduleRequest ¶
type DeleteBackupScheduleRequest struct { // Required. The name of the backup schedule. // // Format // `projects/{project}/databases/{database}/backupSchedules/{backup_schedule}` Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
The request for [FirestoreAdmin.DeleteBackupSchedules][].
func (*DeleteBackupScheduleRequest) Descriptor
deprecated
func (*DeleteBackupScheduleRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteBackupScheduleRequest.ProtoReflect.Descriptor instead.
func (*DeleteBackupScheduleRequest) GetName ¶
func (x *DeleteBackupScheduleRequest) GetName() string
func (*DeleteBackupScheduleRequest) ProtoMessage ¶
func (*DeleteBackupScheduleRequest) ProtoMessage()
func (*DeleteBackupScheduleRequest) ProtoReflect ¶
func (x *DeleteBackupScheduleRequest) ProtoReflect() protoreflect.Message
func (*DeleteBackupScheduleRequest) Reset ¶
func (x *DeleteBackupScheduleRequest) Reset()
func (*DeleteBackupScheduleRequest) String ¶
func (x *DeleteBackupScheduleRequest) String() string
type DeleteDatabaseMetadata ¶
type DeleteDatabaseMetadata struct {
// contains filtered or unexported fields
}
Metadata related to the delete database operation.
func (*DeleteDatabaseMetadata) Descriptor
deprecated
func (*DeleteDatabaseMetadata) Descriptor() ([]byte, []int)
Deprecated: Use DeleteDatabaseMetadata.ProtoReflect.Descriptor instead.
func (*DeleteDatabaseMetadata) ProtoMessage ¶
func (*DeleteDatabaseMetadata) ProtoMessage()
func (*DeleteDatabaseMetadata) ProtoReflect ¶
func (x *DeleteDatabaseMetadata) ProtoReflect() protoreflect.Message
func (*DeleteDatabaseMetadata) Reset ¶
func (x *DeleteDatabaseMetadata) Reset()
func (*DeleteDatabaseMetadata) String ¶
func (x *DeleteDatabaseMetadata) String() string
type DeleteDatabaseRequest ¶
type DeleteDatabaseRequest struct { // Required. A name of the form // `projects/{project_id}/databases/{database_id}` Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The current etag of the Database. // If an etag is provided and does not match the current etag of the database, // deletion will be blocked and a FAILED_PRECONDITION error will be returned. Etag string `protobuf:"bytes,3,opt,name=etag,proto3" json:"etag,omitempty"` // contains filtered or unexported fields }
The request for [FirestoreAdmin.DeleteDatabase][mockgcp.firestore.admin.v1.FirestoreAdmin.DeleteDatabase].
func (*DeleteDatabaseRequest) Descriptor
deprecated
func (*DeleteDatabaseRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteDatabaseRequest.ProtoReflect.Descriptor instead.
func (*DeleteDatabaseRequest) GetEtag ¶
func (x *DeleteDatabaseRequest) GetEtag() string
func (*DeleteDatabaseRequest) GetName ¶
func (x *DeleteDatabaseRequest) GetName() string
func (*DeleteDatabaseRequest) ProtoMessage ¶
func (*DeleteDatabaseRequest) ProtoMessage()
func (*DeleteDatabaseRequest) ProtoReflect ¶
func (x *DeleteDatabaseRequest) ProtoReflect() protoreflect.Message
func (*DeleteDatabaseRequest) Reset ¶
func (x *DeleteDatabaseRequest) Reset()
func (*DeleteDatabaseRequest) String ¶
func (x *DeleteDatabaseRequest) String() string
type DeleteIndexRequest ¶
type DeleteIndexRequest struct { // Required. A name of the form // `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/indexes/{index_id}` Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
The request for [FirestoreAdmin.DeleteIndex][mockgcp.firestore.admin.v1.FirestoreAdmin.DeleteIndex].
func (*DeleteIndexRequest) Descriptor
deprecated
func (*DeleteIndexRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteIndexRequest.ProtoReflect.Descriptor instead.
func (*DeleteIndexRequest) GetName ¶
func (x *DeleteIndexRequest) GetName() string
func (*DeleteIndexRequest) ProtoMessage ¶
func (*DeleteIndexRequest) ProtoMessage()
func (*DeleteIndexRequest) ProtoReflect ¶
func (x *DeleteIndexRequest) ProtoReflect() protoreflect.Message
func (*DeleteIndexRequest) Reset ¶
func (x *DeleteIndexRequest) Reset()
func (*DeleteIndexRequest) String ¶
func (x *DeleteIndexRequest) String() string
type ExportDocumentsMetadata ¶
type ExportDocumentsMetadata struct { // The time this operation started. StartTime *timestamp.Timestamp `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` // The time this operation completed. Will be unset if operation still in // progress. EndTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` // The state of the export operation. OperationState OperationState `` /* 151-byte string literal not displayed */ // The progress, in documents, of this operation. ProgressDocuments *Progress `protobuf:"bytes,4,opt,name=progress_documents,json=progressDocuments,proto3" json:"progress_documents,omitempty"` // The progress, in bytes, of this operation. ProgressBytes *Progress `protobuf:"bytes,5,opt,name=progress_bytes,json=progressBytes,proto3" json:"progress_bytes,omitempty"` // Which collection IDs are being exported. CollectionIds []string `protobuf:"bytes,6,rep,name=collection_ids,json=collectionIds,proto3" json:"collection_ids,omitempty"` // Where the documents are being exported to. OutputUriPrefix string `protobuf:"bytes,7,opt,name=output_uri_prefix,json=outputUriPrefix,proto3" json:"output_uri_prefix,omitempty"` // Which namespace IDs are being exported. NamespaceIds []string `protobuf:"bytes,8,rep,name=namespace_ids,json=namespaceIds,proto3" json:"namespace_ids,omitempty"` // The timestamp that corresponds to the version of the database that is being // exported. If unspecified, there are no guarantees about the consistency of // the documents being exported. SnapshotTime *timestamp.Timestamp `protobuf:"bytes,9,opt,name=snapshot_time,json=snapshotTime,proto3" json:"snapshot_time,omitempty"` // contains filtered or unexported fields }
Metadata for [google.longrunning.Operation][google.longrunning.Operation] results from [FirestoreAdmin.ExportDocuments][mockgcp.firestore.admin.v1.FirestoreAdmin.ExportDocuments].
func (*ExportDocumentsMetadata) Descriptor
deprecated
func (*ExportDocumentsMetadata) Descriptor() ([]byte, []int)
Deprecated: Use ExportDocumentsMetadata.ProtoReflect.Descriptor instead.
func (*ExportDocumentsMetadata) GetCollectionIds ¶
func (x *ExportDocumentsMetadata) GetCollectionIds() []string
func (*ExportDocumentsMetadata) GetEndTime ¶
func (x *ExportDocumentsMetadata) GetEndTime() *timestamp.Timestamp
func (*ExportDocumentsMetadata) GetNamespaceIds ¶
func (x *ExportDocumentsMetadata) GetNamespaceIds() []string
func (*ExportDocumentsMetadata) GetOperationState ¶
func (x *ExportDocumentsMetadata) GetOperationState() OperationState
func (*ExportDocumentsMetadata) GetOutputUriPrefix ¶
func (x *ExportDocumentsMetadata) GetOutputUriPrefix() string
func (*ExportDocumentsMetadata) GetProgressBytes ¶
func (x *ExportDocumentsMetadata) GetProgressBytes() *Progress
func (*ExportDocumentsMetadata) GetProgressDocuments ¶
func (x *ExportDocumentsMetadata) GetProgressDocuments() *Progress
func (*ExportDocumentsMetadata) GetSnapshotTime ¶
func (x *ExportDocumentsMetadata) GetSnapshotTime() *timestamp.Timestamp
func (*ExportDocumentsMetadata) GetStartTime ¶
func (x *ExportDocumentsMetadata) GetStartTime() *timestamp.Timestamp
func (*ExportDocumentsMetadata) ProtoMessage ¶
func (*ExportDocumentsMetadata) ProtoMessage()
func (*ExportDocumentsMetadata) ProtoReflect ¶
func (x *ExportDocumentsMetadata) ProtoReflect() protoreflect.Message
func (*ExportDocumentsMetadata) Reset ¶
func (x *ExportDocumentsMetadata) Reset()
func (*ExportDocumentsMetadata) String ¶
func (x *ExportDocumentsMetadata) String() string
type ExportDocumentsRequest ¶
type ExportDocumentsRequest struct { // Required. Database to export. Should be of the form: // `projects/{project_id}/databases/{database_id}`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Which collection IDs to export. Unspecified means all collections. Each // collection ID in this list must be unique. CollectionIds []string `protobuf:"bytes,2,rep,name=collection_ids,json=collectionIds,proto3" json:"collection_ids,omitempty"` // The output URI. Currently only supports Google Cloud Storage URIs of the // form: `gs://BUCKET_NAME[/NAMESPACE_PATH]`, where `BUCKET_NAME` is the name // of the Google Cloud Storage bucket and `NAMESPACE_PATH` is an optional // Google Cloud Storage namespace path. When // choosing a name, be sure to consider Google Cloud Storage naming // guidelines: https://cloud.google.com/storage/docs/naming. // If the URI is a bucket (without a namespace path), a prefix will be // generated based on the start time. OutputUriPrefix string `protobuf:"bytes,3,opt,name=output_uri_prefix,json=outputUriPrefix,proto3" json:"output_uri_prefix,omitempty"` // An empty list represents all namespaces. This is the preferred // usage for databases that don't use namespaces. // // An empty string element represents the default namespace. This should be // used if the database has data in non-default namespaces, but doesn't want // to include them. Each namespace in this list must be unique. NamespaceIds []string `protobuf:"bytes,4,rep,name=namespace_ids,json=namespaceIds,proto3" json:"namespace_ids,omitempty"` // The timestamp that corresponds to the version of the database to be // exported. The timestamp must be in the past, rounded to the minute and not // older than // [earliestVersionTime][mockgcp.firestore.admin.v1.Database.earliest_version_time]. // If specified, then the exported documents will represent a consistent view // of the database at the provided time. Otherwise, there are no guarantees // about the consistency of the exported documents. SnapshotTime *timestamp.Timestamp `protobuf:"bytes,5,opt,name=snapshot_time,json=snapshotTime,proto3" json:"snapshot_time,omitempty"` // contains filtered or unexported fields }
The request for [FirestoreAdmin.ExportDocuments][mockgcp.firestore.admin.v1.FirestoreAdmin.ExportDocuments].
func (*ExportDocumentsRequest) Descriptor
deprecated
func (*ExportDocumentsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ExportDocumentsRequest.ProtoReflect.Descriptor instead.
func (*ExportDocumentsRequest) GetCollectionIds ¶
func (x *ExportDocumentsRequest) GetCollectionIds() []string
func (*ExportDocumentsRequest) GetName ¶
func (x *ExportDocumentsRequest) GetName() string
func (*ExportDocumentsRequest) GetNamespaceIds ¶
func (x *ExportDocumentsRequest) GetNamespaceIds() []string
func (*ExportDocumentsRequest) GetOutputUriPrefix ¶
func (x *ExportDocumentsRequest) GetOutputUriPrefix() string
func (*ExportDocumentsRequest) GetSnapshotTime ¶
func (x *ExportDocumentsRequest) GetSnapshotTime() *timestamp.Timestamp
func (*ExportDocumentsRequest) ProtoMessage ¶
func (*ExportDocumentsRequest) ProtoMessage()
func (*ExportDocumentsRequest) ProtoReflect ¶
func (x *ExportDocumentsRequest) ProtoReflect() protoreflect.Message
func (*ExportDocumentsRequest) Reset ¶
func (x *ExportDocumentsRequest) Reset()
func (*ExportDocumentsRequest) String ¶
func (x *ExportDocumentsRequest) String() string
type ExportDocumentsResponse ¶
type ExportDocumentsResponse struct { // Location of the output files. This can be used to begin an import // into Cloud Firestore (this project or another project) after the operation // completes successfully. OutputUriPrefix string `protobuf:"bytes,1,opt,name=output_uri_prefix,json=outputUriPrefix,proto3" json:"output_uri_prefix,omitempty"` // contains filtered or unexported fields }
Returned in the [google.longrunning.Operation][google.longrunning.Operation] response field.
func (*ExportDocumentsResponse) Descriptor
deprecated
func (*ExportDocumentsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ExportDocumentsResponse.ProtoReflect.Descriptor instead.
func (*ExportDocumentsResponse) GetOutputUriPrefix ¶
func (x *ExportDocumentsResponse) GetOutputUriPrefix() string
func (*ExportDocumentsResponse) ProtoMessage ¶
func (*ExportDocumentsResponse) ProtoMessage()
func (*ExportDocumentsResponse) ProtoReflect ¶
func (x *ExportDocumentsResponse) ProtoReflect() protoreflect.Message
func (*ExportDocumentsResponse) Reset ¶
func (x *ExportDocumentsResponse) Reset()
func (*ExportDocumentsResponse) String ¶
func (x *ExportDocumentsResponse) String() string
type Field ¶
type Field struct { // Required. A field name of the form: // `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/fields/{field_path}` // // A field path can be a simple field name, e.g. `address` or a path to fields // within `map_value` , e.g. `address.city`, // or a special field path. The only valid special field is `*`, which // represents any field. // // Field paths can be quoted using “ ` “ (backtick). The only character that // must be escaped within a quoted field path is the backtick character // itself, escaped using a backslash. Special characters in field paths that // must be quoted include: `*`, `.`, // “ ` “ (backtick), `[`, `]`, as well as any ascii symbolic characters. // // Examples: // “ `address.city` “ represents a field named `address.city`, not the map // key `city` in the field `address`. “ `*` “ represents a field named `*`, // not any field. // // A special `Field` contains the default indexing settings for all fields. // This field's resource name is: // `projects/{project_id}/databases/{database_id}/collectionGroups/__default__/fields/*` // Indexes defined on this `Field` will be applied to all fields which do not // have their own `Field` index configuration. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The index configuration for this field. If unset, field indexing will // revert to the configuration defined by the `ancestor_field`. To // explicitly remove all indexes for this field, specify an index config // with an empty list of indexes. IndexConfig *Field_IndexConfig `protobuf:"bytes,2,opt,name=index_config,json=indexConfig,proto3" json:"index_config,omitempty"` // The TTL configuration for this `Field`. // Setting or unsetting this will enable or disable the TTL for // documents that have this `Field`. TtlConfig *Field_TtlConfig `protobuf:"bytes,3,opt,name=ttl_config,json=ttlConfig,proto3" json:"ttl_config,omitempty"` // contains filtered or unexported fields }
Represents a single field in the database.
Fields are grouped by their "Collection Group", which represent all collections in the database with the same ID.
func (*Field) Descriptor
deprecated
func (*Field) GetIndexConfig ¶
func (x *Field) GetIndexConfig() *Field_IndexConfig
func (*Field) GetTtlConfig ¶
func (x *Field) GetTtlConfig() *Field_TtlConfig
func (*Field) ProtoMessage ¶
func (*Field) ProtoMessage()
func (*Field) ProtoReflect ¶
func (x *Field) ProtoReflect() protoreflect.Message
type FieldOperationMetadata ¶
type FieldOperationMetadata struct { // The time this operation started. StartTime *timestamp.Timestamp `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` // The time this operation completed. Will be unset if operation still in // progress. EndTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` // The field resource that this operation is acting on. For example: // `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/fields/{field_path}` Field string `protobuf:"bytes,3,opt,name=field,proto3" json:"field,omitempty"` // A list of // [IndexConfigDelta][mockgcp.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta], // which describe the intent of this operation. IndexConfigDeltas []*FieldOperationMetadata_IndexConfigDelta `protobuf:"bytes,4,rep,name=index_config_deltas,json=indexConfigDeltas,proto3" json:"index_config_deltas,omitempty"` // The state of the operation. State OperationState `protobuf:"varint,5,opt,name=state,proto3,enum=mockgcp.firestore.admin.v1.OperationState" json:"state,omitempty"` // The progress, in documents, of this operation. ProgressDocuments *Progress `protobuf:"bytes,6,opt,name=progress_documents,json=progressDocuments,proto3" json:"progress_documents,omitempty"` // The progress, in bytes, of this operation. ProgressBytes *Progress `protobuf:"bytes,7,opt,name=progress_bytes,json=progressBytes,proto3" json:"progress_bytes,omitempty"` // Describes the deltas of TTL configuration. TtlConfigDelta *FieldOperationMetadata_TtlConfigDelta `protobuf:"bytes,8,opt,name=ttl_config_delta,json=ttlConfigDelta,proto3" json:"ttl_config_delta,omitempty"` // contains filtered or unexported fields }
Metadata for [google.longrunning.Operation][google.longrunning.Operation] results from [FirestoreAdmin.UpdateField][mockgcp.firestore.admin.v1.FirestoreAdmin.UpdateField].
func (*FieldOperationMetadata) Descriptor
deprecated
func (*FieldOperationMetadata) Descriptor() ([]byte, []int)
Deprecated: Use FieldOperationMetadata.ProtoReflect.Descriptor instead.
func (*FieldOperationMetadata) GetEndTime ¶
func (x *FieldOperationMetadata) GetEndTime() *timestamp.Timestamp
func (*FieldOperationMetadata) GetField ¶
func (x *FieldOperationMetadata) GetField() string
func (*FieldOperationMetadata) GetIndexConfigDeltas ¶
func (x *FieldOperationMetadata) GetIndexConfigDeltas() []*FieldOperationMetadata_IndexConfigDelta
func (*FieldOperationMetadata) GetProgressBytes ¶
func (x *FieldOperationMetadata) GetProgressBytes() *Progress
func (*FieldOperationMetadata) GetProgressDocuments ¶
func (x *FieldOperationMetadata) GetProgressDocuments() *Progress
func (*FieldOperationMetadata) GetStartTime ¶
func (x *FieldOperationMetadata) GetStartTime() *timestamp.Timestamp
func (*FieldOperationMetadata) GetState ¶
func (x *FieldOperationMetadata) GetState() OperationState
func (*FieldOperationMetadata) GetTtlConfigDelta ¶
func (x *FieldOperationMetadata) GetTtlConfigDelta() *FieldOperationMetadata_TtlConfigDelta
func (*FieldOperationMetadata) ProtoMessage ¶
func (*FieldOperationMetadata) ProtoMessage()
func (*FieldOperationMetadata) ProtoReflect ¶
func (x *FieldOperationMetadata) ProtoReflect() protoreflect.Message
func (*FieldOperationMetadata) Reset ¶
func (x *FieldOperationMetadata) Reset()
func (*FieldOperationMetadata) String ¶
func (x *FieldOperationMetadata) String() string
type FieldOperationMetadata_IndexConfigDelta ¶
type FieldOperationMetadata_IndexConfigDelta struct { // Specifies how the index is changing. ChangeType FieldOperationMetadata_IndexConfigDelta_ChangeType `` /* 175-byte string literal not displayed */ // The index being changed. Index *Index `protobuf:"bytes,2,opt,name=index,proto3" json:"index,omitempty"` // contains filtered or unexported fields }
Information about an index configuration change.
func (*FieldOperationMetadata_IndexConfigDelta) Descriptor
deprecated
func (*FieldOperationMetadata_IndexConfigDelta) Descriptor() ([]byte, []int)
Deprecated: Use FieldOperationMetadata_IndexConfigDelta.ProtoReflect.Descriptor instead.
func (*FieldOperationMetadata_IndexConfigDelta) GetChangeType ¶
func (x *FieldOperationMetadata_IndexConfigDelta) GetChangeType() FieldOperationMetadata_IndexConfigDelta_ChangeType
func (*FieldOperationMetadata_IndexConfigDelta) GetIndex ¶
func (x *FieldOperationMetadata_IndexConfigDelta) GetIndex() *Index
func (*FieldOperationMetadata_IndexConfigDelta) ProtoMessage ¶
func (*FieldOperationMetadata_IndexConfigDelta) ProtoMessage()
func (*FieldOperationMetadata_IndexConfigDelta) ProtoReflect ¶
func (x *FieldOperationMetadata_IndexConfigDelta) ProtoReflect() protoreflect.Message
func (*FieldOperationMetadata_IndexConfigDelta) Reset ¶
func (x *FieldOperationMetadata_IndexConfigDelta) Reset()
func (*FieldOperationMetadata_IndexConfigDelta) String ¶
func (x *FieldOperationMetadata_IndexConfigDelta) String() string
type FieldOperationMetadata_IndexConfigDelta_ChangeType ¶
type FieldOperationMetadata_IndexConfigDelta_ChangeType int32
Specifies how the index is changing.
const ( // The type of change is not specified or known. FieldOperationMetadata_IndexConfigDelta_CHANGE_TYPE_UNSPECIFIED FieldOperationMetadata_IndexConfigDelta_ChangeType = 0 // The single field index is being added. FieldOperationMetadata_IndexConfigDelta_ADD FieldOperationMetadata_IndexConfigDelta_ChangeType = 1 // The single field index is being removed. FieldOperationMetadata_IndexConfigDelta_REMOVE FieldOperationMetadata_IndexConfigDelta_ChangeType = 2 )
func (FieldOperationMetadata_IndexConfigDelta_ChangeType) Descriptor ¶
func (FieldOperationMetadata_IndexConfigDelta_ChangeType) Descriptor() protoreflect.EnumDescriptor
func (FieldOperationMetadata_IndexConfigDelta_ChangeType) EnumDescriptor
deprecated
func (FieldOperationMetadata_IndexConfigDelta_ChangeType) EnumDescriptor() ([]byte, []int)
Deprecated: Use FieldOperationMetadata_IndexConfigDelta_ChangeType.Descriptor instead.
func (FieldOperationMetadata_IndexConfigDelta_ChangeType) Number ¶
func (x FieldOperationMetadata_IndexConfigDelta_ChangeType) Number() protoreflect.EnumNumber
func (FieldOperationMetadata_IndexConfigDelta_ChangeType) String ¶
func (x FieldOperationMetadata_IndexConfigDelta_ChangeType) String() string
type FieldOperationMetadata_TtlConfigDelta ¶
type FieldOperationMetadata_TtlConfigDelta struct { // Specifies how the TTL configuration is changing. ChangeType FieldOperationMetadata_TtlConfigDelta_ChangeType `` /* 173-byte string literal not displayed */ // contains filtered or unexported fields }
Information about a TTL configuration change.
func (*FieldOperationMetadata_TtlConfigDelta) Descriptor
deprecated
func (*FieldOperationMetadata_TtlConfigDelta) Descriptor() ([]byte, []int)
Deprecated: Use FieldOperationMetadata_TtlConfigDelta.ProtoReflect.Descriptor instead.
func (*FieldOperationMetadata_TtlConfigDelta) GetChangeType ¶
func (x *FieldOperationMetadata_TtlConfigDelta) GetChangeType() FieldOperationMetadata_TtlConfigDelta_ChangeType
func (*FieldOperationMetadata_TtlConfigDelta) ProtoMessage ¶
func (*FieldOperationMetadata_TtlConfigDelta) ProtoMessage()
func (*FieldOperationMetadata_TtlConfigDelta) ProtoReflect ¶
func (x *FieldOperationMetadata_TtlConfigDelta) ProtoReflect() protoreflect.Message
func (*FieldOperationMetadata_TtlConfigDelta) Reset ¶
func (x *FieldOperationMetadata_TtlConfigDelta) Reset()
func (*FieldOperationMetadata_TtlConfigDelta) String ¶
func (x *FieldOperationMetadata_TtlConfigDelta) String() string
type FieldOperationMetadata_TtlConfigDelta_ChangeType ¶
type FieldOperationMetadata_TtlConfigDelta_ChangeType int32
Specifies how the TTL config is changing.
const ( // The type of change is not specified or known. FieldOperationMetadata_TtlConfigDelta_CHANGE_TYPE_UNSPECIFIED FieldOperationMetadata_TtlConfigDelta_ChangeType = 0 // The TTL config is being added. FieldOperationMetadata_TtlConfigDelta_ADD FieldOperationMetadata_TtlConfigDelta_ChangeType = 1 // The TTL config is being removed. FieldOperationMetadata_TtlConfigDelta_REMOVE FieldOperationMetadata_TtlConfigDelta_ChangeType = 2 )
func (FieldOperationMetadata_TtlConfigDelta_ChangeType) Descriptor ¶
func (FieldOperationMetadata_TtlConfigDelta_ChangeType) Descriptor() protoreflect.EnumDescriptor
func (FieldOperationMetadata_TtlConfigDelta_ChangeType) EnumDescriptor
deprecated
func (FieldOperationMetadata_TtlConfigDelta_ChangeType) EnumDescriptor() ([]byte, []int)
Deprecated: Use FieldOperationMetadata_TtlConfigDelta_ChangeType.Descriptor instead.
func (FieldOperationMetadata_TtlConfigDelta_ChangeType) Number ¶
func (x FieldOperationMetadata_TtlConfigDelta_ChangeType) Number() protoreflect.EnumNumber
func (FieldOperationMetadata_TtlConfigDelta_ChangeType) String ¶
func (x FieldOperationMetadata_TtlConfigDelta_ChangeType) String() string
type Field_IndexConfig ¶
type Field_IndexConfig struct { // The indexes supported for this field. Indexes []*Index `protobuf:"bytes,1,rep,name=indexes,proto3" json:"indexes,omitempty"` // Output only. When true, the `Field`'s index configuration is set from the // configuration specified by the `ancestor_field`. // When false, the `Field`'s index configuration is defined explicitly. UsesAncestorConfig bool `protobuf:"varint,2,opt,name=uses_ancestor_config,json=usesAncestorConfig,proto3" json:"uses_ancestor_config,omitempty"` // Output only. Specifies the resource name of the `Field` from which this // field's index configuration is set (when `uses_ancestor_config` is true), // or from which it *would* be set if this field had no index configuration // (when `uses_ancestor_config` is false). AncestorField string `protobuf:"bytes,3,opt,name=ancestor_field,json=ancestorField,proto3" json:"ancestor_field,omitempty"` // Output only // When true, the `Field`'s index configuration is in the process of being // reverted. Once complete, the index config will transition to the same // state as the field specified by `ancestor_field`, at which point // `uses_ancestor_config` will be `true` and `reverting` will be `false`. Reverting bool `protobuf:"varint,4,opt,name=reverting,proto3" json:"reverting,omitempty"` // contains filtered or unexported fields }
The index configuration for this field.
func (*Field_IndexConfig) Descriptor
deprecated
func (*Field_IndexConfig) Descriptor() ([]byte, []int)
Deprecated: Use Field_IndexConfig.ProtoReflect.Descriptor instead.
func (*Field_IndexConfig) GetAncestorField ¶
func (x *Field_IndexConfig) GetAncestorField() string
func (*Field_IndexConfig) GetIndexes ¶
func (x *Field_IndexConfig) GetIndexes() []*Index
func (*Field_IndexConfig) GetReverting ¶
func (x *Field_IndexConfig) GetReverting() bool
func (*Field_IndexConfig) GetUsesAncestorConfig ¶
func (x *Field_IndexConfig) GetUsesAncestorConfig() bool
func (*Field_IndexConfig) ProtoMessage ¶
func (*Field_IndexConfig) ProtoMessage()
func (*Field_IndexConfig) ProtoReflect ¶
func (x *Field_IndexConfig) ProtoReflect() protoreflect.Message
func (*Field_IndexConfig) Reset ¶
func (x *Field_IndexConfig) Reset()
func (*Field_IndexConfig) String ¶
func (x *Field_IndexConfig) String() string
type Field_TtlConfig ¶
type Field_TtlConfig struct { // Output only. The state of the TTL configuration. State Field_TtlConfig_State `protobuf:"varint,1,opt,name=state,proto3,enum=mockgcp.firestore.admin.v1.Field_TtlConfig_State" json:"state,omitempty"` // contains filtered or unexported fields }
The TTL (time-to-live) configuration for documents that have this `Field` set.
Storing a timestamp value into a TTL-enabled field will be treated as the document's absolute expiration time. Timestamp values in the past indicate that the document is eligible for immediate expiration. Using any other data type or leaving the field absent will disable expiration for the individual document.
func (*Field_TtlConfig) Descriptor
deprecated
func (*Field_TtlConfig) Descriptor() ([]byte, []int)
Deprecated: Use Field_TtlConfig.ProtoReflect.Descriptor instead.
func (*Field_TtlConfig) GetState ¶
func (x *Field_TtlConfig) GetState() Field_TtlConfig_State
func (*Field_TtlConfig) ProtoMessage ¶
func (*Field_TtlConfig) ProtoMessage()
func (*Field_TtlConfig) ProtoReflect ¶
func (x *Field_TtlConfig) ProtoReflect() protoreflect.Message
func (*Field_TtlConfig) Reset ¶
func (x *Field_TtlConfig) Reset()
func (*Field_TtlConfig) String ¶
func (x *Field_TtlConfig) String() string
type Field_TtlConfig_State ¶
type Field_TtlConfig_State int32
The state of applying the TTL configuration to all documents.
const ( // The state is unspecified or unknown. Field_TtlConfig_STATE_UNSPECIFIED Field_TtlConfig_State = 0 // The TTL is being applied. There is an active long-running operation to // track the change. Newly written documents will have TTLs applied as // requested. Requested TTLs on existing documents are still being // processed. When TTLs on all existing documents have been processed, the // state will move to 'ACTIVE'. Field_TtlConfig_CREATING Field_TtlConfig_State = 1 // The TTL is active for all documents. Field_TtlConfig_ACTIVE Field_TtlConfig_State = 2 // The TTL configuration could not be enabled for all existing documents. // Newly written documents will continue to have their TTL applied. // The LRO returned when last attempting to enable TTL for this `Field` // has failed, and may have more details. Field_TtlConfig_NEEDS_REPAIR Field_TtlConfig_State = 3 )
func (Field_TtlConfig_State) Descriptor ¶
func (Field_TtlConfig_State) Descriptor() protoreflect.EnumDescriptor
func (Field_TtlConfig_State) Enum ¶
func (x Field_TtlConfig_State) Enum() *Field_TtlConfig_State
func (Field_TtlConfig_State) EnumDescriptor
deprecated
func (Field_TtlConfig_State) EnumDescriptor() ([]byte, []int)
Deprecated: Use Field_TtlConfig_State.Descriptor instead.
func (Field_TtlConfig_State) Number ¶
func (x Field_TtlConfig_State) Number() protoreflect.EnumNumber
func (Field_TtlConfig_State) String ¶
func (x Field_TtlConfig_State) String() string
func (Field_TtlConfig_State) Type ¶
func (Field_TtlConfig_State) Type() protoreflect.EnumType
type FirestoreAdminClient ¶
type FirestoreAdminClient interface { // Creates a composite index. This returns a // [google.longrunning.Operation][google.longrunning.Operation] which may be // used to track the status of the creation. The metadata for the operation // will be the type // [IndexOperationMetadata][mockgcp.firestore.admin.v1.IndexOperationMetadata]. CreateIndex(ctx context.Context, in *CreateIndexRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) // Lists composite indexes. ListIndexes(ctx context.Context, in *ListIndexesRequest, opts ...grpc.CallOption) (*ListIndexesResponse, error) // Gets a composite index. GetIndex(ctx context.Context, in *GetIndexRequest, opts ...grpc.CallOption) (*Index, error) // Deletes a composite index. DeleteIndex(ctx context.Context, in *DeleteIndexRequest, opts ...grpc.CallOption) (*empty.Empty, error) // Gets the metadata and configuration for a Field. GetField(ctx context.Context, in *GetFieldRequest, opts ...grpc.CallOption) (*Field, error) // Updates a field configuration. Currently, field updates apply only to // single field index configuration. However, calls to // [FirestoreAdmin.UpdateField][mockgcp.firestore.admin.v1.FirestoreAdmin.UpdateField] // should provide a field mask to avoid changing any configuration that the // caller isn't aware of. The field mask should be specified as: `{ paths: // "index_config" }`. // // This call returns a // [google.longrunning.Operation][google.longrunning.Operation] which may be // used to track the status of the field update. The metadata for the // operation will be the type // [FieldOperationMetadata][mockgcp.firestore.admin.v1.FieldOperationMetadata]. // // To configure the default field settings for the database, use // the special `Field` with resource name: // `projects/{project_id}/databases/{database_id}/collectionGroups/__default__/fields/*`. UpdateField(ctx context.Context, in *UpdateFieldRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) // Lists the field configuration and metadata for this database. // // Currently, // [FirestoreAdmin.ListFields][mockgcp.firestore.admin.v1.FirestoreAdmin.ListFields] // only supports listing fields that have been explicitly overridden. To issue // this query, call // [FirestoreAdmin.ListFields][mockgcp.firestore.admin.v1.FirestoreAdmin.ListFields] // with the filter set to `indexConfig.usesAncestorConfig:false` or // `ttlConfig:*`. ListFields(ctx context.Context, in *ListFieldsRequest, opts ...grpc.CallOption) (*ListFieldsResponse, error) // Exports a copy of all or a subset of documents from Google Cloud Firestore // to another storage system, such as Google Cloud Storage. Recent updates to // documents may not be reflected in the export. The export occurs in the // background and its progress can be monitored and managed via the // Operation resource that is created. The output of an export may only be // used once the associated operation is done. If an export operation is // cancelled before completion it may leave partial data behind in Google // Cloud Storage. // // For more details on export behavior and output format, refer to: // https://cloud.google.com/firestore/docs/manage-data/export-import ExportDocuments(ctx context.Context, in *ExportDocumentsRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) // Imports documents into Google Cloud Firestore. Existing documents with the // same name are overwritten. The import occurs in the background and its // progress can be monitored and managed via the Operation resource that is // created. If an ImportDocuments operation is cancelled, it is possible // that a subset of the data has already been imported to Cloud Firestore. ImportDocuments(ctx context.Context, in *ImportDocumentsRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) // Bulk deletes a subset of documents from Google Cloud Firestore. // Documents created or updated after the underlying system starts to process // the request will not be deleted. The bulk delete occurs in the background // and its progress can be monitored and managed via the Operation resource // that is created. // // For more details on bulk delete behavior, refer to: // https://cloud.google.com/firestore/docs/manage-data/bulk-delete BulkDeleteDocuments(ctx context.Context, in *BulkDeleteDocumentsRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) // Create a database. CreateDatabase(ctx context.Context, in *CreateDatabaseRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) // Gets information about a database. GetDatabase(ctx context.Context, in *GetDatabaseRequest, opts ...grpc.CallOption) (*Database, error) // List all the databases in the project. ListDatabases(ctx context.Context, in *ListDatabasesRequest, opts ...grpc.CallOption) (*ListDatabasesResponse, error) // Updates a database. UpdateDatabase(ctx context.Context, in *UpdateDatabaseRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) // Deletes a database. DeleteDatabase(ctx context.Context, in *DeleteDatabaseRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) // Gets information about a backup. GetBackup(ctx context.Context, in *GetBackupRequest, opts ...grpc.CallOption) (*Backup, error) // Lists all the backups. ListBackups(ctx context.Context, in *ListBackupsRequest, opts ...grpc.CallOption) (*ListBackupsResponse, error) // Deletes a backup. DeleteBackup(ctx context.Context, in *DeleteBackupRequest, opts ...grpc.CallOption) (*empty.Empty, error) // Creates a new database by restoring from an existing backup. // // The new database must be in the same cloud region or multi-region location // as the existing backup. This behaves similar to // [FirestoreAdmin.CreateDatabase][mockgcp.firestore.admin.v1.FirestoreAdmin.CreateDatabase] // except instead of creating a new empty database, a new database is created // with the database type, index configuration, and documents from an existing // backup. // // The [long-running operation][google.longrunning.Operation] can be used to // track the progress of the restore, with the Operation's // [metadata][google.longrunning.Operation.metadata] field type being the // [RestoreDatabaseMetadata][mockgcp.firestore.admin.v1.RestoreDatabaseMetadata]. // The [response][google.longrunning.Operation.response] type is the // [Database][mockgcp.firestore.admin.v1.Database] if the restore was // successful. The new database is not readable or writeable until the LRO has // completed. RestoreDatabase(ctx context.Context, in *RestoreDatabaseRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) // Creates a backup schedule on a database. // At most two backup schedules can be configured on a database, one daily // backup schedule and one weekly backup schedule. CreateBackupSchedule(ctx context.Context, in *CreateBackupScheduleRequest, opts ...grpc.CallOption) (*BackupSchedule, error) // Gets information about a backup schedule. GetBackupSchedule(ctx context.Context, in *GetBackupScheduleRequest, opts ...grpc.CallOption) (*BackupSchedule, error) // List backup schedules. ListBackupSchedules(ctx context.Context, in *ListBackupSchedulesRequest, opts ...grpc.CallOption) (*ListBackupSchedulesResponse, error) // Updates a backup schedule. UpdateBackupSchedule(ctx context.Context, in *UpdateBackupScheduleRequest, opts ...grpc.CallOption) (*BackupSchedule, error) // Deletes a backup schedule. DeleteBackupSchedule(ctx context.Context, in *DeleteBackupScheduleRequest, opts ...grpc.CallOption) (*empty.Empty, error) }
FirestoreAdminClient is the client API for FirestoreAdmin service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewFirestoreAdminClient ¶
func NewFirestoreAdminClient(cc grpc.ClientConnInterface) FirestoreAdminClient
type FirestoreAdminServer ¶
type FirestoreAdminServer interface { // Creates a composite index. This returns a // [google.longrunning.Operation][google.longrunning.Operation] which may be // used to track the status of the creation. The metadata for the operation // will be the type // [IndexOperationMetadata][mockgcp.firestore.admin.v1.IndexOperationMetadata]. CreateIndex(context.Context, *CreateIndexRequest) (*longrunningpb.Operation, error) // Lists composite indexes. ListIndexes(context.Context, *ListIndexesRequest) (*ListIndexesResponse, error) // Gets a composite index. GetIndex(context.Context, *GetIndexRequest) (*Index, error) // Deletes a composite index. DeleteIndex(context.Context, *DeleteIndexRequest) (*empty.Empty, error) // Gets the metadata and configuration for a Field. GetField(context.Context, *GetFieldRequest) (*Field, error) // Updates a field configuration. Currently, field updates apply only to // single field index configuration. However, calls to // [FirestoreAdmin.UpdateField][mockgcp.firestore.admin.v1.FirestoreAdmin.UpdateField] // should provide a field mask to avoid changing any configuration that the // caller isn't aware of. The field mask should be specified as: `{ paths: // "index_config" }`. // // This call returns a // [google.longrunning.Operation][google.longrunning.Operation] which may be // used to track the status of the field update. The metadata for the // operation will be the type // [FieldOperationMetadata][mockgcp.firestore.admin.v1.FieldOperationMetadata]. // // To configure the default field settings for the database, use // the special `Field` with resource name: // `projects/{project_id}/databases/{database_id}/collectionGroups/__default__/fields/*`. UpdateField(context.Context, *UpdateFieldRequest) (*longrunningpb.Operation, error) // Lists the field configuration and metadata for this database. // // Currently, // [FirestoreAdmin.ListFields][mockgcp.firestore.admin.v1.FirestoreAdmin.ListFields] // only supports listing fields that have been explicitly overridden. To issue // this query, call // [FirestoreAdmin.ListFields][mockgcp.firestore.admin.v1.FirestoreAdmin.ListFields] // with the filter set to `indexConfig.usesAncestorConfig:false` or // `ttlConfig:*`. ListFields(context.Context, *ListFieldsRequest) (*ListFieldsResponse, error) // Exports a copy of all or a subset of documents from Google Cloud Firestore // to another storage system, such as Google Cloud Storage. Recent updates to // documents may not be reflected in the export. The export occurs in the // background and its progress can be monitored and managed via the // Operation resource that is created. The output of an export may only be // used once the associated operation is done. If an export operation is // cancelled before completion it may leave partial data behind in Google // Cloud Storage. // // For more details on export behavior and output format, refer to: // https://cloud.google.com/firestore/docs/manage-data/export-import ExportDocuments(context.Context, *ExportDocumentsRequest) (*longrunningpb.Operation, error) // Imports documents into Google Cloud Firestore. Existing documents with the // same name are overwritten. The import occurs in the background and its // progress can be monitored and managed via the Operation resource that is // created. If an ImportDocuments operation is cancelled, it is possible // that a subset of the data has already been imported to Cloud Firestore. ImportDocuments(context.Context, *ImportDocumentsRequest) (*longrunningpb.Operation, error) // Bulk deletes a subset of documents from Google Cloud Firestore. // Documents created or updated after the underlying system starts to process // the request will not be deleted. The bulk delete occurs in the background // and its progress can be monitored and managed via the Operation resource // that is created. // // For more details on bulk delete behavior, refer to: // https://cloud.google.com/firestore/docs/manage-data/bulk-delete BulkDeleteDocuments(context.Context, *BulkDeleteDocumentsRequest) (*longrunningpb.Operation, error) // Create a database. CreateDatabase(context.Context, *CreateDatabaseRequest) (*longrunningpb.Operation, error) // Gets information about a database. GetDatabase(context.Context, *GetDatabaseRequest) (*Database, error) // List all the databases in the project. ListDatabases(context.Context, *ListDatabasesRequest) (*ListDatabasesResponse, error) // Updates a database. UpdateDatabase(context.Context, *UpdateDatabaseRequest) (*longrunningpb.Operation, error) // Deletes a database. DeleteDatabase(context.Context, *DeleteDatabaseRequest) (*longrunningpb.Operation, error) // Gets information about a backup. GetBackup(context.Context, *GetBackupRequest) (*Backup, error) // Lists all the backups. ListBackups(context.Context, *ListBackupsRequest) (*ListBackupsResponse, error) // Deletes a backup. DeleteBackup(context.Context, *DeleteBackupRequest) (*empty.Empty, error) // Creates a new database by restoring from an existing backup. // // The new database must be in the same cloud region or multi-region location // as the existing backup. This behaves similar to // [FirestoreAdmin.CreateDatabase][mockgcp.firestore.admin.v1.FirestoreAdmin.CreateDatabase] // except instead of creating a new empty database, a new database is created // with the database type, index configuration, and documents from an existing // backup. // // The [long-running operation][google.longrunning.Operation] can be used to // track the progress of the restore, with the Operation's // [metadata][google.longrunning.Operation.metadata] field type being the // [RestoreDatabaseMetadata][mockgcp.firestore.admin.v1.RestoreDatabaseMetadata]. // The [response][google.longrunning.Operation.response] type is the // [Database][mockgcp.firestore.admin.v1.Database] if the restore was // successful. The new database is not readable or writeable until the LRO has // completed. RestoreDatabase(context.Context, *RestoreDatabaseRequest) (*longrunningpb.Operation, error) // Creates a backup schedule on a database. // At most two backup schedules can be configured on a database, one daily // backup schedule and one weekly backup schedule. CreateBackupSchedule(context.Context, *CreateBackupScheduleRequest) (*BackupSchedule, error) // Gets information about a backup schedule. GetBackupSchedule(context.Context, *GetBackupScheduleRequest) (*BackupSchedule, error) // List backup schedules. ListBackupSchedules(context.Context, *ListBackupSchedulesRequest) (*ListBackupSchedulesResponse, error) // Updates a backup schedule. UpdateBackupSchedule(context.Context, *UpdateBackupScheduleRequest) (*BackupSchedule, error) // Deletes a backup schedule. DeleteBackupSchedule(context.Context, *DeleteBackupScheduleRequest) (*empty.Empty, error) // contains filtered or unexported methods }
FirestoreAdminServer is the server API for FirestoreAdmin service. All implementations must embed UnimplementedFirestoreAdminServer for forward compatibility
type GetBackupRequest ¶
type GetBackupRequest struct { // Required. Name of the backup to fetch. // // Format is `projects/{project}/locations/{location}/backups/{backup}`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
The request for [FirestoreAdmin.GetBackup][mockgcp.firestore.admin.v1.FirestoreAdmin.GetBackup].
func (*GetBackupRequest) Descriptor
deprecated
func (*GetBackupRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetBackupRequest.ProtoReflect.Descriptor instead.
func (*GetBackupRequest) GetName ¶
func (x *GetBackupRequest) GetName() string
func (*GetBackupRequest) ProtoMessage ¶
func (*GetBackupRequest) ProtoMessage()
func (*GetBackupRequest) ProtoReflect ¶
func (x *GetBackupRequest) ProtoReflect() protoreflect.Message
func (*GetBackupRequest) Reset ¶
func (x *GetBackupRequest) Reset()
func (*GetBackupRequest) String ¶
func (x *GetBackupRequest) String() string
type GetBackupScheduleRequest ¶
type GetBackupScheduleRequest struct { // Required. The name of the backup schedule. // // Format // `projects/{project}/databases/{database}/backupSchedules/{backup_schedule}` Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
The request for [FirestoreAdmin.GetBackupSchedule][mockgcp.firestore.admin.v1.FirestoreAdmin.GetBackupSchedule].
func (*GetBackupScheduleRequest) Descriptor
deprecated
func (*GetBackupScheduleRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetBackupScheduleRequest.ProtoReflect.Descriptor instead.
func (*GetBackupScheduleRequest) GetName ¶
func (x *GetBackupScheduleRequest) GetName() string
func (*GetBackupScheduleRequest) ProtoMessage ¶
func (*GetBackupScheduleRequest) ProtoMessage()
func (*GetBackupScheduleRequest) ProtoReflect ¶
func (x *GetBackupScheduleRequest) ProtoReflect() protoreflect.Message
func (*GetBackupScheduleRequest) Reset ¶
func (x *GetBackupScheduleRequest) Reset()
func (*GetBackupScheduleRequest) String ¶
func (x *GetBackupScheduleRequest) String() string
type GetDatabaseRequest ¶
type GetDatabaseRequest struct { // Required. A name of the form // `projects/{project_id}/databases/{database_id}` Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
The request for [FirestoreAdmin.GetDatabase][mockgcp.firestore.admin.v1.FirestoreAdmin.GetDatabase].
func (*GetDatabaseRequest) Descriptor
deprecated
func (*GetDatabaseRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetDatabaseRequest.ProtoReflect.Descriptor instead.
func (*GetDatabaseRequest) GetName ¶
func (x *GetDatabaseRequest) GetName() string
func (*GetDatabaseRequest) ProtoMessage ¶
func (*GetDatabaseRequest) ProtoMessage()
func (*GetDatabaseRequest) ProtoReflect ¶
func (x *GetDatabaseRequest) ProtoReflect() protoreflect.Message
func (*GetDatabaseRequest) Reset ¶
func (x *GetDatabaseRequest) Reset()
func (*GetDatabaseRequest) String ¶
func (x *GetDatabaseRequest) String() string
type GetFieldRequest ¶
type GetFieldRequest struct { // Required. A name of the form // `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/fields/{field_id}` Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
The request for [FirestoreAdmin.GetField][mockgcp.firestore.admin.v1.FirestoreAdmin.GetField].
func (*GetFieldRequest) Descriptor
deprecated
func (*GetFieldRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetFieldRequest.ProtoReflect.Descriptor instead.
func (*GetFieldRequest) GetName ¶
func (x *GetFieldRequest) GetName() string
func (*GetFieldRequest) ProtoMessage ¶
func (*GetFieldRequest) ProtoMessage()
func (*GetFieldRequest) ProtoReflect ¶
func (x *GetFieldRequest) ProtoReflect() protoreflect.Message
func (*GetFieldRequest) Reset ¶
func (x *GetFieldRequest) Reset()
func (*GetFieldRequest) String ¶
func (x *GetFieldRequest) String() string
type GetIndexRequest ¶
type GetIndexRequest struct { // Required. A name of the form // `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/indexes/{index_id}` Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
The request for [FirestoreAdmin.GetIndex][mockgcp.firestore.admin.v1.FirestoreAdmin.GetIndex].
func (*GetIndexRequest) Descriptor
deprecated
func (*GetIndexRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetIndexRequest.ProtoReflect.Descriptor instead.
func (*GetIndexRequest) GetName ¶
func (x *GetIndexRequest) GetName() string
func (*GetIndexRequest) ProtoMessage ¶
func (*GetIndexRequest) ProtoMessage()
func (*GetIndexRequest) ProtoReflect ¶
func (x *GetIndexRequest) ProtoReflect() protoreflect.Message
func (*GetIndexRequest) Reset ¶
func (x *GetIndexRequest) Reset()
func (*GetIndexRequest) String ¶
func (x *GetIndexRequest) String() string
type ImportDocumentsMetadata ¶
type ImportDocumentsMetadata struct { // The time this operation started. StartTime *timestamp.Timestamp `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` // The time this operation completed. Will be unset if operation still in // progress. EndTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` // The state of the import operation. OperationState OperationState `` /* 151-byte string literal not displayed */ // The progress, in documents, of this operation. ProgressDocuments *Progress `protobuf:"bytes,4,opt,name=progress_documents,json=progressDocuments,proto3" json:"progress_documents,omitempty"` // The progress, in bytes, of this operation. ProgressBytes *Progress `protobuf:"bytes,5,opt,name=progress_bytes,json=progressBytes,proto3" json:"progress_bytes,omitempty"` // Which collection IDs are being imported. CollectionIds []string `protobuf:"bytes,6,rep,name=collection_ids,json=collectionIds,proto3" json:"collection_ids,omitempty"` // The location of the documents being imported. InputUriPrefix string `protobuf:"bytes,7,opt,name=input_uri_prefix,json=inputUriPrefix,proto3" json:"input_uri_prefix,omitempty"` // Which namespace IDs are being imported. NamespaceIds []string `protobuf:"bytes,8,rep,name=namespace_ids,json=namespaceIds,proto3" json:"namespace_ids,omitempty"` // contains filtered or unexported fields }
Metadata for [google.longrunning.Operation][google.longrunning.Operation] results from [FirestoreAdmin.ImportDocuments][mockgcp.firestore.admin.v1.FirestoreAdmin.ImportDocuments].
func (*ImportDocumentsMetadata) Descriptor
deprecated
func (*ImportDocumentsMetadata) Descriptor() ([]byte, []int)
Deprecated: Use ImportDocumentsMetadata.ProtoReflect.Descriptor instead.
func (*ImportDocumentsMetadata) GetCollectionIds ¶
func (x *ImportDocumentsMetadata) GetCollectionIds() []string
func (*ImportDocumentsMetadata) GetEndTime ¶
func (x *ImportDocumentsMetadata) GetEndTime() *timestamp.Timestamp
func (*ImportDocumentsMetadata) GetInputUriPrefix ¶
func (x *ImportDocumentsMetadata) GetInputUriPrefix() string
func (*ImportDocumentsMetadata) GetNamespaceIds ¶
func (x *ImportDocumentsMetadata) GetNamespaceIds() []string
func (*ImportDocumentsMetadata) GetOperationState ¶
func (x *ImportDocumentsMetadata) GetOperationState() OperationState
func (*ImportDocumentsMetadata) GetProgressBytes ¶
func (x *ImportDocumentsMetadata) GetProgressBytes() *Progress
func (*ImportDocumentsMetadata) GetProgressDocuments ¶
func (x *ImportDocumentsMetadata) GetProgressDocuments() *Progress
func (*ImportDocumentsMetadata) GetStartTime ¶
func (x *ImportDocumentsMetadata) GetStartTime() *timestamp.Timestamp
func (*ImportDocumentsMetadata) ProtoMessage ¶
func (*ImportDocumentsMetadata) ProtoMessage()
func (*ImportDocumentsMetadata) ProtoReflect ¶
func (x *ImportDocumentsMetadata) ProtoReflect() protoreflect.Message
func (*ImportDocumentsMetadata) Reset ¶
func (x *ImportDocumentsMetadata) Reset()
func (*ImportDocumentsMetadata) String ¶
func (x *ImportDocumentsMetadata) String() string
type ImportDocumentsRequest ¶
type ImportDocumentsRequest struct { // Required. Database to import into. Should be of the form: // `projects/{project_id}/databases/{database_id}`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Which collection IDs to import. Unspecified means all collections included // in the import. Each collection ID in this list must be unique. CollectionIds []string `protobuf:"bytes,2,rep,name=collection_ids,json=collectionIds,proto3" json:"collection_ids,omitempty"` // Location of the exported files. // This must match the output_uri_prefix of an ExportDocumentsResponse from // an export that has completed successfully. // See: // [mockgcp.firestore.admin.v1.ExportDocumentsResponse.output_uri_prefix][mockgcp.firestore.admin.v1.ExportDocumentsResponse.output_uri_prefix]. InputUriPrefix string `protobuf:"bytes,3,opt,name=input_uri_prefix,json=inputUriPrefix,proto3" json:"input_uri_prefix,omitempty"` // An empty list represents all namespaces. This is the preferred // usage for databases that don't use namespaces. // // An empty string element represents the default namespace. This should be // used if the database has data in non-default namespaces, but doesn't want // to include them. Each namespace in this list must be unique. NamespaceIds []string `protobuf:"bytes,4,rep,name=namespace_ids,json=namespaceIds,proto3" json:"namespace_ids,omitempty"` // contains filtered or unexported fields }
The request for [FirestoreAdmin.ImportDocuments][mockgcp.firestore.admin.v1.FirestoreAdmin.ImportDocuments].
func (*ImportDocumentsRequest) Descriptor
deprecated
func (*ImportDocumentsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ImportDocumentsRequest.ProtoReflect.Descriptor instead.
func (*ImportDocumentsRequest) GetCollectionIds ¶
func (x *ImportDocumentsRequest) GetCollectionIds() []string
func (*ImportDocumentsRequest) GetInputUriPrefix ¶
func (x *ImportDocumentsRequest) GetInputUriPrefix() string
func (*ImportDocumentsRequest) GetName ¶
func (x *ImportDocumentsRequest) GetName() string
func (*ImportDocumentsRequest) GetNamespaceIds ¶
func (x *ImportDocumentsRequest) GetNamespaceIds() []string
func (*ImportDocumentsRequest) ProtoMessage ¶
func (*ImportDocumentsRequest) ProtoMessage()
func (*ImportDocumentsRequest) ProtoReflect ¶
func (x *ImportDocumentsRequest) ProtoReflect() protoreflect.Message
func (*ImportDocumentsRequest) Reset ¶
func (x *ImportDocumentsRequest) Reset()
func (*ImportDocumentsRequest) String ¶
func (x *ImportDocumentsRequest) String() string
type Index ¶
type Index struct { // Output only. A server defined name for this index. // The form of this name for composite indexes will be: // `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/indexes/{composite_index_id}` // For single field indexes, this field will be empty. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Indexes with a collection query scope specified allow queries // against a collection that is the child of a specific document, specified at // query time, and that has the same collection ID. // // Indexes with a collection group query scope specified allow queries against // all collections descended from a specific document, specified at query // time, and that have the same collection ID as this index. QueryScope Index_QueryScope `` /* 141-byte string literal not displayed */ // The API scope supported by this index. ApiScope Index_ApiScope `` /* 133-byte string literal not displayed */ // The fields supported by this index. // // For composite indexes, this requires a minimum of 2 and a maximum of 100 // fields. The last field entry is always for the field path `__name__`. If, // on creation, `__name__` was not specified as the last field, it will be // added automatically with the same direction as that of the last field // defined. If the final field in a composite index is not directional, the // `__name__` will be ordered ASCENDING (unless explicitly specified). // // For single field indexes, this will always be exactly one entry with a // field path equal to the field path of the associated field. Fields []*Index_IndexField `protobuf:"bytes,3,rep,name=fields,proto3" json:"fields,omitempty"` // Output only. The serving state of the index. State Index_State `protobuf:"varint,4,opt,name=state,proto3,enum=mockgcp.firestore.admin.v1.Index_State" json:"state,omitempty"` // contains filtered or unexported fields }
Cloud Firestore indexes enable simple and complex queries against documents in a database.
func (*Index) Descriptor
deprecated
func (*Index) GetApiScope ¶
func (x *Index) GetApiScope() Index_ApiScope
func (*Index) GetFields ¶
func (x *Index) GetFields() []*Index_IndexField
func (*Index) GetQueryScope ¶
func (x *Index) GetQueryScope() Index_QueryScope
func (*Index) GetState ¶
func (x *Index) GetState() Index_State
func (*Index) ProtoMessage ¶
func (*Index) ProtoMessage()
func (*Index) ProtoReflect ¶
func (x *Index) ProtoReflect() protoreflect.Message
type IndexOperationMetadata ¶
type IndexOperationMetadata struct { // The time this operation started. StartTime *timestamp.Timestamp `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` // The time this operation completed. Will be unset if operation still in // progress. EndTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` // The index resource that this operation is acting on. For example: // `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/indexes/{index_id}` Index string `protobuf:"bytes,3,opt,name=index,proto3" json:"index,omitempty"` // The state of the operation. State OperationState `protobuf:"varint,4,opt,name=state,proto3,enum=mockgcp.firestore.admin.v1.OperationState" json:"state,omitempty"` // The progress, in documents, of this operation. ProgressDocuments *Progress `protobuf:"bytes,5,opt,name=progress_documents,json=progressDocuments,proto3" json:"progress_documents,omitempty"` // The progress, in bytes, of this operation. ProgressBytes *Progress `protobuf:"bytes,6,opt,name=progress_bytes,json=progressBytes,proto3" json:"progress_bytes,omitempty"` // contains filtered or unexported fields }
Metadata for [google.longrunning.Operation][google.longrunning.Operation] results from [FirestoreAdmin.CreateIndex][mockgcp.firestore.admin.v1.FirestoreAdmin.CreateIndex].
func (*IndexOperationMetadata) Descriptor
deprecated
func (*IndexOperationMetadata) Descriptor() ([]byte, []int)
Deprecated: Use IndexOperationMetadata.ProtoReflect.Descriptor instead.
func (*IndexOperationMetadata) GetEndTime ¶
func (x *IndexOperationMetadata) GetEndTime() *timestamp.Timestamp
func (*IndexOperationMetadata) GetIndex ¶
func (x *IndexOperationMetadata) GetIndex() string
func (*IndexOperationMetadata) GetProgressBytes ¶
func (x *IndexOperationMetadata) GetProgressBytes() *Progress
func (*IndexOperationMetadata) GetProgressDocuments ¶
func (x *IndexOperationMetadata) GetProgressDocuments() *Progress
func (*IndexOperationMetadata) GetStartTime ¶
func (x *IndexOperationMetadata) GetStartTime() *timestamp.Timestamp
func (*IndexOperationMetadata) GetState ¶
func (x *IndexOperationMetadata) GetState() OperationState
func (*IndexOperationMetadata) ProtoMessage ¶
func (*IndexOperationMetadata) ProtoMessage()
func (*IndexOperationMetadata) ProtoReflect ¶
func (x *IndexOperationMetadata) ProtoReflect() protoreflect.Message
func (*IndexOperationMetadata) Reset ¶
func (x *IndexOperationMetadata) Reset()
func (*IndexOperationMetadata) String ¶
func (x *IndexOperationMetadata) String() string
type Index_ApiScope ¶
type Index_ApiScope int32
API Scope defines the APIs (Firestore Native, or Firestore in Datastore Mode) that are supported for queries.
const ( // The index can only be used by the Firestore Native query API. // This is the default. Index_ANY_API Index_ApiScope = 0 // The index can only be used by the Firestore in Datastore Mode query API. Index_DATASTORE_MODE_API Index_ApiScope = 1 )
func (Index_ApiScope) Descriptor ¶
func (Index_ApiScope) Descriptor() protoreflect.EnumDescriptor
func (Index_ApiScope) Enum ¶
func (x Index_ApiScope) Enum() *Index_ApiScope
func (Index_ApiScope) EnumDescriptor
deprecated
func (Index_ApiScope) EnumDescriptor() ([]byte, []int)
Deprecated: Use Index_ApiScope.Descriptor instead.
func (Index_ApiScope) Number ¶
func (x Index_ApiScope) Number() protoreflect.EnumNumber
func (Index_ApiScope) String ¶
func (x Index_ApiScope) String() string
func (Index_ApiScope) Type ¶
func (Index_ApiScope) Type() protoreflect.EnumType
type Index_IndexField ¶
type Index_IndexField struct { // Can be __name__. // For single field indexes, this must match the name of the field or may // be omitted. FieldPath string `protobuf:"bytes,1,opt,name=field_path,json=fieldPath,proto3" json:"field_path,omitempty"` // How the field value is indexed. // // Types that are assignable to ValueMode: // // *Index_IndexField_Order_ // *Index_IndexField_ArrayConfig_ // *Index_IndexField_VectorConfig_ ValueMode isIndex_IndexField_ValueMode `protobuf_oneof:"value_mode"` // contains filtered or unexported fields }
A field in an index. The field_path describes which field is indexed, the value_mode describes how the field value is indexed.
func (*Index_IndexField) Descriptor
deprecated
func (*Index_IndexField) Descriptor() ([]byte, []int)
Deprecated: Use Index_IndexField.ProtoReflect.Descriptor instead.
func (*Index_IndexField) GetArrayConfig ¶
func (x *Index_IndexField) GetArrayConfig() Index_IndexField_ArrayConfig
func (*Index_IndexField) GetFieldPath ¶
func (x *Index_IndexField) GetFieldPath() string
func (*Index_IndexField) GetOrder ¶
func (x *Index_IndexField) GetOrder() Index_IndexField_Order
func (*Index_IndexField) GetValueMode ¶
func (m *Index_IndexField) GetValueMode() isIndex_IndexField_ValueMode
func (*Index_IndexField) GetVectorConfig ¶
func (x *Index_IndexField) GetVectorConfig() *Index_IndexField_VectorConfig
func (*Index_IndexField) ProtoMessage ¶
func (*Index_IndexField) ProtoMessage()
func (*Index_IndexField) ProtoReflect ¶
func (x *Index_IndexField) ProtoReflect() protoreflect.Message
func (*Index_IndexField) Reset ¶
func (x *Index_IndexField) Reset()
func (*Index_IndexField) String ¶
func (x *Index_IndexField) String() string
type Index_IndexField_ArrayConfig ¶
type Index_IndexField_ArrayConfig int32
The supported array value configurations.
const ( // The index does not support additional array queries. Index_IndexField_ARRAY_CONFIG_UNSPECIFIED Index_IndexField_ArrayConfig = 0 // The index supports array containment queries. Index_IndexField_CONTAINS Index_IndexField_ArrayConfig = 1 )
func (Index_IndexField_ArrayConfig) Descriptor ¶
func (Index_IndexField_ArrayConfig) Descriptor() protoreflect.EnumDescriptor
func (Index_IndexField_ArrayConfig) Enum ¶
func (x Index_IndexField_ArrayConfig) Enum() *Index_IndexField_ArrayConfig
func (Index_IndexField_ArrayConfig) EnumDescriptor
deprecated
func (Index_IndexField_ArrayConfig) EnumDescriptor() ([]byte, []int)
Deprecated: Use Index_IndexField_ArrayConfig.Descriptor instead.
func (Index_IndexField_ArrayConfig) Number ¶
func (x Index_IndexField_ArrayConfig) Number() protoreflect.EnumNumber
func (Index_IndexField_ArrayConfig) String ¶
func (x Index_IndexField_ArrayConfig) String() string
func (Index_IndexField_ArrayConfig) Type ¶
func (Index_IndexField_ArrayConfig) Type() protoreflect.EnumType
type Index_IndexField_ArrayConfig_ ¶
type Index_IndexField_ArrayConfig_ struct { // Indicates that this field supports operations on `array_value`s. ArrayConfig Index_IndexField_ArrayConfig `` /* 132-byte string literal not displayed */ }
type Index_IndexField_Order ¶
type Index_IndexField_Order int32
The supported orderings.
const ( // The ordering is unspecified. Not a valid option. Index_IndexField_ORDER_UNSPECIFIED Index_IndexField_Order = 0 // The field is ordered by ascending field value. Index_IndexField_ASCENDING Index_IndexField_Order = 1 // The field is ordered by descending field value. Index_IndexField_DESCENDING Index_IndexField_Order = 2 )
func (Index_IndexField_Order) Descriptor ¶
func (Index_IndexField_Order) Descriptor() protoreflect.EnumDescriptor
func (Index_IndexField_Order) Enum ¶
func (x Index_IndexField_Order) Enum() *Index_IndexField_Order
func (Index_IndexField_Order) EnumDescriptor
deprecated
func (Index_IndexField_Order) EnumDescriptor() ([]byte, []int)
Deprecated: Use Index_IndexField_Order.Descriptor instead.
func (Index_IndexField_Order) Number ¶
func (x Index_IndexField_Order) Number() protoreflect.EnumNumber
func (Index_IndexField_Order) String ¶
func (x Index_IndexField_Order) String() string
func (Index_IndexField_Order) Type ¶
func (Index_IndexField_Order) Type() protoreflect.EnumType
type Index_IndexField_Order_ ¶
type Index_IndexField_Order_ struct { // Indicates that this field supports ordering by the specified order or // comparing using =, !=, <, <=, >, >=. Order Index_IndexField_Order `protobuf:"varint,2,opt,name=order,proto3,enum=mockgcp.firestore.admin.v1.Index_IndexField_Order,oneof"` }
type Index_IndexField_VectorConfig ¶
type Index_IndexField_VectorConfig struct { // Required. The vector dimension this configuration applies to. // // The resulting index will only include vectors of this dimension, and // can be used for vector search with the same dimension. Dimension int32 `protobuf:"varint,1,opt,name=dimension,proto3" json:"dimension,omitempty"` // The type of index used. // // Types that are assignable to Type: // // *Index_IndexField_VectorConfig_Flat Type isIndex_IndexField_VectorConfig_Type `protobuf_oneof:"type"` // contains filtered or unexported fields }
The index configuration to support vector search operations
func (*Index_IndexField_VectorConfig) Descriptor
deprecated
func (*Index_IndexField_VectorConfig) Descriptor() ([]byte, []int)
Deprecated: Use Index_IndexField_VectorConfig.ProtoReflect.Descriptor instead.
func (*Index_IndexField_VectorConfig) GetDimension ¶
func (x *Index_IndexField_VectorConfig) GetDimension() int32
func (*Index_IndexField_VectorConfig) GetFlat ¶
func (x *Index_IndexField_VectorConfig) GetFlat() *Index_IndexField_VectorConfig_FlatIndex
func (*Index_IndexField_VectorConfig) GetType ¶
func (m *Index_IndexField_VectorConfig) GetType() isIndex_IndexField_VectorConfig_Type
func (*Index_IndexField_VectorConfig) ProtoMessage ¶
func (*Index_IndexField_VectorConfig) ProtoMessage()
func (*Index_IndexField_VectorConfig) ProtoReflect ¶
func (x *Index_IndexField_VectorConfig) ProtoReflect() protoreflect.Message
func (*Index_IndexField_VectorConfig) Reset ¶
func (x *Index_IndexField_VectorConfig) Reset()
func (*Index_IndexField_VectorConfig) String ¶
func (x *Index_IndexField_VectorConfig) String() string
type Index_IndexField_VectorConfig_ ¶
type Index_IndexField_VectorConfig_ struct { // Indicates that this field supports nearest neighbor and distance // operations on vector. VectorConfig *Index_IndexField_VectorConfig `protobuf:"bytes,4,opt,name=vector_config,json=vectorConfig,proto3,oneof"` }
type Index_IndexField_VectorConfig_Flat ¶
type Index_IndexField_VectorConfig_Flat struct { // Indicates the vector index is a flat index. Flat *Index_IndexField_VectorConfig_FlatIndex `protobuf:"bytes,2,opt,name=flat,proto3,oneof"` }
type Index_IndexField_VectorConfig_FlatIndex ¶
type Index_IndexField_VectorConfig_FlatIndex struct {
// contains filtered or unexported fields
}
An index that stores vectors in a flat data structure, and supports exhaustive search.
func (*Index_IndexField_VectorConfig_FlatIndex) Descriptor
deprecated
func (*Index_IndexField_VectorConfig_FlatIndex) Descriptor() ([]byte, []int)
Deprecated: Use Index_IndexField_VectorConfig_FlatIndex.ProtoReflect.Descriptor instead.
func (*Index_IndexField_VectorConfig_FlatIndex) ProtoMessage ¶
func (*Index_IndexField_VectorConfig_FlatIndex) ProtoMessage()
func (*Index_IndexField_VectorConfig_FlatIndex) ProtoReflect ¶
func (x *Index_IndexField_VectorConfig_FlatIndex) ProtoReflect() protoreflect.Message
func (*Index_IndexField_VectorConfig_FlatIndex) Reset ¶
func (x *Index_IndexField_VectorConfig_FlatIndex) Reset()
func (*Index_IndexField_VectorConfig_FlatIndex) String ¶
func (x *Index_IndexField_VectorConfig_FlatIndex) String() string
type Index_QueryScope ¶
type Index_QueryScope int32
Query Scope defines the scope at which a query is run. This is specified on a StructuredQuery's `from` field.
const ( // The query scope is unspecified. Not a valid option. Index_QUERY_SCOPE_UNSPECIFIED Index_QueryScope = 0 // Indexes with a collection query scope specified allow queries // against a collection that is the child of a specific document, specified // at query time, and that has the collection ID specified by the index. Index_COLLECTION Index_QueryScope = 1 // Indexes with a collection group query scope specified allow queries // against all collections that has the collection ID specified by the // index. Index_COLLECTION_GROUP Index_QueryScope = 2 // Include all the collections's ancestor in the index. Only available for // Datastore Mode databases. Index_COLLECTION_RECURSIVE Index_QueryScope = 3 )
func (Index_QueryScope) Descriptor ¶
func (Index_QueryScope) Descriptor() protoreflect.EnumDescriptor
func (Index_QueryScope) Enum ¶
func (x Index_QueryScope) Enum() *Index_QueryScope
func (Index_QueryScope) EnumDescriptor
deprecated
func (Index_QueryScope) EnumDescriptor() ([]byte, []int)
Deprecated: Use Index_QueryScope.Descriptor instead.
func (Index_QueryScope) Number ¶
func (x Index_QueryScope) Number() protoreflect.EnumNumber
func (Index_QueryScope) String ¶
func (x Index_QueryScope) String() string
func (Index_QueryScope) Type ¶
func (Index_QueryScope) Type() protoreflect.EnumType
type Index_State ¶
type Index_State int32
The state of an index. During index creation, an index will be in the `CREATING` state. If the index is created successfully, it will transition to the `READY` state. If the index creation encounters a problem, the index will transition to the `NEEDS_REPAIR` state.
const ( // The state is unspecified. Index_STATE_UNSPECIFIED Index_State = 0 // The index is being created. // There is an active long-running operation for the index. // The index is updated when writing a document. // Some index data may exist. Index_CREATING Index_State = 1 // The index is ready to be used. // The index is updated when writing a document. // The index is fully populated from all stored documents it applies to. Index_READY Index_State = 2 // The index was being created, but something went wrong. // There is no active long-running operation for the index, // and the most recently finished long-running operation failed. // The index is not updated when writing a document. // Some index data may exist. // Use the google.longrunning.Operations API to determine why the operation // that last attempted to create this index failed, then re-create the // index. Index_NEEDS_REPAIR Index_State = 3 )
func (Index_State) Descriptor ¶
func (Index_State) Descriptor() protoreflect.EnumDescriptor
func (Index_State) Enum ¶
func (x Index_State) Enum() *Index_State
func (Index_State) EnumDescriptor
deprecated
func (Index_State) EnumDescriptor() ([]byte, []int)
Deprecated: Use Index_State.Descriptor instead.
func (Index_State) Number ¶
func (x Index_State) Number() protoreflect.EnumNumber
func (Index_State) String ¶
func (x Index_State) String() string
func (Index_State) Type ¶
func (Index_State) Type() protoreflect.EnumType
type ListBackupSchedulesRequest ¶
type ListBackupSchedulesRequest struct { // Required. The parent database. // // Format is `projects/{project}/databases/{database}`. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // contains filtered or unexported fields }
The request for [FirestoreAdmin.ListBackupSchedules][mockgcp.firestore.admin.v1.FirestoreAdmin.ListBackupSchedules].
func (*ListBackupSchedulesRequest) Descriptor
deprecated
func (*ListBackupSchedulesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListBackupSchedulesRequest.ProtoReflect.Descriptor instead.
func (*ListBackupSchedulesRequest) GetParent ¶
func (x *ListBackupSchedulesRequest) GetParent() string
func (*ListBackupSchedulesRequest) ProtoMessage ¶
func (*ListBackupSchedulesRequest) ProtoMessage()
func (*ListBackupSchedulesRequest) ProtoReflect ¶
func (x *ListBackupSchedulesRequest) ProtoReflect() protoreflect.Message
func (*ListBackupSchedulesRequest) Reset ¶
func (x *ListBackupSchedulesRequest) Reset()
func (*ListBackupSchedulesRequest) String ¶
func (x *ListBackupSchedulesRequest) String() string
type ListBackupSchedulesResponse ¶
type ListBackupSchedulesResponse struct { // List of all backup schedules. BackupSchedules []*BackupSchedule `protobuf:"bytes,1,rep,name=backup_schedules,json=backupSchedules,proto3" json:"backup_schedules,omitempty"` // contains filtered or unexported fields }
The response for [FirestoreAdmin.ListBackupSchedules][mockgcp.firestore.admin.v1.FirestoreAdmin.ListBackupSchedules].
func (*ListBackupSchedulesResponse) Descriptor
deprecated
func (*ListBackupSchedulesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListBackupSchedulesResponse.ProtoReflect.Descriptor instead.
func (*ListBackupSchedulesResponse) GetBackupSchedules ¶
func (x *ListBackupSchedulesResponse) GetBackupSchedules() []*BackupSchedule
func (*ListBackupSchedulesResponse) ProtoMessage ¶
func (*ListBackupSchedulesResponse) ProtoMessage()
func (*ListBackupSchedulesResponse) ProtoReflect ¶
func (x *ListBackupSchedulesResponse) ProtoReflect() protoreflect.Message
func (*ListBackupSchedulesResponse) Reset ¶
func (x *ListBackupSchedulesResponse) Reset()
func (*ListBackupSchedulesResponse) String ¶
func (x *ListBackupSchedulesResponse) String() string
type ListBackupsRequest ¶
type ListBackupsRequest struct { // Required. The location to list backups from. // // Format is `projects/{project}/locations/{location}`. // Use `{location} = '-'` to list backups from all locations for the given // project. This allows listing backups from a single location or from all // locations. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // contains filtered or unexported fields }
The request for [FirestoreAdmin.ListBackups][mockgcp.firestore.admin.v1.FirestoreAdmin.ListBackups].
func (*ListBackupsRequest) Descriptor
deprecated
func (*ListBackupsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListBackupsRequest.ProtoReflect.Descriptor instead.
func (*ListBackupsRequest) GetParent ¶
func (x *ListBackupsRequest) GetParent() string
func (*ListBackupsRequest) ProtoMessage ¶
func (*ListBackupsRequest) ProtoMessage()
func (*ListBackupsRequest) ProtoReflect ¶
func (x *ListBackupsRequest) ProtoReflect() protoreflect.Message
func (*ListBackupsRequest) Reset ¶
func (x *ListBackupsRequest) Reset()
func (*ListBackupsRequest) String ¶
func (x *ListBackupsRequest) String() string
type ListBackupsResponse ¶
type ListBackupsResponse struct { // List of all backups for the project. Backups []*Backup `protobuf:"bytes,1,rep,name=backups,proto3" json:"backups,omitempty"` // List of locations that existing backups were not able to be fetched from. // // Instead of failing the entire requests when a single location is // unreachable, this response returns a partial result set and list of // locations unable to be reached here. The request can be retried against a // single location to get a concrete error. Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"` // contains filtered or unexported fields }
The response for [FirestoreAdmin.ListBackups][mockgcp.firestore.admin.v1.FirestoreAdmin.ListBackups].
func (*ListBackupsResponse) Descriptor
deprecated
func (*ListBackupsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListBackupsResponse.ProtoReflect.Descriptor instead.
func (*ListBackupsResponse) GetBackups ¶
func (x *ListBackupsResponse) GetBackups() []*Backup
func (*ListBackupsResponse) GetUnreachable ¶
func (x *ListBackupsResponse) GetUnreachable() []string
func (*ListBackupsResponse) ProtoMessage ¶
func (*ListBackupsResponse) ProtoMessage()
func (*ListBackupsResponse) ProtoReflect ¶
func (x *ListBackupsResponse) ProtoReflect() protoreflect.Message
func (*ListBackupsResponse) Reset ¶
func (x *ListBackupsResponse) Reset()
func (*ListBackupsResponse) String ¶
func (x *ListBackupsResponse) String() string
type ListDatabasesRequest ¶
type ListDatabasesRequest struct { // Required. A parent name of the form // `projects/{project_id}` Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // If true, also returns deleted resources. ShowDeleted bool `protobuf:"varint,4,opt,name=show_deleted,json=showDeleted,proto3" json:"show_deleted,omitempty"` // contains filtered or unexported fields }
A request to list the Firestore Databases in all locations for a project.
func (*ListDatabasesRequest) Descriptor
deprecated
func (*ListDatabasesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListDatabasesRequest.ProtoReflect.Descriptor instead.
func (*ListDatabasesRequest) GetParent ¶
func (x *ListDatabasesRequest) GetParent() string
func (*ListDatabasesRequest) GetShowDeleted ¶
func (x *ListDatabasesRequest) GetShowDeleted() bool
func (*ListDatabasesRequest) ProtoMessage ¶
func (*ListDatabasesRequest) ProtoMessage()
func (*ListDatabasesRequest) ProtoReflect ¶
func (x *ListDatabasesRequest) ProtoReflect() protoreflect.Message
func (*ListDatabasesRequest) Reset ¶
func (x *ListDatabasesRequest) Reset()
func (*ListDatabasesRequest) String ¶
func (x *ListDatabasesRequest) String() string
type ListDatabasesResponse ¶
type ListDatabasesResponse struct { // The databases in the project. Databases []*Database `protobuf:"bytes,1,rep,name=databases,proto3" json:"databases,omitempty"` // In the event that data about individual databases cannot be listed they // will be recorded here. // // An example entry might be: projects/some_project/locations/some_location // This can happen if the Cloud Region that the Database resides in is // currently unavailable. In this case we can't fetch all the details about // the database. You may be able to get a more detailed error message // (or possibly fetch the resource) by sending a 'Get' request for the // resource or a 'List' request for the specific location. Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"` // contains filtered or unexported fields }
The list of databases for a project.
func (*ListDatabasesResponse) Descriptor
deprecated
func (*ListDatabasesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListDatabasesResponse.ProtoReflect.Descriptor instead.
func (*ListDatabasesResponse) GetDatabases ¶
func (x *ListDatabasesResponse) GetDatabases() []*Database
func (*ListDatabasesResponse) GetUnreachable ¶
func (x *ListDatabasesResponse) GetUnreachable() []string
func (*ListDatabasesResponse) ProtoMessage ¶
func (*ListDatabasesResponse) ProtoMessage()
func (*ListDatabasesResponse) ProtoReflect ¶
func (x *ListDatabasesResponse) ProtoReflect() protoreflect.Message
func (*ListDatabasesResponse) Reset ¶
func (x *ListDatabasesResponse) Reset()
func (*ListDatabasesResponse) String ¶
func (x *ListDatabasesResponse) String() string
type ListFieldsRequest ¶
type ListFieldsRequest struct { // Required. A parent name of the form // `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}` Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // The filter to apply to list results. Currently, // [FirestoreAdmin.ListFields][mockgcp.firestore.admin.v1.FirestoreAdmin.ListFields] // only supports listing fields that have been explicitly overridden. To issue // this query, call // [FirestoreAdmin.ListFields][mockgcp.firestore.admin.v1.FirestoreAdmin.ListFields] // with a filter that includes `indexConfig.usesAncestorConfig:false` or // `ttlConfig:*`. Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"` // The number of results to return. PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // A page token, returned from a previous call to // [FirestoreAdmin.ListFields][mockgcp.firestore.admin.v1.FirestoreAdmin.ListFields], // that may be used to get the next page of results. PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // contains filtered or unexported fields }
The request for [FirestoreAdmin.ListFields][mockgcp.firestore.admin.v1.FirestoreAdmin.ListFields].
func (*ListFieldsRequest) Descriptor
deprecated
func (*ListFieldsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListFieldsRequest.ProtoReflect.Descriptor instead.
func (*ListFieldsRequest) GetFilter ¶
func (x *ListFieldsRequest) GetFilter() string
func (*ListFieldsRequest) GetPageSize ¶
func (x *ListFieldsRequest) GetPageSize() int32
func (*ListFieldsRequest) GetPageToken ¶
func (x *ListFieldsRequest) GetPageToken() string
func (*ListFieldsRequest) GetParent ¶
func (x *ListFieldsRequest) GetParent() string
func (*ListFieldsRequest) ProtoMessage ¶
func (*ListFieldsRequest) ProtoMessage()
func (*ListFieldsRequest) ProtoReflect ¶
func (x *ListFieldsRequest) ProtoReflect() protoreflect.Message
func (*ListFieldsRequest) Reset ¶
func (x *ListFieldsRequest) Reset()
func (*ListFieldsRequest) String ¶
func (x *ListFieldsRequest) String() string
type ListFieldsResponse ¶
type ListFieldsResponse struct { // The requested fields. Fields []*Field `protobuf:"bytes,1,rep,name=fields,proto3" json:"fields,omitempty"` // A page token that may be used to request another page of results. If blank, // this is the last page. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
The response for [FirestoreAdmin.ListFields][mockgcp.firestore.admin.v1.FirestoreAdmin.ListFields].
func (*ListFieldsResponse) Descriptor
deprecated
func (*ListFieldsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListFieldsResponse.ProtoReflect.Descriptor instead.
func (*ListFieldsResponse) GetFields ¶
func (x *ListFieldsResponse) GetFields() []*Field
func (*ListFieldsResponse) GetNextPageToken ¶
func (x *ListFieldsResponse) GetNextPageToken() string
func (*ListFieldsResponse) ProtoMessage ¶
func (*ListFieldsResponse) ProtoMessage()
func (*ListFieldsResponse) ProtoReflect ¶
func (x *ListFieldsResponse) ProtoReflect() protoreflect.Message
func (*ListFieldsResponse) Reset ¶
func (x *ListFieldsResponse) Reset()
func (*ListFieldsResponse) String ¶
func (x *ListFieldsResponse) String() string
type ListIndexesRequest ¶
type ListIndexesRequest struct { // Required. A parent name of the form // `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}` Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // The filter to apply to list results. Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"` // The number of results to return. PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // A page token, returned from a previous call to // [FirestoreAdmin.ListIndexes][mockgcp.firestore.admin.v1.FirestoreAdmin.ListIndexes], // that may be used to get the next page of results. PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // contains filtered or unexported fields }
The request for [FirestoreAdmin.ListIndexes][mockgcp.firestore.admin.v1.FirestoreAdmin.ListIndexes].
func (*ListIndexesRequest) Descriptor
deprecated
func (*ListIndexesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListIndexesRequest.ProtoReflect.Descriptor instead.
func (*ListIndexesRequest) GetFilter ¶
func (x *ListIndexesRequest) GetFilter() string
func (*ListIndexesRequest) GetPageSize ¶
func (x *ListIndexesRequest) GetPageSize() int32
func (*ListIndexesRequest) GetPageToken ¶
func (x *ListIndexesRequest) GetPageToken() string
func (*ListIndexesRequest) GetParent ¶
func (x *ListIndexesRequest) GetParent() string
func (*ListIndexesRequest) ProtoMessage ¶
func (*ListIndexesRequest) ProtoMessage()
func (*ListIndexesRequest) ProtoReflect ¶
func (x *ListIndexesRequest) ProtoReflect() protoreflect.Message
func (*ListIndexesRequest) Reset ¶
func (x *ListIndexesRequest) Reset()
func (*ListIndexesRequest) String ¶
func (x *ListIndexesRequest) String() string
type ListIndexesResponse ¶
type ListIndexesResponse struct { // The requested indexes. Indexes []*Index `protobuf:"bytes,1,rep,name=indexes,proto3" json:"indexes,omitempty"` // A page token that may be used to request another page of results. If blank, // this is the last page. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
The response for [FirestoreAdmin.ListIndexes][mockgcp.firestore.admin.v1.FirestoreAdmin.ListIndexes].
func (*ListIndexesResponse) Descriptor
deprecated
func (*ListIndexesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListIndexesResponse.ProtoReflect.Descriptor instead.
func (*ListIndexesResponse) GetIndexes ¶
func (x *ListIndexesResponse) GetIndexes() []*Index
func (*ListIndexesResponse) GetNextPageToken ¶
func (x *ListIndexesResponse) GetNextPageToken() string
func (*ListIndexesResponse) ProtoMessage ¶
func (*ListIndexesResponse) ProtoMessage()
func (*ListIndexesResponse) ProtoReflect ¶
func (x *ListIndexesResponse) ProtoReflect() protoreflect.Message
func (*ListIndexesResponse) Reset ¶
func (x *ListIndexesResponse) Reset()
func (*ListIndexesResponse) String ¶
func (x *ListIndexesResponse) String() string
type LocationMetadata ¶
type LocationMetadata struct {
// contains filtered or unexported fields
}
The metadata message for [mockgcp.cloud.location.Location.metadata][mockgcp.cloud.location.Location.metadata].
func (*LocationMetadata) Descriptor
deprecated
func (*LocationMetadata) Descriptor() ([]byte, []int)
Deprecated: Use LocationMetadata.ProtoReflect.Descriptor instead.
func (*LocationMetadata) ProtoMessage ¶
func (*LocationMetadata) ProtoMessage()
func (*LocationMetadata) ProtoReflect ¶
func (x *LocationMetadata) ProtoReflect() protoreflect.Message
func (*LocationMetadata) Reset ¶
func (x *LocationMetadata) Reset()
func (*LocationMetadata) String ¶
func (x *LocationMetadata) String() string
type OperationState ¶
type OperationState int32
Describes the state of the operation.
const ( // Unspecified. OperationState_OPERATION_STATE_UNSPECIFIED OperationState = 0 // Request is being prepared for processing. OperationState_INITIALIZING OperationState = 1 // Request is actively being processed. OperationState_PROCESSING OperationState = 2 // Request is in the process of being cancelled after user called // google.longrunning.Operations.CancelOperation on the operation. OperationState_CANCELLING OperationState = 3 // Request has been processed and is in its finalization stage. OperationState_FINALIZING OperationState = 4 // Request has completed successfully. OperationState_SUCCESSFUL OperationState = 5 // Request has finished being processed, but encountered an error. OperationState_FAILED OperationState = 6 // Request has finished being cancelled after user called // google.longrunning.Operations.CancelOperation. OperationState_CANCELLED OperationState = 7 )
func (OperationState) Descriptor ¶
func (OperationState) Descriptor() protoreflect.EnumDescriptor
func (OperationState) Enum ¶
func (x OperationState) Enum() *OperationState
func (OperationState) EnumDescriptor
deprecated
func (OperationState) EnumDescriptor() ([]byte, []int)
Deprecated: Use OperationState.Descriptor instead.
func (OperationState) Number ¶
func (x OperationState) Number() protoreflect.EnumNumber
func (OperationState) String ¶
func (x OperationState) String() string
func (OperationState) Type ¶
func (OperationState) Type() protoreflect.EnumType
type Progress ¶
type Progress struct { // The amount of work estimated. EstimatedWork int64 `protobuf:"varint,1,opt,name=estimated_work,json=estimatedWork,proto3" json:"estimated_work,omitempty"` // The amount of work completed. CompletedWork int64 `protobuf:"varint,2,opt,name=completed_work,json=completedWork,proto3" json:"completed_work,omitempty"` // contains filtered or unexported fields }
Describes the progress of the operation. Unit of work is generic and must be interpreted based on where Progress[mockgcp.firestore.admin.v1.Progress] is used.
func (*Progress) Descriptor
deprecated
func (*Progress) GetCompletedWork ¶
func (*Progress) GetEstimatedWork ¶
func (*Progress) ProtoMessage ¶
func (*Progress) ProtoMessage()
func (*Progress) ProtoReflect ¶
func (x *Progress) ProtoReflect() protoreflect.Message
type RestoreDatabaseMetadata ¶
type RestoreDatabaseMetadata struct { // The time the restore was started. StartTime *timestamp.Timestamp `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` // The time the restore finished, unset for ongoing restores. EndTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` // The operation state of the restore. OperationState OperationState `` /* 151-byte string literal not displayed */ // The name of the database being restored to. Database string `protobuf:"bytes,4,opt,name=database,proto3" json:"database,omitempty"` // The name of the backup restoring from. Backup string `protobuf:"bytes,5,opt,name=backup,proto3" json:"backup,omitempty"` // How far along the restore is as an estimated percentage of remaining time. ProgressPercentage *Progress `protobuf:"bytes,8,opt,name=progress_percentage,json=progressPercentage,proto3" json:"progress_percentage,omitempty"` // contains filtered or unexported fields }
Metadata for the [long-running operation][google.longrunning.Operation] from the [RestoreDatabase][mockgcp.firestore.admin.v1.RestoreDatabase] request.
func (*RestoreDatabaseMetadata) Descriptor
deprecated
func (*RestoreDatabaseMetadata) Descriptor() ([]byte, []int)
Deprecated: Use RestoreDatabaseMetadata.ProtoReflect.Descriptor instead.
func (*RestoreDatabaseMetadata) GetBackup ¶
func (x *RestoreDatabaseMetadata) GetBackup() string
func (*RestoreDatabaseMetadata) GetDatabase ¶
func (x *RestoreDatabaseMetadata) GetDatabase() string
func (*RestoreDatabaseMetadata) GetEndTime ¶
func (x *RestoreDatabaseMetadata) GetEndTime() *timestamp.Timestamp
func (*RestoreDatabaseMetadata) GetOperationState ¶
func (x *RestoreDatabaseMetadata) GetOperationState() OperationState
func (*RestoreDatabaseMetadata) GetProgressPercentage ¶
func (x *RestoreDatabaseMetadata) GetProgressPercentage() *Progress
func (*RestoreDatabaseMetadata) GetStartTime ¶
func (x *RestoreDatabaseMetadata) GetStartTime() *timestamp.Timestamp
func (*RestoreDatabaseMetadata) ProtoMessage ¶
func (*RestoreDatabaseMetadata) ProtoMessage()
func (*RestoreDatabaseMetadata) ProtoReflect ¶
func (x *RestoreDatabaseMetadata) ProtoReflect() protoreflect.Message
func (*RestoreDatabaseMetadata) Reset ¶
func (x *RestoreDatabaseMetadata) Reset()
func (*RestoreDatabaseMetadata) String ¶
func (x *RestoreDatabaseMetadata) String() string
type RestoreDatabaseRequest ¶
type RestoreDatabaseRequest struct { // Required. The project to restore the database in. Format is // `projects/{project_id}`. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Required. The ID to use for the database, which will become the final // component of the database's resource name. This database ID must not be // associated with an existing database. // // This value should be 4-63 characters. Valid characters are /[a-z][0-9]-/ // with first character a letter and the last a letter or a number. Must not // be UUID-like /[0-9a-f]{8}(-[0-9a-f]{4}){3}-[0-9a-f]{12}/. // // "(default)" database ID is also valid. DatabaseId string `protobuf:"bytes,2,opt,name=database_id,json=databaseId,proto3" json:"database_id,omitempty"` // Required. Backup to restore from. Must be from the same project as the // parent. // // The restored database will be created in the same location as the source // backup. // // Format is: `projects/{project_id}/locations/{location}/backups/{backup}` Backup string `protobuf:"bytes,3,opt,name=backup,proto3" json:"backup,omitempty"` // Optional. Encryption configuration for the restored database. // // If this field is not specified, the restored database will use // the same encryption configuration as the backup, namely // [use_source_encryption][mockgcp.firestore.admin.v1.Database.EncryptionConfig.use_source_encryption]. EncryptionConfig *Database_EncryptionConfig `protobuf:"bytes,9,opt,name=encryption_config,json=encryptionConfig,proto3" json:"encryption_config,omitempty"` // contains filtered or unexported fields }
The request message for [FirestoreAdmin.RestoreDatabase][mockgcp.firestore.admin.v1.FirestoreAdmin.RestoreDatabase].
func (*RestoreDatabaseRequest) Descriptor
deprecated
func (*RestoreDatabaseRequest) Descriptor() ([]byte, []int)
Deprecated: Use RestoreDatabaseRequest.ProtoReflect.Descriptor instead.
func (*RestoreDatabaseRequest) GetBackup ¶
func (x *RestoreDatabaseRequest) GetBackup() string
func (*RestoreDatabaseRequest) GetDatabaseId ¶
func (x *RestoreDatabaseRequest) GetDatabaseId() string
func (*RestoreDatabaseRequest) GetEncryptionConfig ¶
func (x *RestoreDatabaseRequest) GetEncryptionConfig() *Database_EncryptionConfig
func (*RestoreDatabaseRequest) GetParent ¶
func (x *RestoreDatabaseRequest) GetParent() string
func (*RestoreDatabaseRequest) ProtoMessage ¶
func (*RestoreDatabaseRequest) ProtoMessage()
func (*RestoreDatabaseRequest) ProtoReflect ¶
func (x *RestoreDatabaseRequest) ProtoReflect() protoreflect.Message
func (*RestoreDatabaseRequest) Reset ¶
func (x *RestoreDatabaseRequest) Reset()
func (*RestoreDatabaseRequest) String ¶
func (x *RestoreDatabaseRequest) String() string
type UnimplementedFirestoreAdminServer ¶
type UnimplementedFirestoreAdminServer struct { }
UnimplementedFirestoreAdminServer must be embedded to have forward compatible implementations.
func (UnimplementedFirestoreAdminServer) BulkDeleteDocuments ¶
func (UnimplementedFirestoreAdminServer) BulkDeleteDocuments(context.Context, *BulkDeleteDocumentsRequest) (*longrunningpb.Operation, error)
func (UnimplementedFirestoreAdminServer) CreateBackupSchedule ¶
func (UnimplementedFirestoreAdminServer) CreateBackupSchedule(context.Context, *CreateBackupScheduleRequest) (*BackupSchedule, error)
func (UnimplementedFirestoreAdminServer) CreateDatabase ¶
func (UnimplementedFirestoreAdminServer) CreateDatabase(context.Context, *CreateDatabaseRequest) (*longrunningpb.Operation, error)
func (UnimplementedFirestoreAdminServer) CreateIndex ¶
func (UnimplementedFirestoreAdminServer) CreateIndex(context.Context, *CreateIndexRequest) (*longrunningpb.Operation, error)
func (UnimplementedFirestoreAdminServer) DeleteBackup ¶
func (UnimplementedFirestoreAdminServer) DeleteBackup(context.Context, *DeleteBackupRequest) (*empty.Empty, error)
func (UnimplementedFirestoreAdminServer) DeleteBackupSchedule ¶
func (UnimplementedFirestoreAdminServer) DeleteBackupSchedule(context.Context, *DeleteBackupScheduleRequest) (*empty.Empty, error)
func (UnimplementedFirestoreAdminServer) DeleteDatabase ¶
func (UnimplementedFirestoreAdminServer) DeleteDatabase(context.Context, *DeleteDatabaseRequest) (*longrunningpb.Operation, error)
func (UnimplementedFirestoreAdminServer) DeleteIndex ¶
func (UnimplementedFirestoreAdminServer) DeleteIndex(context.Context, *DeleteIndexRequest) (*empty.Empty, error)
func (UnimplementedFirestoreAdminServer) ExportDocuments ¶
func (UnimplementedFirestoreAdminServer) ExportDocuments(context.Context, *ExportDocumentsRequest) (*longrunningpb.Operation, error)
func (UnimplementedFirestoreAdminServer) GetBackup ¶
func (UnimplementedFirestoreAdminServer) GetBackup(context.Context, *GetBackupRequest) (*Backup, error)
func (UnimplementedFirestoreAdminServer) GetBackupSchedule ¶
func (UnimplementedFirestoreAdminServer) GetBackupSchedule(context.Context, *GetBackupScheduleRequest) (*BackupSchedule, error)
func (UnimplementedFirestoreAdminServer) GetDatabase ¶
func (UnimplementedFirestoreAdminServer) GetDatabase(context.Context, *GetDatabaseRequest) (*Database, error)
func (UnimplementedFirestoreAdminServer) GetField ¶
func (UnimplementedFirestoreAdminServer) GetField(context.Context, *GetFieldRequest) (*Field, error)
func (UnimplementedFirestoreAdminServer) GetIndex ¶
func (UnimplementedFirestoreAdminServer) GetIndex(context.Context, *GetIndexRequest) (*Index, error)
func (UnimplementedFirestoreAdminServer) ImportDocuments ¶
func (UnimplementedFirestoreAdminServer) ImportDocuments(context.Context, *ImportDocumentsRequest) (*longrunningpb.Operation, error)
func (UnimplementedFirestoreAdminServer) ListBackupSchedules ¶
func (UnimplementedFirestoreAdminServer) ListBackupSchedules(context.Context, *ListBackupSchedulesRequest) (*ListBackupSchedulesResponse, error)
func (UnimplementedFirestoreAdminServer) ListBackups ¶
func (UnimplementedFirestoreAdminServer) ListBackups(context.Context, *ListBackupsRequest) (*ListBackupsResponse, error)
func (UnimplementedFirestoreAdminServer) ListDatabases ¶
func (UnimplementedFirestoreAdminServer) ListDatabases(context.Context, *ListDatabasesRequest) (*ListDatabasesResponse, error)
func (UnimplementedFirestoreAdminServer) ListFields ¶
func (UnimplementedFirestoreAdminServer) ListFields(context.Context, *ListFieldsRequest) (*ListFieldsResponse, error)
func (UnimplementedFirestoreAdminServer) ListIndexes ¶
func (UnimplementedFirestoreAdminServer) ListIndexes(context.Context, *ListIndexesRequest) (*ListIndexesResponse, error)
func (UnimplementedFirestoreAdminServer) RestoreDatabase ¶
func (UnimplementedFirestoreAdminServer) RestoreDatabase(context.Context, *RestoreDatabaseRequest) (*longrunningpb.Operation, error)
func (UnimplementedFirestoreAdminServer) UpdateBackupSchedule ¶
func (UnimplementedFirestoreAdminServer) UpdateBackupSchedule(context.Context, *UpdateBackupScheduleRequest) (*BackupSchedule, error)
func (UnimplementedFirestoreAdminServer) UpdateDatabase ¶
func (UnimplementedFirestoreAdminServer) UpdateDatabase(context.Context, *UpdateDatabaseRequest) (*longrunningpb.Operation, error)
func (UnimplementedFirestoreAdminServer) UpdateField ¶
func (UnimplementedFirestoreAdminServer) UpdateField(context.Context, *UpdateFieldRequest) (*longrunningpb.Operation, error)
type UnsafeFirestoreAdminServer ¶
type UnsafeFirestoreAdminServer interface {
// contains filtered or unexported methods
}
UnsafeFirestoreAdminServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to FirestoreAdminServer will result in compilation errors.
type UpdateBackupScheduleRequest ¶
type UpdateBackupScheduleRequest struct { // Required. The backup schedule to update. BackupSchedule *BackupSchedule `protobuf:"bytes,1,opt,name=backup_schedule,json=backupSchedule,proto3" json:"backup_schedule,omitempty"` // The list of fields to be updated. UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // contains filtered or unexported fields }
The request for [FirestoreAdmin.UpdateBackupSchedule][mockgcp.firestore.admin.v1.FirestoreAdmin.UpdateBackupSchedule].
func (*UpdateBackupScheduleRequest) Descriptor
deprecated
func (*UpdateBackupScheduleRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateBackupScheduleRequest.ProtoReflect.Descriptor instead.
func (*UpdateBackupScheduleRequest) GetBackupSchedule ¶
func (x *UpdateBackupScheduleRequest) GetBackupSchedule() *BackupSchedule
func (*UpdateBackupScheduleRequest) GetUpdateMask ¶
func (x *UpdateBackupScheduleRequest) GetUpdateMask() *field_mask.FieldMask
func (*UpdateBackupScheduleRequest) ProtoMessage ¶
func (*UpdateBackupScheduleRequest) ProtoMessage()
func (*UpdateBackupScheduleRequest) ProtoReflect ¶
func (x *UpdateBackupScheduleRequest) ProtoReflect() protoreflect.Message
func (*UpdateBackupScheduleRequest) Reset ¶
func (x *UpdateBackupScheduleRequest) Reset()
func (*UpdateBackupScheduleRequest) String ¶
func (x *UpdateBackupScheduleRequest) String() string
type UpdateDatabaseMetadata ¶
type UpdateDatabaseMetadata struct {
// contains filtered or unexported fields
}
Metadata related to the update database operation.
func (*UpdateDatabaseMetadata) Descriptor
deprecated
func (*UpdateDatabaseMetadata) Descriptor() ([]byte, []int)
Deprecated: Use UpdateDatabaseMetadata.ProtoReflect.Descriptor instead.
func (*UpdateDatabaseMetadata) ProtoMessage ¶
func (*UpdateDatabaseMetadata) ProtoMessage()
func (*UpdateDatabaseMetadata) ProtoReflect ¶
func (x *UpdateDatabaseMetadata) ProtoReflect() protoreflect.Message
func (*UpdateDatabaseMetadata) Reset ¶
func (x *UpdateDatabaseMetadata) Reset()
func (*UpdateDatabaseMetadata) String ¶
func (x *UpdateDatabaseMetadata) String() string
type UpdateDatabaseRequest ¶
type UpdateDatabaseRequest struct { // Required. The database to update. Database *Database `protobuf:"bytes,1,opt,name=database,proto3" json:"database,omitempty"` // The list of fields to be updated. UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // contains filtered or unexported fields }
The request for [FirestoreAdmin.UpdateDatabase][mockgcp.firestore.admin.v1.FirestoreAdmin.UpdateDatabase].
func (*UpdateDatabaseRequest) Descriptor
deprecated
func (*UpdateDatabaseRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateDatabaseRequest.ProtoReflect.Descriptor instead.
func (*UpdateDatabaseRequest) GetDatabase ¶
func (x *UpdateDatabaseRequest) GetDatabase() *Database
func (*UpdateDatabaseRequest) GetUpdateMask ¶
func (x *UpdateDatabaseRequest) GetUpdateMask() *field_mask.FieldMask
func (*UpdateDatabaseRequest) ProtoMessage ¶
func (*UpdateDatabaseRequest) ProtoMessage()
func (*UpdateDatabaseRequest) ProtoReflect ¶
func (x *UpdateDatabaseRequest) ProtoReflect() protoreflect.Message
func (*UpdateDatabaseRequest) Reset ¶
func (x *UpdateDatabaseRequest) Reset()
func (*UpdateDatabaseRequest) String ¶
func (x *UpdateDatabaseRequest) String() string
type UpdateFieldRequest ¶
type UpdateFieldRequest struct { // Required. The field to be updated. Field *Field `protobuf:"bytes,1,opt,name=field,proto3" json:"field,omitempty"` // A mask, relative to the field. If specified, only configuration specified // by this field_mask will be updated in the field. UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // contains filtered or unexported fields }
The request for [FirestoreAdmin.UpdateField][mockgcp.firestore.admin.v1.FirestoreAdmin.UpdateField].
func (*UpdateFieldRequest) Descriptor
deprecated
func (*UpdateFieldRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateFieldRequest.ProtoReflect.Descriptor instead.
func (*UpdateFieldRequest) GetField ¶
func (x *UpdateFieldRequest) GetField() *Field
func (*UpdateFieldRequest) GetUpdateMask ¶
func (x *UpdateFieldRequest) GetUpdateMask() *field_mask.FieldMask
func (*UpdateFieldRequest) ProtoMessage ¶
func (*UpdateFieldRequest) ProtoMessage()
func (*UpdateFieldRequest) ProtoReflect ¶
func (x *UpdateFieldRequest) ProtoReflect() protoreflect.Message
func (*UpdateFieldRequest) Reset ¶
func (x *UpdateFieldRequest) Reset()
func (*UpdateFieldRequest) String ¶
func (x *UpdateFieldRequest) String() string
type WeeklyRecurrence ¶
type WeeklyRecurrence struct { // The day of week to run. // // DAY_OF_WEEK_UNSPECIFIED is not allowed. Day dayofweek.DayOfWeek `protobuf:"varint,2,opt,name=day,proto3,enum=google.type.DayOfWeek" json:"day,omitempty"` // contains filtered or unexported fields }
Represents a recurring schedule that runs on a specified day of the week.
The time zone is UTC.
func (*WeeklyRecurrence) Descriptor
deprecated
func (*WeeklyRecurrence) Descriptor() ([]byte, []int)
Deprecated: Use WeeklyRecurrence.ProtoReflect.Descriptor instead.
func (*WeeklyRecurrence) GetDay ¶
func (x *WeeklyRecurrence) GetDay() dayofweek.DayOfWeek
func (*WeeklyRecurrence) ProtoMessage ¶
func (*WeeklyRecurrence) ProtoMessage()
func (*WeeklyRecurrence) ProtoReflect ¶
func (x *WeeklyRecurrence) ProtoReflect() protoreflect.Message
func (*WeeklyRecurrence) Reset ¶
func (x *WeeklyRecurrence) Reset()
func (*WeeklyRecurrence) String ¶
func (x *WeeklyRecurrence) String() string