aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrobot-contrib <robot-contrib@yandex-team.com>2023-10-13 18:50:44 +0300
committerrobot-contrib <robot-contrib@yandex-team.com>2023-10-13 19:20:00 +0300
commit135fc36c33dff6d22d68966dab8f6031a1e5df2d (patch)
tree01cec247cb5f40f2190a4fe7d651590040eb07f5
parent5491a4bbfe9c10211bcce661eca0386adc738cc1 (diff)
downloadydb-135fc36c33dff6d22d68966dab8f6031a1e5df2d.tar.gz
Update contrib/libs/googleapis-common-protos to 1.61.0
-rw-r--r--contrib/libs/googleapis-common-protos/CHANGELOG.md8
-rw-r--r--contrib/libs/googleapis-common-protos/CMakeLists.darwin-x86_64.txt13
-rw-r--r--contrib/libs/googleapis-common-protos/CMakeLists.linux-aarch64.txt13
-rw-r--r--contrib/libs/googleapis-common-protos/CMakeLists.linux-x86_64.txt13
-rw-r--r--contrib/libs/googleapis-common-protos/CMakeLists.windows-x86_64.txt13
-rw-r--r--contrib/libs/googleapis-common-protos/google/api/field_behavior.proto14
-rw-r--r--contrib/libs/googleapis-common-protos/google/api/field_info.proto79
-rw-r--r--contrib/libs/googleapis-common-protos/ya.make5
8 files changed, 156 insertions, 2 deletions
diff --git a/contrib/libs/googleapis-common-protos/CHANGELOG.md b/contrib/libs/googleapis-common-protos/CHANGELOG.md
index a2836e5bf9..05ce40674d 100644
--- a/contrib/libs/googleapis-common-protos/CHANGELOG.md
+++ b/contrib/libs/googleapis-common-protos/CHANGELOG.md
@@ -1,5 +1,13 @@
# Changelog
+## [1.61.0](https://github.com/googleapis/python-api-common-protos/compare/v1.60.0...v1.61.0) (2023-10-09)
+
+
+### Features
+
+* Add `google/api/field_info.proto` ([2d39f37](https://github.com/googleapis/python-api-common-protos/commit/2d39f37212fe886b3029e1043ca28789e2d66876))
+* Add `IDENTIFIER` to `FieldBehavior` enum ([2d39f37](https://github.com/googleapis/python-api-common-protos/commit/2d39f37212fe886b3029e1043ca28789e2d66876))
+
## [1.60.0](https://github.com/googleapis/python-api-common-protos/compare/v1.59.1...v1.60.0) (2023-07-27)
diff --git a/contrib/libs/googleapis-common-protos/CMakeLists.darwin-x86_64.txt b/contrib/libs/googleapis-common-protos/CMakeLists.darwin-x86_64.txt
index 77de4ef62f..a2b6d3385f 100644
--- a/contrib/libs/googleapis-common-protos/CMakeLists.darwin-x86_64.txt
+++ b/contrib/libs/googleapis-common-protos/CMakeLists.darwin-x86_64.txt
@@ -744,6 +744,18 @@ get_built_tool_path(
contrib/tools/protoc/plugins/cpp_styleguide
cpp_styleguide
)
+get_built_tool_path(
+ TOOL_protoc_bin
+ TOOL_protoc_dependency
+ contrib/tools/protoc/bin
+ protoc
+)
+get_built_tool_path(
+ TOOL_cpp_styleguide_bin
+ TOOL_cpp_styleguide_dependency
+ contrib/tools/protoc/plugins/cpp_styleguide
+ cpp_styleguide
+)
add_library(contrib-libs-googleapis-common-protos)
set_property(TARGET contrib-libs-googleapis-common-protos PROPERTY
@@ -776,6 +788,7 @@ target_proto_messages(contrib-libs-googleapis-common-protos PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/googleapis-common-protos/google/api/endpoint.proto
${CMAKE_SOURCE_DIR}/contrib/libs/googleapis-common-protos/google/api/error_reason.proto
${CMAKE_SOURCE_DIR}/contrib/libs/googleapis-common-protos/google/api/field_behavior.proto
+ ${CMAKE_SOURCE_DIR}/contrib/libs/googleapis-common-protos/google/api/field_info.proto
${CMAKE_SOURCE_DIR}/contrib/libs/googleapis-common-protos/google/api/http.proto
${CMAKE_SOURCE_DIR}/contrib/libs/googleapis-common-protos/google/api/httpbody.proto
${CMAKE_SOURCE_DIR}/contrib/libs/googleapis-common-protos/google/api/label.proto
diff --git a/contrib/libs/googleapis-common-protos/CMakeLists.linux-aarch64.txt b/contrib/libs/googleapis-common-protos/CMakeLists.linux-aarch64.txt
index 4b72c3000c..48c7a1d1cb 100644
--- a/contrib/libs/googleapis-common-protos/CMakeLists.linux-aarch64.txt
+++ b/contrib/libs/googleapis-common-protos/CMakeLists.linux-aarch64.txt
@@ -744,6 +744,18 @@ get_built_tool_path(
contrib/tools/protoc/plugins/cpp_styleguide
cpp_styleguide
)
+get_built_tool_path(
+ TOOL_protoc_bin
+ TOOL_protoc_dependency
+ contrib/tools/protoc/bin
+ protoc
+)
+get_built_tool_path(
+ TOOL_cpp_styleguide_bin
+ TOOL_cpp_styleguide_dependency
+ contrib/tools/protoc/plugins/cpp_styleguide
+ cpp_styleguide
+)
add_library(contrib-libs-googleapis-common-protos)
set_property(TARGET contrib-libs-googleapis-common-protos PROPERTY
@@ -777,6 +789,7 @@ target_proto_messages(contrib-libs-googleapis-common-protos PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/googleapis-common-protos/google/api/endpoint.proto
${CMAKE_SOURCE_DIR}/contrib/libs/googleapis-common-protos/google/api/error_reason.proto
${CMAKE_SOURCE_DIR}/contrib/libs/googleapis-common-protos/google/api/field_behavior.proto
+ ${CMAKE_SOURCE_DIR}/contrib/libs/googleapis-common-protos/google/api/field_info.proto
${CMAKE_SOURCE_DIR}/contrib/libs/googleapis-common-protos/google/api/http.proto
${CMAKE_SOURCE_DIR}/contrib/libs/googleapis-common-protos/google/api/httpbody.proto
${CMAKE_SOURCE_DIR}/contrib/libs/googleapis-common-protos/google/api/label.proto
diff --git a/contrib/libs/googleapis-common-protos/CMakeLists.linux-x86_64.txt b/contrib/libs/googleapis-common-protos/CMakeLists.linux-x86_64.txt
index 4b72c3000c..48c7a1d1cb 100644
--- a/contrib/libs/googleapis-common-protos/CMakeLists.linux-x86_64.txt
+++ b/contrib/libs/googleapis-common-protos/CMakeLists.linux-x86_64.txt
@@ -744,6 +744,18 @@ get_built_tool_path(
contrib/tools/protoc/plugins/cpp_styleguide
cpp_styleguide
)
+get_built_tool_path(
+ TOOL_protoc_bin
+ TOOL_protoc_dependency
+ contrib/tools/protoc/bin
+ protoc
+)
+get_built_tool_path(
+ TOOL_cpp_styleguide_bin
+ TOOL_cpp_styleguide_dependency
+ contrib/tools/protoc/plugins/cpp_styleguide
+ cpp_styleguide
+)
add_library(contrib-libs-googleapis-common-protos)
set_property(TARGET contrib-libs-googleapis-common-protos PROPERTY
@@ -777,6 +789,7 @@ target_proto_messages(contrib-libs-googleapis-common-protos PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/googleapis-common-protos/google/api/endpoint.proto
${CMAKE_SOURCE_DIR}/contrib/libs/googleapis-common-protos/google/api/error_reason.proto
${CMAKE_SOURCE_DIR}/contrib/libs/googleapis-common-protos/google/api/field_behavior.proto
+ ${CMAKE_SOURCE_DIR}/contrib/libs/googleapis-common-protos/google/api/field_info.proto
${CMAKE_SOURCE_DIR}/contrib/libs/googleapis-common-protos/google/api/http.proto
${CMAKE_SOURCE_DIR}/contrib/libs/googleapis-common-protos/google/api/httpbody.proto
${CMAKE_SOURCE_DIR}/contrib/libs/googleapis-common-protos/google/api/label.proto
diff --git a/contrib/libs/googleapis-common-protos/CMakeLists.windows-x86_64.txt b/contrib/libs/googleapis-common-protos/CMakeLists.windows-x86_64.txt
index 77de4ef62f..a2b6d3385f 100644
--- a/contrib/libs/googleapis-common-protos/CMakeLists.windows-x86_64.txt
+++ b/contrib/libs/googleapis-common-protos/CMakeLists.windows-x86_64.txt
@@ -744,6 +744,18 @@ get_built_tool_path(
contrib/tools/protoc/plugins/cpp_styleguide
cpp_styleguide
)
+get_built_tool_path(
+ TOOL_protoc_bin
+ TOOL_protoc_dependency
+ contrib/tools/protoc/bin
+ protoc
+)
+get_built_tool_path(
+ TOOL_cpp_styleguide_bin
+ TOOL_cpp_styleguide_dependency
+ contrib/tools/protoc/plugins/cpp_styleguide
+ cpp_styleguide
+)
add_library(contrib-libs-googleapis-common-protos)
set_property(TARGET contrib-libs-googleapis-common-protos PROPERTY
@@ -776,6 +788,7 @@ target_proto_messages(contrib-libs-googleapis-common-protos PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/googleapis-common-protos/google/api/endpoint.proto
${CMAKE_SOURCE_DIR}/contrib/libs/googleapis-common-protos/google/api/error_reason.proto
${CMAKE_SOURCE_DIR}/contrib/libs/googleapis-common-protos/google/api/field_behavior.proto
+ ${CMAKE_SOURCE_DIR}/contrib/libs/googleapis-common-protos/google/api/field_info.proto
${CMAKE_SOURCE_DIR}/contrib/libs/googleapis-common-protos/google/api/http.proto
${CMAKE_SOURCE_DIR}/contrib/libs/googleapis-common-protos/google/api/httpbody.proto
${CMAKE_SOURCE_DIR}/contrib/libs/googleapis-common-protos/google/api/label.proto
diff --git a/contrib/libs/googleapis-common-protos/google/api/field_behavior.proto b/contrib/libs/googleapis-common-protos/google/api/field_behavior.proto
index 1a3a2f2fb2..344cb0b1fc 100644
--- a/contrib/libs/googleapis-common-protos/google/api/field_behavior.proto
+++ b/contrib/libs/googleapis-common-protos/google/api/field_behavior.proto
@@ -87,4 +87,18 @@ enum FieldBehavior {
// a non-empty value will be returned. The user will not be aware of what
// non-empty value to expect.
NON_EMPTY_DEFAULT = 7;
+
+ // Denotes that the field in a resource (a message annotated with
+ // google.api.resource) is used in the resource name to uniquely identify the
+ // resource. For AIP-compliant APIs, this should only be applied to the
+ // `name` field on the resource.
+ //
+ // This behavior should not be applied to references to other resources within
+ // the message.
+ //
+ // The identifier field of resources often have different field behavior
+ // depending on the request it is embedded in (e.g. for Create methods name
+ // is optional and unused, while for Update methods it is required). Instead
+ // of method-specific annotations, only `IDENTIFIER` is required.
+ IDENTIFIER = 8;
}
diff --git a/contrib/libs/googleapis-common-protos/google/api/field_info.proto b/contrib/libs/googleapis-common-protos/google/api/field_info.proto
new file mode 100644
index 0000000000..dd66340a02
--- /dev/null
+++ b/contrib/libs/googleapis-common-protos/google/api/field_info.proto
@@ -0,0 +1,79 @@
+// Copyright 2023 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+syntax = "proto3";
+
+package google.api;
+
+import "google/protobuf/descriptor.proto";
+
+option go_package = "google.golang.org/genproto/googleapis/api/annotations;annotations";
+option java_multiple_files = true;
+option java_outer_classname = "FieldInfoProto";
+option java_package = "com.google.api";
+option objc_class_prefix = "GAPI";
+
+extend google.protobuf.FieldOptions {
+ // Rich semantic descriptor of an API field beyond the basic typing.
+ //
+ // Examples:
+ //
+ // string request_id = 1 [(google.api.field_info).format = UUID4];
+ // string old_ip_address = 2 [(google.api.field_info).format = IPV4];
+ // string new_ip_address = 3 [(google.api.field_info).format = IPV6];
+ // string actual_ip_address = 4 [
+ // (google.api.field_info).format = IPV4_OR_IPV6
+ // ];
+ google.api.FieldInfo field_info = 291403980;
+}
+
+// Rich semantic information of an API field beyond basic typing.
+message FieldInfo {
+ // The standard format of a field value. The supported formats are all backed
+ // by either an RFC defined by the IETF or a Google-defined AIP.
+ enum Format {
+ // Default, unspecified value.
+ FORMAT_UNSPECIFIED = 0;
+
+ // Universally Unique Identifier, version 4, value as defined by
+ // https://datatracker.ietf.org/doc/html/rfc4122. The value may be
+ // normalized to entirely lowercase letters. For example, the value
+ // `F47AC10B-58CC-0372-8567-0E02B2C3D479` would be normalized to
+ // `f47ac10b-58cc-0372-8567-0e02b2c3d479`.
+ UUID4 = 1;
+
+ // Internet Protocol v4 value as defined by [RFC
+ // 791](https://datatracker.ietf.org/doc/html/rfc791). The value may be
+ // condensed, with leading zeros in each octet stripped. For example,
+ // `001.022.233.040` would be condensed to `1.22.233.40`.
+ IPV4 = 2;
+
+ // Internet Protocol v6 value as defined by [RFC
+ // 2460](https://datatracker.ietf.org/doc/html/rfc2460). The value may be
+ // normalized to entirely lowercase letters, and zero-padded partial and
+ // empty octets. For example, the value `2001:DB8::` would be normalized to
+ // `2001:0db8:0:0`.
+ IPV6 = 3;
+
+ // An IP address in either v4 or v6 format as described by the individual
+ // values defined herein. See the comments on the IPV4 and IPV6 types for
+ // allowed normalizations of each.
+ IPV4_OR_IPV6 = 4;
+ }
+
+ // The standard format of a field value. This does not explicitly configure
+ // any API consumer, just documents the API's format for the field it is
+ // applied to.
+ Format format = 1;
+}
diff --git a/contrib/libs/googleapis-common-protos/ya.make b/contrib/libs/googleapis-common-protos/ya.make
index 450d89fbb7..cb0e4cd27f 100644
--- a/contrib/libs/googleapis-common-protos/ya.make
+++ b/contrib/libs/googleapis-common-protos/ya.make
@@ -6,9 +6,9 @@ LICENSE(Apache-2.0)
LICENSE_TEXTS(.yandex_meta/licenses.list.txt)
-VERSION(1.60.0)
+VERSION(1.61.0)
-ORIGINAL_SOURCE(https://github.com/googleapis/python-api-common-protos/archive/v1.60.0.tar.gz)
+ORIGINAL_SOURCE(https://github.com/googleapis/python-api-common-protos/archive/v1.61.0.tar.gz)
PY_NAMESPACE(.)
@@ -34,6 +34,7 @@ SRCS(
google/api/endpoint.proto
google/api/error_reason.proto
google/api/field_behavior.proto
+ google/api/field_info.proto
google/api/http.proto
google/api/httpbody.proto
google/api/label.proto