Skip to content

Commit

Permalink
🦉 Updates from OwlBot post-processor
Browse files Browse the repository at this point in the history
  • Loading branch information
gcf-owl-bot[bot] committed May 30, 2024
1 parent 8d920ff commit 1ba4c0f
Show file tree
Hide file tree
Showing 158 changed files with 158 additions and 205,927 deletions.
28 changes: 25 additions & 3 deletions dev/protos/admin_v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -2792,6 +2792,7 @@
42,
42
],
"php_generic_services",
[
38,
38
Expand Down Expand Up @@ -3134,6 +3135,10 @@
"default": false
}
},
"featureSupport": {
"type": "FieldOptions.FeatureSupport",
"id": 4
},
"uninterpretedOption": {
"rule": "repeated",
"type": "UninterpretedOption",
Expand Down Expand Up @@ -3317,7 +3322,7 @@
"retention": "RETENTION_RUNTIME",
"targets": "TARGET_TYPE_FILE",
"feature_support.edition_introduced": "EDITION_2023",
"edition_defaults.edition": "EDITION_PROTO2",
"edition_defaults.edition": "EDITION_LEGACY",
"edition_defaults.value": "LENGTH_PREFIXED"
}
},
Expand Down Expand Up @@ -3381,7 +3386,13 @@
"UTF8_VALIDATION_UNKNOWN": 0,
"VERIFY": 2,
"NONE": 3
}
},
"reserved": [
[
1,
1
]
]
},
"MessageEncoding": {
"values": {
Expand Down Expand Up @@ -3430,7 +3441,18 @@
"type": "FeatureSet",
"id": 5
}
}
},
"reserved": [
[
1,
1
],
[
2,
2
],
"features"
]
}
}
},
Expand Down
6 changes: 6 additions & 0 deletions dev/protos/firestore_admin_v1_proto_api.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6704,6 +6704,9 @@ export namespace google {
/** EnumValueOptions debugRedact */
debugRedact?: (boolean|null);

/** EnumValueOptions featureSupport */
featureSupport?: (google.protobuf.FieldOptions.IFeatureSupport|null);

/** EnumValueOptions uninterpretedOption */
uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
}
Expand All @@ -6726,6 +6729,9 @@ export namespace google {
/** EnumValueOptions debugRedact. */
public debugRedact: boolean;

/** EnumValueOptions featureSupport. */
public featureSupport?: (google.protobuf.FieldOptions.IFeatureSupport|null);

/** EnumValueOptions uninterpretedOption. */
public uninterpretedOption: google.protobuf.IUninterpretedOption[];

Expand Down
17 changes: 17 additions & 0 deletions dev/protos/firestore_admin_v1_proto_api.js
Original file line number Diff line number Diff line change
Expand Up @@ -16455,6 +16455,7 @@
* @property {boolean|null} [deprecated] EnumValueOptions deprecated
* @property {google.protobuf.IFeatureSet|null} [features] EnumValueOptions features
* @property {boolean|null} [debugRedact] EnumValueOptions debugRedact
* @property {google.protobuf.FieldOptions.IFeatureSupport|null} [featureSupport] EnumValueOptions featureSupport
* @property {Array.<google.protobuf.IUninterpretedOption>|null} [uninterpretedOption] EnumValueOptions uninterpretedOption
*/

Expand Down Expand Up @@ -16498,6 +16499,14 @@
*/
EnumValueOptions.prototype.debugRedact = false;

/**
* EnumValueOptions featureSupport.
* @member {google.protobuf.FieldOptions.IFeatureSupport|null|undefined} featureSupport
* @memberof google.protobuf.EnumValueOptions
* @instance
*/
EnumValueOptions.prototype.featureSupport = null;

/**
* EnumValueOptions uninterpretedOption.
* @member {Array.<google.protobuf.IUninterpretedOption>} uninterpretedOption
Expand Down Expand Up @@ -16527,6 +16536,11 @@
}
if (object.debugRedact != null)
message.debugRedact = Boolean(object.debugRedact);
if (object.featureSupport != null) {
if (typeof object.featureSupport !== "object")
throw TypeError(".google.protobuf.EnumValueOptions.featureSupport: object expected");
message.featureSupport = $root.google.protobuf.FieldOptions.FeatureSupport.fromObject(object.featureSupport);
}
if (object.uninterpretedOption) {
if (!Array.isArray(object.uninterpretedOption))
throw TypeError(".google.protobuf.EnumValueOptions.uninterpretedOption: array expected");
Expand Down Expand Up @@ -16559,13 +16573,16 @@
object.deprecated = false;
object.features = null;
object.debugRedact = false;
object.featureSupport = null;
}
if (message.deprecated != null && message.hasOwnProperty("deprecated"))
object.deprecated = message.deprecated;
if (message.features != null && message.hasOwnProperty("features"))
object.features = $root.google.protobuf.FeatureSet.toObject(message.features, options);
if (message.debugRedact != null && message.hasOwnProperty("debugRedact"))
object.debugRedact = message.debugRedact;
if (message.featureSupport != null && message.hasOwnProperty("featureSupport"))
object.featureSupport = $root.google.protobuf.FieldOptions.FeatureSupport.toObject(message.featureSupport, options);
if (message.uninterpretedOption && message.uninterpretedOption.length) {
object.uninterpretedOption = [];
for (var j = 0; j < message.uninterpretedOption.length; ++j)
Expand Down
6 changes: 6 additions & 0 deletions dev/protos/firestore_v1_proto_api.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2308,6 +2308,9 @@ export namespace google {
/** EnumValueOptions debugRedact */
debugRedact?: (boolean|null);

/** EnumValueOptions featureSupport */
featureSupport?: (google.protobuf.FieldOptions.IFeatureSupport|null);

/** EnumValueOptions uninterpretedOption */
uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
}
Expand All @@ -2330,6 +2333,9 @@ export namespace google {
/** EnumValueOptions debugRedact. */
public debugRedact: boolean;

/** EnumValueOptions featureSupport. */
public featureSupport?: (google.protobuf.FieldOptions.IFeatureSupport|null);

/** EnumValueOptions uninterpretedOption. */
public uninterpretedOption: google.protobuf.IUninterpretedOption[];

Expand Down
17 changes: 17 additions & 0 deletions dev/protos/firestore_v1_proto_api.js
Original file line number Diff line number Diff line change
Expand Up @@ -6203,6 +6203,7 @@
* @property {boolean|null} [deprecated] EnumValueOptions deprecated
* @property {google.protobuf.IFeatureSet|null} [features] EnumValueOptions features
* @property {boolean|null} [debugRedact] EnumValueOptions debugRedact
* @property {google.protobuf.FieldOptions.IFeatureSupport|null} [featureSupport] EnumValueOptions featureSupport
* @property {Array.<google.protobuf.IUninterpretedOption>|null} [uninterpretedOption] EnumValueOptions uninterpretedOption
*/

Expand Down Expand Up @@ -6246,6 +6247,14 @@
*/
EnumValueOptions.prototype.debugRedact = false;

/**
* EnumValueOptions featureSupport.
* @member {google.protobuf.FieldOptions.IFeatureSupport|null|undefined} featureSupport
* @memberof google.protobuf.EnumValueOptions
* @instance
*/
EnumValueOptions.prototype.featureSupport = null;

/**
* EnumValueOptions uninterpretedOption.
* @member {Array.<google.protobuf.IUninterpretedOption>} uninterpretedOption
Expand Down Expand Up @@ -6275,6 +6284,11 @@
}
if (object.debugRedact != null)
message.debugRedact = Boolean(object.debugRedact);
if (object.featureSupport != null) {
if (typeof object.featureSupport !== "object")
throw TypeError(".google.protobuf.EnumValueOptions.featureSupport: object expected");
message.featureSupport = $root.google.protobuf.FieldOptions.FeatureSupport.fromObject(object.featureSupport);
}
if (object.uninterpretedOption) {
if (!Array.isArray(object.uninterpretedOption))
throw TypeError(".google.protobuf.EnumValueOptions.uninterpretedOption: array expected");
Expand Down Expand Up @@ -6307,13 +6321,16 @@
object.deprecated = false;
object.features = null;
object.debugRedact = false;
object.featureSupport = null;
}
if (message.deprecated != null && message.hasOwnProperty("deprecated"))
object.deprecated = message.deprecated;
if (message.features != null && message.hasOwnProperty("features"))
object.features = $root.google.protobuf.FeatureSet.toObject(message.features, options);
if (message.debugRedact != null && message.hasOwnProperty("debugRedact"))
object.debugRedact = message.debugRedact;
if (message.featureSupport != null && message.hasOwnProperty("featureSupport"))
object.featureSupport = $root.google.protobuf.FieldOptions.FeatureSupport.toObject(message.featureSupport, options);
if (message.uninterpretedOption && message.uninterpretedOption.length) {
object.uninterpretedOption = [];
for (var j = 0; j < message.uninterpretedOption.length; ++j)
Expand Down
6 changes: 6 additions & 0 deletions dev/protos/firestore_v1beta1_proto_api.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1967,6 +1967,9 @@ export namespace google {
/** EnumValueOptions debugRedact */
debugRedact?: (boolean|null);

/** EnumValueOptions featureSupport */
featureSupport?: (google.protobuf.FieldOptions.IFeatureSupport|null);

/** EnumValueOptions uninterpretedOption */
uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
}
Expand All @@ -1989,6 +1992,9 @@ export namespace google {
/** EnumValueOptions debugRedact. */
public debugRedact: boolean;

/** EnumValueOptions featureSupport. */
public featureSupport?: (google.protobuf.FieldOptions.IFeatureSupport|null);

/** EnumValueOptions uninterpretedOption. */
public uninterpretedOption: google.protobuf.IUninterpretedOption[];

Expand Down
17 changes: 17 additions & 0 deletions dev/protos/firestore_v1beta1_proto_api.js
Original file line number Diff line number Diff line change
Expand Up @@ -5385,6 +5385,7 @@
* @property {boolean|null} [deprecated] EnumValueOptions deprecated
* @property {google.protobuf.IFeatureSet|null} [features] EnumValueOptions features
* @property {boolean|null} [debugRedact] EnumValueOptions debugRedact
* @property {google.protobuf.FieldOptions.IFeatureSupport|null} [featureSupport] EnumValueOptions featureSupport
* @property {Array.<google.protobuf.IUninterpretedOption>|null} [uninterpretedOption] EnumValueOptions uninterpretedOption
*/

Expand Down Expand Up @@ -5428,6 +5429,14 @@
*/
EnumValueOptions.prototype.debugRedact = false;

/**
* EnumValueOptions featureSupport.
* @member {google.protobuf.FieldOptions.IFeatureSupport|null|undefined} featureSupport
* @memberof google.protobuf.EnumValueOptions
* @instance
*/
EnumValueOptions.prototype.featureSupport = null;

/**
* EnumValueOptions uninterpretedOption.
* @member {Array.<google.protobuf.IUninterpretedOption>} uninterpretedOption
Expand Down Expand Up @@ -5457,6 +5466,11 @@
}
if (object.debugRedact != null)
message.debugRedact = Boolean(object.debugRedact);
if (object.featureSupport != null) {
if (typeof object.featureSupport !== "object")
throw TypeError(".google.protobuf.EnumValueOptions.featureSupport: object expected");
message.featureSupport = $root.google.protobuf.FieldOptions.FeatureSupport.fromObject(object.featureSupport);
}
if (object.uninterpretedOption) {
if (!Array.isArray(object.uninterpretedOption))
throw TypeError(".google.protobuf.EnumValueOptions.uninterpretedOption: array expected");
Expand Down Expand Up @@ -5489,13 +5503,16 @@
object.deprecated = false;
object.features = null;
object.debugRedact = false;
object.featureSupport = null;
}
if (message.deprecated != null && message.hasOwnProperty("deprecated"))
object.deprecated = message.deprecated;
if (message.features != null && message.hasOwnProperty("features"))
object.features = $root.google.protobuf.FeatureSet.toObject(message.features, options);
if (message.debugRedact != null && message.hasOwnProperty("debugRedact"))
object.debugRedact = message.debugRedact;
if (message.featureSupport != null && message.hasOwnProperty("featureSupport"))
object.featureSupport = $root.google.protobuf.FieldOptions.FeatureSupport.toObject(message.featureSupport, options);
if (message.uninterpretedOption && message.uninterpretedOption.length) {
object.uninterpretedOption = [];
for (var j = 0; j < message.uninterpretedOption.length; ++j)
Expand Down
26 changes: 14 additions & 12 deletions dev/protos/google/protobuf/descriptor.proto
Original file line number Diff line number Diff line change
Expand Up @@ -494,6 +494,7 @@ message FileOptions {
optional bool java_generic_services = 17 [default = false];
optional bool py_generic_services = 18 [default = false];
reserved 42; // removed php_generic_services
reserved "php_generic_services";

// Is this file deprecated?
// Depending on the target platform, this can emit Deprecated annotations
Expand Down Expand Up @@ -858,6 +859,9 @@ message EnumValueOptions {
// credentials.
optional bool debug_redact = 3 [default = false];

// Information about the support window of a feature value.
optional FieldOptions.FeatureSupport feature_support = 4;

// The parser stores options it doesn't recognize here. See above.
repeated UninterpretedOption uninterpreted_option = 999;

Expand Down Expand Up @@ -970,11 +974,10 @@ message FeatureSet {
retention = RETENTION_RUNTIME,
targets = TARGET_TYPE_FIELD,
targets = TARGET_TYPE_FILE,
// TODO Enable this in google3 once protoc rolls out.
feature_support = {
edition_introduced: EDITION_2023,
},
edition_defaults = { edition: EDITION_PROTO2, value: "EXPLICIT" },
edition_defaults = { edition: EDITION_LEGACY, value: "EXPLICIT" },
edition_defaults = { edition: EDITION_PROTO3, value: "IMPLICIT" },
edition_defaults = { edition: EDITION_2023, value: "EXPLICIT" }
];
Expand All @@ -988,11 +991,10 @@ message FeatureSet {
retention = RETENTION_RUNTIME,
targets = TARGET_TYPE_ENUM,
targets = TARGET_TYPE_FILE,
// TODO Enable this in google3 once protoc rolls out.
feature_support = {
edition_introduced: EDITION_2023,
},
edition_defaults = { edition: EDITION_PROTO2, value: "CLOSED" },
edition_defaults = { edition: EDITION_LEGACY, value: "CLOSED" },
edition_defaults = { edition: EDITION_PROTO3, value: "OPEN" }
];

Expand All @@ -1005,28 +1007,27 @@ message FeatureSet {
retention = RETENTION_RUNTIME,
targets = TARGET_TYPE_FIELD,
targets = TARGET_TYPE_FILE,
// TODO Enable this in google3 once protoc rolls out.
feature_support = {
edition_introduced: EDITION_2023,
},
edition_defaults = { edition: EDITION_PROTO2, value: "EXPANDED" },
edition_defaults = { edition: EDITION_LEGACY, value: "EXPANDED" },
edition_defaults = { edition: EDITION_PROTO3, value: "PACKED" }
];

enum Utf8Validation {
UTF8_VALIDATION_UNKNOWN = 0;
VERIFY = 2;
NONE = 3;
reserved 1;
}
optional Utf8Validation utf8_validation = 4 [
retention = RETENTION_RUNTIME,
targets = TARGET_TYPE_FIELD,
targets = TARGET_TYPE_FILE,
// TODO Enable this in google3 once protoc rolls out.
feature_support = {
edition_introduced: EDITION_2023,
},
edition_defaults = { edition: EDITION_PROTO2, value: "NONE" },
edition_defaults = { edition: EDITION_LEGACY, value: "NONE" },
edition_defaults = { edition: EDITION_PROTO3, value: "VERIFY" }
];

Expand All @@ -1039,11 +1040,10 @@ message FeatureSet {
retention = RETENTION_RUNTIME,
targets = TARGET_TYPE_FIELD,
targets = TARGET_TYPE_FILE,
// TODO Enable this in google3 once protoc rolls out.
feature_support = {
edition_introduced: EDITION_2023,
},
edition_defaults = { edition: EDITION_PROTO2, value: "LENGTH_PREFIXED" }
edition_defaults = { edition: EDITION_LEGACY, value: "LENGTH_PREFIXED" }
];

enum JsonFormat {
Expand All @@ -1056,11 +1056,10 @@ message FeatureSet {
targets = TARGET_TYPE_MESSAGE,
targets = TARGET_TYPE_ENUM,
targets = TARGET_TYPE_FILE,
// TODO Enable this in google3 once protoc rolls out.
feature_support = {
edition_introduced: EDITION_2023,
},
edition_defaults = { edition: EDITION_PROTO2, value: "LEGACY_BEST_EFFORT" },
edition_defaults = { edition: EDITION_LEGACY, value: "LEGACY_BEST_EFFORT" },
edition_defaults = { edition: EDITION_PROTO3, value: "ALLOW" }
];

Expand Down Expand Up @@ -1106,6 +1105,9 @@ message FeatureSetDefaults {

// Defaults of features that can't be overridden in this edition.
optional FeatureSet fixed_features = 5;

reserved 1, 2;
reserved "features";
}
repeated FeatureSetEditionDefault defaults = 1;

Expand Down
Loading

0 comments on commit 1ba4c0f

Please sign in to comment.