...

Source file src/google.golang.org/genproto/googleapis/firestore/v1/alias.go

Documentation: google.golang.org/genproto/googleapis/firestore/v1

     1  // Copyright 2022 Google LLC
     2  //
     3  // Licensed under the Apache License, Version 2.0 (the "License");
     4  // you may not use this file except in compliance with the License.
     5  // You may obtain a copy of the License at
     6  //
     7  //     http://www.apache.org/licenses/LICENSE-2.0
     8  //
     9  // Unless required by applicable law or agreed to in writing, software
    10  // distributed under the License is distributed on an "AS IS" BASIS,
    11  // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    12  // See the License for the specific language governing permissions and
    13  // limitations under the License.
    14  
    15  // Code generated by aliasgen. DO NOT EDIT.
    16  
    17  // Package firestore aliases all exported identifiers in package
    18  // "cloud.google.com/go/firestore/apiv1/firestorepb".
    19  //
    20  // Deprecated: Please use types in: cloud.google.com/go/firestore/apiv1/firestorepb.
    21  // Please read https://github.com/googleapis/google-cloud-go/blob/main/migration.md
    22  // for more details.
    23  package firestore
    24  
    25  import (
    26  	src "cloud.google.com/go/firestore/apiv1/firestorepb"
    27  	grpc "google.golang.org/grpc"
    28  )
    29  
    30  // Deprecated: Please use consts in: cloud.google.com/go/firestore/apiv1/firestorepb
    31  const (
    32  	DocumentTransform_FieldTransform_REQUEST_TIME             = src.DocumentTransform_FieldTransform_REQUEST_TIME
    33  	DocumentTransform_FieldTransform_SERVER_VALUE_UNSPECIFIED = src.DocumentTransform_FieldTransform_SERVER_VALUE_UNSPECIFIED
    34  	StructuredQuery_ASCENDING                                 = src.StructuredQuery_ASCENDING
    35  	StructuredQuery_CompositeFilter_AND                       = src.StructuredQuery_CompositeFilter_AND
    36  	StructuredQuery_CompositeFilter_OPERATOR_UNSPECIFIED      = src.StructuredQuery_CompositeFilter_OPERATOR_UNSPECIFIED
    37  	StructuredQuery_DESCENDING                                = src.StructuredQuery_DESCENDING
    38  	StructuredQuery_DIRECTION_UNSPECIFIED                     = src.StructuredQuery_DIRECTION_UNSPECIFIED
    39  	StructuredQuery_FieldFilter_ARRAY_CONTAINS                = src.StructuredQuery_FieldFilter_ARRAY_CONTAINS
    40  	StructuredQuery_FieldFilter_ARRAY_CONTAINS_ANY            = src.StructuredQuery_FieldFilter_ARRAY_CONTAINS_ANY
    41  	StructuredQuery_FieldFilter_EQUAL                         = src.StructuredQuery_FieldFilter_EQUAL
    42  	StructuredQuery_FieldFilter_GREATER_THAN                  = src.StructuredQuery_FieldFilter_GREATER_THAN
    43  	StructuredQuery_FieldFilter_GREATER_THAN_OR_EQUAL         = src.StructuredQuery_FieldFilter_GREATER_THAN_OR_EQUAL
    44  	StructuredQuery_FieldFilter_IN                            = src.StructuredQuery_FieldFilter_IN
    45  	StructuredQuery_FieldFilter_LESS_THAN                     = src.StructuredQuery_FieldFilter_LESS_THAN
    46  	StructuredQuery_FieldFilter_LESS_THAN_OR_EQUAL            = src.StructuredQuery_FieldFilter_LESS_THAN_OR_EQUAL
    47  	StructuredQuery_FieldFilter_NOT_EQUAL                     = src.StructuredQuery_FieldFilter_NOT_EQUAL
    48  	StructuredQuery_FieldFilter_NOT_IN                        = src.StructuredQuery_FieldFilter_NOT_IN
    49  	StructuredQuery_FieldFilter_OPERATOR_UNSPECIFIED          = src.StructuredQuery_FieldFilter_OPERATOR_UNSPECIFIED
    50  	StructuredQuery_UnaryFilter_IS_NAN                        = src.StructuredQuery_UnaryFilter_IS_NAN
    51  	StructuredQuery_UnaryFilter_IS_NOT_NAN                    = src.StructuredQuery_UnaryFilter_IS_NOT_NAN
    52  	StructuredQuery_UnaryFilter_IS_NOT_NULL                   = src.StructuredQuery_UnaryFilter_IS_NOT_NULL
    53  	StructuredQuery_UnaryFilter_IS_NULL                       = src.StructuredQuery_UnaryFilter_IS_NULL
    54  	StructuredQuery_UnaryFilter_OPERATOR_UNSPECIFIED          = src.StructuredQuery_UnaryFilter_OPERATOR_UNSPECIFIED
    55  	TargetChange_ADD                                          = src.TargetChange_ADD
    56  	TargetChange_CURRENT                                      = src.TargetChange_CURRENT
    57  	TargetChange_NO_CHANGE                                    = src.TargetChange_NO_CHANGE
    58  	TargetChange_REMOVE                                       = src.TargetChange_REMOVE
    59  	TargetChange_RESET                                        = src.TargetChange_RESET
    60  )
    61  
    62  // Deprecated: Please use vars in: cloud.google.com/go/firestore/apiv1/firestorepb
    63  var (
    64  	DocumentTransform_FieldTransform_ServerValue_name  = src.DocumentTransform_FieldTransform_ServerValue_name
    65  	DocumentTransform_FieldTransform_ServerValue_value = src.DocumentTransform_FieldTransform_ServerValue_value
    66  	File_google_firestore_v1_aggregation_result_proto  = src.File_google_firestore_v1_aggregation_result_proto
    67  	File_google_firestore_v1_common_proto              = src.File_google_firestore_v1_common_proto
    68  	File_google_firestore_v1_document_proto            = src.File_google_firestore_v1_document_proto
    69  	File_google_firestore_v1_firestore_proto           = src.File_google_firestore_v1_firestore_proto
    70  	File_google_firestore_v1_query_proto               = src.File_google_firestore_v1_query_proto
    71  	File_google_firestore_v1_write_proto               = src.File_google_firestore_v1_write_proto
    72  	StructuredQuery_CompositeFilter_Operator_name      = src.StructuredQuery_CompositeFilter_Operator_name
    73  	StructuredQuery_CompositeFilter_Operator_value     = src.StructuredQuery_CompositeFilter_Operator_value
    74  	StructuredQuery_Direction_name                     = src.StructuredQuery_Direction_name
    75  	StructuredQuery_Direction_value                    = src.StructuredQuery_Direction_value
    76  	StructuredQuery_FieldFilter_Operator_name          = src.StructuredQuery_FieldFilter_Operator_name
    77  	StructuredQuery_FieldFilter_Operator_value         = src.StructuredQuery_FieldFilter_Operator_value
    78  	StructuredQuery_UnaryFilter_Operator_name          = src.StructuredQuery_UnaryFilter_Operator_name
    79  	StructuredQuery_UnaryFilter_Operator_value         = src.StructuredQuery_UnaryFilter_Operator_value
    80  	TargetChange_TargetChangeType_name                 = src.TargetChange_TargetChangeType_name
    81  	TargetChange_TargetChangeType_value                = src.TargetChange_TargetChangeType_value
    82  )
    83  
    84  // The result of a single bucket from a Firestore aggregation query. The keys
    85  // of `aggregate_fields` are the same for all results in an aggregation query,
    86  // unlike document queries which can have different fields present for each
    87  // result.
    88  //
    89  // Deprecated: Please use types in: cloud.google.com/go/firestore/apiv1/firestorepb
    90  type AggregationResult = src.AggregationResult
    91  
    92  // An array value.
    93  //
    94  // Deprecated: Please use types in: cloud.google.com/go/firestore/apiv1/firestorepb
    95  type ArrayValue = src.ArrayValue
    96  
    97  // The request for
    98  // [Firestore.BatchGetDocuments][google.firestore.v1.Firestore.BatchGetDocuments].
    99  //
   100  // Deprecated: Please use types in: cloud.google.com/go/firestore/apiv1/firestorepb
   101  type BatchGetDocumentsRequest = src.BatchGetDocumentsRequest
   102  type BatchGetDocumentsRequest_NewTransaction = src.BatchGetDocumentsRequest_NewTransaction
   103  type BatchGetDocumentsRequest_ReadTime = src.BatchGetDocumentsRequest_ReadTime
   104  type BatchGetDocumentsRequest_Transaction = src.BatchGetDocumentsRequest_Transaction
   105  
   106  // The streamed response for
   107  // [Firestore.BatchGetDocuments][google.firestore.v1.Firestore.BatchGetDocuments].
   108  //
   109  // Deprecated: Please use types in: cloud.google.com/go/firestore/apiv1/firestorepb
   110  type BatchGetDocumentsResponse = src.BatchGetDocumentsResponse
   111  type BatchGetDocumentsResponse_Found = src.BatchGetDocumentsResponse_Found
   112  type BatchGetDocumentsResponse_Missing = src.BatchGetDocumentsResponse_Missing
   113  
   114  // The request for
   115  // [Firestore.BatchWrite][google.firestore.v1.Firestore.BatchWrite].
   116  //
   117  // Deprecated: Please use types in: cloud.google.com/go/firestore/apiv1/firestorepb
   118  type BatchWriteRequest = src.BatchWriteRequest
   119  
   120  // The response from
   121  // [Firestore.BatchWrite][google.firestore.v1.Firestore.BatchWrite].
   122  //
   123  // Deprecated: Please use types in: cloud.google.com/go/firestore/apiv1/firestorepb
   124  type BatchWriteResponse = src.BatchWriteResponse
   125  
   126  // The request for
   127  // [Firestore.BeginTransaction][google.firestore.v1.Firestore.BeginTransaction].
   128  //
   129  // Deprecated: Please use types in: cloud.google.com/go/firestore/apiv1/firestorepb
   130  type BeginTransactionRequest = src.BeginTransactionRequest
   131  
   132  // The response for
   133  // [Firestore.BeginTransaction][google.firestore.v1.Firestore.BeginTransaction].
   134  //
   135  // Deprecated: Please use types in: cloud.google.com/go/firestore/apiv1/firestorepb
   136  type BeginTransactionResponse = src.BeginTransactionResponse
   137  
   138  // The request for [Firestore.Commit][google.firestore.v1.Firestore.Commit].
   139  //
   140  // Deprecated: Please use types in: cloud.google.com/go/firestore/apiv1/firestorepb
   141  type CommitRequest = src.CommitRequest
   142  
   143  // The response for [Firestore.Commit][google.firestore.v1.Firestore.Commit].
   144  //
   145  // Deprecated: Please use types in: cloud.google.com/go/firestore/apiv1/firestorepb
   146  type CommitResponse = src.CommitResponse
   147  
   148  // The request for
   149  // [Firestore.CreateDocument][google.firestore.v1.Firestore.CreateDocument].
   150  //
   151  // Deprecated: Please use types in: cloud.google.com/go/firestore/apiv1/firestorepb
   152  type CreateDocumentRequest = src.CreateDocumentRequest
   153  
   154  // A position in a query result set.
   155  //
   156  // Deprecated: Please use types in: cloud.google.com/go/firestore/apiv1/firestorepb
   157  type Cursor = src.Cursor
   158  
   159  // The request for
   160  // [Firestore.DeleteDocument][google.firestore.v1.Firestore.DeleteDocument].
   161  //
   162  // Deprecated: Please use types in: cloud.google.com/go/firestore/apiv1/firestorepb
   163  type DeleteDocumentRequest = src.DeleteDocumentRequest
   164  
   165  // A Firestore document. Must not exceed 1 MiB - 4 bytes.
   166  //
   167  // Deprecated: Please use types in: cloud.google.com/go/firestore/apiv1/firestorepb
   168  type Document = src.Document
   169  
   170  // A [Document][google.firestore.v1.Document] has changed. May be the result
   171  // of multiple [writes][google.firestore.v1.Write], including deletes, that
   172  // ultimately resulted in a new value for the
   173  // [Document][google.firestore.v1.Document]. Multiple
   174  // [DocumentChange][google.firestore.v1.DocumentChange] messages may be
   175  // returned for the same logical change, if multiple targets are affected.
   176  //
   177  // Deprecated: Please use types in: cloud.google.com/go/firestore/apiv1/firestorepb
   178  type DocumentChange = src.DocumentChange
   179  
   180  // A [Document][google.firestore.v1.Document] has been deleted. May be the
   181  // result of multiple [writes][google.firestore.v1.Write], including updates,
   182  // the last of which deleted the [Document][google.firestore.v1.Document].
   183  // Multiple [DocumentDelete][google.firestore.v1.DocumentDelete] messages may
   184  // be returned for the same logical delete, if multiple targets are affected.
   185  //
   186  // Deprecated: Please use types in: cloud.google.com/go/firestore/apiv1/firestorepb
   187  type DocumentDelete = src.DocumentDelete
   188  
   189  // A set of field paths on a document. Used to restrict a get or update
   190  // operation on a document to a subset of its fields. This is different from
   191  // standard field masks, as this is always scoped to a
   192  // [Document][google.firestore.v1.Document], and takes in account the dynamic
   193  // nature of [Value][google.firestore.v1.Value].
   194  //
   195  // Deprecated: Please use types in: cloud.google.com/go/firestore/apiv1/firestorepb
   196  type DocumentMask = src.DocumentMask
   197  
   198  // A [Document][google.firestore.v1.Document] has been removed from the view
   199  // of the targets. Sent if the document is no longer relevant to a target and
   200  // is out of view. Can be sent instead of a DocumentDelete or a DocumentChange
   201  // if the server can not send the new value of the document. Multiple
   202  // [DocumentRemove][google.firestore.v1.DocumentRemove] messages may be
   203  // returned for the same logical write or delete, if multiple targets are
   204  // affected.
   205  //
   206  // Deprecated: Please use types in: cloud.google.com/go/firestore/apiv1/firestorepb
   207  type DocumentRemove = src.DocumentRemove
   208  
   209  // A transformation of a document.
   210  //
   211  // Deprecated: Please use types in: cloud.google.com/go/firestore/apiv1/firestorepb
   212  type DocumentTransform = src.DocumentTransform
   213  
   214  // A transformation of a field of the document.
   215  //
   216  // Deprecated: Please use types in: cloud.google.com/go/firestore/apiv1/firestorepb
   217  type DocumentTransform_FieldTransform = src.DocumentTransform_FieldTransform
   218  type DocumentTransform_FieldTransform_AppendMissingElements = src.DocumentTransform_FieldTransform_AppendMissingElements
   219  type DocumentTransform_FieldTransform_Increment = src.DocumentTransform_FieldTransform_Increment
   220  type DocumentTransform_FieldTransform_Maximum = src.DocumentTransform_FieldTransform_Maximum
   221  type DocumentTransform_FieldTransform_Minimum = src.DocumentTransform_FieldTransform_Minimum
   222  type DocumentTransform_FieldTransform_RemoveAllFromArray = src.DocumentTransform_FieldTransform_RemoveAllFromArray
   223  
   224  // A value that is calculated by the server.
   225  //
   226  // Deprecated: Please use types in: cloud.google.com/go/firestore/apiv1/firestorepb
   227  type DocumentTransform_FieldTransform_ServerValue = src.DocumentTransform_FieldTransform_ServerValue
   228  type DocumentTransform_FieldTransform_SetToServerValue = src.DocumentTransform_FieldTransform_SetToServerValue
   229  
   230  // A digest of all the documents that match a given target.
   231  //
   232  // Deprecated: Please use types in: cloud.google.com/go/firestore/apiv1/firestorepb
   233  type ExistenceFilter = src.ExistenceFilter
   234  
   235  // FirestoreClient is the client API for Firestore service. For semantics
   236  // around ctx use and closing/ending streaming RPCs, please refer to
   237  // https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
   238  //
   239  // Deprecated: Please use types in: cloud.google.com/go/firestore/apiv1/firestorepb
   240  type FirestoreClient = src.FirestoreClient
   241  
   242  // FirestoreServer is the server API for Firestore service.
   243  //
   244  // Deprecated: Please use types in: cloud.google.com/go/firestore/apiv1/firestorepb
   245  type FirestoreServer = src.FirestoreServer
   246  type Firestore_BatchGetDocumentsClient = src.Firestore_BatchGetDocumentsClient
   247  type Firestore_BatchGetDocumentsServer = src.Firestore_BatchGetDocumentsServer
   248  type Firestore_ListenClient = src.Firestore_ListenClient
   249  type Firestore_ListenServer = src.Firestore_ListenServer
   250  type Firestore_RunAggregationQueryClient = src.Firestore_RunAggregationQueryClient
   251  type Firestore_RunAggregationQueryServer = src.Firestore_RunAggregationQueryServer
   252  type Firestore_RunQueryClient = src.Firestore_RunQueryClient
   253  type Firestore_RunQueryServer = src.Firestore_RunQueryServer
   254  type Firestore_WriteClient = src.Firestore_WriteClient
   255  type Firestore_WriteServer = src.Firestore_WriteServer
   256  
   257  // The request for
   258  // [Firestore.GetDocument][google.firestore.v1.Firestore.GetDocument].
   259  //
   260  // Deprecated: Please use types in: cloud.google.com/go/firestore/apiv1/firestorepb
   261  type GetDocumentRequest = src.GetDocumentRequest
   262  type GetDocumentRequest_ReadTime = src.GetDocumentRequest_ReadTime
   263  type GetDocumentRequest_Transaction = src.GetDocumentRequest_Transaction
   264  
   265  // The request for
   266  // [Firestore.ListCollectionIds][google.firestore.v1.Firestore.ListCollectionIds].
   267  //
   268  // Deprecated: Please use types in: cloud.google.com/go/firestore/apiv1/firestorepb
   269  type ListCollectionIdsRequest = src.ListCollectionIdsRequest
   270  type ListCollectionIdsRequest_ReadTime = src.ListCollectionIdsRequest_ReadTime
   271  
   272  // The response from
   273  // [Firestore.ListCollectionIds][google.firestore.v1.Firestore.ListCollectionIds].
   274  //
   275  // Deprecated: Please use types in: cloud.google.com/go/firestore/apiv1/firestorepb
   276  type ListCollectionIdsResponse = src.ListCollectionIdsResponse
   277  
   278  // The request for
   279  // [Firestore.ListDocuments][google.firestore.v1.Firestore.ListDocuments].
   280  //
   281  // Deprecated: Please use types in: cloud.google.com/go/firestore/apiv1/firestorepb
   282  type ListDocumentsRequest = src.ListDocumentsRequest
   283  type ListDocumentsRequest_ReadTime = src.ListDocumentsRequest_ReadTime
   284  type ListDocumentsRequest_Transaction = src.ListDocumentsRequest_Transaction
   285  
   286  // The response for
   287  // [Firestore.ListDocuments][google.firestore.v1.Firestore.ListDocuments].
   288  //
   289  // Deprecated: Please use types in: cloud.google.com/go/firestore/apiv1/firestorepb
   290  type ListDocumentsResponse = src.ListDocumentsResponse
   291  
   292  // A request for [Firestore.Listen][google.firestore.v1.Firestore.Listen]
   293  //
   294  // Deprecated: Please use types in: cloud.google.com/go/firestore/apiv1/firestorepb
   295  type ListenRequest = src.ListenRequest
   296  type ListenRequest_AddTarget = src.ListenRequest_AddTarget
   297  type ListenRequest_RemoveTarget = src.ListenRequest_RemoveTarget
   298  
   299  // The response for [Firestore.Listen][google.firestore.v1.Firestore.Listen].
   300  //
   301  // Deprecated: Please use types in: cloud.google.com/go/firestore/apiv1/firestorepb
   302  type ListenResponse = src.ListenResponse
   303  type ListenResponse_DocumentChange = src.ListenResponse_DocumentChange
   304  type ListenResponse_DocumentDelete = src.ListenResponse_DocumentDelete
   305  type ListenResponse_DocumentRemove = src.ListenResponse_DocumentRemove
   306  type ListenResponse_Filter = src.ListenResponse_Filter
   307  type ListenResponse_TargetChange = src.ListenResponse_TargetChange
   308  
   309  // A map value.
   310  //
   311  // Deprecated: Please use types in: cloud.google.com/go/firestore/apiv1/firestorepb
   312  type MapValue = src.MapValue
   313  
   314  // The request for
   315  // [Firestore.PartitionQuery][google.firestore.v1.Firestore.PartitionQuery].
   316  //
   317  // Deprecated: Please use types in: cloud.google.com/go/firestore/apiv1/firestorepb
   318  type PartitionQueryRequest = src.PartitionQueryRequest
   319  type PartitionQueryRequest_ReadTime = src.PartitionQueryRequest_ReadTime
   320  type PartitionQueryRequest_StructuredQuery = src.PartitionQueryRequest_StructuredQuery
   321  
   322  // The response for
   323  // [Firestore.PartitionQuery][google.firestore.v1.Firestore.PartitionQuery].
   324  //
   325  // Deprecated: Please use types in: cloud.google.com/go/firestore/apiv1/firestorepb
   326  type PartitionQueryResponse = src.PartitionQueryResponse
   327  
   328  // A precondition on a document, used for conditional operations.
   329  //
   330  // Deprecated: Please use types in: cloud.google.com/go/firestore/apiv1/firestorepb
   331  type Precondition = src.Precondition
   332  type Precondition_Exists = src.Precondition_Exists
   333  type Precondition_UpdateTime = src.Precondition_UpdateTime
   334  
   335  // The request for
   336  // [Firestore.Rollback][google.firestore.v1.Firestore.Rollback].
   337  //
   338  // Deprecated: Please use types in: cloud.google.com/go/firestore/apiv1/firestorepb
   339  type RollbackRequest = src.RollbackRequest
   340  
   341  // The request for
   342  // [Firestore.RunAggregationQuery][google.firestore.v1.Firestore.RunAggregationQuery].
   343  //
   344  // Deprecated: Please use types in: cloud.google.com/go/firestore/apiv1/firestorepb
   345  type RunAggregationQueryRequest = src.RunAggregationQueryRequest
   346  type RunAggregationQueryRequest_NewTransaction = src.RunAggregationQueryRequest_NewTransaction
   347  type RunAggregationQueryRequest_ReadTime = src.RunAggregationQueryRequest_ReadTime
   348  type RunAggregationQueryRequest_StructuredAggregationQuery = src.RunAggregationQueryRequest_StructuredAggregationQuery
   349  type RunAggregationQueryRequest_Transaction = src.RunAggregationQueryRequest_Transaction
   350  
   351  // The response for
   352  // [Firestore.RunAggregationQuery][google.firestore.v1.Firestore.RunAggregationQuery].
   353  //
   354  // Deprecated: Please use types in: cloud.google.com/go/firestore/apiv1/firestorepb
   355  type RunAggregationQueryResponse = src.RunAggregationQueryResponse
   356  
   357  // The request for
   358  // [Firestore.RunQuery][google.firestore.v1.Firestore.RunQuery].
   359  //
   360  // Deprecated: Please use types in: cloud.google.com/go/firestore/apiv1/firestorepb
   361  type RunQueryRequest = src.RunQueryRequest
   362  type RunQueryRequest_NewTransaction = src.RunQueryRequest_NewTransaction
   363  type RunQueryRequest_ReadTime = src.RunQueryRequest_ReadTime
   364  type RunQueryRequest_StructuredQuery = src.RunQueryRequest_StructuredQuery
   365  type RunQueryRequest_Transaction = src.RunQueryRequest_Transaction
   366  
   367  // The response for
   368  // [Firestore.RunQuery][google.firestore.v1.Firestore.RunQuery].
   369  //
   370  // Deprecated: Please use types in: cloud.google.com/go/firestore/apiv1/firestorepb
   371  type RunQueryResponse = src.RunQueryResponse
   372  type RunQueryResponse_Done = src.RunQueryResponse_Done
   373  
   374  // Firestore query for running an aggregation over a
   375  // [StructuredQuery][google.firestore.v1.StructuredQuery].
   376  //
   377  // Deprecated: Please use types in: cloud.google.com/go/firestore/apiv1/firestorepb
   378  type StructuredAggregationQuery = src.StructuredAggregationQuery
   379  
   380  // Defines a aggregation that produces a single result.
   381  //
   382  // Deprecated: Please use types in: cloud.google.com/go/firestore/apiv1/firestorepb
   383  type StructuredAggregationQuery_Aggregation = src.StructuredAggregationQuery_Aggregation
   384  
   385  // Count of documents that match the query. The `COUNT(*)` aggregation
   386  // function operates on the entire document so it does not require a field
   387  // reference.
   388  //
   389  // Deprecated: Please use types in: cloud.google.com/go/firestore/apiv1/firestorepb
   390  type StructuredAggregationQuery_Aggregation_Count = src.StructuredAggregationQuery_Aggregation_Count
   391  type StructuredAggregationQuery_Aggregation_Count_ = src.StructuredAggregationQuery_Aggregation_Count_
   392  type StructuredAggregationQuery_StructuredQuery = src.StructuredAggregationQuery_StructuredQuery
   393  
   394  // A Firestore query.
   395  //
   396  // Deprecated: Please use types in: cloud.google.com/go/firestore/apiv1/firestorepb
   397  type StructuredQuery = src.StructuredQuery
   398  
   399  // A selection of a collection, such as `messages as m1`.
   400  //
   401  // Deprecated: Please use types in: cloud.google.com/go/firestore/apiv1/firestorepb
   402  type StructuredQuery_CollectionSelector = src.StructuredQuery_CollectionSelector
   403  
   404  // A filter that merges multiple other filters using the given operator.
   405  //
   406  // Deprecated: Please use types in: cloud.google.com/go/firestore/apiv1/firestorepb
   407  type StructuredQuery_CompositeFilter = src.StructuredQuery_CompositeFilter
   408  
   409  // A composite filter operator.
   410  //
   411  // Deprecated: Please use types in: cloud.google.com/go/firestore/apiv1/firestorepb
   412  type StructuredQuery_CompositeFilter_Operator = src.StructuredQuery_CompositeFilter_Operator
   413  
   414  // A sort direction.
   415  //
   416  // Deprecated: Please use types in: cloud.google.com/go/firestore/apiv1/firestorepb
   417  type StructuredQuery_Direction = src.StructuredQuery_Direction
   418  
   419  // A filter on a specific field.
   420  //
   421  // Deprecated: Please use types in: cloud.google.com/go/firestore/apiv1/firestorepb
   422  type StructuredQuery_FieldFilter = src.StructuredQuery_FieldFilter
   423  
   424  // A field filter operator.
   425  //
   426  // Deprecated: Please use types in: cloud.google.com/go/firestore/apiv1/firestorepb
   427  type StructuredQuery_FieldFilter_Operator = src.StructuredQuery_FieldFilter_Operator
   428  
   429  // A reference to a field in a document, ex: `stats.operations`.
   430  //
   431  // Deprecated: Please use types in: cloud.google.com/go/firestore/apiv1/firestorepb
   432  type StructuredQuery_FieldReference = src.StructuredQuery_FieldReference
   433  
   434  // A filter.
   435  //
   436  // Deprecated: Please use types in: cloud.google.com/go/firestore/apiv1/firestorepb
   437  type StructuredQuery_Filter = src.StructuredQuery_Filter
   438  type StructuredQuery_Filter_CompositeFilter = src.StructuredQuery_Filter_CompositeFilter
   439  type StructuredQuery_Filter_FieldFilter = src.StructuredQuery_Filter_FieldFilter
   440  type StructuredQuery_Filter_UnaryFilter = src.StructuredQuery_Filter_UnaryFilter
   441  
   442  // An order on a field.
   443  //
   444  // Deprecated: Please use types in: cloud.google.com/go/firestore/apiv1/firestorepb
   445  type StructuredQuery_Order = src.StructuredQuery_Order
   446  
   447  // The projection of document's fields to return.
   448  //
   449  // Deprecated: Please use types in: cloud.google.com/go/firestore/apiv1/firestorepb
   450  type StructuredQuery_Projection = src.StructuredQuery_Projection
   451  
   452  // A filter with a single operand.
   453  //
   454  // Deprecated: Please use types in: cloud.google.com/go/firestore/apiv1/firestorepb
   455  type StructuredQuery_UnaryFilter = src.StructuredQuery_UnaryFilter
   456  type StructuredQuery_UnaryFilter_Field = src.StructuredQuery_UnaryFilter_Field
   457  
   458  // A unary operator.
   459  //
   460  // Deprecated: Please use types in: cloud.google.com/go/firestore/apiv1/firestorepb
   461  type StructuredQuery_UnaryFilter_Operator = src.StructuredQuery_UnaryFilter_Operator
   462  
   463  // A specification of a set of documents to listen to.
   464  //
   465  // Deprecated: Please use types in: cloud.google.com/go/firestore/apiv1/firestorepb
   466  type Target = src.Target
   467  
   468  // Targets being watched have changed.
   469  //
   470  // Deprecated: Please use types in: cloud.google.com/go/firestore/apiv1/firestorepb
   471  type TargetChange = src.TargetChange
   472  
   473  // The type of change.
   474  //
   475  // Deprecated: Please use types in: cloud.google.com/go/firestore/apiv1/firestorepb
   476  type TargetChange_TargetChangeType = src.TargetChange_TargetChangeType
   477  type Target_Documents = src.Target_Documents
   478  
   479  // A target specified by a set of documents names.
   480  //
   481  // Deprecated: Please use types in: cloud.google.com/go/firestore/apiv1/firestorepb
   482  type Target_DocumentsTarget = src.Target_DocumentsTarget
   483  type Target_Query = src.Target_Query
   484  
   485  // A target specified by a query.
   486  //
   487  // Deprecated: Please use types in: cloud.google.com/go/firestore/apiv1/firestorepb
   488  type Target_QueryTarget = src.Target_QueryTarget
   489  type Target_QueryTarget_StructuredQuery = src.Target_QueryTarget_StructuredQuery
   490  type Target_ReadTime = src.Target_ReadTime
   491  type Target_ResumeToken = src.Target_ResumeToken
   492  
   493  // Options for creating a new transaction.
   494  //
   495  // Deprecated: Please use types in: cloud.google.com/go/firestore/apiv1/firestorepb
   496  type TransactionOptions = src.TransactionOptions
   497  
   498  // Options for a transaction that can only be used to read documents.
   499  //
   500  // Deprecated: Please use types in: cloud.google.com/go/firestore/apiv1/firestorepb
   501  type TransactionOptions_ReadOnly = src.TransactionOptions_ReadOnly
   502  type TransactionOptions_ReadOnly_ = src.TransactionOptions_ReadOnly_
   503  type TransactionOptions_ReadOnly_ReadTime = src.TransactionOptions_ReadOnly_ReadTime
   504  
   505  // Options for a transaction that can be used to read and write documents.
   506  //
   507  // Deprecated: Please use types in: cloud.google.com/go/firestore/apiv1/firestorepb
   508  type TransactionOptions_ReadWrite = src.TransactionOptions_ReadWrite
   509  type TransactionOptions_ReadWrite_ = src.TransactionOptions_ReadWrite_
   510  
   511  // UnimplementedFirestoreServer can be embedded to have forward compatible
   512  // implementations.
   513  //
   514  // Deprecated: Please use types in: cloud.google.com/go/firestore/apiv1/firestorepb
   515  type UnimplementedFirestoreServer = src.UnimplementedFirestoreServer
   516  
   517  // The request for
   518  // [Firestore.UpdateDocument][google.firestore.v1.Firestore.UpdateDocument].
   519  //
   520  // Deprecated: Please use types in: cloud.google.com/go/firestore/apiv1/firestorepb
   521  type UpdateDocumentRequest = src.UpdateDocumentRequest
   522  
   523  // A message that can hold any of the supported value types.
   524  //
   525  // Deprecated: Please use types in: cloud.google.com/go/firestore/apiv1/firestorepb
   526  type Value = src.Value
   527  type Value_ArrayValue = src.Value_ArrayValue
   528  type Value_BooleanValue = src.Value_BooleanValue
   529  type Value_BytesValue = src.Value_BytesValue
   530  type Value_DoubleValue = src.Value_DoubleValue
   531  type Value_GeoPointValue = src.Value_GeoPointValue
   532  type Value_IntegerValue = src.Value_IntegerValue
   533  type Value_MapValue = src.Value_MapValue
   534  type Value_NullValue = src.Value_NullValue
   535  type Value_ReferenceValue = src.Value_ReferenceValue
   536  type Value_StringValue = src.Value_StringValue
   537  type Value_TimestampValue = src.Value_TimestampValue
   538  
   539  // A write on a document.
   540  //
   541  // Deprecated: Please use types in: cloud.google.com/go/firestore/apiv1/firestorepb
   542  type Write = src.Write
   543  
   544  // The request for [Firestore.Write][google.firestore.v1.Firestore.Write]. The
   545  // first request creates a stream, or resumes an existing one from a token.
   546  // When creating a new stream, the server replies with a response containing
   547  // only an ID and a token, to use in the next request. When resuming a stream,
   548  // the server first streams any responses later than the given token, then a
   549  // response containing only an up-to-date token, to use in the next request.
   550  //
   551  // Deprecated: Please use types in: cloud.google.com/go/firestore/apiv1/firestorepb
   552  type WriteRequest = src.WriteRequest
   553  
   554  // The response for [Firestore.Write][google.firestore.v1.Firestore.Write].
   555  //
   556  // Deprecated: Please use types in: cloud.google.com/go/firestore/apiv1/firestorepb
   557  type WriteResponse = src.WriteResponse
   558  
   559  // The result of applying a write.
   560  //
   561  // Deprecated: Please use types in: cloud.google.com/go/firestore/apiv1/firestorepb
   562  type WriteResult = src.WriteResult
   563  type Write_Delete = src.Write_Delete
   564  type Write_Transform = src.Write_Transform
   565  type Write_Update = src.Write_Update
   566  
   567  // Deprecated: Please use funcs in: cloud.google.com/go/firestore/apiv1/firestorepb
   568  func NewFirestoreClient(cc grpc.ClientConnInterface) FirestoreClient {
   569  	return src.NewFirestoreClient(cc)
   570  }
   571  
   572  // Deprecated: Please use funcs in: cloud.google.com/go/firestore/apiv1/firestorepb
   573  func RegisterFirestoreServer(s *grpc.Server, srv FirestoreServer) {
   574  	src.RegisterFirestoreServer(s, srv)
   575  }
   576  

View as plain text