com.google.cloud.datastore.logs.ProblemCode Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: problem_code.proto
package com.google.cloud.datastore.logs;
/**
*
* Next ID: 115
*
*
* Protobuf enum {@code java.cloud.datastore.proto.logs_enums.ProblemCode}
*/
public enum ProblemCode
implements com.google.protobuf.ProtocolMessageEnum {
/**
* PROBLEM_CODE_UNSPECIFIED = 0;
*/
PROBLEM_CODE_UNSPECIFIED(0),
/**
*
* A transaction handle was not found in the handle map in this backend.
*
*
* MISSING_TRANSACTION_HANDLE = 1;
*/
MISSING_TRANSACTION_HANDLE(1),
/**
*
* A transaction failed because of another concurrent transaction, or
* contention.
*
*
* TRANSACTION_CONCURRENCY_ERROR = 2;
*/
TRANSACTION_CONCURRENCY_ERROR(2),
/**
*
* A call needs a specific storage feature that is missing from the selected
* storage instance.
*
*
* MISSING_STORAGE_FEATURE = 3;
*/
MISSING_STORAGE_FEATURE(3),
/**
*
* The requested index definition already exists.
*
*
* INDEX_ALREADY_EXISTS = 4;
*/
INDEX_ALREADY_EXISTS(4),
/**
*
* IAM was temporarily unavailable. Note: IAM errors are inherently safe to
* retry on because they inhibit any mutations.
*
*
* IAM_UNAVAILABLE = 5;
*/
IAM_UNAVAILABLE(5),
/**
*
* IAM responded with an unexpected error code.
*
*
* IAM_UNEXPECTED_RESPONSE = 6;
*/
IAM_UNEXPECTED_RESPONSE(6),
/**
*
* Legacy problems, i.e. ones without a particular {@link ProblemCode}.
* Do not use for specific problems!
*
*
* LEGACY = 7;
*/
LEGACY(7),
/**
*
* A write failed because the user requested that the entity does not exist
* (insert) but it was found in storage.
*
*
* WRITE_PRECONDITION_FAILED_ALREADY_EXISTS = 8;
*/
WRITE_PRECONDITION_FAILED_ALREADY_EXISTS(8),
/**
*
* A write failed because the user requested that the entity exist (update)
* but it was not found in storage.
*
*
* WRITE_PRECONDITION_FAILED_NOT_FOUND = 9;
*/
WRITE_PRECONDITION_FAILED_NOT_FOUND(9),
/**
*
* A write failed because the user requested that the entity had a given
* version number, but that version number was ahead of the entity's version.
*
*
* WRITE_PRECONDITION_FAILED_FUTURE_BASE_VERSION = 10;
*/
WRITE_PRECONDITION_FAILED_FUTURE_BASE_VERSION(10),
/**
*
* A write failed because the user requested that the entity had a given
* version number, but that version number was behind the entity's version.
*
*
* WRITE_PRECONDITION_FAILED_PAST_BASE_VERSION = 11;
*/
WRITE_PRECONDITION_FAILED_PAST_BASE_VERSION(11),
/**
*
* The metadata record that stores the list of builtin indexes and their
* serving states is unexpectedly missing from the metadata database.
*
*
* MISSING_BUILTIN_INDEX_RECORD = 12;
*/
MISSING_BUILTIN_INDEX_RECORD(12),
/**
*
* There's no EUC attached to the RPC.
*
*
* MISSING_EUC = 15;
*/
MISSING_EUC(15),
/**
*
* A user attempted to write an entity that is too large.
*
*
* ENTITY_SIZE_OVER_LIMIT = 17;
*/
ENTITY_SIZE_OVER_LIMIT(17),
/**
*
* A user attempted to create an index that would exceed the indexing limit.
*
*
* MAX_ACTIVE_INDEXES_PER_DATABASE_EXCEEDED = 18;
*/
MAX_ACTIVE_INDEXES_PER_DATABASE_EXCEEDED(18),
/**
*
* A user attempted to disable an index when doing so would exceed the # of
* allowable concurrent disabling indexes.
*
*
* MAX_DEACTIVATING_INDEXES_PER_DATABASE_EXCEEDED = 19;
*/
MAX_DEACTIVATING_INDEXES_PER_DATABASE_EXCEEDED(19),
/**
*
* A user attempted to create a single field configuration that would exceed
* the allowable limit.
*
*
* MAX_UP_SINGLE_FIELD_RULES_EXCEEDED = 20;
*/
MAX_UP_SINGLE_FIELD_RULES_EXCEEDED(20),
/**
*
* A user attempted to create a ttl config that would exceed
* the allowable limit per kind.
*
*
* MAX_UP_TTL_CONFIG_PER_KIND_EXCEEDED = 110;
*/
MAX_UP_TTL_CONFIG_PER_KIND_EXCEEDED(110),
/**
*
* A user attempted to disable a single field rule when doing so
* would exceed the # of allowable concurrent disabling rules.
*
*
* MAX_DOWN_SINGLE_FIELD_RULES_EXCEEDED = 21;
*/
MAX_DOWN_SINGLE_FIELD_RULES_EXCEEDED(21),
/**
*
* A scheduler limit was exceeded, e.g. queued byte size.
*
*
* SCHEDULER_LIMIT = 22;
*/
SCHEDULER_LIMIT(22),
/**
*
* A quota limit was exceeded.
*
*
* DEMAND_QUOTA_EXCEEDED = 23;
*/
DEMAND_QUOTA_EXCEEDED(23),
/**
*
* Shimmed InitializeIndexing request cannot succeed before the
* min_initialize_time. See http://go/firestore-v3-indexing-hacks for more
* information.
*
*
* SHIM_MIN_INITIALIZE_TIME_IN_FUTURE = 24;
*/
SHIM_MIN_INITIALIZE_TIME_IN_FUTURE(24),
/**
*
* Shimmed InitializeIndexing cannot return successfully until after
* InitializeIndexingResponse.min_start_time. See
* http://go/firestore-v3-indexing-hacks for more information.
*
*
* SHIM_MIN_START_TIME_IN_FUTURE = 25;
*/
SHIM_MIN_START_TIME_IN_FUTURE(25),
/**
*
* Couldn't lookup the CLC owner for a particular database.
*
*
* CHANGE_LISTENER_LOOKUP_UNAVAILABLE = 26;
*/
CHANGE_LISTENER_LOOKUP_UNAVAILABLE(26),
/**
*
* The underlying storage layer could not handle a transaction of the given
* size.
*
*
* TRANSACTION_TOO_BIG = 27;
*/
TRANSACTION_TOO_BIG(27),
/**
*
* Megamover journal contained either no entries or just a single tombstone.
*
*
* NEED_TO_REREAD_MEGAMOVER_JOURNAL = 28;
*/
NEED_TO_REREAD_MEGAMOVER_JOURNAL(28),
/**
*
* The backing storage instance was unavailable to server requests for
* unanticipated reasons.
*
*
* BACKING_STORE_IS_BROKEN = 29;
*/
BACKING_STORE_IS_BROKEN(29),
/**
*
* We were unsuccessful in sending Prepares to all authoritative CLCs for this
* database. It is surfaced as {@code Code.Unavailable}.
*
*
* CHANGE_LISTENER_PREPARE_FAILED = 30;
*/
CHANGE_LISTENER_PREPARE_FAILED(30),
/**
*
* A key without app has other elements. The validation guarded by the
* following switch failed:
* http://google3/apphosting/datastore/config.proto?l=177&rcl=203046563
*
*
* NON_EMPTY_ENTITY_REF_WITHOUT_APP = 31;
*/
NON_EMPTY_ENTITY_REF_WITHOUT_APP(31),
/**
*
* An entity specified an entity group that doesn't match its key. The
* validation guarded by the following switch failed:
* http://google3/apphosting/datastore/config.proto?l=169&rcl=203046563
*
*
* ENTITY_GROUP_DOES_NOT_MATCH_KEY = 32;
*/
ENTITY_GROUP_DOES_NOT_MATCH_KEY(32),
/**
*
* An entity has unknown fields. The validation guarded by the following
* switch failed:
* http://google3/apphosting/datastore/config.proto?l=249&rcl=203046563
*
*
* ENTITY_WITH_UNKNOWN_FIELDS = 33;
*/
ENTITY_WITH_UNKNOWN_FIELDS(33),
/**
*
* A key had a database even though support for databases is not allowed. The
* validation guarded by the following switch failed:
* http://google3/apphosting/datastore/config.proto?l=97&rcl=203046563
*
*
* NO_DB_SUPPORT = 34;
*/
NO_DB_SUPPORT(34),
/**
*
* A key name is not valid UTF-8. The validation guarded by the following
* switch failed:
* http://google3/apphosting/datastore/config.proto?l=214&rcl=203046563
*
*
* KEY_NAME_NOT_UTF8 = 35;
*/
KEY_NAME_NOT_UTF8(35),
/**
*
* A query filter has an incomplete key path. The validation guarded by the
* following switch failed:
* http://google3/apphosting/datastore/config.proto?l=125&rcl=203046563
*
*
* INCOMPLETE_KEY_PATHS_IN_QUERY_FILTERS = 36;
*/
INCOMPLETE_KEY_PATHS_IN_QUERY_FILTERS(36),
/**
*
* A key is over the size limit.
*
*
* KEY_SIZE_OVER_LIMIT = 37;
*/
KEY_SIZE_OVER_LIMIT(37),
/**
*
* A value key or entity value key references the a partition that matches the
* partition of the entity that contains it. The validation guarded by the
* following switch failed:
* http://google3/apphosting/datastore/config.proto?l=219&rcl=203046563
*
*
* CROSS_PARTITION_ENTITY_REF = 38;
*/
CROSS_PARTITION_ENTITY_REF(38),
/**
*
* A property name is not valid UTF-8.
*
*
* PROPERTY_NAME_NOT_UTF8 = 39;
*/
PROPERTY_NAME_NOT_UTF8(39),
/**
*
* A value has a meaning that doesn't match its type. The validation guarded
* by the following switch failed:
* http://google3/apphosting/datastore/config.proto?l=186&rcl=203046563
*
*
* PROPERTY_VALUE_MEANING_DOES_NOT_MATCH_TYPE = 40;
*/
PROPERTY_VALUE_MEANING_DOES_NOT_MATCH_TYPE(40),
/**
*
* A point value doesn't have the correct meaning. The validation guarded by
* the following switch failed:
* http://google3/apphosting/datastore/config.proto?l=243&rcl=203046563
*
*
* GEO_POINT_HAS_UNEXPECTED_MEANING = 41;
*/
GEO_POINT_HAS_UNEXPECTED_MEANING(41),
/**
*
* A property with the EMPTY_LIST meaning contains a value.
*
*
* EMPTY_LIST_MEANING_WITH_VALUE = 90;
*/
EMPTY_LIST_MEANING_WITH_VALUE(90),
/**
*
* A property with a meaning that requires an integer value (e.g. GD_WHEN)
* does not contain an integer value.
*
*
* INTEGER_MEANING_MISSING_INTEGER_VALUE = 91;
*/
INTEGER_MEANING_MISSING_INTEGER_VALUE(91),
/**
*
* A property with the GEORSS_POINT meaning does not contain a point value.
*
*
* GEORSS_POINT_MEANING_MISSING_POINT_VALUE = 92;
*/
GEORSS_POINT_MEANING_MISSING_POINT_VALUE(92),
/**
*
* A GEO point has an invalid value. A validation that may have been guarded
* by the following switch failed:
* http://google3/apphosting/datastore/config.proto?l=238&rcl=203046563
*
*
* INVALID_GEO_POINT = 42;
*/
INVALID_GEO_POINT(42),
/**
*
* A user value string field is not valid UTF-8. The validation guarded by the
* following switch failed:
* http://google3/apphosting/datastore/config.proto?l=155&rcl=203046563
*
*
* USER_FIELD_VALUE_NOT_UTF8 = 43;
*/
USER_FIELD_VALUE_NOT_UTF8(43),
/**
*
* A value string with meaning is not valid UTF-8. The validation guarded by
* the following switch failed:
* http://google3/apphosting/datastore/config.proto?l=254&rcl=203046563
*
*
* PROPERTY_VALUE_STRING_WITH_MEANING_NOT_UTF8 = 45;
*/
PROPERTY_VALUE_STRING_WITH_MEANING_NOT_UTF8(45),
/**
*
* An unindexed value containing an entity proto isn't valid. The validation
* guarded by the following switch failed:
* http://google3/apphosting/datastore/config.proto?l=231&rcl=203046563
*
*
* INVALID_UNINDEXED_PROPERTY_VALUE = 46;
*/
INVALID_UNINDEXED_PROPERTY_VALUE(46),
/**
*
* A kind is not valid UTF8. The validation guarded by the following switch
* failed:
* http://google3/apphosting/datastore/config.proto?l=211&rcl=203046563
*
*
* KIND_NOT_UTF8 = 47;
*/
KIND_NOT_UTF8(47),
/**
*
* A value is nested deeper than the max nesting limit.
*
*
* VALUE_NESTED_TOO_DEEPLY = 48;
*/
VALUE_NESTED_TOO_DEEPLY(48),
/**
*
* An indexed property has a name that collides with another one, for
* example: {"A": {"B": 1}, "A.C": 1}
*
*
* INDEXED_PROPERTY_NAME_COLLISION = 49;
*/
INDEXED_PROPERTY_NAME_COLLISION(49),
/**
*
* A property with an entity has a value that could not be deserialized.
*
*
* PROTO_SERIALIZATION_FAILURE = 50;
*/
PROTO_SERIALIZATION_FAILURE(50),
/**
*
* Human accesses to internal RPC services must include a structured
* justification, e.g. via admin_session.
*
*
* HUMAN_CALLER_WITHOUT_JUSTIFICATION = 51;
*/
HUMAN_CALLER_WITHOUT_JUSTIFICATION(51),
/**
*
* General error when the user sets an unsupported value for a field.
*
*
* UNSUPPORTED_FIELD_VALUE = 52;
*/
UNSUPPORTED_FIELD_VALUE(52),
/**
*
* The underlying storage layer could not handle a batch write of the
* given size.
*
*
* BATCH_WRITE_TOO_BIG = 53;
*/
BATCH_WRITE_TOO_BIG(53),
/**
*
* The same document cannot be written more than once in a single request.
*
*
* BATCH_WRITE_INDISTINCT_DOCUMENTS = 54;
*/
BATCH_WRITE_INDISTINCT_DOCUMENTS(54),
/**
*
* For a condition on primary key the property value should be a reference.
*
*
* NO_REFERENCE_VALUE_FOR_PRIMARY_KEY = 55;
*/
NO_REFERENCE_VALUE_FOR_PRIMARY_KEY(55),
/**
*
* A Prepare failed with RESOURCE_EXHAUSTED indicating that this database's
* write qps or bandwidth usage is overlimit.
*
*
* CHANGE_LISTENER_PREPARE_RESOURCE_EXHAUSTED = 56;
*/
CHANGE_LISTENER_PREPARE_RESOURCE_EXHAUSTED(56),
/**
*
* Megastore backends do not support 'OR' queries.
*
*
* DISJUNCTIVE_QUERIES_NOT_SUPPORTED = 57;
*/
DISJUNCTIVE_QUERIES_NOT_SUPPORTED(57),
/**
*
* Only a single 'IN' or 'ARRAY_CONTAINS_ANY' or '!=' operator is allowed
* per query.
*
*
* ONLY_SINGLE_DISJUNCTIVE_OPERATOR = 58;
*/
ONLY_SINGLE_DISJUNCTIVE_OPERATOR(58),
/**
*
* Trying to normalize a query into DNF was going to result in too many
* disjunctions.
*
*
* TOO_MANY_NORMALIZED_DISJUNCTIONS = 59;
*/
TOO_MANY_NORMALIZED_DISJUNCTIONS(59),
/**
*
* The requested snapshot is too old for the system to serve.
*
*
* SNAPSHOT_TOO_OLD = 61;
*/
SNAPSHOT_TOO_OLD(61),
/**
*
* The requested snapshot is in the future and unservable.
*
*
* SNAPSHOT_TOO_NEW = 88;
*/
SNAPSHOT_TOO_NEW(88),
/**
*
** Multiple types were set for a property value.
*
*
* PROPERTY_VALUE_WITH_MULTIPLE_TYPES_SET = 62;
*/
PROPERTY_VALUE_WITH_MULTIPLE_TYPES_SET(62),
/**
*
** A property value has a meaning that can't be indexed.
*
*
* UNINDEXABLE_MEANING = 63;
*/
UNINDEXABLE_MEANING(63),
/**
*
** A path has both an id and name set.
*
*
* PATH_WITH_BOTH_ID_AND_NAME_SET = 64;
*/
PATH_WITH_BOTH_ID_AND_NAME_SET(64),
/**
*
** A property has an unknown meaning uri.
*
*
* PROPERTY_WITH_UNKNOWN_MEANING_URI = 65;
*/
PROPERTY_WITH_UNKNOWN_MEANING_URI(65),
/**
*
** A property does not have a multiple field set where it should.
*
*
* PROPERTY_WITH_INVALID_MULTIPLE_FIELD = 66;
*/
PROPERTY_WITH_INVALID_MULTIPLE_FIELD(66),
/**
*
** An entity key path is empty.
*
*
* EMPTY_KEY_PATH = 67;
*/
EMPTY_KEY_PATH(67),
/**
*
** An entity owner contains a nickname.
*
*
* OWNER_CONTAINS_NICKNAME = 68;
*/
OWNER_CONTAINS_NICKNAME(68),
/**
*
** This backend cannot process this type of project.
*
*
* PROJECT_STATE_NOT_SUPPORTED = 69;
*/
PROJECT_STATE_NOT_SUPPORTED(69),
/**
*
* The serving state was incorrect according to the call.
*
*
* SERVING_STATE_CHECK_FAILED = 70;
*/
SERVING_STATE_CHECK_FAILED(70),
/**
*
* The project has DATASTORE_BACKEND_ONLY_PROCESS_ROOT_USER_REQUESTS or
* DATASTORE_BACKEND_ONLY_PROCESS_ROOT_USER_WRITE_REQUESTS option, a request
* call with something other than Googler LOAS credentials is rejected.
*
*
* NON_ROOT_USER_REQUEST_REJECTION = 71;
*/
NON_ROOT_USER_REQUEST_REJECTION(71),
/**
*
* The request to update an index contained a different id than the one in
* persistence.
*
*
* INDEX_ID_MISMATCH = 72;
*/
INDEX_ID_MISMATCH(72),
/**
*
* Spanner transaction was aborted due to invalid commit time.
* The timestamp that Spanner picked for the commit was below the minimum
* timestamp specified by the Backend.
*
*
* SPANNER_COMMIT_TIME_TOO_SMALL = 73;
*/
SPANNER_COMMIT_TIME_TOO_SMALL(73),
/**
*
* Spanner transaction was aborted due to invalid commit time.
* The timestamp that Spanner picked for the commit was above the maximum
* timestamp specified by the Backend. The Backend specifies minimum and
* maximum commit times in order to keep the Change-Log-Cache in sync with
* Spanner.
*
*
* SPANNER_COMMIT_TIME_TOO_LARGE = 74;
*/
SPANNER_COMMIT_TIME_TOO_LARGE(74),
/**
*
* Spanner transaction was aborted due to lock conflicts.
* This occurs when multiple transactions compete for the same resource,
* go/spanner-txns#deadlock-detection. The suggested customer behavior is to
* retry locally.
*
*
* SPANNER_ABORTED_LOCK_CONFLICT = 75;
*/
SPANNER_ABORTED_LOCK_CONFLICT(75),
/**
*
* Spanner transaction was aborted due to a stale assignment in the Lamprey.
* This occurs when Spanner moves a tablet (normally driven from user load
* patterns) and the Lamprey local to the Backend attempts to commit to it
* using its old location.
*
*
* SPANNER_DIRECTORY_NOT_IN_TABLET = 77;
*/
SPANNER_DIRECTORY_NOT_IN_TABLET(77),
/**
*
* Spanner transaction failed due to a generic ABORTED error code.
* This can come a number of issues, such as tablet pushback.
*
*
* SPANNER_GENERIC_ABORT = 81;
*/
SPANNER_GENERIC_ABORT(81),
/**
*
* An unindexed, unparseable nested entity is too long
*
*
* UNINDEXED_UNPARSEABLE_NESTED_ENTITY_TOO_LONG = 76;
*/
UNINDEXED_UNPARSEABLE_NESTED_ENTITY_TOO_LONG(76),
/**
*
* An index entry is too large and we cannot write it to storage.
*
*
* INDEX_ENTRY_TOO_LARGE = 78;
*/
INDEX_ENTRY_TOO_LARGE(78),
/**
*
* A server decided not to process a request because of a routing error of
* some sort.
*
*
* ROUTING_ERROR = 79;
*/
ROUTING_ERROR(79),
/**
*
* Was unable to fetch from local metadata.
*
*
* LOCAL_METADATA_FETCH_FAIL = 80;
*/
LOCAL_METADATA_FETCH_FAIL(80),
/**
*
* Was unable to fetch from the local VpcScRestricted cache.
*
*
* LOCAL_VPC_SC_RESTRICTED_FETCH_FAIL = 114;
*/
LOCAL_VPC_SC_RESTRICTED_FETCH_FAIL(114),
/**
*
* Metadata fetch attempted without specifying instance/shard.
*
*
* MISSING_FIRESTORE_DATABASE_LOCATION_EXTENSION = 82;
*/
MISSING_FIRESTORE_DATABASE_LOCATION_EXTENSION(82),
/**
*
* App does not have the required state to copy back data from Spanner to
* Megastore (to support Datastore-to-Firestore rollback).
*
*
* SPANNER_TO_MEGASTORE_COPY_NOT_ALLOWED = 83;
*/
SPANNER_TO_MEGASTORE_COPY_NOT_ALLOWED(83),
/**
*
* At least one of the entities in the write exceeds the index entries count
* or bytes limit (https://firebase.google.com/docs/firestore/quotas).
*
*
* INDEX_ENTRIES_COUNT_LIMIT_EXCEEDED = 84;
*/
INDEX_ENTRIES_COUNT_LIMIT_EXCEEDED(84),
/**
* INDEX_ENTRIES_BYTES_LIMIT_EXCEEDED = 85;
*/
INDEX_ENTRIES_BYTES_LIMIT_EXCEEDED(85),
/**
*
* Advisory codes for understanding b/179304810.
* entity.entity_group in a nested is empty but the key is not.
*
*
* NESTED_ENTITY_ENTITY_GROUP_EMPTY = 86;
*/
NESTED_ENTITY_ENTITY_GROUP_EMPTY(86),
/**
*
* entity.entity_group in a nested entity has more than one path element.
*
*
* NESTED_ENTITY_ENTITY_GROUP_MULTIPLE_PATH_ELEMENTS = 87;
*/
NESTED_ENTITY_ENTITY_GROUP_MULTIPLE_PATH_ELEMENTS(87),
/**
*
* A property contains an empty list while having the multiple field set
*
*
* EMPTY_LIST_WITH_MULTIPLE = 89;
*/
EMPTY_LIST_WITH_MULTIPLE(89),
/**
*
* We were unsuccessful in sending Prepares to all authoritative ChangeServers
* for this write request. It is surfaced as {@code Code.Unavailable}.
*
*
* SHARDED_CHANGE_LISTENER_PREPARE_FAILED = 99;
*/
SHARDED_CHANGE_LISTENER_PREPARE_FAILED(99),
/**
*
* A Prepare failed with RESOURCE_EXHAUSTED indicating that this database's
* write qps or bandwidth usage is overlimit. It is surfaced as
* {@code Code.Resource_Exhausted}.
*
*
* SHARDED_CHANGE_LISTENER_PREPARE_RESOURCE_EXHAUSTED = 100;
*/
SHARDED_CHANGE_LISTENER_PREPARE_RESOURCE_EXHAUSTED(100),
/**
*
* We were unsuccessful in doing lookup of the authoritative ChangeServers
* for this write request. It is surfaced as {@code Code.Unavailable}.
*
*
* SHARDED_CHANGE_LISTENER_LOOKUP_FAILED = 101;
*/
SHARDED_CHANGE_LISTENER_LOOKUP_FAILED(101),
/**
*
* We were unsuccessful in doing a lookup of authoritative ChangeServers for
* this write request because we don't have assignment information for a
* certain document in the request. It will be converted into
* SHARDED_CHANGE_LISTENER_LOOKUP_FAILED and surfaced as
* {@code Code.Unavailable}.
*
*
* SHARDED_CHANGE_LISTENER_LOOKUP_NOT_OWNED_ANYWHERE = 102;
*/
SHARDED_CHANGE_LISTENER_LOOKUP_NOT_OWNED_ANYWHERE(102),
/**
*
* We were unsuccessful in doing a lookup of authoritative ChangeServers for
* this write request because we don't have any assignment information.
* It will be converted into SHARDED_CHANGE_LISTENER_LOOKUP_FAILED and
* surfaced as {@code Code.Unavailable}.
*
*
* SHARDED_CHANGE_LISTENER_LOOKUP_NO_VALID_ASSIGNMENT = 103;
*/
SHARDED_CHANGE_LISTENER_LOOKUP_NO_VALID_ASSIGNMENT(103),
/**
*
* We were unsuccessful in doing a lookup of authoritative ChangeServers for
* this write request because we don't have replica group information for a
* certain document in the request. It will be converted into
* SHARDED_CHANGE_LISTENER_LOOKUP_FAILED and surfaced as
* {@code Code.Unavailable}.
*
*
* SHARDED_CHANGE_LISTENER_LOOKUP_NO_VALID_REPLICA_GROUP = 104;
*/
SHARDED_CHANGE_LISTENER_LOOKUP_NO_VALID_REPLICA_GROUP(104),
/**
*
* We were unsuccessful in doing a lookup of authoritative ChangeServers for
* this write request because there is no documents in the request. It will be
* converted into SHARDED_CHANGE_LISTENER_LOOKUP_FAILED and surfaced as
* {@code Code.Internal} because the error should have been found earlier.
*
*
* SHARDED_CHANGE_LISTENER_LOOKUP_MISSING_KEYS = 105;
*/
SHARDED_CHANGE_LISTENER_LOOKUP_MISSING_KEYS(105),
/**
*
* We were unsuccessful in doing a lookup of authoritative ChangeServers for
* this write request because the pool information doesn't match.
* It will be converted into SHARDED_CHANGE_LISTENER_LOOKUP_FAILED and
* surfaced as {@code Code.Internal}.
*
*
* SHARDED_CHANGE_LISTENER_LOOKUP_INCORRECT_POOL = 106;
*/
SHARDED_CHANGE_LISTENER_LOOKUP_INCORRECT_POOL(106),
/**
*
* We were unsuccessful in doing a lookup of authoritative ChangeServers for
* this write request because the path of a certain document in the request is
* illegal. It will be converted into SHARDED_CHANGE_LISTENER_LOOKUP_FAILED
* and surfaced as {@code Code.Internal} because the error should have been
* found earlier.
*
*
* SHARDED_CHANGE_LISTENER_LOOKUP_INVALID_KEYS = 107;
*/
SHARDED_CHANGE_LISTENER_LOOKUP_INVALID_KEYS(107),
/**
*
* We were unsuccessful in doing a lookup of authoritative ChangeServers for
* this write request because it fails to get Stub from the StubCache based
* on the ChangeServer address.
*
*
* SHARDED_CHANGE_LISTENER_LOOKUP_INVALID_STUB_CACHE = 108;
*/
SHARDED_CHANGE_LISTENER_LOOKUP_INVALID_STUB_CACHE(108),
/**
*
* The database is not ready for Wipeout since it is not hard deleted.
*
*
* BAD_WIPEOUT_REQUEST_DATABASE_NOT_DELETED = 109;
*/
BAD_WIPEOUT_REQUEST_DATABASE_NOT_DELETED(109),
/**
*
* We were unsuccessful in sending Prepares to all authoritative ChangeServers
* for this pool because a peer pool has failed its Prepare phase.
*
*
* SHARDED_CHANGE_LISTENER_PEER_POOL_PREPARE_FAILED = 111;
*/
SHARDED_CHANGE_LISTENER_PEER_POOL_PREPARE_FAILED(111),
/**
*
* The ownership lookup (with retries) for a certain set of documents failed
* permanently because it fails too many times.
*
*
* SHARDED_CHANGE_LISTENER_LOOKUP_FAILED_TOO_MANY_RETRIES = 112;
*/
SHARDED_CHANGE_LISTENER_LOOKUP_FAILED_TOO_MANY_RETRIES(112),
/**
*
* The ownership lookup (with retries) for a certain set of documents failed
* permanently because it hits a non-retryable error.
*
*
* SHARDED_CHANGE_LISTENER_LOOKUP_NON_RETYABLE_ERROR = 113;
*/
SHARDED_CHANGE_LISTENER_LOOKUP_NON_RETYABLE_ERROR(113),
UNRECOGNIZED(-1),
;
/**
* PROBLEM_CODE_UNSPECIFIED = 0;
*/
public static final int PROBLEM_CODE_UNSPECIFIED_VALUE = 0;
/**
*
* A transaction handle was not found in the handle map in this backend.
*
*
* MISSING_TRANSACTION_HANDLE = 1;
*/
public static final int MISSING_TRANSACTION_HANDLE_VALUE = 1;
/**
*
* A transaction failed because of another concurrent transaction, or
* contention.
*
*
* TRANSACTION_CONCURRENCY_ERROR = 2;
*/
public static final int TRANSACTION_CONCURRENCY_ERROR_VALUE = 2;
/**
*
* A call needs a specific storage feature that is missing from the selected
* storage instance.
*
*
* MISSING_STORAGE_FEATURE = 3;
*/
public static final int MISSING_STORAGE_FEATURE_VALUE = 3;
/**
*
* The requested index definition already exists.
*
*
* INDEX_ALREADY_EXISTS = 4;
*/
public static final int INDEX_ALREADY_EXISTS_VALUE = 4;
/**
*
* IAM was temporarily unavailable. Note: IAM errors are inherently safe to
* retry on because they inhibit any mutations.
*
*
* IAM_UNAVAILABLE = 5;
*/
public static final int IAM_UNAVAILABLE_VALUE = 5;
/**
*
* IAM responded with an unexpected error code.
*
*
* IAM_UNEXPECTED_RESPONSE = 6;
*/
public static final int IAM_UNEXPECTED_RESPONSE_VALUE = 6;
/**
*
* Legacy problems, i.e. ones without a particular {@link ProblemCode}.
* Do not use for specific problems!
*
*
* LEGACY = 7;
*/
public static final int LEGACY_VALUE = 7;
/**
*
* A write failed because the user requested that the entity does not exist
* (insert) but it was found in storage.
*
*
* WRITE_PRECONDITION_FAILED_ALREADY_EXISTS = 8;
*/
public static final int WRITE_PRECONDITION_FAILED_ALREADY_EXISTS_VALUE = 8;
/**
*
* A write failed because the user requested that the entity exist (update)
* but it was not found in storage.
*
*
* WRITE_PRECONDITION_FAILED_NOT_FOUND = 9;
*/
public static final int WRITE_PRECONDITION_FAILED_NOT_FOUND_VALUE = 9;
/**
*
* A write failed because the user requested that the entity had a given
* version number, but that version number was ahead of the entity's version.
*
*
* WRITE_PRECONDITION_FAILED_FUTURE_BASE_VERSION = 10;
*/
public static final int WRITE_PRECONDITION_FAILED_FUTURE_BASE_VERSION_VALUE = 10;
/**
*
* A write failed because the user requested that the entity had a given
* version number, but that version number was behind the entity's version.
*
*
* WRITE_PRECONDITION_FAILED_PAST_BASE_VERSION = 11;
*/
public static final int WRITE_PRECONDITION_FAILED_PAST_BASE_VERSION_VALUE = 11;
/**
*
* The metadata record that stores the list of builtin indexes and their
* serving states is unexpectedly missing from the metadata database.
*
*
* MISSING_BUILTIN_INDEX_RECORD = 12;
*/
public static final int MISSING_BUILTIN_INDEX_RECORD_VALUE = 12;
/**
*
* There's no EUC attached to the RPC.
*
*
* MISSING_EUC = 15;
*/
public static final int MISSING_EUC_VALUE = 15;
/**
*
* A user attempted to write an entity that is too large.
*
*
* ENTITY_SIZE_OVER_LIMIT = 17;
*/
public static final int ENTITY_SIZE_OVER_LIMIT_VALUE = 17;
/**
*
* A user attempted to create an index that would exceed the indexing limit.
*
*
* MAX_ACTIVE_INDEXES_PER_DATABASE_EXCEEDED = 18;
*/
public static final int MAX_ACTIVE_INDEXES_PER_DATABASE_EXCEEDED_VALUE = 18;
/**
*
* A user attempted to disable an index when doing so would exceed the # of
* allowable concurrent disabling indexes.
*
*
* MAX_DEACTIVATING_INDEXES_PER_DATABASE_EXCEEDED = 19;
*/
public static final int MAX_DEACTIVATING_INDEXES_PER_DATABASE_EXCEEDED_VALUE = 19;
/**
*
* A user attempted to create a single field configuration that would exceed
* the allowable limit.
*
*
* MAX_UP_SINGLE_FIELD_RULES_EXCEEDED = 20;
*/
public static final int MAX_UP_SINGLE_FIELD_RULES_EXCEEDED_VALUE = 20;
/**
*
* A user attempted to create a ttl config that would exceed
* the allowable limit per kind.
*
*
* MAX_UP_TTL_CONFIG_PER_KIND_EXCEEDED = 110;
*/
public static final int MAX_UP_TTL_CONFIG_PER_KIND_EXCEEDED_VALUE = 110;
/**
*
* A user attempted to disable a single field rule when doing so
* would exceed the # of allowable concurrent disabling rules.
*
*
* MAX_DOWN_SINGLE_FIELD_RULES_EXCEEDED = 21;
*/
public static final int MAX_DOWN_SINGLE_FIELD_RULES_EXCEEDED_VALUE = 21;
/**
*
* A scheduler limit was exceeded, e.g. queued byte size.
*
*
* SCHEDULER_LIMIT = 22;
*/
public static final int SCHEDULER_LIMIT_VALUE = 22;
/**
*
* A quota limit was exceeded.
*
*
* DEMAND_QUOTA_EXCEEDED = 23;
*/
public static final int DEMAND_QUOTA_EXCEEDED_VALUE = 23;
/**
*
* Shimmed InitializeIndexing request cannot succeed before the
* min_initialize_time. See http://go/firestore-v3-indexing-hacks for more
* information.
*
*
* SHIM_MIN_INITIALIZE_TIME_IN_FUTURE = 24;
*/
public static final int SHIM_MIN_INITIALIZE_TIME_IN_FUTURE_VALUE = 24;
/**
*
* Shimmed InitializeIndexing cannot return successfully until after
* InitializeIndexingResponse.min_start_time. See
* http://go/firestore-v3-indexing-hacks for more information.
*
*
* SHIM_MIN_START_TIME_IN_FUTURE = 25;
*/
public static final int SHIM_MIN_START_TIME_IN_FUTURE_VALUE = 25;
/**
*
* Couldn't lookup the CLC owner for a particular database.
*
*
* CHANGE_LISTENER_LOOKUP_UNAVAILABLE = 26;
*/
public static final int CHANGE_LISTENER_LOOKUP_UNAVAILABLE_VALUE = 26;
/**
*
* The underlying storage layer could not handle a transaction of the given
* size.
*
*
* TRANSACTION_TOO_BIG = 27;
*/
public static final int TRANSACTION_TOO_BIG_VALUE = 27;
/**
*
* Megamover journal contained either no entries or just a single tombstone.
*
*
* NEED_TO_REREAD_MEGAMOVER_JOURNAL = 28;
*/
public static final int NEED_TO_REREAD_MEGAMOVER_JOURNAL_VALUE = 28;
/**
*
* The backing storage instance was unavailable to server requests for
* unanticipated reasons.
*
*
* BACKING_STORE_IS_BROKEN = 29;
*/
public static final int BACKING_STORE_IS_BROKEN_VALUE = 29;
/**
*
* We were unsuccessful in sending Prepares to all authoritative CLCs for this
* database. It is surfaced as {@code Code.Unavailable}.
*
*
* CHANGE_LISTENER_PREPARE_FAILED = 30;
*/
public static final int CHANGE_LISTENER_PREPARE_FAILED_VALUE = 30;
/**
*
* A key without app has other elements. The validation guarded by the
* following switch failed:
* http://google3/apphosting/datastore/config.proto?l=177&rcl=203046563
*
*
* NON_EMPTY_ENTITY_REF_WITHOUT_APP = 31;
*/
public static final int NON_EMPTY_ENTITY_REF_WITHOUT_APP_VALUE = 31;
/**
*
* An entity specified an entity group that doesn't match its key. The
* validation guarded by the following switch failed:
* http://google3/apphosting/datastore/config.proto?l=169&rcl=203046563
*
*
* ENTITY_GROUP_DOES_NOT_MATCH_KEY = 32;
*/
public static final int ENTITY_GROUP_DOES_NOT_MATCH_KEY_VALUE = 32;
/**
*
* An entity has unknown fields. The validation guarded by the following
* switch failed:
* http://google3/apphosting/datastore/config.proto?l=249&rcl=203046563
*
*
* ENTITY_WITH_UNKNOWN_FIELDS = 33;
*/
public static final int ENTITY_WITH_UNKNOWN_FIELDS_VALUE = 33;
/**
*
* A key had a database even though support for databases is not allowed. The
* validation guarded by the following switch failed:
* http://google3/apphosting/datastore/config.proto?l=97&rcl=203046563
*
*
* NO_DB_SUPPORT = 34;
*/
public static final int NO_DB_SUPPORT_VALUE = 34;
/**
*
* A key name is not valid UTF-8. The validation guarded by the following
* switch failed:
* http://google3/apphosting/datastore/config.proto?l=214&rcl=203046563
*
*
* KEY_NAME_NOT_UTF8 = 35;
*/
public static final int KEY_NAME_NOT_UTF8_VALUE = 35;
/**
*
* A query filter has an incomplete key path. The validation guarded by the
* following switch failed:
* http://google3/apphosting/datastore/config.proto?l=125&rcl=203046563
*
*
* INCOMPLETE_KEY_PATHS_IN_QUERY_FILTERS = 36;
*/
public static final int INCOMPLETE_KEY_PATHS_IN_QUERY_FILTERS_VALUE = 36;
/**
*
* A key is over the size limit.
*
*
* KEY_SIZE_OVER_LIMIT = 37;
*/
public static final int KEY_SIZE_OVER_LIMIT_VALUE = 37;
/**
*
* A value key or entity value key references the a partition that matches the
* partition of the entity that contains it. The validation guarded by the
* following switch failed:
* http://google3/apphosting/datastore/config.proto?l=219&rcl=203046563
*
*
* CROSS_PARTITION_ENTITY_REF = 38;
*/
public static final int CROSS_PARTITION_ENTITY_REF_VALUE = 38;
/**
*
* A property name is not valid UTF-8.
*
*
* PROPERTY_NAME_NOT_UTF8 = 39;
*/
public static final int PROPERTY_NAME_NOT_UTF8_VALUE = 39;
/**
*
* A value has a meaning that doesn't match its type. The validation guarded
* by the following switch failed:
* http://google3/apphosting/datastore/config.proto?l=186&rcl=203046563
*
*
* PROPERTY_VALUE_MEANING_DOES_NOT_MATCH_TYPE = 40;
*/
public static final int PROPERTY_VALUE_MEANING_DOES_NOT_MATCH_TYPE_VALUE = 40;
/**
*
* A point value doesn't have the correct meaning. The validation guarded by
* the following switch failed:
* http://google3/apphosting/datastore/config.proto?l=243&rcl=203046563
*
*
* GEO_POINT_HAS_UNEXPECTED_MEANING = 41;
*/
public static final int GEO_POINT_HAS_UNEXPECTED_MEANING_VALUE = 41;
/**
*
* A property with the EMPTY_LIST meaning contains a value.
*
*
* EMPTY_LIST_MEANING_WITH_VALUE = 90;
*/
public static final int EMPTY_LIST_MEANING_WITH_VALUE_VALUE = 90;
/**
*
* A property with a meaning that requires an integer value (e.g. GD_WHEN)
* does not contain an integer value.
*
*
* INTEGER_MEANING_MISSING_INTEGER_VALUE = 91;
*/
public static final int INTEGER_MEANING_MISSING_INTEGER_VALUE_VALUE = 91;
/**
*
* A property with the GEORSS_POINT meaning does not contain a point value.
*
*
* GEORSS_POINT_MEANING_MISSING_POINT_VALUE = 92;
*/
public static final int GEORSS_POINT_MEANING_MISSING_POINT_VALUE_VALUE = 92;
/**
*
* A GEO point has an invalid value. A validation that may have been guarded
* by the following switch failed:
* http://google3/apphosting/datastore/config.proto?l=238&rcl=203046563
*
*
* INVALID_GEO_POINT = 42;
*/
public static final int INVALID_GEO_POINT_VALUE = 42;
/**
*
* A user value string field is not valid UTF-8. The validation guarded by the
* following switch failed:
* http://google3/apphosting/datastore/config.proto?l=155&rcl=203046563
*
*
* USER_FIELD_VALUE_NOT_UTF8 = 43;
*/
public static final int USER_FIELD_VALUE_NOT_UTF8_VALUE = 43;
/**
*
* A value string with meaning is not valid UTF-8. The validation guarded by
* the following switch failed:
* http://google3/apphosting/datastore/config.proto?l=254&rcl=203046563
*
*
* PROPERTY_VALUE_STRING_WITH_MEANING_NOT_UTF8 = 45;
*/
public static final int PROPERTY_VALUE_STRING_WITH_MEANING_NOT_UTF8_VALUE = 45;
/**
*
* An unindexed value containing an entity proto isn't valid. The validation
* guarded by the following switch failed:
* http://google3/apphosting/datastore/config.proto?l=231&rcl=203046563
*
*
* INVALID_UNINDEXED_PROPERTY_VALUE = 46;
*/
public static final int INVALID_UNINDEXED_PROPERTY_VALUE_VALUE = 46;
/**
*
* A kind is not valid UTF8. The validation guarded by the following switch
* failed:
* http://google3/apphosting/datastore/config.proto?l=211&rcl=203046563
*
*
* KIND_NOT_UTF8 = 47;
*/
public static final int KIND_NOT_UTF8_VALUE = 47;
/**
*
* A value is nested deeper than the max nesting limit.
*
*
* VALUE_NESTED_TOO_DEEPLY = 48;
*/
public static final int VALUE_NESTED_TOO_DEEPLY_VALUE = 48;
/**
*
* An indexed property has a name that collides with another one, for
* example: {"A": {"B": 1}, "A.C": 1}
*
*
* INDEXED_PROPERTY_NAME_COLLISION = 49;
*/
public static final int INDEXED_PROPERTY_NAME_COLLISION_VALUE = 49;
/**
*
* A property with an entity has a value that could not be deserialized.
*
*
* PROTO_SERIALIZATION_FAILURE = 50;
*/
public static final int PROTO_SERIALIZATION_FAILURE_VALUE = 50;
/**
*
* Human accesses to internal RPC services must include a structured
* justification, e.g. via admin_session.
*
*
* HUMAN_CALLER_WITHOUT_JUSTIFICATION = 51;
*/
public static final int HUMAN_CALLER_WITHOUT_JUSTIFICATION_VALUE = 51;
/**
*
* General error when the user sets an unsupported value for a field.
*
*
* UNSUPPORTED_FIELD_VALUE = 52;
*/
public static final int UNSUPPORTED_FIELD_VALUE_VALUE = 52;
/**
*
* The underlying storage layer could not handle a batch write of the
* given size.
*
*
* BATCH_WRITE_TOO_BIG = 53;
*/
public static final int BATCH_WRITE_TOO_BIG_VALUE = 53;
/**
*
* The same document cannot be written more than once in a single request.
*
*
* BATCH_WRITE_INDISTINCT_DOCUMENTS = 54;
*/
public static final int BATCH_WRITE_INDISTINCT_DOCUMENTS_VALUE = 54;
/**
*
* For a condition on primary key the property value should be a reference.
*
*
* NO_REFERENCE_VALUE_FOR_PRIMARY_KEY = 55;
*/
public static final int NO_REFERENCE_VALUE_FOR_PRIMARY_KEY_VALUE = 55;
/**
*
* A Prepare failed with RESOURCE_EXHAUSTED indicating that this database's
* write qps or bandwidth usage is overlimit.
*
*
* CHANGE_LISTENER_PREPARE_RESOURCE_EXHAUSTED = 56;
*/
public static final int CHANGE_LISTENER_PREPARE_RESOURCE_EXHAUSTED_VALUE = 56;
/**
*
* Megastore backends do not support 'OR' queries.
*
*
* DISJUNCTIVE_QUERIES_NOT_SUPPORTED = 57;
*/
public static final int DISJUNCTIVE_QUERIES_NOT_SUPPORTED_VALUE = 57;
/**
*
* Only a single 'IN' or 'ARRAY_CONTAINS_ANY' or '!=' operator is allowed
* per query.
*
*
* ONLY_SINGLE_DISJUNCTIVE_OPERATOR = 58;
*/
public static final int ONLY_SINGLE_DISJUNCTIVE_OPERATOR_VALUE = 58;
/**
*
* Trying to normalize a query into DNF was going to result in too many
* disjunctions.
*
*
* TOO_MANY_NORMALIZED_DISJUNCTIONS = 59;
*/
public static final int TOO_MANY_NORMALIZED_DISJUNCTIONS_VALUE = 59;
/**
*
* The requested snapshot is too old for the system to serve.
*
*
* SNAPSHOT_TOO_OLD = 61;
*/
public static final int SNAPSHOT_TOO_OLD_VALUE = 61;
/**
*
* The requested snapshot is in the future and unservable.
*
*
* SNAPSHOT_TOO_NEW = 88;
*/
public static final int SNAPSHOT_TOO_NEW_VALUE = 88;
/**
*
** Multiple types were set for a property value.
*
*
* PROPERTY_VALUE_WITH_MULTIPLE_TYPES_SET = 62;
*/
public static final int PROPERTY_VALUE_WITH_MULTIPLE_TYPES_SET_VALUE = 62;
/**
*
** A property value has a meaning that can't be indexed.
*
*
* UNINDEXABLE_MEANING = 63;
*/
public static final int UNINDEXABLE_MEANING_VALUE = 63;
/**
*
** A path has both an id and name set.
*
*
* PATH_WITH_BOTH_ID_AND_NAME_SET = 64;
*/
public static final int PATH_WITH_BOTH_ID_AND_NAME_SET_VALUE = 64;
/**
*
** A property has an unknown meaning uri.
*
*
* PROPERTY_WITH_UNKNOWN_MEANING_URI = 65;
*/
public static final int PROPERTY_WITH_UNKNOWN_MEANING_URI_VALUE = 65;
/**
*
** A property does not have a multiple field set where it should.
*
*
* PROPERTY_WITH_INVALID_MULTIPLE_FIELD = 66;
*/
public static final int PROPERTY_WITH_INVALID_MULTIPLE_FIELD_VALUE = 66;
/**
*
** An entity key path is empty.
*
*
* EMPTY_KEY_PATH = 67;
*/
public static final int EMPTY_KEY_PATH_VALUE = 67;
/**
*
** An entity owner contains a nickname.
*
*
* OWNER_CONTAINS_NICKNAME = 68;
*/
public static final int OWNER_CONTAINS_NICKNAME_VALUE = 68;
/**
*
** This backend cannot process this type of project.
*
*
* PROJECT_STATE_NOT_SUPPORTED = 69;
*/
public static final int PROJECT_STATE_NOT_SUPPORTED_VALUE = 69;
/**
*
* The serving state was incorrect according to the call.
*
*
* SERVING_STATE_CHECK_FAILED = 70;
*/
public static final int SERVING_STATE_CHECK_FAILED_VALUE = 70;
/**
*
* The project has DATASTORE_BACKEND_ONLY_PROCESS_ROOT_USER_REQUESTS or
* DATASTORE_BACKEND_ONLY_PROCESS_ROOT_USER_WRITE_REQUESTS option, a request
* call with something other than Googler LOAS credentials is rejected.
*
*
* NON_ROOT_USER_REQUEST_REJECTION = 71;
*/
public static final int NON_ROOT_USER_REQUEST_REJECTION_VALUE = 71;
/**
*
* The request to update an index contained a different id than the one in
* persistence.
*
*
* INDEX_ID_MISMATCH = 72;
*/
public static final int INDEX_ID_MISMATCH_VALUE = 72;
/**
*
* Spanner transaction was aborted due to invalid commit time.
* The timestamp that Spanner picked for the commit was below the minimum
* timestamp specified by the Backend.
*
*
* SPANNER_COMMIT_TIME_TOO_SMALL = 73;
*/
public static final int SPANNER_COMMIT_TIME_TOO_SMALL_VALUE = 73;
/**
*
* Spanner transaction was aborted due to invalid commit time.
* The timestamp that Spanner picked for the commit was above the maximum
* timestamp specified by the Backend. The Backend specifies minimum and
* maximum commit times in order to keep the Change-Log-Cache in sync with
* Spanner.
*
*
* SPANNER_COMMIT_TIME_TOO_LARGE = 74;
*/
public static final int SPANNER_COMMIT_TIME_TOO_LARGE_VALUE = 74;
/**
*
* Spanner transaction was aborted due to lock conflicts.
* This occurs when multiple transactions compete for the same resource,
* go/spanner-txns#deadlock-detection. The suggested customer behavior is to
* retry locally.
*
*
* SPANNER_ABORTED_LOCK_CONFLICT = 75;
*/
public static final int SPANNER_ABORTED_LOCK_CONFLICT_VALUE = 75;
/**
*
* Spanner transaction was aborted due to a stale assignment in the Lamprey.
* This occurs when Spanner moves a tablet (normally driven from user load
* patterns) and the Lamprey local to the Backend attempts to commit to it
* using its old location.
*
*
* SPANNER_DIRECTORY_NOT_IN_TABLET = 77;
*/
public static final int SPANNER_DIRECTORY_NOT_IN_TABLET_VALUE = 77;
/**
*
* Spanner transaction failed due to a generic ABORTED error code.
* This can come a number of issues, such as tablet pushback.
*
*
* SPANNER_GENERIC_ABORT = 81;
*/
public static final int SPANNER_GENERIC_ABORT_VALUE = 81;
/**
*
* An unindexed, unparseable nested entity is too long
*
*
* UNINDEXED_UNPARSEABLE_NESTED_ENTITY_TOO_LONG = 76;
*/
public static final int UNINDEXED_UNPARSEABLE_NESTED_ENTITY_TOO_LONG_VALUE = 76;
/**
*
* An index entry is too large and we cannot write it to storage.
*
*
* INDEX_ENTRY_TOO_LARGE = 78;
*/
public static final int INDEX_ENTRY_TOO_LARGE_VALUE = 78;
/**
*
* A server decided not to process a request because of a routing error of
* some sort.
*
*
* ROUTING_ERROR = 79;
*/
public static final int ROUTING_ERROR_VALUE = 79;
/**
*
* Was unable to fetch from local metadata.
*
*
* LOCAL_METADATA_FETCH_FAIL = 80;
*/
public static final int LOCAL_METADATA_FETCH_FAIL_VALUE = 80;
/**
*
* Was unable to fetch from the local VpcScRestricted cache.
*
*
* LOCAL_VPC_SC_RESTRICTED_FETCH_FAIL = 114;
*/
public static final int LOCAL_VPC_SC_RESTRICTED_FETCH_FAIL_VALUE = 114;
/**
*
* Metadata fetch attempted without specifying instance/shard.
*
*
* MISSING_FIRESTORE_DATABASE_LOCATION_EXTENSION = 82;
*/
public static final int MISSING_FIRESTORE_DATABASE_LOCATION_EXTENSION_VALUE = 82;
/**
*
* App does not have the required state to copy back data from Spanner to
* Megastore (to support Datastore-to-Firestore rollback).
*
*
* SPANNER_TO_MEGASTORE_COPY_NOT_ALLOWED = 83;
*/
public static final int SPANNER_TO_MEGASTORE_COPY_NOT_ALLOWED_VALUE = 83;
/**
*
* At least one of the entities in the write exceeds the index entries count
* or bytes limit (https://firebase.google.com/docs/firestore/quotas).
*
*
* INDEX_ENTRIES_COUNT_LIMIT_EXCEEDED = 84;
*/
public static final int INDEX_ENTRIES_COUNT_LIMIT_EXCEEDED_VALUE = 84;
/**
* INDEX_ENTRIES_BYTES_LIMIT_EXCEEDED = 85;
*/
public static final int INDEX_ENTRIES_BYTES_LIMIT_EXCEEDED_VALUE = 85;
/**
*
* Advisory codes for understanding b/179304810.
* entity.entity_group in a nested is empty but the key is not.
*
*
* NESTED_ENTITY_ENTITY_GROUP_EMPTY = 86;
*/
public static final int NESTED_ENTITY_ENTITY_GROUP_EMPTY_VALUE = 86;
/**
*
* entity.entity_group in a nested entity has more than one path element.
*
*
* NESTED_ENTITY_ENTITY_GROUP_MULTIPLE_PATH_ELEMENTS = 87;
*/
public static final int NESTED_ENTITY_ENTITY_GROUP_MULTIPLE_PATH_ELEMENTS_VALUE = 87;
/**
*
* A property contains an empty list while having the multiple field set
*
*
* EMPTY_LIST_WITH_MULTIPLE = 89;
*/
public static final int EMPTY_LIST_WITH_MULTIPLE_VALUE = 89;
/**
*
* We were unsuccessful in sending Prepares to all authoritative ChangeServers
* for this write request. It is surfaced as {@code Code.Unavailable}.
*
*
* SHARDED_CHANGE_LISTENER_PREPARE_FAILED = 99;
*/
public static final int SHARDED_CHANGE_LISTENER_PREPARE_FAILED_VALUE = 99;
/**
*
* A Prepare failed with RESOURCE_EXHAUSTED indicating that this database's
* write qps or bandwidth usage is overlimit. It is surfaced as
* {@code Code.Resource_Exhausted}.
*
*
* SHARDED_CHANGE_LISTENER_PREPARE_RESOURCE_EXHAUSTED = 100;
*/
public static final int SHARDED_CHANGE_LISTENER_PREPARE_RESOURCE_EXHAUSTED_VALUE = 100;
/**
*
* We were unsuccessful in doing lookup of the authoritative ChangeServers
* for this write request. It is surfaced as {@code Code.Unavailable}.
*
*
* SHARDED_CHANGE_LISTENER_LOOKUP_FAILED = 101;
*/
public static final int SHARDED_CHANGE_LISTENER_LOOKUP_FAILED_VALUE = 101;
/**
*
* We were unsuccessful in doing a lookup of authoritative ChangeServers for
* this write request because we don't have assignment information for a
* certain document in the request. It will be converted into
* SHARDED_CHANGE_LISTENER_LOOKUP_FAILED and surfaced as
* {@code Code.Unavailable}.
*
*
* SHARDED_CHANGE_LISTENER_LOOKUP_NOT_OWNED_ANYWHERE = 102;
*/
public static final int SHARDED_CHANGE_LISTENER_LOOKUP_NOT_OWNED_ANYWHERE_VALUE = 102;
/**
*
* We were unsuccessful in doing a lookup of authoritative ChangeServers for
* this write request because we don't have any assignment information.
* It will be converted into SHARDED_CHANGE_LISTENER_LOOKUP_FAILED and
* surfaced as {@code Code.Unavailable}.
*
*
* SHARDED_CHANGE_LISTENER_LOOKUP_NO_VALID_ASSIGNMENT = 103;
*/
public static final int SHARDED_CHANGE_LISTENER_LOOKUP_NO_VALID_ASSIGNMENT_VALUE = 103;
/**
*
* We were unsuccessful in doing a lookup of authoritative ChangeServers for
* this write request because we don't have replica group information for a
* certain document in the request. It will be converted into
* SHARDED_CHANGE_LISTENER_LOOKUP_FAILED and surfaced as
* {@code Code.Unavailable}.
*
*
* SHARDED_CHANGE_LISTENER_LOOKUP_NO_VALID_REPLICA_GROUP = 104;
*/
public static final int SHARDED_CHANGE_LISTENER_LOOKUP_NO_VALID_REPLICA_GROUP_VALUE = 104;
/**
*
* We were unsuccessful in doing a lookup of authoritative ChangeServers for
* this write request because there is no documents in the request. It will be
* converted into SHARDED_CHANGE_LISTENER_LOOKUP_FAILED and surfaced as
* {@code Code.Internal} because the error should have been found earlier.
*
*
* SHARDED_CHANGE_LISTENER_LOOKUP_MISSING_KEYS = 105;
*/
public static final int SHARDED_CHANGE_LISTENER_LOOKUP_MISSING_KEYS_VALUE = 105;
/**
*
* We were unsuccessful in doing a lookup of authoritative ChangeServers for
* this write request because the pool information doesn't match.
* It will be converted into SHARDED_CHANGE_LISTENER_LOOKUP_FAILED and
* surfaced as {@code Code.Internal}.
*
*
* SHARDED_CHANGE_LISTENER_LOOKUP_INCORRECT_POOL = 106;
*/
public static final int SHARDED_CHANGE_LISTENER_LOOKUP_INCORRECT_POOL_VALUE = 106;
/**
*
* We were unsuccessful in doing a lookup of authoritative ChangeServers for
* this write request because the path of a certain document in the request is
* illegal. It will be converted into SHARDED_CHANGE_LISTENER_LOOKUP_FAILED
* and surfaced as {@code Code.Internal} because the error should have been
* found earlier.
*
*
* SHARDED_CHANGE_LISTENER_LOOKUP_INVALID_KEYS = 107;
*/
public static final int SHARDED_CHANGE_LISTENER_LOOKUP_INVALID_KEYS_VALUE = 107;
/**
*
* We were unsuccessful in doing a lookup of authoritative ChangeServers for
* this write request because it fails to get Stub from the StubCache based
* on the ChangeServer address.
*
*
* SHARDED_CHANGE_LISTENER_LOOKUP_INVALID_STUB_CACHE = 108;
*/
public static final int SHARDED_CHANGE_LISTENER_LOOKUP_INVALID_STUB_CACHE_VALUE = 108;
/**
*
* The database is not ready for Wipeout since it is not hard deleted.
*
*
* BAD_WIPEOUT_REQUEST_DATABASE_NOT_DELETED = 109;
*/
public static final int BAD_WIPEOUT_REQUEST_DATABASE_NOT_DELETED_VALUE = 109;
/**
*
* We were unsuccessful in sending Prepares to all authoritative ChangeServers
* for this pool because a peer pool has failed its Prepare phase.
*
*
* SHARDED_CHANGE_LISTENER_PEER_POOL_PREPARE_FAILED = 111;
*/
public static final int SHARDED_CHANGE_LISTENER_PEER_POOL_PREPARE_FAILED_VALUE = 111;
/**
*
* The ownership lookup (with retries) for a certain set of documents failed
* permanently because it fails too many times.
*
*
* SHARDED_CHANGE_LISTENER_LOOKUP_FAILED_TOO_MANY_RETRIES = 112;
*/
public static final int SHARDED_CHANGE_LISTENER_LOOKUP_FAILED_TOO_MANY_RETRIES_VALUE = 112;
/**
*
* The ownership lookup (with retries) for a certain set of documents failed
* permanently because it hits a non-retryable error.
*
*
* SHARDED_CHANGE_LISTENER_LOOKUP_NON_RETYABLE_ERROR = 113;
*/
public static final int SHARDED_CHANGE_LISTENER_LOOKUP_NON_RETYABLE_ERROR_VALUE = 113;
public final int getNumber() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalArgumentException(
"Can't get the number of an unknown enum value.");
}
return value;
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static ProblemCode valueOf(int value) {
return forNumber(value);
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
*/
public static ProblemCode forNumber(int value) {
switch (value) {
case 0: return PROBLEM_CODE_UNSPECIFIED;
case 1: return MISSING_TRANSACTION_HANDLE;
case 2: return TRANSACTION_CONCURRENCY_ERROR;
case 3: return MISSING_STORAGE_FEATURE;
case 4: return INDEX_ALREADY_EXISTS;
case 5: return IAM_UNAVAILABLE;
case 6: return IAM_UNEXPECTED_RESPONSE;
case 7: return LEGACY;
case 8: return WRITE_PRECONDITION_FAILED_ALREADY_EXISTS;
case 9: return WRITE_PRECONDITION_FAILED_NOT_FOUND;
case 10: return WRITE_PRECONDITION_FAILED_FUTURE_BASE_VERSION;
case 11: return WRITE_PRECONDITION_FAILED_PAST_BASE_VERSION;
case 12: return MISSING_BUILTIN_INDEX_RECORD;
case 15: return MISSING_EUC;
case 17: return ENTITY_SIZE_OVER_LIMIT;
case 18: return MAX_ACTIVE_INDEXES_PER_DATABASE_EXCEEDED;
case 19: return MAX_DEACTIVATING_INDEXES_PER_DATABASE_EXCEEDED;
case 20: return MAX_UP_SINGLE_FIELD_RULES_EXCEEDED;
case 110: return MAX_UP_TTL_CONFIG_PER_KIND_EXCEEDED;
case 21: return MAX_DOWN_SINGLE_FIELD_RULES_EXCEEDED;
case 22: return SCHEDULER_LIMIT;
case 23: return DEMAND_QUOTA_EXCEEDED;
case 24: return SHIM_MIN_INITIALIZE_TIME_IN_FUTURE;
case 25: return SHIM_MIN_START_TIME_IN_FUTURE;
case 26: return CHANGE_LISTENER_LOOKUP_UNAVAILABLE;
case 27: return TRANSACTION_TOO_BIG;
case 28: return NEED_TO_REREAD_MEGAMOVER_JOURNAL;
case 29: return BACKING_STORE_IS_BROKEN;
case 30: return CHANGE_LISTENER_PREPARE_FAILED;
case 31: return NON_EMPTY_ENTITY_REF_WITHOUT_APP;
case 32: return ENTITY_GROUP_DOES_NOT_MATCH_KEY;
case 33: return ENTITY_WITH_UNKNOWN_FIELDS;
case 34: return NO_DB_SUPPORT;
case 35: return KEY_NAME_NOT_UTF8;
case 36: return INCOMPLETE_KEY_PATHS_IN_QUERY_FILTERS;
case 37: return KEY_SIZE_OVER_LIMIT;
case 38: return CROSS_PARTITION_ENTITY_REF;
case 39: return PROPERTY_NAME_NOT_UTF8;
case 40: return PROPERTY_VALUE_MEANING_DOES_NOT_MATCH_TYPE;
case 41: return GEO_POINT_HAS_UNEXPECTED_MEANING;
case 90: return EMPTY_LIST_MEANING_WITH_VALUE;
case 91: return INTEGER_MEANING_MISSING_INTEGER_VALUE;
case 92: return GEORSS_POINT_MEANING_MISSING_POINT_VALUE;
case 42: return INVALID_GEO_POINT;
case 43: return USER_FIELD_VALUE_NOT_UTF8;
case 45: return PROPERTY_VALUE_STRING_WITH_MEANING_NOT_UTF8;
case 46: return INVALID_UNINDEXED_PROPERTY_VALUE;
case 47: return KIND_NOT_UTF8;
case 48: return VALUE_NESTED_TOO_DEEPLY;
case 49: return INDEXED_PROPERTY_NAME_COLLISION;
case 50: return PROTO_SERIALIZATION_FAILURE;
case 51: return HUMAN_CALLER_WITHOUT_JUSTIFICATION;
case 52: return UNSUPPORTED_FIELD_VALUE;
case 53: return BATCH_WRITE_TOO_BIG;
case 54: return BATCH_WRITE_INDISTINCT_DOCUMENTS;
case 55: return NO_REFERENCE_VALUE_FOR_PRIMARY_KEY;
case 56: return CHANGE_LISTENER_PREPARE_RESOURCE_EXHAUSTED;
case 57: return DISJUNCTIVE_QUERIES_NOT_SUPPORTED;
case 58: return ONLY_SINGLE_DISJUNCTIVE_OPERATOR;
case 59: return TOO_MANY_NORMALIZED_DISJUNCTIONS;
case 61: return SNAPSHOT_TOO_OLD;
case 88: return SNAPSHOT_TOO_NEW;
case 62: return PROPERTY_VALUE_WITH_MULTIPLE_TYPES_SET;
case 63: return UNINDEXABLE_MEANING;
case 64: return PATH_WITH_BOTH_ID_AND_NAME_SET;
case 65: return PROPERTY_WITH_UNKNOWN_MEANING_URI;
case 66: return PROPERTY_WITH_INVALID_MULTIPLE_FIELD;
case 67: return EMPTY_KEY_PATH;
case 68: return OWNER_CONTAINS_NICKNAME;
case 69: return PROJECT_STATE_NOT_SUPPORTED;
case 70: return SERVING_STATE_CHECK_FAILED;
case 71: return NON_ROOT_USER_REQUEST_REJECTION;
case 72: return INDEX_ID_MISMATCH;
case 73: return SPANNER_COMMIT_TIME_TOO_SMALL;
case 74: return SPANNER_COMMIT_TIME_TOO_LARGE;
case 75: return SPANNER_ABORTED_LOCK_CONFLICT;
case 77: return SPANNER_DIRECTORY_NOT_IN_TABLET;
case 81: return SPANNER_GENERIC_ABORT;
case 76: return UNINDEXED_UNPARSEABLE_NESTED_ENTITY_TOO_LONG;
case 78: return INDEX_ENTRY_TOO_LARGE;
case 79: return ROUTING_ERROR;
case 80: return LOCAL_METADATA_FETCH_FAIL;
case 114: return LOCAL_VPC_SC_RESTRICTED_FETCH_FAIL;
case 82: return MISSING_FIRESTORE_DATABASE_LOCATION_EXTENSION;
case 83: return SPANNER_TO_MEGASTORE_COPY_NOT_ALLOWED;
case 84: return INDEX_ENTRIES_COUNT_LIMIT_EXCEEDED;
case 85: return INDEX_ENTRIES_BYTES_LIMIT_EXCEEDED;
case 86: return NESTED_ENTITY_ENTITY_GROUP_EMPTY;
case 87: return NESTED_ENTITY_ENTITY_GROUP_MULTIPLE_PATH_ELEMENTS;
case 89: return EMPTY_LIST_WITH_MULTIPLE;
case 99: return SHARDED_CHANGE_LISTENER_PREPARE_FAILED;
case 100: return SHARDED_CHANGE_LISTENER_PREPARE_RESOURCE_EXHAUSTED;
case 101: return SHARDED_CHANGE_LISTENER_LOOKUP_FAILED;
case 102: return SHARDED_CHANGE_LISTENER_LOOKUP_NOT_OWNED_ANYWHERE;
case 103: return SHARDED_CHANGE_LISTENER_LOOKUP_NO_VALID_ASSIGNMENT;
case 104: return SHARDED_CHANGE_LISTENER_LOOKUP_NO_VALID_REPLICA_GROUP;
case 105: return SHARDED_CHANGE_LISTENER_LOOKUP_MISSING_KEYS;
case 106: return SHARDED_CHANGE_LISTENER_LOOKUP_INCORRECT_POOL;
case 107: return SHARDED_CHANGE_LISTENER_LOOKUP_INVALID_KEYS;
case 108: return SHARDED_CHANGE_LISTENER_LOOKUP_INVALID_STUB_CACHE;
case 109: return BAD_WIPEOUT_REQUEST_DATABASE_NOT_DELETED;
case 111: return SHARDED_CHANGE_LISTENER_PEER_POOL_PREPARE_FAILED;
case 112: return SHARDED_CHANGE_LISTENER_LOOKUP_FAILED_TOO_MANY_RETRIES;
case 113: return SHARDED_CHANGE_LISTENER_LOOKUP_NON_RETYABLE_ERROR;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
ProblemCode> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
public ProblemCode findValueByNumber(int number) {
return ProblemCode.forNumber(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalStateException(
"Can't get the descriptor of an unrecognized enum value.");
}
return getDescriptor().getValues().get(ordinal());
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return com.google.cloud.datastore.logs.ProblemCodeOuterClass.getDescriptor().getEnumTypes().get(0);
}
private static final ProblemCode[] VALUES = values();
public static ProblemCode valueOf(
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
if (desc.getIndex() == -1) {
return UNRECOGNIZED;
}
return VALUES[desc.getIndex()];
}
private final int value;
private ProblemCode(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:java.cloud.datastore.proto.logs_enums.ProblemCode)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy