// Copyright 2025 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.35.2 // protoc v4.25.7 // source: google/firestore/admin/v1/database.proto package adminpb import ( _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" durationpb "google.golang.org/protobuf/types/known/durationpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" reflect "reflect" sync "sync" ) const ( // Verify that this generated code is sufficiently up-to-date. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) // Verify that runtime/protoimpl is sufficiently up-to-date. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) ) // 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. type Database_DatabaseType int32 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 ) // Enum value maps for Database_DatabaseType. 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, } ) func (x Database_DatabaseType) Enum() *Database_DatabaseType { p := new(Database_DatabaseType) *p = x return p } func (x Database_DatabaseType) String() string { return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } func (Database_DatabaseType) Descriptor() protoreflect.EnumDescriptor { return file_google_firestore_admin_v1_database_proto_enumTypes[0].Descriptor() } func (Database_DatabaseType) Type() protoreflect.EnumType { return &file_google_firestore_admin_v1_database_proto_enumTypes[0] } func (x Database_DatabaseType) Number() protoreflect.EnumNumber { return protoreflect.EnumNumber(x) } // Deprecated: Use Database_DatabaseType.Descriptor instead. func (Database_DatabaseType) EnumDescriptor() ([]byte, []int) { return file_google_firestore_admin_v1_database_proto_rawDescGZIP(), []int{0, 0} } // The type of concurrency control mode for transactions. type Database_ConcurrencyMode int32 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 ) // Enum value maps for Database_ConcurrencyMode. 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, } ) func (x Database_ConcurrencyMode) Enum() *Database_ConcurrencyMode { p := new(Database_ConcurrencyMode) *p = x return p } func (x Database_ConcurrencyMode) String() string { return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } func (Database_ConcurrencyMode) Descriptor() protoreflect.EnumDescriptor { return file_google_firestore_admin_v1_database_proto_enumTypes[1].Descriptor() } func (Database_ConcurrencyMode) Type() protoreflect.EnumType { return &file_google_firestore_admin_v1_database_proto_enumTypes[1] } func (x Database_ConcurrencyMode) Number() protoreflect.EnumNumber { return protoreflect.EnumNumber(x) } // Deprecated: Use Database_ConcurrencyMode.Descriptor instead. func (Database_ConcurrencyMode) EnumDescriptor() ([]byte, []int) { return file_google_firestore_admin_v1_database_proto_rawDescGZIP(), []int{0, 1} } // Point In Time Recovery feature enablement. type Database_PointInTimeRecoveryEnablement int32 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 ) // Enum value maps for Database_PointInTimeRecoveryEnablement. 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, } ) func (x Database_PointInTimeRecoveryEnablement) Enum() *Database_PointInTimeRecoveryEnablement { p := new(Database_PointInTimeRecoveryEnablement) *p = x return p } func (x Database_PointInTimeRecoveryEnablement) String() string { return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } func (Database_PointInTimeRecoveryEnablement) Descriptor() protoreflect.EnumDescriptor { return file_google_firestore_admin_v1_database_proto_enumTypes[2].Descriptor() } func (Database_PointInTimeRecoveryEnablement) Type() protoreflect.EnumType { return &file_google_firestore_admin_v1_database_proto_enumTypes[2] } func (x Database_PointInTimeRecoveryEnablement) Number() protoreflect.EnumNumber { return protoreflect.EnumNumber(x) } // Deprecated: Use Database_PointInTimeRecoveryEnablement.Descriptor instead. func (Database_PointInTimeRecoveryEnablement) EnumDescriptor() ([]byte, []int) { return file_google_firestore_admin_v1_database_proto_rawDescGZIP(), []int{0, 2} } // The type of App Engine integration mode. type Database_AppEngineIntegrationMode int32 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 ) // Enum value maps for Database_AppEngineIntegrationMode. 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, } ) func (x Database_AppEngineIntegrationMode) Enum() *Database_AppEngineIntegrationMode { p := new(Database_AppEngineIntegrationMode) *p = x return p } func (x Database_AppEngineIntegrationMode) String() string { return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } func (Database_AppEngineIntegrationMode) Descriptor() protoreflect.EnumDescriptor { return file_google_firestore_admin_v1_database_proto_enumTypes[3].Descriptor() } func (Database_AppEngineIntegrationMode) Type() protoreflect.EnumType { return &file_google_firestore_admin_v1_database_proto_enumTypes[3] } func (x Database_AppEngineIntegrationMode) Number() protoreflect.EnumNumber { return protoreflect.EnumNumber(x) } // Deprecated: Use Database_AppEngineIntegrationMode.Descriptor instead. func (Database_AppEngineIntegrationMode) EnumDescriptor() ([]byte, []int) { return file_google_firestore_admin_v1_database_proto_rawDescGZIP(), []int{0, 3} } // The delete protection state of the database. type Database_DeleteProtectionState int32 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 ) // Enum value maps for Database_DeleteProtectionState. 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, } ) func (x Database_DeleteProtectionState) Enum() *Database_DeleteProtectionState { p := new(Database_DeleteProtectionState) *p = x return p } func (x Database_DeleteProtectionState) String() string { return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } func (Database_DeleteProtectionState) Descriptor() protoreflect.EnumDescriptor { return file_google_firestore_admin_v1_database_proto_enumTypes[4].Descriptor() } func (Database_DeleteProtectionState) Type() protoreflect.EnumType { return &file_google_firestore_admin_v1_database_proto_enumTypes[4] } func (x Database_DeleteProtectionState) Number() protoreflect.EnumNumber { return protoreflect.EnumNumber(x) } // Deprecated: Use Database_DeleteProtectionState.Descriptor instead. func (Database_DeleteProtectionState) EnumDescriptor() ([]byte, []int) { return file_google_firestore_admin_v1_database_proto_rawDescGZIP(), []int{0, 4} } // The edition of the database. type Database_DatabaseEdition int32 const ( // Not used. Database_DATABASE_EDITION_UNSPECIFIED Database_DatabaseEdition = 0 // Standard edition. // // This is the default setting if not specified. Database_STANDARD Database_DatabaseEdition = 1 // Enterprise edition. Database_ENTERPRISE Database_DatabaseEdition = 2 ) // Enum value maps for Database_DatabaseEdition. var ( Database_DatabaseEdition_name = map[int32]string{ 0: "DATABASE_EDITION_UNSPECIFIED", 1: "STANDARD", 2: "ENTERPRISE", } Database_DatabaseEdition_value = map[string]int32{ "DATABASE_EDITION_UNSPECIFIED": 0, "STANDARD": 1, "ENTERPRISE": 2, } ) func (x Database_DatabaseEdition) Enum() *Database_DatabaseEdition { p := new(Database_DatabaseEdition) *p = x return p } func (x Database_DatabaseEdition) String() string { return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } func (Database_DatabaseEdition) Descriptor() protoreflect.EnumDescriptor { return file_google_firestore_admin_v1_database_proto_enumTypes[5].Descriptor() } func (Database_DatabaseEdition) Type() protoreflect.EnumType { return &file_google_firestore_admin_v1_database_proto_enumTypes[5] } func (x Database_DatabaseEdition) Number() protoreflect.EnumNumber { return protoreflect.EnumNumber(x) } // Deprecated: Use Database_DatabaseEdition.Descriptor instead. func (Database_DatabaseEdition) EnumDescriptor() ([]byte, []int) { return file_google_firestore_admin_v1_database_proto_rawDescGZIP(), []int{0, 5} } // A Cloud Firestore Database. type Database struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields // 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 *timestamppb.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 *timestamppb.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 *timestamppb.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=google.firestore.admin.v1.Database_DatabaseType" json:"type,omitempty"` // The concurrency control mode to use for this database. ConcurrencyMode Database_ConcurrencyMode `protobuf:"varint,15,opt,name=concurrency_mode,json=concurrencyMode,proto3,enum=google.firestore.admin.v1.Database_ConcurrencyMode" json:"concurrency_mode,omitempty"` // Output only. The period during which past versions of data are retained in // the database. // // Any [read][google.firestore.v1.GetDocumentRequest.read_time] // or [query][google.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 *durationpb.Duration `protobuf:"bytes,17,opt,name=version_retention_period,json=versionRetentionPeriod,proto3" json:"version_retention_period,omitempty"` // 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 *timestamppb.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 `protobuf:"varint,21,opt,name=point_in_time_recovery_enablement,json=pointInTimeRecoveryEnablement,proto3,enum=google.firestore.admin.v1.Database_PointInTimeRecoveryEnablement" json:"point_in_time_recovery_enablement,omitempty"` // The App Engine integration mode to use for this database. AppEngineIntegrationMode Database_AppEngineIntegrationMode `protobuf:"varint,19,opt,name=app_engine_integration_mode,json=appEngineIntegrationMode,proto3,enum=google.firestore.admin.v1.Database_AppEngineIntegrationMode" json:"app_engine_integration_mode,omitempty"` // Output only. The key_prefix for this database. This key_prefix is used, in // combination with the 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 `protobuf:"varint,22,opt,name=delete_protection_state,json=deleteProtectionState,proto3,enum=google.firestore.admin.v1.Database_DeleteProtectionState" json:"delete_protection_state,omitempty"` // 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"` // Optional. Input only. Immutable. Tag keys/values directly bound to this // resource. For example: // // "123/environment": "production", // "123/costCenter": "marketing" Tags map[string]string `protobuf:"bytes,29,rep,name=tags,proto3" json:"tags,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // Output only. Background: Free tier is the ability of a Firestore database // to use a small amount of resources every day without being charged. Once // usage exceeds the free tier limit further usage is charged. // // Whether this database can make use of the free tier. Only one database // per project can be eligible for the free tier. // // The first (or next) database that is created in a project without a free // tier database will be marked as eligible for the free tier. Databases that // are created while there is a free tier database will not be eligible for // the free tier. FreeTier *bool `protobuf:"varint,30,opt,name=free_tier,json=freeTier,proto3,oneof" json:"free_tier,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"` // Immutable. The edition of the database. DatabaseEdition Database_DatabaseEdition `protobuf:"varint,28,opt,name=database_edition,json=databaseEdition,proto3,enum=google.firestore.admin.v1.Database_DatabaseEdition" json:"database_edition,omitempty"` } func (x *Database) Reset() { *x = Database{} mi := &file_google_firestore_admin_v1_database_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *Database) String() string { return protoimpl.X.MessageStringOf(x) } func (*Database) ProtoMessage() {} func (x *Database) ProtoReflect() protoreflect.Message { mi := &file_google_firestore_admin_v1_database_proto_msgTypes[0] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use Database.ProtoReflect.Descriptor instead. func (*Database) Descriptor() ([]byte, []int) { return file_google_firestore_admin_v1_database_proto_rawDescGZIP(), []int{0} } func (x *Database) GetName() string { if x != nil { return x.Name } return "" } func (x *Database) GetUid() string { if x != nil { return x.Uid } return "" } func (x *Database) GetCreateTime() *timestamppb.Timestamp { if x != nil { return x.CreateTime } return nil } func (x *Database) GetUpdateTime() *timestamppb.Timestamp { if x != nil { return x.UpdateTime } return nil } func (x *Database) GetDeleteTime() *timestamppb.Timestamp { if x != nil { return x.DeleteTime } return nil } func (x *Database) GetLocationId() string { if x != nil { return x.LocationId } return "" } func (x *Database) GetType() Database_DatabaseType { if x != nil { return x.Type } return Database_DATABASE_TYPE_UNSPECIFIED } func (x *Database) GetConcurrencyMode() Database_ConcurrencyMode { if x != nil { return x.ConcurrencyMode } return Database_CONCURRENCY_MODE_UNSPECIFIED } func (x *Database) GetVersionRetentionPeriod() *durationpb.Duration { if x != nil { return x.VersionRetentionPeriod } return nil } func (x *Database) GetEarliestVersionTime() *timestamppb.Timestamp { if x != nil { return x.EarliestVersionTime } return nil } func (x *Database) GetPointInTimeRecoveryEnablement() Database_PointInTimeRecoveryEnablement { if x != nil { return x.PointInTimeRecoveryEnablement } return Database_POINT_IN_TIME_RECOVERY_ENABLEMENT_UNSPECIFIED } func (x *Database) GetAppEngineIntegrationMode() Database_AppEngineIntegrationMode { if x != nil { return x.AppEngineIntegrationMode } return Database_APP_ENGINE_INTEGRATION_MODE_UNSPECIFIED } func (x *Database) GetKeyPrefix() string { if x != nil { return x.KeyPrefix } return "" } func (x *Database) GetDeleteProtectionState() Database_DeleteProtectionState { if x != nil { return x.DeleteProtectionState } return Database_DELETE_PROTECTION_STATE_UNSPECIFIED } func (x *Database) GetCmekConfig() *Database_CmekConfig { if x != nil { return x.CmekConfig } return nil } func (x *Database) GetPreviousId() string { if x != nil { return x.PreviousId } return "" } func (x *Database) GetSourceInfo() *Database_SourceInfo { if x != nil { return x.SourceInfo } return nil } func (x *Database) GetTags() map[string]string { if x != nil { return x.Tags } return nil } func (x *Database) GetFreeTier() bool { if x != nil && x.FreeTier != nil { return *x.FreeTier } return false } func (x *Database) GetEtag() string { if x != nil { return x.Etag } return "" } func (x *Database) GetDatabaseEdition() Database_DatabaseEdition { if x != nil { return x.DatabaseEdition } return Database_DATABASE_EDITION_UNSPECIFIED } // The CMEK (Customer Managed Encryption Key) configuration for a Firestore // database. If not present, the database is secured by the default Google // encryption key. type Database_CmekConfig struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields // 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"` } func (x *Database_CmekConfig) Reset() { *x = Database_CmekConfig{} mi := &file_google_firestore_admin_v1_database_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *Database_CmekConfig) String() string { return protoimpl.X.MessageStringOf(x) } func (*Database_CmekConfig) ProtoMessage() {} func (x *Database_CmekConfig) ProtoReflect() protoreflect.Message { mi := &file_google_firestore_admin_v1_database_proto_msgTypes[1] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use Database_CmekConfig.ProtoReflect.Descriptor instead. func (*Database_CmekConfig) Descriptor() ([]byte, []int) { return file_google_firestore_admin_v1_database_proto_rawDescGZIP(), []int{0, 0} } func (x *Database_CmekConfig) GetKmsKeyName() string { if x != nil { return x.KmsKeyName } return "" } func (x *Database_CmekConfig) GetActiveKeyVersion() []string { if x != nil { return x.ActiveKeyVersion } return nil } // Information about the provenance of this database. type Database_SourceInfo struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields // 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"` } func (x *Database_SourceInfo) Reset() { *x = Database_SourceInfo{} mi := &file_google_firestore_admin_v1_database_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *Database_SourceInfo) String() string { return protoimpl.X.MessageStringOf(x) } func (*Database_SourceInfo) ProtoMessage() {} func (x *Database_SourceInfo) ProtoReflect() protoreflect.Message { mi := &file_google_firestore_admin_v1_database_proto_msgTypes[2] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use Database_SourceInfo.ProtoReflect.Descriptor instead. func (*Database_SourceInfo) Descriptor() ([]byte, []int) { return file_google_firestore_admin_v1_database_proto_rawDescGZIP(), []int{0, 1} } func (m *Database_SourceInfo) GetSource() isDatabase_SourceInfo_Source { if m != nil { return m.Source } return nil } func (x *Database_SourceInfo) GetBackup() *Database_SourceInfo_BackupSource { if x, ok := x.GetSource().(*Database_SourceInfo_Backup); ok { return x.Backup } return nil } func (x *Database_SourceInfo) GetOperation() string { if x != nil { return x.Operation } return "" } type isDatabase_SourceInfo_Source interface { isDatabase_SourceInfo_Source() } 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"` } func (*Database_SourceInfo_Backup) isDatabase_SourceInfo_Source() {} // Encryption configuration for a new database being created from another // source. // // The source could be a [Backup][google.firestore.admin.v1.Backup] . type Database_EncryptionConfig struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields // 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"` } func (x *Database_EncryptionConfig) Reset() { *x = Database_EncryptionConfig{} mi := &file_google_firestore_admin_v1_database_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *Database_EncryptionConfig) String() string { return protoimpl.X.MessageStringOf(x) } func (*Database_EncryptionConfig) ProtoMessage() {} func (x *Database_EncryptionConfig) ProtoReflect() protoreflect.Message { mi := &file_google_firestore_admin_v1_database_proto_msgTypes[3] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use Database_EncryptionConfig.ProtoReflect.Descriptor instead. func (*Database_EncryptionConfig) Descriptor() ([]byte, []int) { return file_google_firestore_admin_v1_database_proto_rawDescGZIP(), []int{0, 2} } func (m *Database_EncryptionConfig) GetEncryptionType() isDatabase_EncryptionConfig_EncryptionType { if m != nil { return m.EncryptionType } return nil } func (x *Database_EncryptionConfig) GetGoogleDefaultEncryption() *Database_EncryptionConfig_GoogleDefaultEncryptionOptions { if x, ok := x.GetEncryptionType().(*Database_EncryptionConfig_GoogleDefaultEncryption); ok { return x.GoogleDefaultEncryption } return nil } func (x *Database_EncryptionConfig) GetUseSourceEncryption() *Database_EncryptionConfig_SourceEncryptionOptions { if x, ok := x.GetEncryptionType().(*Database_EncryptionConfig_UseSourceEncryption); ok { return x.UseSourceEncryption } return nil } func (x *Database_EncryptionConfig) GetCustomerManagedEncryption() *Database_EncryptionConfig_CustomerManagedEncryptionOptions { if x, ok := x.GetEncryptionType().(*Database_EncryptionConfig_CustomerManagedEncryption); ok { return x.CustomerManagedEncryption } return nil } type isDatabase_EncryptionConfig_EncryptionType interface { isDatabase_EncryptionConfig_EncryptionType() } 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_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_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"` } func (*Database_EncryptionConfig_GoogleDefaultEncryption) isDatabase_EncryptionConfig_EncryptionType() { } func (*Database_EncryptionConfig_UseSourceEncryption) isDatabase_EncryptionConfig_EncryptionType() {} func (*Database_EncryptionConfig_CustomerManagedEncryption) isDatabase_EncryptionConfig_EncryptionType() { } // Information about a backup that was used to restore a database. type Database_SourceInfo_BackupSource struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields // 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"` } func (x *Database_SourceInfo_BackupSource) Reset() { *x = Database_SourceInfo_BackupSource{} mi := &file_google_firestore_admin_v1_database_proto_msgTypes[5] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *Database_SourceInfo_BackupSource) String() string { return protoimpl.X.MessageStringOf(x) } func (*Database_SourceInfo_BackupSource) ProtoMessage() {} func (x *Database_SourceInfo_BackupSource) ProtoReflect() protoreflect.Message { mi := &file_google_firestore_admin_v1_database_proto_msgTypes[5] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use Database_SourceInfo_BackupSource.ProtoReflect.Descriptor instead. func (*Database_SourceInfo_BackupSource) Descriptor() ([]byte, []int) { return file_google_firestore_admin_v1_database_proto_rawDescGZIP(), []int{0, 1, 0} } func (x *Database_SourceInfo_BackupSource) GetBackup() string { if x != nil { return x.Backup } return "" } // The configuration options for using Google default encryption. type Database_EncryptionConfig_GoogleDefaultEncryptionOptions struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields } func (x *Database_EncryptionConfig_GoogleDefaultEncryptionOptions) Reset() { *x = Database_EncryptionConfig_GoogleDefaultEncryptionOptions{} mi := &file_google_firestore_admin_v1_database_proto_msgTypes[6] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *Database_EncryptionConfig_GoogleDefaultEncryptionOptions) String() string { return protoimpl.X.MessageStringOf(x) } func (*Database_EncryptionConfig_GoogleDefaultEncryptionOptions) ProtoMessage() {} func (x *Database_EncryptionConfig_GoogleDefaultEncryptionOptions) ProtoReflect() protoreflect.Message { mi := &file_google_firestore_admin_v1_database_proto_msgTypes[6] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use Database_EncryptionConfig_GoogleDefaultEncryptionOptions.ProtoReflect.Descriptor instead. func (*Database_EncryptionConfig_GoogleDefaultEncryptionOptions) Descriptor() ([]byte, []int) { return file_google_firestore_admin_v1_database_proto_rawDescGZIP(), []int{0, 2, 0} } // The configuration options for using the same encryption method as the // source. type Database_EncryptionConfig_SourceEncryptionOptions struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields } func (x *Database_EncryptionConfig_SourceEncryptionOptions) Reset() { *x = Database_EncryptionConfig_SourceEncryptionOptions{} mi := &file_google_firestore_admin_v1_database_proto_msgTypes[7] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *Database_EncryptionConfig_SourceEncryptionOptions) String() string { return protoimpl.X.MessageStringOf(x) } func (*Database_EncryptionConfig_SourceEncryptionOptions) ProtoMessage() {} func (x *Database_EncryptionConfig_SourceEncryptionOptions) ProtoReflect() protoreflect.Message { mi := &file_google_firestore_admin_v1_database_proto_msgTypes[7] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use Database_EncryptionConfig_SourceEncryptionOptions.ProtoReflect.Descriptor instead. func (*Database_EncryptionConfig_SourceEncryptionOptions) Descriptor() ([]byte, []int) { return file_google_firestore_admin_v1_database_proto_rawDescGZIP(), []int{0, 2, 1} } // The configuration options for using CMEK (Customer Managed Encryption // Key) encryption. type Database_EncryptionConfig_CustomerManagedEncryptionOptions struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields // 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"` } func (x *Database_EncryptionConfig_CustomerManagedEncryptionOptions) Reset() { *x = Database_EncryptionConfig_CustomerManagedEncryptionOptions{} mi := &file_google_firestore_admin_v1_database_proto_msgTypes[8] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *Database_EncryptionConfig_CustomerManagedEncryptionOptions) String() string { return protoimpl.X.MessageStringOf(x) } func (*Database_EncryptionConfig_CustomerManagedEncryptionOptions) ProtoMessage() {} func (x *Database_EncryptionConfig_CustomerManagedEncryptionOptions) ProtoReflect() protoreflect.Message { mi := &file_google_firestore_admin_v1_database_proto_msgTypes[8] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use Database_EncryptionConfig_CustomerManagedEncryptionOptions.ProtoReflect.Descriptor instead. func (*Database_EncryptionConfig_CustomerManagedEncryptionOptions) Descriptor() ([]byte, []int) { return file_google_firestore_admin_v1_database_proto_rawDescGZIP(), []int{0, 2, 2} } func (x *Database_EncryptionConfig_CustomerManagedEncryptionOptions) GetKmsKeyName() string { if x != nil { return x.KmsKeyName } return "" } var File_google_firestore_admin_v1_database_proto protoreflect.FileDescriptor var file_google_firestore_admin_v1_database_proto_rawDesc = []byte{ 0x0a, 0x28, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x66, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2f, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2f, 0x76, 0x31, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x66, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xe6, 0x19, 0x0a, 0x08, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x15, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x40, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x40, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x40, 0x0a, 0x0b, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0a, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x44, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x30, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x66, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x5e, 0x0a, 0x10, 0x63, 0x6f, 0x6e, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 0x79, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x33, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x66, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x43, 0x6f, 0x6e, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 0x79, 0x4d, 0x6f, 0x64, 0x65, 0x52, 0x0f, 0x63, 0x6f, 0x6e, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 0x79, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x58, 0x0a, 0x18, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x72, 0x65, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x70, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x18, 0x11, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x16, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x12, 0x53, 0x0a, 0x15, 0x65, 0x61, 0x72, 0x6c, 0x69, 0x65, 0x73, 0x74, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x12, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x13, 0x65, 0x61, 0x72, 0x6c, 0x69, 0x65, 0x73, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x8b, 0x01, 0x0a, 0x21, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x5f, 0x69, 0x6e, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x72, 0x65, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x79, 0x5f, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x15, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x41, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x66, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x49, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x52, 0x65, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x79, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x1d, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x49, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x52, 0x65, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x79, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x7b, 0x0a, 0x1b, 0x61, 0x70, 0x70, 0x5f, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x5f, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x13, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x3c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x66, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x41, 0x70, 0x70, 0x45, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x49, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x6f, 0x64, 0x65, 0x52, 0x18, 0x61, 0x70, 0x70, 0x45, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x49, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x22, 0x0a, 0x0a, 0x6b, 0x65, 0x79, 0x5f, 0x70, 0x72, 0x65, 0x66, 0x69, 0x78, 0x18, 0x14, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x09, 0x6b, 0x65, 0x79, 0x50, 0x72, 0x65, 0x66, 0x69, 0x78, 0x12, 0x71, 0x0a, 0x17, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x16, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x39, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x66, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x15, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x54, 0x0a, 0x0b, 0x63, 0x6d, 0x65, 0x6b, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x17, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x66, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x43, 0x6d, 0x65, 0x6b, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0a, 0x63, 0x6d, 0x65, 0x6b, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x24, 0x0a, 0x0b, 0x70, 0x72, 0x65, 0x76, 0x69, 0x6f, 0x75, 0x73, 0x5f, 0x69, 0x64, 0x18, 0x19, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0a, 0x70, 0x72, 0x65, 0x76, 0x69, 0x6f, 0x75, 0x73, 0x49, 0x64, 0x12, 0x54, 0x0a, 0x0b, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x1a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x66, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0a, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x4c, 0x0a, 0x04, 0x74, 0x61, 0x67, 0x73, 0x18, 0x1d, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x66, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x54, 0x61, 0x67, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x42, 0x09, 0xe0, 0x41, 0x04, 0xe0, 0x41, 0x05, 0xe0, 0x41, 0x01, 0x52, 0x04, 0x74, 0x61, 0x67, 0x73, 0x12, 0x25, 0x0a, 0x09, 0x66, 0x72, 0x65, 0x65, 0x5f, 0x74, 0x69, 0x65, 0x72, 0x18, 0x1e, 0x20, 0x01, 0x28, 0x08, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x48, 0x00, 0x52, 0x08, 0x66, 0x72, 0x65, 0x65, 0x54, 0x69, 0x65, 0x72, 0x88, 0x01, 0x01, 0x12, 0x12, 0x0a, 0x04, 0x65, 0x74, 0x61, 0x67, 0x18, 0x63, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x65, 0x74, 0x61, 0x67, 0x12, 0x63, 0x0a, 0x10, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x65, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x1c, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x33, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x66, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x45, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x03, 0xe0, 0x41, 0x05, 0x52, 0x0f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x45, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0x66, 0x0a, 0x0a, 0x43, 0x6d, 0x65, 0x6b, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x25, 0x0a, 0x0c, 0x6b, 0x6d, 0x73, 0x5f, 0x6b, 0x65, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0a, 0x6b, 0x6d, 0x73, 0x4b, 0x65, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x31, 0x0a, 0x12, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x6b, 0x65, 0x79, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x10, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x4b, 0x65, 0x79, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x1a, 0x82, 0x02, 0x0a, 0x0a, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x55, 0x0a, 0x06, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x66, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x48, 0x00, 0x52, 0x06, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x12, 0x45, 0x0a, 0x09, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x27, 0xfa, 0x41, 0x24, 0x0a, 0x22, 0x66, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x09, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0x4c, 0x0a, 0x0c, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x3c, 0x0a, 0x06, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x24, 0xfa, 0x41, 0x21, 0x0a, 0x1f, 0x66, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x52, 0x06, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x42, 0x08, 0x0a, 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x1a, 0xe0, 0x04, 0x0a, 0x10, 0x45, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x91, 0x01, 0x0a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5f, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x5f, 0x65, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x53, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x66, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x45, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x45, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x48, 0x00, 0x52, 0x17, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x45, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x82, 0x01, 0x0a, 0x15, 0x75, 0x73, 0x65, 0x5f, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x65, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x4c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x66, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x45, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x45, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x48, 0x00, 0x52, 0x13, 0x75, 0x73, 0x65, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x45, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x97, 0x01, 0x0a, 0x1b, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65, 0x72, 0x5f, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x64, 0x5f, 0x65, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x55, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x66, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x45, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65, 0x72, 0x4d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x64, 0x45, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x48, 0x00, 0x52, 0x19, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65, 0x72, 0x4d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x64, 0x45, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0x20, 0x0a, 0x1e, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x45, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x1a, 0x19, 0x0a, 0x17, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x45, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x1a, 0x49, 0x0a, 0x20, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65, 0x72, 0x4d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x64, 0x45, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x25, 0x0a, 0x0c, 0x6b, 0x6d, 0x73, 0x5f, 0x6b, 0x65, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0a, 0x6b, 0x6d, 0x73, 0x4b, 0x65, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x42, 0x11, 0x0a, 0x0f, 0x65, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x1a, 0x37, 0x0a, 0x09, 0x54, 0x61, 0x67, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x57, 0x0a, 0x0c, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1d, 0x0a, 0x19, 0x44, 0x41, 0x54, 0x41, 0x42, 0x41, 0x53, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x14, 0x0a, 0x10, 0x46, 0x49, 0x52, 0x45, 0x53, 0x54, 0x4f, 0x52, 0x45, 0x5f, 0x4e, 0x41, 0x54, 0x49, 0x56, 0x45, 0x10, 0x01, 0x12, 0x12, 0x0a, 0x0e, 0x44, 0x41, 0x54, 0x41, 0x53, 0x54, 0x4f, 0x52, 0x45, 0x5f, 0x4d, 0x4f, 0x44, 0x45, 0x10, 0x02, 0x22, 0x77, 0x0a, 0x0f, 0x43, 0x6f, 0x6e, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 0x79, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x20, 0x0a, 0x1c, 0x43, 0x4f, 0x4e, 0x43, 0x55, 0x52, 0x52, 0x45, 0x4e, 0x43, 0x59, 0x5f, 0x4d, 0x4f, 0x44, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0e, 0x0a, 0x0a, 0x4f, 0x50, 0x54, 0x49, 0x4d, 0x49, 0x53, 0x54, 0x49, 0x43, 0x10, 0x01, 0x12, 0x0f, 0x0a, 0x0b, 0x50, 0x45, 0x53, 0x53, 0x49, 0x4d, 0x49, 0x53, 0x54, 0x49, 0x43, 0x10, 0x02, 0x12, 0x21, 0x0a, 0x1d, 0x4f, 0x50, 0x54, 0x49, 0x4d, 0x49, 0x53, 0x54, 0x49, 0x43, 0x5f, 0x57, 0x49, 0x54, 0x48, 0x5f, 0x45, 0x4e, 0x54, 0x49, 0x54, 0x59, 0x5f, 0x47, 0x52, 0x4f, 0x55, 0x50, 0x53, 0x10, 0x03, 0x22, 0x9b, 0x01, 0x0a, 0x1d, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x49, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x52, 0x65, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x79, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x31, 0x0a, 0x2d, 0x50, 0x4f, 0x49, 0x4e, 0x54, 0x5f, 0x49, 0x4e, 0x5f, 0x54, 0x49, 0x4d, 0x45, 0x5f, 0x52, 0x45, 0x43, 0x4f, 0x56, 0x45, 0x52, 0x59, 0x5f, 0x45, 0x4e, 0x41, 0x42, 0x4c, 0x45, 0x4d, 0x45, 0x4e, 0x54, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x22, 0x0a, 0x1e, 0x50, 0x4f, 0x49, 0x4e, 0x54, 0x5f, 0x49, 0x4e, 0x5f, 0x54, 0x49, 0x4d, 0x45, 0x5f, 0x52, 0x45, 0x43, 0x4f, 0x56, 0x45, 0x52, 0x59, 0x5f, 0x45, 0x4e, 0x41, 0x42, 0x4c, 0x45, 0x44, 0x10, 0x01, 0x12, 0x23, 0x0a, 0x1f, 0x50, 0x4f, 0x49, 0x4e, 0x54, 0x5f, 0x49, 0x4e, 0x5f, 0x54, 0x49, 0x4d, 0x45, 0x5f, 0x52, 0x45, 0x43, 0x4f, 0x56, 0x45, 0x52, 0x59, 0x5f, 0x44, 0x49, 0x53, 0x41, 0x42, 0x4c, 0x45, 0x44, 0x10, 0x02, 0x22, 0x62, 0x0a, 0x18, 0x41, 0x70, 0x70, 0x45, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x49, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x2b, 0x0a, 0x27, 0x41, 0x50, 0x50, 0x5f, 0x45, 0x4e, 0x47, 0x49, 0x4e, 0x45, 0x5f, 0x49, 0x4e, 0x54, 0x45, 0x47, 0x52, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x4d, 0x4f, 0x44, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x45, 0x4e, 0x41, 0x42, 0x4c, 0x45, 0x44, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x44, 0x49, 0x53, 0x41, 0x42, 0x4c, 0x45, 0x44, 0x10, 0x02, 0x22, 0x7f, 0x0a, 0x15, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x27, 0x0a, 0x23, 0x44, 0x45, 0x4c, 0x45, 0x54, 0x45, 0x5f, 0x50, 0x52, 0x4f, 0x54, 0x45, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x1e, 0x0a, 0x1a, 0x44, 0x45, 0x4c, 0x45, 0x54, 0x45, 0x5f, 0x50, 0x52, 0x4f, 0x54, 0x45, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x44, 0x49, 0x53, 0x41, 0x42, 0x4c, 0x45, 0x44, 0x10, 0x01, 0x12, 0x1d, 0x0a, 0x19, 0x44, 0x45, 0x4c, 0x45, 0x54, 0x45, 0x5f, 0x50, 0x52, 0x4f, 0x54, 0x45, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x45, 0x4e, 0x41, 0x42, 0x4c, 0x45, 0x44, 0x10, 0x02, 0x22, 0x51, 0x0a, 0x0f, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x45, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x20, 0x0a, 0x1c, 0x44, 0x41, 0x54, 0x41, 0x42, 0x41, 0x53, 0x45, 0x5f, 0x45, 0x44, 0x49, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0c, 0x0a, 0x08, 0x53, 0x54, 0x41, 0x4e, 0x44, 0x41, 0x52, 0x44, 0x10, 0x01, 0x12, 0x0e, 0x0a, 0x0a, 0x45, 0x4e, 0x54, 0x45, 0x52, 0x50, 0x52, 0x49, 0x53, 0x45, 0x10, 0x02, 0x3a, 0x52, 0xea, 0x41, 0x4f, 0x0a, 0x21, 0x66, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x12, 0x27, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x7b, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x7d, 0x52, 0x01, 0x01, 0x42, 0x0c, 0x0a, 0x0a, 0x5f, 0x66, 0x72, 0x65, 0x65, 0x5f, 0x74, 0x69, 0x65, 0x72, 0x42, 0xc3, 0x02, 0xea, 0x41, 0x64, 0x0a, 0x22, 0x66, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x3e, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x7b, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x7d, 0x2f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x7d, 0x0a, 0x1d, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x66, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x42, 0x0d, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x39, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x66, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x76, 0x31, 0x2f, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2f, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x70, 0x62, 0x3b, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x70, 0x62, 0xa2, 0x02, 0x04, 0x47, 0x43, 0x46, 0x53, 0xaa, 0x02, 0x1f, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x46, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x1f, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x46, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x5c, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x5c, 0x56, 0x31, 0xea, 0x02, 0x23, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x46, 0x69, 0x72, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x3a, 0x3a, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( file_google_firestore_admin_v1_database_proto_rawDescOnce sync.Once file_google_firestore_admin_v1_database_proto_rawDescData = file_google_firestore_admin_v1_database_proto_rawDesc ) func file_google_firestore_admin_v1_database_proto_rawDescGZIP() []byte { file_google_firestore_admin_v1_database_proto_rawDescOnce.Do(func() { file_google_firestore_admin_v1_database_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_firestore_admin_v1_database_proto_rawDescData) }) return file_google_firestore_admin_v1_database_proto_rawDescData } var file_google_firestore_admin_v1_database_proto_enumTypes = make([]protoimpl.EnumInfo, 6) var file_google_firestore_admin_v1_database_proto_msgTypes = make([]protoimpl.MessageInfo, 9) var file_google_firestore_admin_v1_database_proto_goTypes = []any{ (Database_DatabaseType)(0), // 0: google.firestore.admin.v1.Database.DatabaseType (Database_ConcurrencyMode)(0), // 1: google.firestore.admin.v1.Database.ConcurrencyMode (Database_PointInTimeRecoveryEnablement)(0), // 2: google.firestore.admin.v1.Database.PointInTimeRecoveryEnablement (Database_AppEngineIntegrationMode)(0), // 3: google.firestore.admin.v1.Database.AppEngineIntegrationMode (Database_DeleteProtectionState)(0), // 4: google.firestore.admin.v1.Database.DeleteProtectionState (Database_DatabaseEdition)(0), // 5: google.firestore.admin.v1.Database.DatabaseEdition (*Database)(nil), // 6: google.firestore.admin.v1.Database (*Database_CmekConfig)(nil), // 7: google.firestore.admin.v1.Database.CmekConfig (*Database_SourceInfo)(nil), // 8: google.firestore.admin.v1.Database.SourceInfo (*Database_EncryptionConfig)(nil), // 9: google.firestore.admin.v1.Database.EncryptionConfig nil, // 10: google.firestore.admin.v1.Database.TagsEntry (*Database_SourceInfo_BackupSource)(nil), // 11: google.firestore.admin.v1.Database.SourceInfo.BackupSource (*Database_EncryptionConfig_GoogleDefaultEncryptionOptions)(nil), // 12: google.firestore.admin.v1.Database.EncryptionConfig.GoogleDefaultEncryptionOptions (*Database_EncryptionConfig_SourceEncryptionOptions)(nil), // 13: google.firestore.admin.v1.Database.EncryptionConfig.SourceEncryptionOptions (*Database_EncryptionConfig_CustomerManagedEncryptionOptions)(nil), // 14: google.firestore.admin.v1.Database.EncryptionConfig.CustomerManagedEncryptionOptions (*timestamppb.Timestamp)(nil), // 15: google.protobuf.Timestamp (*durationpb.Duration)(nil), // 16: google.protobuf.Duration } var file_google_firestore_admin_v1_database_proto_depIdxs = []int32{ 15, // 0: google.firestore.admin.v1.Database.create_time:type_name -> google.protobuf.Timestamp 15, // 1: google.firestore.admin.v1.Database.update_time:type_name -> google.protobuf.Timestamp 15, // 2: google.firestore.admin.v1.Database.delete_time:type_name -> google.protobuf.Timestamp 0, // 3: google.firestore.admin.v1.Database.type:type_name -> google.firestore.admin.v1.Database.DatabaseType 1, // 4: google.firestore.admin.v1.Database.concurrency_mode:type_name -> google.firestore.admin.v1.Database.ConcurrencyMode 16, // 5: google.firestore.admin.v1.Database.version_retention_period:type_name -> google.protobuf.Duration 15, // 6: google.firestore.admin.v1.Database.earliest_version_time:type_name -> google.protobuf.Timestamp 2, // 7: google.firestore.admin.v1.Database.point_in_time_recovery_enablement:type_name -> google.firestore.admin.v1.Database.PointInTimeRecoveryEnablement 3, // 8: google.firestore.admin.v1.Database.app_engine_integration_mode:type_name -> google.firestore.admin.v1.Database.AppEngineIntegrationMode 4, // 9: google.firestore.admin.v1.Database.delete_protection_state:type_name -> google.firestore.admin.v1.Database.DeleteProtectionState 7, // 10: google.firestore.admin.v1.Database.cmek_config:type_name -> google.firestore.admin.v1.Database.CmekConfig 8, // 11: google.firestore.admin.v1.Database.source_info:type_name -> google.firestore.admin.v1.Database.SourceInfo 10, // 12: google.firestore.admin.v1.Database.tags:type_name -> google.firestore.admin.v1.Database.TagsEntry 5, // 13: google.firestore.admin.v1.Database.database_edition:type_name -> google.firestore.admin.v1.Database.DatabaseEdition 11, // 14: google.firestore.admin.v1.Database.SourceInfo.backup:type_name -> google.firestore.admin.v1.Database.SourceInfo.BackupSource 12, // 15: google.firestore.admin.v1.Database.EncryptionConfig.google_default_encryption:type_name -> google.firestore.admin.v1.Database.EncryptionConfig.GoogleDefaultEncryptionOptions 13, // 16: google.firestore.admin.v1.Database.EncryptionConfig.use_source_encryption:type_name -> google.firestore.admin.v1.Database.EncryptionConfig.SourceEncryptionOptions 14, // 17: google.firestore.admin.v1.Database.EncryptionConfig.customer_managed_encryption:type_name -> google.firestore.admin.v1.Database.EncryptionConfig.CustomerManagedEncryptionOptions 18, // [18:18] is the sub-list for method output_type 18, // [18:18] is the sub-list for method input_type 18, // [18:18] is the sub-list for extension type_name 18, // [18:18] is the sub-list for extension extendee 0, // [0:18] is the sub-list for field type_name } func init() { file_google_firestore_admin_v1_database_proto_init() } func file_google_firestore_admin_v1_database_proto_init() { if File_google_firestore_admin_v1_database_proto != nil { return } file_google_firestore_admin_v1_database_proto_msgTypes[0].OneofWrappers = []any{} file_google_firestore_admin_v1_database_proto_msgTypes[2].OneofWrappers = []any{ (*Database_SourceInfo_Backup)(nil), } file_google_firestore_admin_v1_database_proto_msgTypes[3].OneofWrappers = []any{ (*Database_EncryptionConfig_GoogleDefaultEncryption)(nil), (*Database_EncryptionConfig_UseSourceEncryption)(nil), (*Database_EncryptionConfig_CustomerManagedEncryption)(nil), } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_google_firestore_admin_v1_database_proto_rawDesc, NumEnums: 6, NumMessages: 9, NumExtensions: 0, NumServices: 0, }, GoTypes: file_google_firestore_admin_v1_database_proto_goTypes, DependencyIndexes: file_google_firestore_admin_v1_database_proto_depIdxs, EnumInfos: file_google_firestore_admin_v1_database_proto_enumTypes, MessageInfos: file_google_firestore_admin_v1_database_proto_msgTypes, }.Build() File_google_firestore_admin_v1_database_proto = out.File file_google_firestore_admin_v1_database_proto_rawDesc = nil file_google_firestore_admin_v1_database_proto_goTypes = nil file_google_firestore_admin_v1_database_proto_depIdxs = nil }