| 1 |
// Copyright 2024 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 datastore aliases all exported identifiers in package |
| 18 |
// "cloud.google.com/go/datastore/apiv1/datastorepb". |
| 19 |
// |
| 20 |
// Deprecated: Please use types in: cloud.google.com/go/datastore/apiv1/datastorepb. |
| 21 |
// Please read https://github.com/googleapis/google-cloud-go/blob/main/migration.md |
| 22 |
// for more details. |
| 23 |
package datastore |
| 24 |
|
| 25 |
import ( |
| 26 |
src "cloud.google.com/go/datastore/apiv1/datastorepb" |
| 27 |
grpc "google.golang.org/grpc" |
| 28 |
) |
| 29 |
|
| 30 |
// Deprecated: Please use consts in: cloud.google.com/go/datastore/apiv1/datastorepb |
| 31 |
const ( |
| 32 |
CommitRequest_MODE_UNSPECIFIED = src.CommitRequest_MODE_UNSPECIFIED |
| 33 |
CommitRequest_NON_TRANSACTIONAL = src.CommitRequest_NON_TRANSACTIONAL |
| 34 |
CommitRequest_TRANSACTIONAL = src.CommitRequest_TRANSACTIONAL |
| 35 |
CompositeFilter_AND = src.CompositeFilter_AND |
| 36 |
CompositeFilter_OPERATOR_UNSPECIFIED = src.CompositeFilter_OPERATOR_UNSPECIFIED |
| 37 |
CompositeFilter_OR = src.CompositeFilter_OR |
| 38 |
EntityResult_FULL = src.EntityResult_FULL |
| 39 |
EntityResult_KEY_ONLY = src.EntityResult_KEY_ONLY |
| 40 |
EntityResult_PROJECTION = src.EntityResult_PROJECTION |
| 41 |
EntityResult_RESULT_TYPE_UNSPECIFIED = src.EntityResult_RESULT_TYPE_UNSPECIFIED |
| 42 |
PropertyFilter_EQUAL = src.PropertyFilter_EQUAL |
| 43 |
PropertyFilter_GREATER_THAN = src.PropertyFilter_GREATER_THAN |
| 44 |
PropertyFilter_GREATER_THAN_OR_EQUAL = src.PropertyFilter_GREATER_THAN_OR_EQUAL |
| 45 |
PropertyFilter_HAS_ANCESTOR = src.PropertyFilter_HAS_ANCESTOR |
| 46 |
PropertyFilter_IN = src.PropertyFilter_IN |
| 47 |
PropertyFilter_LESS_THAN = src.PropertyFilter_LESS_THAN |
| 48 |
PropertyFilter_LESS_THAN_OR_EQUAL = src.PropertyFilter_LESS_THAN_OR_EQUAL |
| 49 |
PropertyFilter_NOT_EQUAL = src.PropertyFilter_NOT_EQUAL |
| 50 |
PropertyFilter_NOT_IN = src.PropertyFilter_NOT_IN |
| 51 |
PropertyFilter_OPERATOR_UNSPECIFIED = src.PropertyFilter_OPERATOR_UNSPECIFIED |
| 52 |
PropertyOrder_ASCENDING = src.PropertyOrder_ASCENDING |
| 53 |
PropertyOrder_DESCENDING = src.PropertyOrder_DESCENDING |
| 54 |
PropertyOrder_DIRECTION_UNSPECIFIED = src.PropertyOrder_DIRECTION_UNSPECIFIED |
| 55 |
QueryResultBatch_MORE_RESULTS_AFTER_CURSOR = src.QueryResultBatch_MORE_RESULTS_AFTER_CURSOR |
| 56 |
QueryResultBatch_MORE_RESULTS_AFTER_LIMIT = src.QueryResultBatch_MORE_RESULTS_AFTER_LIMIT |
| 57 |
QueryResultBatch_MORE_RESULTS_TYPE_UNSPECIFIED = src.QueryResultBatch_MORE_RESULTS_TYPE_UNSPECIFIED |
| 58 |
QueryResultBatch_NOT_FINISHED = src.QueryResultBatch_NOT_FINISHED |
| 59 |
QueryResultBatch_NO_MORE_RESULTS = src.QueryResultBatch_NO_MORE_RESULTS |
| 60 |
ReadOptions_EVENTUAL = src.ReadOptions_EVENTUAL |
| 61 |
ReadOptions_READ_CONSISTENCY_UNSPECIFIED = src.ReadOptions_READ_CONSISTENCY_UNSPECIFIED |
| 62 |
ReadOptions_STRONG = src.ReadOptions_STRONG |
| 63 |
) |
| 64 |
|
| 65 |
// Deprecated: Please use vars in: cloud.google.com/go/datastore/apiv1/datastorepb |
| 66 |
var ( |
| 67 |
CommitRequest_Mode_name = src.CommitRequest_Mode_name |
| 68 |
CommitRequest_Mode_value = src.CommitRequest_Mode_value |
| 69 |
CompositeFilter_Operator_name = src.CompositeFilter_Operator_name |
| 70 |
CompositeFilter_Operator_value = src.CompositeFilter_Operator_value |
| 71 |
EntityResult_ResultType_name = src.EntityResult_ResultType_name |
| 72 |
EntityResult_ResultType_value = src.EntityResult_ResultType_value |
| 73 |
File_google_datastore_v1_aggregation_result_proto = src.File_google_datastore_v1_aggregation_result_proto |
| 74 |
File_google_datastore_v1_datastore_proto = src.File_google_datastore_v1_datastore_proto |
| 75 |
File_google_datastore_v1_entity_proto = src.File_google_datastore_v1_entity_proto |
| 76 |
File_google_datastore_v1_query_profile_proto = src.File_google_datastore_v1_query_profile_proto |
| 77 |
File_google_datastore_v1_query_proto = src.File_google_datastore_v1_query_proto |
| 78 |
PropertyFilter_Operator_name = src.PropertyFilter_Operator_name |
| 79 |
PropertyFilter_Operator_value = src.PropertyFilter_Operator_value |
| 80 |
PropertyOrder_Direction_name = src.PropertyOrder_Direction_name |
| 81 |
PropertyOrder_Direction_value = src.PropertyOrder_Direction_value |
| 82 |
QueryResultBatch_MoreResultsType_name = src.QueryResultBatch_MoreResultsType_name |
| 83 |
QueryResultBatch_MoreResultsType_value = src.QueryResultBatch_MoreResultsType_value |
| 84 |
ReadOptions_ReadConsistency_name = src.ReadOptions_ReadConsistency_name |
| 85 |
ReadOptions_ReadConsistency_value = src.ReadOptions_ReadConsistency_value |
| 86 |
) |
| 87 |
|
| 88 |
// Datastore query for running an aggregation over a |
| 89 |
// [Query][google.datastore.v1.Query]. |
| 90 |
// |
| 91 |
// Deprecated: Please use types in: cloud.google.com/go/datastore/apiv1/datastorepb |
| 92 |
type AggregationQuery = src.AggregationQuery |
| 93 |
|
| 94 |
// Defines an aggregation that produces a single result. |
| 95 |
// |
| 96 |
// Deprecated: Please use types in: cloud.google.com/go/datastore/apiv1/datastorepb |
| 97 |
type AggregationQuery_Aggregation = src.AggregationQuery_Aggregation |
| 98 |
|
| 99 |
// Average of the values of the requested property. * Only numeric values will |
| 100 |
// be aggregated. All non-numeric values including `NULL` are skipped. * If the |
| 101 |
// aggregated values contain `NaN`, returns `NaN`. Infinity math follows |
| 102 |
// IEEE-754 standards. * If the aggregated value set is empty, returns `NULL`. |
| 103 |
// * Always returns the result as a double. |
| 104 |
// |
| 105 |
// Deprecated: Please use types in: cloud.google.com/go/datastore/apiv1/datastorepb |
| 106 |
type AggregationQuery_Aggregation_Avg = src.AggregationQuery_Aggregation_Avg |
| 107 |
type AggregationQuery_Aggregation_Avg_ = src.AggregationQuery_Aggregation_Avg_ |
| 108 |
|
| 109 |
// Count of entities that match the query. The `COUNT(*)` aggregation function |
| 110 |
// operates on the entire entity so it does not require a field reference. |
| 111 |
// |
| 112 |
// Deprecated: Please use types in: cloud.google.com/go/datastore/apiv1/datastorepb |
| 113 |
type AggregationQuery_Aggregation_Count = src.AggregationQuery_Aggregation_Count |
| 114 |
type AggregationQuery_Aggregation_Count_ = src.AggregationQuery_Aggregation_Count_ |
| 115 |
|
| 116 |
// Sum of the values of the requested property. * Only numeric values will be |
| 117 |
// aggregated. All non-numeric values including `NULL` are skipped. * If the |
| 118 |
// aggregated values contain `NaN`, returns `NaN`. Infinity math follows |
| 119 |
// IEEE-754 standards. * If the aggregated value set is empty, returns 0. * |
| 120 |
// Returns a 64-bit integer if all aggregated numbers are integers and the sum |
| 121 |
// result does not overflow. Otherwise, the result is returned as a double. |
| 122 |
// Note that even if all the aggregated values are integers, the result is |
| 123 |
// returned as a double if it cannot fit within a 64-bit signed integer. When |
| 124 |
// this occurs, the returned value will lose precision. * When underflow |
| 125 |
// occurs, floating-point aggregation is non-deterministic. This means that |
| 126 |
// running the same query repeatedly without any changes to the underlying |
| 127 |
// values could produce slightly different results each time. In those cases, |
| 128 |
// values should be stored as integers over floating-point numbers. |
| 129 |
// |
| 130 |
// Deprecated: Please use types in: cloud.google.com/go/datastore/apiv1/datastorepb |
| 131 |
type AggregationQuery_Aggregation_Sum = src.AggregationQuery_Aggregation_Sum |
| 132 |
type AggregationQuery_Aggregation_Sum_ = src.AggregationQuery_Aggregation_Sum_ |
| 133 |
type AggregationQuery_NestedQuery = src.AggregationQuery_NestedQuery |
| 134 |
|
| 135 |
// The result of a single bucket from a Datastore aggregation query. The keys |
| 136 |
// of `aggregate_properties` are the same for all results in an aggregation |
| 137 |
// query, unlike entity queries which can have different fields present for |
| 138 |
// each result. |
| 139 |
// |
| 140 |
// Deprecated: Please use types in: cloud.google.com/go/datastore/apiv1/datastorepb |
| 141 |
type AggregationResult = src.AggregationResult |
| 142 |
|
| 143 |
// A batch of aggregation results produced by an aggregation query. |
| 144 |
// |
| 145 |
// Deprecated: Please use types in: cloud.google.com/go/datastore/apiv1/datastorepb |
| 146 |
type AggregationResultBatch = src.AggregationResultBatch |
| 147 |
|
| 148 |
// The request for |
| 149 |
// [Datastore.AllocateIds][google.datastore.v1.Datastore.AllocateIds]. |
| 150 |
// |
| 151 |
// Deprecated: Please use types in: cloud.google.com/go/datastore/apiv1/datastorepb |
| 152 |
type AllocateIdsRequest = src.AllocateIdsRequest |
| 153 |
|
| 154 |
// The response for |
| 155 |
// [Datastore.AllocateIds][google.datastore.v1.Datastore.AllocateIds]. |
| 156 |
// |
| 157 |
// Deprecated: Please use types in: cloud.google.com/go/datastore/apiv1/datastorepb |
| 158 |
type AllocateIdsResponse = src.AllocateIdsResponse |
| 159 |
|
| 160 |
// An array value. |
| 161 |
// |
| 162 |
// Deprecated: Please use types in: cloud.google.com/go/datastore/apiv1/datastorepb |
| 163 |
type ArrayValue = src.ArrayValue |
| 164 |
|
| 165 |
// The request for |
| 166 |
// [Datastore.BeginTransaction][google.datastore.v1.Datastore.BeginTransaction]. |
| 167 |
// |
| 168 |
// Deprecated: Please use types in: cloud.google.com/go/datastore/apiv1/datastorepb |
| 169 |
type BeginTransactionRequest = src.BeginTransactionRequest |
| 170 |
|
| 171 |
// The response for |
| 172 |
// [Datastore.BeginTransaction][google.datastore.v1.Datastore.BeginTransaction]. |
| 173 |
// |
| 174 |
// Deprecated: Please use types in: cloud.google.com/go/datastore/apiv1/datastorepb |
| 175 |
type BeginTransactionResponse = src.BeginTransactionResponse |
| 176 |
|
| 177 |
// The request for [Datastore.Commit][google.datastore.v1.Datastore.Commit]. |
| 178 |
// |
| 179 |
// Deprecated: Please use types in: cloud.google.com/go/datastore/apiv1/datastorepb |
| 180 |
type CommitRequest = src.CommitRequest |
| 181 |
|
| 182 |
// The modes available for commits. |
| 183 |
// |
| 184 |
// Deprecated: Please use types in: cloud.google.com/go/datastore/apiv1/datastorepb |
| 185 |
type CommitRequest_Mode = src.CommitRequest_Mode |
| 186 |
type CommitRequest_SingleUseTransaction = src.CommitRequest_SingleUseTransaction |
| 187 |
type CommitRequest_Transaction = src.CommitRequest_Transaction |
| 188 |
|
| 189 |
// The response for [Datastore.Commit][google.datastore.v1.Datastore.Commit]. |
| 190 |
// |
| 191 |
// Deprecated: Please use types in: cloud.google.com/go/datastore/apiv1/datastorepb |
| 192 |
type CommitResponse = src.CommitResponse |
| 193 |
|
| 194 |
// A filter that merges multiple other filters using the given operator. |
| 195 |
// |
| 196 |
// Deprecated: Please use types in: cloud.google.com/go/datastore/apiv1/datastorepb |
| 197 |
type CompositeFilter = src.CompositeFilter |
| 198 |
|
| 199 |
// A composite filter operator. |
| 200 |
// |
| 201 |
// Deprecated: Please use types in: cloud.google.com/go/datastore/apiv1/datastorepb |
| 202 |
type CompositeFilter_Operator = src.CompositeFilter_Operator |
| 203 |
|
| 204 |
// DatastoreClient is the client API for Datastore service. For semantics |
| 205 |
// around ctx use and closing/ending streaming RPCs, please refer to |
| 206 |
// https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. |
| 207 |
// |
| 208 |
// Deprecated: Please use types in: cloud.google.com/go/datastore/apiv1/datastorepb |
| 209 |
type DatastoreClient = src.DatastoreClient |
| 210 |
|
| 211 |
// DatastoreServer is the server API for Datastore service. |
| 212 |
// |
| 213 |
// Deprecated: Please use types in: cloud.google.com/go/datastore/apiv1/datastorepb |
| 214 |
type DatastoreServer = src.DatastoreServer |
| 215 |
|
| 216 |
// A Datastore data object. Must not exceed 1 MiB - 4 bytes. |
| 217 |
// |
| 218 |
// Deprecated: Please use types in: cloud.google.com/go/datastore/apiv1/datastorepb |
| 219 |
type Entity = src.Entity |
| 220 |
|
| 221 |
// The result of fetching an entity from Datastore. |
| 222 |
// |
| 223 |
// Deprecated: Please use types in: cloud.google.com/go/datastore/apiv1/datastorepb |
| 224 |
type EntityResult = src.EntityResult |
| 225 |
|
| 226 |
// Specifies what data the 'entity' field contains. A `ResultType` is either |
| 227 |
// implied (for example, in `LookupResponse.missing` from `datastore.proto`, it |
| 228 |
// is always `KEY_ONLY`) or specified by context (for example, in message |
| 229 |
// `QueryResultBatch`, field `entity_result_type` specifies a `ResultType` for |
| 230 |
// all the values in field `entity_results`). |
| 231 |
// |
| 232 |
// Deprecated: Please use types in: cloud.google.com/go/datastore/apiv1/datastorepb |
| 233 |
type EntityResult_ResultType = src.EntityResult_ResultType |
| 234 |
|
| 235 |
// Execution statistics for the query. |
| 236 |
// |
| 237 |
// Deprecated: Please use types in: cloud.google.com/go/datastore/apiv1/datastorepb |
| 238 |
type ExecutionStats = src.ExecutionStats |
| 239 |
|
| 240 |
// Explain metrics for the query. |
| 241 |
// |
| 242 |
// Deprecated: Please use types in: cloud.google.com/go/datastore/apiv1/datastorepb |
| 243 |
type ExplainMetrics = src.ExplainMetrics |
| 244 |
|
| 245 |
// Explain options for the query. |
| 246 |
// |
| 247 |
// Deprecated: Please use types in: cloud.google.com/go/datastore/apiv1/datastorepb |
| 248 |
type ExplainOptions = src.ExplainOptions |
| 249 |
|
| 250 |
// A holder for any type of filter. |
| 251 |
// |
| 252 |
// Deprecated: Please use types in: cloud.google.com/go/datastore/apiv1/datastorepb |
| 253 |
type Filter = src.Filter |
| 254 |
type Filter_CompositeFilter = src.Filter_CompositeFilter |
| 255 |
type Filter_PropertyFilter = src.Filter_PropertyFilter |
| 256 |
|
| 257 |
// A [GQL |
| 258 |
// query](https://cloud.google.com/datastore/docs/apis/gql/gql_reference). |
| 259 |
// |
| 260 |
// Deprecated: Please use types in: cloud.google.com/go/datastore/apiv1/datastorepb |
| 261 |
type GqlQuery = src.GqlQuery |
| 262 |
|
| 263 |
// A binding parameter for a GQL query. |
| 264 |
// |
| 265 |
// Deprecated: Please use types in: cloud.google.com/go/datastore/apiv1/datastorepb |
| 266 |
type GqlQueryParameter = src.GqlQueryParameter |
| 267 |
type GqlQueryParameter_Cursor = src.GqlQueryParameter_Cursor |
| 268 |
type GqlQueryParameter_Value = src.GqlQueryParameter_Value |
| 269 |
|
| 270 |
// A unique identifier for an entity. If a key's partition ID or any of its |
| 271 |
// path kinds or names are reserved/read-only, the key is reserved/read-only. A |
| 272 |
// reserved/read-only key is forbidden in certain documented contexts. |
| 273 |
// |
| 274 |
// Deprecated: Please use types in: cloud.google.com/go/datastore/apiv1/datastorepb |
| 275 |
type Key = src.Key |
| 276 |
|
| 277 |
// A (kind, ID/name) pair used to construct a key path. If either name or ID |
| 278 |
// is set, the element is complete. If neither is set, the element is |
| 279 |
// incomplete. |
| 280 |
// |
| 281 |
// Deprecated: Please use types in: cloud.google.com/go/datastore/apiv1/datastorepb |
| 282 |
type Key_PathElement = src.Key_PathElement |
| 283 |
type Key_PathElement_Id = src.Key_PathElement_Id |
| 284 |
type Key_PathElement_Name = src.Key_PathElement_Name |
| 285 |
|
| 286 |
// A representation of a kind. |
| 287 |
// |
| 288 |
// Deprecated: Please use types in: cloud.google.com/go/datastore/apiv1/datastorepb |
| 289 |
type KindExpression = src.KindExpression |
| 290 |
|
| 291 |
// The request for [Datastore.Lookup][google.datastore.v1.Datastore.Lookup]. |
| 292 |
// |
| 293 |
// Deprecated: Please use types in: cloud.google.com/go/datastore/apiv1/datastorepb |
| 294 |
type LookupRequest = src.LookupRequest |
| 295 |
|
| 296 |
// The response for [Datastore.Lookup][google.datastore.v1.Datastore.Lookup]. |
| 297 |
// |
| 298 |
// Deprecated: Please use types in: cloud.google.com/go/datastore/apiv1/datastorepb |
| 299 |
type LookupResponse = src.LookupResponse |
| 300 |
|
| 301 |
// A mutation to apply to an entity. |
| 302 |
// |
| 303 |
// Deprecated: Please use types in: cloud.google.com/go/datastore/apiv1/datastorepb |
| 304 |
type Mutation = src.Mutation |
| 305 |
|
| 306 |
// The result of applying a mutation. |
| 307 |
// |
| 308 |
// Deprecated: Please use types in: cloud.google.com/go/datastore/apiv1/datastorepb |
| 309 |
type MutationResult = src.MutationResult |
| 310 |
type Mutation_BaseVersion = src.Mutation_BaseVersion |
| 311 |
type Mutation_Delete = src.Mutation_Delete |
| 312 |
type Mutation_Insert = src.Mutation_Insert |
| 313 |
type Mutation_Update = src.Mutation_Update |
| 314 |
type Mutation_UpdateTime = src.Mutation_UpdateTime |
| 315 |
type Mutation_Upsert = src.Mutation_Upsert |
| 316 |
|
| 317 |
// A partition ID identifies a grouping of entities. The grouping is always by |
| 318 |
// project and namespace, however the namespace ID may be empty. A partition ID |
| 319 |
// contains several dimensions: project ID and namespace ID. Partition |
| 320 |
// dimensions: - May be `""`. - Must be valid UTF-8 bytes. - Must have values |
| 321 |
// that match regex `[A-Za-z\d\.\-_]{1,100}` If the value of any dimension |
| 322 |
// matches regex `__.*__`, the partition is reserved/read-only. A |
| 323 |
// reserved/read-only partition ID is forbidden in certain documented contexts. |
| 324 |
// Foreign partition IDs (in which the project ID does not match the context |
| 325 |
// project ID ) are discouraged. Reads and writes of foreign partition IDs may |
| 326 |
// fail if the project is not in an active state. |
| 327 |
// |
| 328 |
// Deprecated: Please use types in: cloud.google.com/go/datastore/apiv1/datastorepb |
| 329 |
type PartitionId = src.PartitionId |
| 330 |
|
| 331 |
// Planning phase information for the query. |
| 332 |
// |
| 333 |
// Deprecated: Please use types in: cloud.google.com/go/datastore/apiv1/datastorepb |
| 334 |
type PlanSummary = src.PlanSummary |
| 335 |
|
| 336 |
// A representation of a property in a projection. |
| 337 |
// |
| 338 |
// Deprecated: Please use types in: cloud.google.com/go/datastore/apiv1/datastorepb |
| 339 |
type Projection = src.Projection |
| 340 |
|
| 341 |
// A filter on a specific property. |
| 342 |
// |
| 343 |
// Deprecated: Please use types in: cloud.google.com/go/datastore/apiv1/datastorepb |
| 344 |
type PropertyFilter = src.PropertyFilter |
| 345 |
|
| 346 |
// A property filter operator. |
| 347 |
// |
| 348 |
// Deprecated: Please use types in: cloud.google.com/go/datastore/apiv1/datastorepb |
| 349 |
type PropertyFilter_Operator = src.PropertyFilter_Operator |
| 350 |
|
| 351 |
// The set of arbitrarily nested property paths used to restrict an operation |
| 352 |
// to only a subset of properties in an entity. |
| 353 |
// |
| 354 |
// Deprecated: Please use types in: cloud.google.com/go/datastore/apiv1/datastorepb |
| 355 |
type PropertyMask = src.PropertyMask |
| 356 |
|
| 357 |
// The desired order for a specific property. |
| 358 |
// |
| 359 |
// Deprecated: Please use types in: cloud.google.com/go/datastore/apiv1/datastorepb |
| 360 |
type PropertyOrder = src.PropertyOrder |
| 361 |
|
| 362 |
// The sort direction. |
| 363 |
// |
| 364 |
// Deprecated: Please use types in: cloud.google.com/go/datastore/apiv1/datastorepb |
| 365 |
type PropertyOrder_Direction = src.PropertyOrder_Direction |
| 366 |
|
| 367 |
// A reference to a property relative to the kind expressions. |
| 368 |
// |
| 369 |
// Deprecated: Please use types in: cloud.google.com/go/datastore/apiv1/datastorepb |
| 370 |
type PropertyReference = src.PropertyReference |
| 371 |
|
| 372 |
// A query for entities. |
| 373 |
// |
| 374 |
// Deprecated: Please use types in: cloud.google.com/go/datastore/apiv1/datastorepb |
| 375 |
type Query = src.Query |
| 376 |
|
| 377 |
// A batch of results produced by a query. |
| 378 |
// |
| 379 |
// Deprecated: Please use types in: cloud.google.com/go/datastore/apiv1/datastorepb |
| 380 |
type QueryResultBatch = src.QueryResultBatch |
| 381 |
|
| 382 |
// The possible values for the `more_results` field. |
| 383 |
// |
| 384 |
// Deprecated: Please use types in: cloud.google.com/go/datastore/apiv1/datastorepb |
| 385 |
type QueryResultBatch_MoreResultsType = src.QueryResultBatch_MoreResultsType |
| 386 |
|
| 387 |
// The options shared by read requests. |
| 388 |
// |
| 389 |
// Deprecated: Please use types in: cloud.google.com/go/datastore/apiv1/datastorepb |
| 390 |
type ReadOptions = src.ReadOptions |
| 391 |
type ReadOptions_NewTransaction = src.ReadOptions_NewTransaction |
| 392 |
|
| 393 |
// The possible values for read consistencies. |
| 394 |
// |
| 395 |
// Deprecated: Please use types in: cloud.google.com/go/datastore/apiv1/datastorepb |
| 396 |
type ReadOptions_ReadConsistency = src.ReadOptions_ReadConsistency |
| 397 |
type ReadOptions_ReadConsistency_ = src.ReadOptions_ReadConsistency_ |
| 398 |
type ReadOptions_ReadTime = src.ReadOptions_ReadTime |
| 399 |
type ReadOptions_Transaction = src.ReadOptions_Transaction |
| 400 |
|
| 401 |
// The request for |
| 402 |
// [Datastore.ReserveIds][google.datastore.v1.Datastore.ReserveIds]. |
| 403 |
// |
| 404 |
// Deprecated: Please use types in: cloud.google.com/go/datastore/apiv1/datastorepb |
| 405 |
type ReserveIdsRequest = src.ReserveIdsRequest |
| 406 |
|
| 407 |
// The response for |
| 408 |
// [Datastore.ReserveIds][google.datastore.v1.Datastore.ReserveIds]. |
| 409 |
// |
| 410 |
// Deprecated: Please use types in: cloud.google.com/go/datastore/apiv1/datastorepb |
| 411 |
type ReserveIdsResponse = src.ReserveIdsResponse |
| 412 |
|
| 413 |
// The request for |
| 414 |
// [Datastore.Rollback][google.datastore.v1.Datastore.Rollback]. |
| 415 |
// |
| 416 |
// Deprecated: Please use types in: cloud.google.com/go/datastore/apiv1/datastorepb |
| 417 |
type RollbackRequest = src.RollbackRequest |
| 418 |
|
| 419 |
// The response for |
| 420 |
// [Datastore.Rollback][google.datastore.v1.Datastore.Rollback]. (an empty |
| 421 |
// message). |
| 422 |
// |
| 423 |
// Deprecated: Please use types in: cloud.google.com/go/datastore/apiv1/datastorepb |
| 424 |
type RollbackResponse = src.RollbackResponse |
| 425 |
|
| 426 |
// The request for |
| 427 |
// [Datastore.RunAggregationQuery][google.datastore.v1.Datastore.RunAggregationQuery]. |
| 428 |
// |
| 429 |
// Deprecated: Please use types in: cloud.google.com/go/datastore/apiv1/datastorepb |
| 430 |
type RunAggregationQueryRequest = src.RunAggregationQueryRequest |
| 431 |
type RunAggregationQueryRequest_AggregationQuery = src.RunAggregationQueryRequest_AggregationQuery |
| 432 |
type RunAggregationQueryRequest_GqlQuery = src.RunAggregationQueryRequest_GqlQuery |
| 433 |
|
| 434 |
// The response for |
| 435 |
// [Datastore.RunAggregationQuery][google.datastore.v1.Datastore.RunAggregationQuery]. |
| 436 |
// |
| 437 |
// Deprecated: Please use types in: cloud.google.com/go/datastore/apiv1/datastorepb |
| 438 |
type RunAggregationQueryResponse = src.RunAggregationQueryResponse |
| 439 |
|
| 440 |
// The request for |
| 441 |
// [Datastore.RunQuery][google.datastore.v1.Datastore.RunQuery]. |
| 442 |
// |
| 443 |
// Deprecated: Please use types in: cloud.google.com/go/datastore/apiv1/datastorepb |
| 444 |
type RunQueryRequest = src.RunQueryRequest |
| 445 |
type RunQueryRequest_GqlQuery = src.RunQueryRequest_GqlQuery |
| 446 |
type RunQueryRequest_Query = src.RunQueryRequest_Query |
| 447 |
|
| 448 |
// The response for |
| 449 |
// [Datastore.RunQuery][google.datastore.v1.Datastore.RunQuery]. |
| 450 |
// |
| 451 |
// Deprecated: Please use types in: cloud.google.com/go/datastore/apiv1/datastorepb |
| 452 |
type RunQueryResponse = src.RunQueryResponse |
| 453 |
|
| 454 |
// Options for beginning a new transaction. Transactions can be created |
| 455 |
// explicitly with calls to |
| 456 |
// [Datastore.BeginTransaction][google.datastore.v1.Datastore.BeginTransaction] |
| 457 |
// or implicitly by setting |
| 458 |
// [ReadOptions.new_transaction][google.datastore.v1.ReadOptions.new_transaction] |
| 459 |
// in read requests. |
| 460 |
// |
| 461 |
// Deprecated: Please use types in: cloud.google.com/go/datastore/apiv1/datastorepb |
| 462 |
type TransactionOptions = src.TransactionOptions |
| 463 |
|
| 464 |
// Options specific to read-only transactions. |
| 465 |
// |
| 466 |
// Deprecated: Please use types in: cloud.google.com/go/datastore/apiv1/datastorepb |
| 467 |
type TransactionOptions_ReadOnly = src.TransactionOptions_ReadOnly |
| 468 |
type TransactionOptions_ReadOnly_ = src.TransactionOptions_ReadOnly_ |
| 469 |
|
| 470 |
// Options specific to read / write transactions. |
| 471 |
// |
| 472 |
// Deprecated: Please use types in: cloud.google.com/go/datastore/apiv1/datastorepb |
| 473 |
type TransactionOptions_ReadWrite = src.TransactionOptions_ReadWrite |
| 474 |
type TransactionOptions_ReadWrite_ = src.TransactionOptions_ReadWrite_ |
| 475 |
|
| 476 |
// UnimplementedDatastoreServer can be embedded to have forward compatible |
| 477 |
// implementations. |
| 478 |
// |
| 479 |
// Deprecated: Please use types in: cloud.google.com/go/datastore/apiv1/datastorepb |
| 480 |
type UnimplementedDatastoreServer = src.UnimplementedDatastoreServer |
| 481 |
|
| 482 |
// A message that can hold any of the supported value types and associated |
| 483 |
// metadata. |
| 484 |
// |
| 485 |
// Deprecated: Please use types in: cloud.google.com/go/datastore/apiv1/datastorepb |
| 486 |
type Value = src.Value |
| 487 |
type Value_ArrayValue = src.Value_ArrayValue |
| 488 |
type Value_BlobValue = src.Value_BlobValue |
| 489 |
type Value_BooleanValue = src.Value_BooleanValue |
| 490 |
type Value_DoubleValue = src.Value_DoubleValue |
| 491 |
type Value_EntityValue = src.Value_EntityValue |
| 492 |
type Value_GeoPointValue = src.Value_GeoPointValue |
| 493 |
type Value_IntegerValue = src.Value_IntegerValue |
| 494 |
type Value_KeyValue = src.Value_KeyValue |
| 495 |
type Value_NullValue = src.Value_NullValue |
| 496 |
type Value_StringValue = src.Value_StringValue |
| 497 |
type Value_TimestampValue = src.Value_TimestampValue |
| 498 |
|
| 499 |
// Deprecated: Please use funcs in: cloud.google.com/go/datastore/apiv1/datastorepb |
| 500 |
func NewDatastoreClient(cc grpc.ClientConnInterface) DatastoreClient { |
| 501 |
return src.NewDatastoreClient(cc) |
| 502 |
} |
| 503 |
|
| 504 |
// Deprecated: Please use funcs in: cloud.google.com/go/datastore/apiv1/datastorepb |
| 505 |
func RegisterDatastoreServer(s *grpc.Server, srv DatastoreServer) { |
| 506 |
src.RegisterDatastoreServer(s, srv) |
| 507 |
} |