Update TTRPC and Protobuild dependencies
Signed-off-by: Maksym Pavlenko <pavlenko.maksym@gmail.com>
This commit is contained in:
		
							
								
								
									
										6
									
								
								go.mod
									
									
									
									
									
								
							
							
						
						
									
										6
									
								
								go.mod
									
									
									
									
									
								
							| @@ -18,7 +18,7 @@ require ( | |||||||
| 	github.com/containerd/go-runc v1.0.0 | 	github.com/containerd/go-runc v1.0.0 | ||||||
| 	github.com/containerd/imgcrypt v1.1.5-0.20220421044638-8ba028dca028 | 	github.com/containerd/imgcrypt v1.1.5-0.20220421044638-8ba028dca028 | ||||||
| 	github.com/containerd/nri v0.2.1-0.20230131001841-b3cabdec0657 | 	github.com/containerd/nri v0.2.1-0.20230131001841-b3cabdec0657 | ||||||
| 	github.com/containerd/ttrpc v1.1.1-0.20220420014843-944ef4a40df3 | 	github.com/containerd/ttrpc v1.1.1-0.20230127163717-32fab2374638 | ||||||
| 	github.com/containerd/typeurl v1.0.3-0.20220422153119-7f6e6d160d67 | 	github.com/containerd/typeurl v1.0.3-0.20220422153119-7f6e6d160d67 | ||||||
| 	github.com/containerd/zfs v1.0.0 | 	github.com/containerd/zfs v1.0.0 | ||||||
| 	github.com/containernetworking/cni v1.1.2 | 	github.com/containernetworking/cni v1.1.2 | ||||||
| @@ -69,8 +69,8 @@ require ( | |||||||
| 	go.opentelemetry.io/otel/trace v1.12.0 | 	go.opentelemetry.io/otel/trace v1.12.0 | ||||||
| 	golang.org/x/sync v0.1.0 | 	golang.org/x/sync v0.1.0 | ||||||
| 	golang.org/x/sys v0.4.0 | 	golang.org/x/sys v0.4.0 | ||||||
| 	google.golang.org/genproto v0.0.0-20221206210731-b1a01be3a5f6 | 	google.golang.org/genproto v0.0.0-20230131230820-1c016267d619 | ||||||
| 	google.golang.org/grpc v1.52.0 | 	google.golang.org/grpc v1.52.3 | ||||||
| 	google.golang.org/protobuf v1.28.1 | 	google.golang.org/protobuf v1.28.1 | ||||||
| 	k8s.io/api v0.25.4 | 	k8s.io/api v0.25.4 | ||||||
| 	k8s.io/apimachinery v0.25.4 | 	k8s.io/apimachinery v0.25.4 | ||||||
|   | |||||||
							
								
								
									
										12
									
								
								go.sum
									
									
									
									
									
								
							
							
						
						
									
										12
									
								
								go.sum
									
									
									
									
									
								
							| @@ -271,8 +271,8 @@ github.com/containerd/ttrpc v0.0.0-20191028202541-4f1b8fe65a5c/go.mod h1:LPm1u0x | |||||||
| github.com/containerd/ttrpc v1.0.1/go.mod h1:UAxOpgT9ziI0gJrmKvgcZivgxOp8iFPSk8httJEt98Y= | github.com/containerd/ttrpc v1.0.1/go.mod h1:UAxOpgT9ziI0gJrmKvgcZivgxOp8iFPSk8httJEt98Y= | ||||||
| github.com/containerd/ttrpc v1.0.2/go.mod h1:UAxOpgT9ziI0gJrmKvgcZivgxOp8iFPSk8httJEt98Y= | github.com/containerd/ttrpc v1.0.2/go.mod h1:UAxOpgT9ziI0gJrmKvgcZivgxOp8iFPSk8httJEt98Y= | ||||||
| github.com/containerd/ttrpc v1.1.0/go.mod h1:XX4ZTnoOId4HklF4edwc4DcqskFZuvXB1Evzy5KFQpQ= | github.com/containerd/ttrpc v1.1.0/go.mod h1:XX4ZTnoOId4HklF4edwc4DcqskFZuvXB1Evzy5KFQpQ= | ||||||
| github.com/containerd/ttrpc v1.1.1-0.20220420014843-944ef4a40df3 h1:BhCp66ofL8oYcdelc3CBXc2/Pfvvgx+s+mrp9TvNgn8= | github.com/containerd/ttrpc v1.1.1-0.20230127163717-32fab2374638 h1:8eVDsirmav+3F0gKY9q/NboZuAqLg++AzW5/HZKKUY4= | ||||||
| github.com/containerd/ttrpc v1.1.1-0.20220420014843-944ef4a40df3/go.mod h1:YYyNVhZrTMiaf51Vj6WhAJqJw+vl/nzABhj8pWrzle4= | github.com/containerd/ttrpc v1.1.1-0.20230127163717-32fab2374638/go.mod h1:YYyNVhZrTMiaf51Vj6WhAJqJw+vl/nzABhj8pWrzle4= | ||||||
| github.com/containerd/typeurl v0.0.0-20180627222232-a93fcdb778cd/go.mod h1:Cm3kwCdlkCfMSHURc+r6fwoGH6/F1hH3S4sg0rLFWPc= | github.com/containerd/typeurl v0.0.0-20180627222232-a93fcdb778cd/go.mod h1:Cm3kwCdlkCfMSHURc+r6fwoGH6/F1hH3S4sg0rLFWPc= | ||||||
| github.com/containerd/typeurl v0.0.0-20190911142611-5eb25027c9fd/go.mod h1:GeKYzf2pQcqv7tJ0AoCuuhtnqhva5LNU3U+OyKxxJpk= | github.com/containerd/typeurl v0.0.0-20190911142611-5eb25027c9fd/go.mod h1:GeKYzf2pQcqv7tJ0AoCuuhtnqhva5LNU3U+OyKxxJpk= | ||||||
| github.com/containerd/typeurl v1.0.1/go.mod h1:TB1hUtrpaiO88KEK56ijojHS1+NeF0izUACaJW2mdXg= | github.com/containerd/typeurl v1.0.1/go.mod h1:TB1hUtrpaiO88KEK56ijojHS1+NeF0izUACaJW2mdXg= | ||||||
| @@ -1471,8 +1471,8 @@ google.golang.org/genproto v0.0.0-20210602131652-f16073e35f0c/go.mod h1:UODoCrxH | |||||||
| google.golang.org/genproto v0.0.0-20210831024726-fe130286e0e2/go.mod h1:eFjDcFEctNawg4eG61bRv87N7iHBWyVhJu7u1kqDUXY= | google.golang.org/genproto v0.0.0-20210831024726-fe130286e0e2/go.mod h1:eFjDcFEctNawg4eG61bRv87N7iHBWyVhJu7u1kqDUXY= | ||||||
| google.golang.org/genproto v0.0.0-20211118181313-81c1377c94b1/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc= | google.golang.org/genproto v0.0.0-20211118181313-81c1377c94b1/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc= | ||||||
| google.golang.org/genproto v0.0.0-20211208223120-3a66f561d7aa/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc= | google.golang.org/genproto v0.0.0-20211208223120-3a66f561d7aa/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc= | ||||||
| google.golang.org/genproto v0.0.0-20221206210731-b1a01be3a5f6 h1:AGXp12e/9rItf6/4QymU7WsAUwCf+ICW75cuR91nJIc= | google.golang.org/genproto v0.0.0-20230131230820-1c016267d619 h1:p0kMzw6AG0JEzd7Z+kXqOiLhC6gjUQTbtS2zR0Q3DbI= | ||||||
| google.golang.org/genproto v0.0.0-20221206210731-b1a01be3a5f6/go.mod h1:1dOng4TWOomJrDGhpXjfCD35wQC6jnC7HpRmOFRqEV0= | google.golang.org/genproto v0.0.0-20230131230820-1c016267d619/go.mod h1:RGgjbofJ8xD9Sq1VVhDM1Vok1vRONV+rg+CjzG4SZKM= | ||||||
| google.golang.org/grpc v0.0.0-20160317175043-d3ddb4469d5a/go.mod h1:yo6s7OP7yaDglbqo1J04qKzAhqBH6lvTonzMVmEdcZw= | google.golang.org/grpc v0.0.0-20160317175043-d3ddb4469d5a/go.mod h1:yo6s7OP7yaDglbqo1J04qKzAhqBH6lvTonzMVmEdcZw= | ||||||
| google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c= | google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c= | ||||||
| google.golang.org/grpc v1.20.1/go.mod h1:10oTOabMzJvdu6/UiuZezV6QK5dSlG84ov/aaiqXj38= | google.golang.org/grpc v1.20.1/go.mod h1:10oTOabMzJvdu6/UiuZezV6QK5dSlG84ov/aaiqXj38= | ||||||
| @@ -1501,8 +1501,8 @@ google.golang.org/grpc v1.38.0/go.mod h1:NREThFqKR1f3iQ6oBuvc5LadQuXVGo9rkm5ZGrQ | |||||||
| google.golang.org/grpc v1.40.0/go.mod h1:ogyxbiOoUXAkP+4+xa6PZSE9DZgIHtSpzjDTB9KAK34= | google.golang.org/grpc v1.40.0/go.mod h1:ogyxbiOoUXAkP+4+xa6PZSE9DZgIHtSpzjDTB9KAK34= | ||||||
| google.golang.org/grpc v1.42.0/go.mod h1:k+4IHHFw41K8+bbowsex27ge2rCb65oeWqe4jJ590SU= | google.golang.org/grpc v1.42.0/go.mod h1:k+4IHHFw41K8+bbowsex27ge2rCb65oeWqe4jJ590SU= | ||||||
| google.golang.org/grpc v1.43.0/go.mod h1:k+4IHHFw41K8+bbowsex27ge2rCb65oeWqe4jJ590SU= | google.golang.org/grpc v1.43.0/go.mod h1:k+4IHHFw41K8+bbowsex27ge2rCb65oeWqe4jJ590SU= | ||||||
| google.golang.org/grpc v1.52.0 h1:kd48UiU7EHsV4rnLyOJRuP/Il/UHE7gdDAQ+SZI7nZk= | google.golang.org/grpc v1.52.3 h1:pf7sOysg4LdgBqduXveGKrcEwbStiK2rtfghdzlUYDQ= | ||||||
| google.golang.org/grpc v1.52.0/go.mod h1:pu6fVzoFb+NBYNAvQL08ic+lvB2IojljRYuun5vorUY= | google.golang.org/grpc v1.52.3/go.mod h1:pu6fVzoFb+NBYNAvQL08ic+lvB2IojljRYuun5vorUY= | ||||||
| google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod h1:DFci5gLYBciE7Vtevhsrf46CRTquxDuWsQurQQe4oz8= | google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod h1:DFci5gLYBciE7Vtevhsrf46CRTquxDuWsQurQQe4oz8= | ||||||
| google.golang.org/protobuf v0.0.0-20200221191635-4d8936d0db64/go.mod h1:kwYJMbMJ01Woi6D6+Kah6886xMZcty6N08ah7+eCXa0= | google.golang.org/protobuf v0.0.0-20200221191635-4d8936d0db64/go.mod h1:kwYJMbMJ01Woi6D6+Kah6886xMZcty6N08ah7+eCXa0= | ||||||
| google.golang.org/protobuf v0.0.0-20200228230310-ab0ca4ff8a60/go.mod h1:cfTl7dwQJ+fmap5saPgwCLgHXTUD7jkjRqWcaiX5VyM= | google.golang.org/protobuf v0.0.0-20200228230310-ab0ca4ff8a60/go.mod h1:cfTl7dwQJ+fmap5saPgwCLgHXTUD7jkjRqWcaiX5VyM= | ||||||
|   | |||||||
| @@ -9,7 +9,7 @@ require ( | |||||||
| 	github.com/containerd/cgroups/v3 v3.0.0 | 	github.com/containerd/cgroups/v3 v3.0.0 | ||||||
| 	github.com/containerd/containerd v1.7.0-beta.0 // see replace; the actual version of containerd is replaced with the code at the root of this repository | 	github.com/containerd/containerd v1.7.0-beta.0 // see replace; the actual version of containerd is replaced with the code at the root of this repository | ||||||
| 	github.com/containerd/go-runc v1.0.0 | 	github.com/containerd/go-runc v1.0.0 | ||||||
| 	github.com/containerd/ttrpc v1.1.1-0.20220420014843-944ef4a40df3 | 	github.com/containerd/ttrpc v1.1.1-0.20230127163717-32fab2374638 | ||||||
| 	github.com/containerd/typeurl v1.0.3-0.20220422153119-7f6e6d160d67 | 	github.com/containerd/typeurl v1.0.3-0.20220422153119-7f6e6d160d67 | ||||||
| 	github.com/opencontainers/go-digest v1.0.0 | 	github.com/opencontainers/go-digest v1.0.0 | ||||||
| 	github.com/opencontainers/image-spec v1.1.0-rc2.0.20221005185240-3a7f492d3f1b | 	github.com/opencontainers/image-spec v1.1.0-rc2.0.20221005185240-3a7f492d3f1b | ||||||
| @@ -60,8 +60,8 @@ require ( | |||||||
| 	golang.org/x/sync v0.1.0 // indirect | 	golang.org/x/sync v0.1.0 // indirect | ||||||
| 	golang.org/x/text v0.6.0 // indirect | 	golang.org/x/text v0.6.0 // indirect | ||||||
| 	golang.org/x/tools v0.5.0 // indirect | 	golang.org/x/tools v0.5.0 // indirect | ||||||
| 	google.golang.org/genproto v0.0.0-20221206210731-b1a01be3a5f6 // indirect | 	google.golang.org/genproto v0.0.0-20230131230820-1c016267d619 // indirect | ||||||
| 	google.golang.org/grpc v1.52.0 // indirect | 	google.golang.org/grpc v1.52.3 // indirect | ||||||
| 	google.golang.org/protobuf v1.28.1 // indirect | 	google.golang.org/protobuf v1.28.1 // indirect | ||||||
| 	gopkg.in/yaml.v3 v3.0.1 // indirect | 	gopkg.in/yaml.v3 v3.0.1 // indirect | ||||||
| ) | ) | ||||||
|   | |||||||
| @@ -219,6 +219,7 @@ cloud.google.com/go/longrunning v0.1.1/go.mod h1:UUFxuDWkv22EuY93jjmDMFT5GPQKeFV | |||||||
| cloud.google.com/go/longrunning v0.3.0/go.mod h1:qth9Y41RRSUE69rDcOn6DdK3HfQfsUI0YSmW3iIlLJc= | cloud.google.com/go/longrunning v0.3.0/go.mod h1:qth9Y41RRSUE69rDcOn6DdK3HfQfsUI0YSmW3iIlLJc= | ||||||
| cloud.google.com/go/managedidentities v1.3.0/go.mod h1:UzlW3cBOiPrzucO5qWkNkh0w33KFtBJU281hacNvsdE= | cloud.google.com/go/managedidentities v1.3.0/go.mod h1:UzlW3cBOiPrzucO5qWkNkh0w33KFtBJU281hacNvsdE= | ||||||
| cloud.google.com/go/managedidentities v1.4.0/go.mod h1:NWSBYbEMgqmbZsLIyKvxrYbtqOsxY1ZrGM+9RgDqInM= | cloud.google.com/go/managedidentities v1.4.0/go.mod h1:NWSBYbEMgqmbZsLIyKvxrYbtqOsxY1ZrGM+9RgDqInM= | ||||||
|  | cloud.google.com/go/maps v0.1.0/go.mod h1:BQM97WGyfw9FWEmQMpZ5T6cpovXXSd1cGmFma94eubI= | ||||||
| cloud.google.com/go/mediatranslation v0.5.0/go.mod h1:jGPUhGTybqsPQn91pNXw0xVHfuJ3leR1wj37oU3y1f4= | cloud.google.com/go/mediatranslation v0.5.0/go.mod h1:jGPUhGTybqsPQn91pNXw0xVHfuJ3leR1wj37oU3y1f4= | ||||||
| cloud.google.com/go/mediatranslation v0.6.0/go.mod h1:hHdBCTYNigsBxshbznuIMFNe5QXEowAuNmmC7h8pu5w= | cloud.google.com/go/mediatranslation v0.6.0/go.mod h1:hHdBCTYNigsBxshbznuIMFNe5QXEowAuNmmC7h8pu5w= | ||||||
| cloud.google.com/go/memcache v1.4.0/go.mod h1:rTOfiGZtJX1AaFUrOgsMHX5kAzaTQ8azHiuDoTPzNsE= | cloud.google.com/go/memcache v1.4.0/go.mod h1:rTOfiGZtJX1AaFUrOgsMHX5kAzaTQ8azHiuDoTPzNsE= | ||||||
| @@ -364,6 +365,7 @@ cloud.google.com/go/vision/v2 v2.4.0/go.mod h1:VtI579ll9RpVTrdKdkMzckdnwMyX2JILb | |||||||
| cloud.google.com/go/vision/v2 v2.5.0/go.mod h1:MmaezXOOE+IWa+cS7OhRRLK2cNv1ZL98zhqFFZaaH2E= | cloud.google.com/go/vision/v2 v2.5.0/go.mod h1:MmaezXOOE+IWa+cS7OhRRLK2cNv1ZL98zhqFFZaaH2E= | ||||||
| cloud.google.com/go/vmmigration v1.2.0/go.mod h1:IRf0o7myyWFSmVR1ItrBSFLFD/rJkfDCUTO4vLlJvsE= | cloud.google.com/go/vmmigration v1.2.0/go.mod h1:IRf0o7myyWFSmVR1ItrBSFLFD/rJkfDCUTO4vLlJvsE= | ||||||
| cloud.google.com/go/vmmigration v1.3.0/go.mod h1:oGJ6ZgGPQOFdjHuocGcLqX4lc98YQ7Ygq8YQwHh9A7g= | cloud.google.com/go/vmmigration v1.3.0/go.mod h1:oGJ6ZgGPQOFdjHuocGcLqX4lc98YQ7Ygq8YQwHh9A7g= | ||||||
|  | cloud.google.com/go/vmwareengine v0.1.0/go.mod h1:RsdNEf/8UDvKllXhMz5J40XxDrNJNN4sagiox+OI208= | ||||||
| cloud.google.com/go/vpcaccess v1.4.0/go.mod h1:aQHVbTWDYUR1EbTApSVvMq1EnT57ppDmQzZ3imqIk4w= | cloud.google.com/go/vpcaccess v1.4.0/go.mod h1:aQHVbTWDYUR1EbTApSVvMq1EnT57ppDmQzZ3imqIk4w= | ||||||
| cloud.google.com/go/vpcaccess v1.5.0/go.mod h1:drmg4HLk9NkZpGfCmZ3Tz0Bwnm2+DKqViEpeEpOq0m8= | cloud.google.com/go/vpcaccess v1.5.0/go.mod h1:drmg4HLk9NkZpGfCmZ3Tz0Bwnm2+DKqViEpeEpOq0m8= | ||||||
| cloud.google.com/go/webrisk v1.4.0/go.mod h1:Hn8X6Zr+ziE2aNd8SliSDWpEnSS1u4R9+xXZmFiHmGE= | cloud.google.com/go/webrisk v1.4.0/go.mod h1:Hn8X6Zr+ziE2aNd8SliSDWpEnSS1u4R9+xXZmFiHmGE= | ||||||
| @@ -523,8 +525,9 @@ github.com/containerd/stargz-snapshotter/estargz v0.4.1/go.mod h1:x7Q9dg9QYb4+EL | |||||||
| github.com/containerd/stargz-snapshotter/estargz v0.12.1/go.mod h1:12VUuCq3qPq4y8yUW+l5w3+oXV3cx2Po3KSe/SmPGqw= | github.com/containerd/stargz-snapshotter/estargz v0.12.1/go.mod h1:12VUuCq3qPq4y8yUW+l5w3+oXV3cx2Po3KSe/SmPGqw= | ||||||
| github.com/containerd/ttrpc v1.0.2/go.mod h1:UAxOpgT9ziI0gJrmKvgcZivgxOp8iFPSk8httJEt98Y= | github.com/containerd/ttrpc v1.0.2/go.mod h1:UAxOpgT9ziI0gJrmKvgcZivgxOp8iFPSk8httJEt98Y= | ||||||
| github.com/containerd/ttrpc v1.1.0/go.mod h1:XX4ZTnoOId4HklF4edwc4DcqskFZuvXB1Evzy5KFQpQ= | github.com/containerd/ttrpc v1.1.0/go.mod h1:XX4ZTnoOId4HklF4edwc4DcqskFZuvXB1Evzy5KFQpQ= | ||||||
| github.com/containerd/ttrpc v1.1.1-0.20220420014843-944ef4a40df3 h1:BhCp66ofL8oYcdelc3CBXc2/Pfvvgx+s+mrp9TvNgn8= |  | ||||||
| github.com/containerd/ttrpc v1.1.1-0.20220420014843-944ef4a40df3/go.mod h1:YYyNVhZrTMiaf51Vj6WhAJqJw+vl/nzABhj8pWrzle4= | github.com/containerd/ttrpc v1.1.1-0.20220420014843-944ef4a40df3/go.mod h1:YYyNVhZrTMiaf51Vj6WhAJqJw+vl/nzABhj8pWrzle4= | ||||||
|  | github.com/containerd/ttrpc v1.1.1-0.20230127163717-32fab2374638 h1:8eVDsirmav+3F0gKY9q/NboZuAqLg++AzW5/HZKKUY4= | ||||||
|  | github.com/containerd/ttrpc v1.1.1-0.20230127163717-32fab2374638/go.mod h1:YYyNVhZrTMiaf51Vj6WhAJqJw+vl/nzABhj8pWrzle4= | ||||||
| github.com/containerd/typeurl v1.0.1/go.mod h1:TB1hUtrpaiO88KEK56ijojHS1+NeF0izUACaJW2mdXg= | github.com/containerd/typeurl v1.0.1/go.mod h1:TB1hUtrpaiO88KEK56ijojHS1+NeF0izUACaJW2mdXg= | ||||||
| github.com/containerd/typeurl v1.0.2/go.mod h1:9trJWW2sRlGub4wZJRTW83VtbOLS6hwcDZXTn6oPz9s= | github.com/containerd/typeurl v1.0.2/go.mod h1:9trJWW2sRlGub4wZJRTW83VtbOLS6hwcDZXTn6oPz9s= | ||||||
| github.com/containerd/typeurl v1.0.3-0.20220422153119-7f6e6d160d67 h1:rQvjv7gRi6Ki/NS/U9oLZFhqyk4dh/GH2M3o/4BRkMM= | github.com/containerd/typeurl v1.0.3-0.20220422153119-7f6e6d160d67 h1:rQvjv7gRi6Ki/NS/U9oLZFhqyk4dh/GH2M3o/4BRkMM= | ||||||
| @@ -1803,11 +1806,12 @@ google.golang.org/genproto v0.0.0-20221014213838-99cd37c6964a/go.mod h1:1vXfmgAz | |||||||
| google.golang.org/genproto v0.0.0-20221024153911-1573dae28c9c/go.mod h1:9qHF0xnpdSfF6knlcsnpzUu5y+rpwgbvsyGAZPBMg4s= | google.golang.org/genproto v0.0.0-20221024153911-1573dae28c9c/go.mod h1:9qHF0xnpdSfF6knlcsnpzUu5y+rpwgbvsyGAZPBMg4s= | ||||||
| google.golang.org/genproto v0.0.0-20221024183307-1bc688fe9f3e/go.mod h1:9qHF0xnpdSfF6knlcsnpzUu5y+rpwgbvsyGAZPBMg4s= | google.golang.org/genproto v0.0.0-20221024183307-1bc688fe9f3e/go.mod h1:9qHF0xnpdSfF6knlcsnpzUu5y+rpwgbvsyGAZPBMg4s= | ||||||
| google.golang.org/genproto v0.0.0-20221027153422-115e99e71e1c/go.mod h1:CGI5F/G+E5bKwmfYo09AXuVN4dD894kIKUFmVbP2/Fo= | google.golang.org/genproto v0.0.0-20221027153422-115e99e71e1c/go.mod h1:CGI5F/G+E5bKwmfYo09AXuVN4dD894kIKUFmVbP2/Fo= | ||||||
|  | google.golang.org/genproto v0.0.0-20221114212237-e4508ebdbee1/go.mod h1:rZS5c/ZVYMaOGBfO68GWtjOw/eLaZM1X6iVtgjZ+EWg= | ||||||
| google.golang.org/genproto v0.0.0-20221117204609-8f9c96812029/go.mod h1:rZS5c/ZVYMaOGBfO68GWtjOw/eLaZM1X6iVtgjZ+EWg= | google.golang.org/genproto v0.0.0-20221117204609-8f9c96812029/go.mod h1:rZS5c/ZVYMaOGBfO68GWtjOw/eLaZM1X6iVtgjZ+EWg= | ||||||
| google.golang.org/genproto v0.0.0-20221118155620-16455021b5e6/go.mod h1:rZS5c/ZVYMaOGBfO68GWtjOw/eLaZM1X6iVtgjZ+EWg= | google.golang.org/genproto v0.0.0-20221118155620-16455021b5e6/go.mod h1:rZS5c/ZVYMaOGBfO68GWtjOw/eLaZM1X6iVtgjZ+EWg= | ||||||
| google.golang.org/genproto v0.0.0-20221201164419-0e50fba7f41c/go.mod h1:rZS5c/ZVYMaOGBfO68GWtjOw/eLaZM1X6iVtgjZ+EWg= | google.golang.org/genproto v0.0.0-20221201164419-0e50fba7f41c/go.mod h1:rZS5c/ZVYMaOGBfO68GWtjOw/eLaZM1X6iVtgjZ+EWg= | ||||||
| google.golang.org/genproto v0.0.0-20221206210731-b1a01be3a5f6 h1:AGXp12e/9rItf6/4QymU7WsAUwCf+ICW75cuR91nJIc= | google.golang.org/genproto v0.0.0-20230131230820-1c016267d619 h1:p0kMzw6AG0JEzd7Z+kXqOiLhC6gjUQTbtS2zR0Q3DbI= | ||||||
| google.golang.org/genproto v0.0.0-20221206210731-b1a01be3a5f6/go.mod h1:1dOng4TWOomJrDGhpXjfCD35wQC6jnC7HpRmOFRqEV0= | google.golang.org/genproto v0.0.0-20230131230820-1c016267d619/go.mod h1:RGgjbofJ8xD9Sq1VVhDM1Vok1vRONV+rg+CjzG4SZKM= | ||||||
| google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c= | google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c= | ||||||
| google.golang.org/grpc v1.20.1/go.mod h1:10oTOabMzJvdu6/UiuZezV6QK5dSlG84ov/aaiqXj38= | google.golang.org/grpc v1.20.1/go.mod h1:10oTOabMzJvdu6/UiuZezV6QK5dSlG84ov/aaiqXj38= | ||||||
| google.golang.org/grpc v1.21.0/go.mod h1:oYelfM1adQP15Ek0mdvEgi9Df8B9CZIaU1084ijfRaM= | google.golang.org/grpc v1.21.0/go.mod h1:oYelfM1adQP15Ek0mdvEgi9Df8B9CZIaU1084ijfRaM= | ||||||
| @@ -1847,8 +1851,9 @@ google.golang.org/grpc v1.49.0/go.mod h1:ZgQEeidpAuNRZ8iRrlBKXZQP1ghovWIVhdJRyCD | |||||||
| google.golang.org/grpc v1.50.0/go.mod h1:ZgQEeidpAuNRZ8iRrlBKXZQP1ghovWIVhdJRyCDK+GI= | google.golang.org/grpc v1.50.0/go.mod h1:ZgQEeidpAuNRZ8iRrlBKXZQP1ghovWIVhdJRyCDK+GI= | ||||||
| google.golang.org/grpc v1.50.1/go.mod h1:ZgQEeidpAuNRZ8iRrlBKXZQP1ghovWIVhdJRyCDK+GI= | google.golang.org/grpc v1.50.1/go.mod h1:ZgQEeidpAuNRZ8iRrlBKXZQP1ghovWIVhdJRyCDK+GI= | ||||||
| google.golang.org/grpc v1.51.0/go.mod h1:wgNDFcnuBGmxLKI/qn4T+m5BtEBYXJPvibbUPsAIPww= | google.golang.org/grpc v1.51.0/go.mod h1:wgNDFcnuBGmxLKI/qn4T+m5BtEBYXJPvibbUPsAIPww= | ||||||
| google.golang.org/grpc v1.52.0 h1:kd48UiU7EHsV4rnLyOJRuP/Il/UHE7gdDAQ+SZI7nZk= |  | ||||||
| google.golang.org/grpc v1.52.0/go.mod h1:pu6fVzoFb+NBYNAvQL08ic+lvB2IojljRYuun5vorUY= | google.golang.org/grpc v1.52.0/go.mod h1:pu6fVzoFb+NBYNAvQL08ic+lvB2IojljRYuun5vorUY= | ||||||
|  | google.golang.org/grpc v1.52.3 h1:pf7sOysg4LdgBqduXveGKrcEwbStiK2rtfghdzlUYDQ= | ||||||
|  | google.golang.org/grpc v1.52.3/go.mod h1:pu6fVzoFb+NBYNAvQL08ic+lvB2IojljRYuun5vorUY= | ||||||
| google.golang.org/grpc/cmd/protoc-gen-go-grpc v1.1.0/go.mod h1:6Kw0yEErY5E/yWrBtf03jp27GLLJujG4z/JK95pnjjw= | google.golang.org/grpc/cmd/protoc-gen-go-grpc v1.1.0/go.mod h1:6Kw0yEErY5E/yWrBtf03jp27GLLJujG4z/JK95pnjjw= | ||||||
| google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod h1:DFci5gLYBciE7Vtevhsrf46CRTquxDuWsQurQQe4oz8= | google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod h1:DFci5gLYBciE7Vtevhsrf46CRTquxDuWsQurQQe4oz8= | ||||||
| google.golang.org/protobuf v0.0.0-20200221191635-4d8936d0db64/go.mod h1:kwYJMbMJ01Woi6D6+Kah6886xMZcty6N08ah7+eCXa0= | google.golang.org/protobuf v0.0.0-20200221191635-4d8936d0db64/go.mod h1:kwYJMbMJ01Woi6D6+Kah6886xMZcty6N08ah7+eCXa0= | ||||||
|   | |||||||
| @@ -20,10 +20,10 @@ | |||||||
| set -eu -o pipefail | set -eu -o pipefail | ||||||
|  |  | ||||||
| # install `protobuild` and other commands | # install `protobuild` and other commands | ||||||
| go install github.com/containerd/protobuild@v0.2.0 | go install github.com/containerd/protobuild@v0.3.0 | ||||||
| go install github.com/containerd/protobuild/cmd/go-fix-acronym@v0.2.0 | go install github.com/containerd/protobuild/cmd/go-fix-acronym@v0.3.0 | ||||||
| go install github.com/cpuguy83/go-md2man/v2@v2.0.2 | go install github.com/cpuguy83/go-md2man/v2@v2.0.2 | ||||||
| go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.50.1 | go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.50.1 | ||||||
| go install google.golang.org/protobuf/cmd/protoc-gen-go@v1.28 | go install google.golang.org/protobuf/cmd/protoc-gen-go@v1.28 | ||||||
| go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.2 | go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.2 | ||||||
| go install github.com/containerd/ttrpc/cmd/protoc-gen-go-ttrpc@944ef4a40df3446714a823207972b7d9858ffac5 | go install github.com/containerd/ttrpc/cmd/protoc-gen-go-ttrpc@5cc9169d1fc1a8292866224ae09dc47827801874 | ||||||
|   | |||||||
							
								
								
									
										8
									
								
								vendor/github.com/containerd/ttrpc/Makefile
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										8
									
								
								vendor/github.com/containerd/ttrpc/Makefile
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -57,7 +57,7 @@ TESTFLAGS_PARALLEL ?= 8 | |||||||
| # Use this to replace `go test` with, for instance, `gotestsum` | # Use this to replace `go test` with, for instance, `gotestsum` | ||||||
| GOTEST ?= $(GO) test | GOTEST ?= $(GO) test | ||||||
|  |  | ||||||
| .PHONY: clean all AUTHORS build binaries test integration generate protos checkprotos coverage ci check help install vendor install-protobuf install-protobuild | .PHONY: clean all AUTHORS build binaries test integration generate protos check-protos coverage ci check help install vendor install-protobuf install-protobuild | ||||||
| .DEFAULT: default | .DEFAULT: default | ||||||
|  |  | ||||||
| # Forcibly set the default goal to all, in case an include above brought in a rule definition. | # Forcibly set the default goal to all, in case an include above brought in a rule definition. | ||||||
| @@ -69,7 +69,7 @@ check: proto-fmt ## run all linters | |||||||
| 	@echo "$(WHALE) $@" | 	@echo "$(WHALE) $@" | ||||||
| 	GOGC=75 golangci-lint run | 	GOGC=75 golangci-lint run | ||||||
|  |  | ||||||
| ci: check binaries checkprotos coverage # coverage-integration ## to be used by the CI | ci: check binaries check-protos coverage # coverage-integration ## to be used by the CI | ||||||
|  |  | ||||||
| AUTHORS: .mailmap .git/HEAD | AUTHORS: .mailmap .git/HEAD | ||||||
| 	git log --format='%aN <%aE>' | sort -fu > $@ | 	git log --format='%aN <%aE>' | sort -fu > $@ | ||||||
| @@ -145,8 +145,8 @@ install-protobuf: | |||||||
|  |  | ||||||
| install-protobuild: | install-protobuild: | ||||||
| 	@echo "$(WHALE) $@" | 	@echo "$(WHALE) $@" | ||||||
| 	@$(GO) install google.golang.org/protobuf/cmd/protoc-gen-go@v1.27.1 | 	@$(GO) install google.golang.org/protobuf/cmd/protoc-gen-go@v1.28.1 | ||||||
| 	@$(GO) install github.com/containerd/protobuild@7e5ee24bc1f70e9e289fef15e2631eb3491320bf | 	@$(GO) install github.com/containerd/protobuild@14832ccc41429f5c4f81028e5af08aa233a219cf | ||||||
|  |  | ||||||
| coverage: ## generate coverprofiles from the unit tests, except tests that require root | coverage: ## generate coverprofiles from the unit tests, except tests that require root | ||||||
| 	@echo "$(WHALE) $@" | 	@echo "$(WHALE) $@" | ||||||
|   | |||||||
							
								
								
									
										3
									
								
								vendor/github.com/containerd/ttrpc/Protobuild.toml
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										3
									
								
								vendor/github.com/containerd/ttrpc/Protobuild.toml
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -23,3 +23,6 @@ generators = ["go"] | |||||||
| # enable ttrpc and disable fieldpath and grpc for the shim | # enable ttrpc and disable fieldpath and grpc for the shim | ||||||
| prefixes = ["github.com/containerd/ttrpc/integration/streaming"] | prefixes = ["github.com/containerd/ttrpc/integration/streaming"] | ||||||
| generators = ["go", "go-ttrpc"] | generators = ["go", "go-ttrpc"] | ||||||
|  |  | ||||||
|  | [overrides.parameters.go-ttrpc] | ||||||
|  | prefix = "TTRPC" | ||||||
|   | |||||||
							
								
								
									
										4
									
								
								vendor/github.com/containerd/ttrpc/README.md
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								vendor/github.com/containerd/ttrpc/README.md
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -1,7 +1,6 @@ | |||||||
| # ttrpc | # ttrpc | ||||||
|  |  | ||||||
| [](https://github.com/containerd/ttrpc/actions?query=workflow%3ACI) | [](https://github.com/containerd/ttrpc/actions?query=workflow%3ACI) | ||||||
| [](https://codecov.io/gh/containerd/ttrpc) |  | ||||||
|  |  | ||||||
| GRPC for low-memory environments. | GRPC for low-memory environments. | ||||||
|  |  | ||||||
| @@ -30,7 +29,7 @@ Create a gogo vanity binary (see | |||||||
| [`cmd/protoc-gen-gogottrpc/main.go`](cmd/protoc-gen-gogottrpc/main.go) for an | [`cmd/protoc-gen-gogottrpc/main.go`](cmd/protoc-gen-gogottrpc/main.go) for an | ||||||
| example with the ttrpc plugin enabled. | example with the ttrpc plugin enabled. | ||||||
|  |  | ||||||
| It's recommended to use [`protobuild`](https://github.com//stevvooe/protobuild) | It's recommended to use [`protobuild`](https://github.com/containerd/protobuild) | ||||||
| to build the protobufs for this project, but this will work with protoc | to build the protobufs for this project, but this will work with protoc | ||||||
| directly, if required. | directly, if required. | ||||||
|  |  | ||||||
| @@ -41,7 +40,6 @@ directly, if required. | |||||||
| - The client and server interface are identical whereas in GRPC there is a | - The client and server interface are identical whereas in GRPC there is a | ||||||
|   client and server interface that are different. |   client and server interface that are different. | ||||||
| - The Go stdlib context package is used instead. | - The Go stdlib context package is used instead. | ||||||
| - No support for streams yet. |  | ||||||
|  |  | ||||||
| # Status | # Status | ||||||
|  |  | ||||||
|   | |||||||
							
								
								
									
										4
									
								
								vendor/github.com/containerd/ttrpc/request.pb.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								vendor/github.com/containerd/ttrpc/request.pb.go
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -1,7 +1,7 @@ | |||||||
| // Code generated by protoc-gen-go. DO NOT EDIT. | // Code generated by protoc-gen-go. DO NOT EDIT. | ||||||
| // versions: | // versions: | ||||||
| // 	protoc-gen-go v1.27.1 | // 	protoc-gen-go v1.28.1 | ||||||
| // 	protoc        v3.11.4 | // 	protoc        v3.20.1 | ||||||
| // source: github.com/containerd/ttrpc/request.proto | // source: github.com/containerd/ttrpc/request.proto | ||||||
|  |  | ||||||
| package ttrpc | package ttrpc | ||||||
|   | |||||||
							
								
								
									
										16
									
								
								vendor/github.com/containerd/ttrpc/server.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										16
									
								
								vendor/github.com/containerd/ttrpc/server.go
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -18,11 +18,13 @@ package ttrpc | |||||||
|  |  | ||||||
| import ( | import ( | ||||||
| 	"context" | 	"context" | ||||||
|  | 	"errors" | ||||||
| 	"io" | 	"io" | ||||||
| 	"math/rand" | 	"math/rand" | ||||||
| 	"net" | 	"net" | ||||||
| 	"sync" | 	"sync" | ||||||
| 	"sync/atomic" | 	"sync/atomic" | ||||||
|  | 	"syscall" | ||||||
| 	"time" | 	"time" | ||||||
|  |  | ||||||
| 	"github.com/sirupsen/logrus" | 	"github.com/sirupsen/logrus" | ||||||
| @@ -318,6 +320,7 @@ func (c *serverConn) run(sctx context.Context) { | |||||||
| 		responses              = make(chan response) | 		responses              = make(chan response) | ||||||
| 		recvErr                = make(chan error, 1) | 		recvErr                = make(chan error, 1) | ||||||
| 		done                   = make(chan struct{}) | 		done                   = make(chan struct{}) | ||||||
|  | 		streams                = sync.Map{} | ||||||
| 		active       int32 | 		active       int32 | ||||||
| 		lastStreamID uint32 | 		lastStreamID uint32 | ||||||
| 	) | 	) | ||||||
| @@ -347,7 +350,6 @@ func (c *serverConn) run(sctx context.Context) { | |||||||
|  |  | ||||||
| 	go func(recvErr chan error) { | 	go func(recvErr chan error) { | ||||||
| 		defer close(recvErr) | 		defer close(recvErr) | ||||||
| 		streams := map[uint32]*streamHandler{} |  | ||||||
| 		for { | 		for { | ||||||
| 			select { | 			select { | ||||||
| 			case <-c.shutdown: | 			case <-c.shutdown: | ||||||
| @@ -383,12 +385,13 @@ func (c *serverConn) run(sctx context.Context) { | |||||||
| 			} | 			} | ||||||
|  |  | ||||||
| 			if mh.Type == messageTypeData { | 			if mh.Type == messageTypeData { | ||||||
| 				sh, ok := streams[mh.StreamID] | 				i, ok := streams.Load(mh.StreamID) | ||||||
| 				if !ok { | 				if !ok { | ||||||
| 					if !sendStatus(mh.StreamID, status.Newf(codes.InvalidArgument, "StreamID is no longer active")) { | 					if !sendStatus(mh.StreamID, status.Newf(codes.InvalidArgument, "StreamID is no longer active")) { | ||||||
| 						return | 						return | ||||||
| 					} | 					} | ||||||
| 				} | 				} | ||||||
|  | 				sh := i.(*streamHandler) | ||||||
| 				if mh.Flags&flagNoData != flagNoData { | 				if mh.Flags&flagNoData != flagNoData { | ||||||
| 					unmarshal := func(obj interface{}) error { | 					unmarshal := func(obj interface{}) error { | ||||||
| 						err := protoUnmarshal(p, obj) | 						err := protoUnmarshal(p, obj) | ||||||
| @@ -458,7 +461,7 @@ func (c *serverConn) run(sctx context.Context) { | |||||||
| 					continue | 					continue | ||||||
| 				} | 				} | ||||||
|  |  | ||||||
| 				streams[id] = sh | 				streams.Store(id, sh) | ||||||
| 				atomic.AddInt32(&active, 1) | 				atomic.AddInt32(&active, 1) | ||||||
| 			} | 			} | ||||||
| 			// TODO: else we must ignore this for future compat. log this? | 			// TODO: else we must ignore this for future compat. log this? | ||||||
| @@ -518,6 +521,7 @@ func (c *serverConn) run(sctx context.Context) { | |||||||
| 				// The ttrpc protocol currently does not support the case where | 				// The ttrpc protocol currently does not support the case where | ||||||
| 				// the server is localClosed but not remoteClosed. Once the server | 				// the server is localClosed but not remoteClosed. Once the server | ||||||
| 				// is closing, the whole stream may be considered finished | 				// is closing, the whole stream may be considered finished | ||||||
|  | 				streams.Delete(response.id) | ||||||
| 				atomic.AddInt32(&active, -1) | 				atomic.AddInt32(&active, -1) | ||||||
| 			} | 			} | ||||||
| 		case err := <-recvErr: | 		case err := <-recvErr: | ||||||
| @@ -525,14 +529,12 @@ func (c *serverConn) run(sctx context.Context) { | |||||||
| 			// branch. Basically, it means that we are no longer receiving | 			// branch. Basically, it means that we are no longer receiving | ||||||
| 			// requests due to a terminal error. | 			// requests due to a terminal error. | ||||||
| 			recvErr = nil // connection is now "closing" | 			recvErr = nil // connection is now "closing" | ||||||
| 			if err == io.EOF || err == io.ErrUnexpectedEOF { | 			if err == io.EOF || err == io.ErrUnexpectedEOF || errors.Is(err, syscall.ECONNRESET) { | ||||||
| 				// The client went away and we should stop processing | 				// The client went away and we should stop processing | ||||||
| 				// requests, so that the client connection is closed | 				// requests, so that the client connection is closed | ||||||
| 				return | 				return | ||||||
| 			} | 			} | ||||||
| 			if err != nil { | 			logrus.WithError(err).Error("error receiving message") | ||||||
| 				logrus.WithError(err).Error("error receiving message") |  | ||||||
| 			} |  | ||||||
| 			// else, initiate shutdown | 			// else, initiate shutdown | ||||||
| 		case <-shutdown: | 		case <-shutdown: | ||||||
| 			return | 			return | ||||||
|   | |||||||
							
								
								
									
										27
									
								
								vendor/google.golang.org/genproto/googleapis/rpc/code/code.pb.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										27
									
								
								vendor/google.golang.org/genproto/googleapis/rpc/code/code.pb.go
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -1,4 +1,4 @@ | |||||||
| // Copyright 2020 Google LLC | // Copyright 2022 Google LLC | ||||||
| // | // | ||||||
| // Licensed under the Apache License, Version 2.0 (the "License"); | // Licensed under the Apache License, Version 2.0 (the "License"); | ||||||
| // you may not use this file except in compliance with the License. | // you may not use this file except in compliance with the License. | ||||||
| @@ -15,7 +15,7 @@ | |||||||
| // Code generated by protoc-gen-go. DO NOT EDIT. | // Code generated by protoc-gen-go. DO NOT EDIT. | ||||||
| // versions: | // versions: | ||||||
| // 	protoc-gen-go v1.26.0 | // 	protoc-gen-go v1.26.0 | ||||||
| // 	protoc        v3.12.2 | // 	protoc        v3.21.9 | ||||||
| // source: google/rpc/code.proto | // source: google/rpc/code.proto | ||||||
|  |  | ||||||
| package code | package code | ||||||
| @@ -44,7 +44,7 @@ const ( | |||||||
| type Code int32 | type Code int32 | ||||||
|  |  | ||||||
| const ( | const ( | ||||||
| 	// Not an error; returned on success | 	// Not an error; returned on success. | ||||||
| 	// | 	// | ||||||
| 	// HTTP Mapping: 200 OK | 	// HTTP Mapping: 200 OK | ||||||
| 	Code_OK Code = 0 | 	Code_OK Code = 0 | ||||||
| @@ -78,7 +78,7 @@ const ( | |||||||
| 	// Some requested entity (e.g., file or directory) was not found. | 	// Some requested entity (e.g., file or directory) was not found. | ||||||
| 	// | 	// | ||||||
| 	// Note to server developers: if a request is denied for an entire class | 	// Note to server developers: if a request is denied for an entire class | ||||||
| 	// of users, such as gradual feature rollout or undocumented whitelist, | 	// of users, such as gradual feature rollout or undocumented allowlist, | ||||||
| 	// `NOT_FOUND` may be used. If a request is denied for some users within | 	// `NOT_FOUND` may be used. If a request is denied for some users within | ||||||
| 	// a class of users, such as user-based access control, `PERMISSION_DENIED` | 	// a class of users, such as user-based access control, `PERMISSION_DENIED` | ||||||
| 	// must be used. | 	// must be used. | ||||||
| @@ -118,15 +118,16 @@ const ( | |||||||
| 	// | 	// | ||||||
| 	// Service implementors can use the following guidelines to decide | 	// Service implementors can use the following guidelines to decide | ||||||
| 	// between `FAILED_PRECONDITION`, `ABORTED`, and `UNAVAILABLE`: | 	// between `FAILED_PRECONDITION`, `ABORTED`, and `UNAVAILABLE`: | ||||||
| 	//  (a) Use `UNAVAILABLE` if the client can retry just the failing call. | 	// | ||||||
| 	//  (b) Use `ABORTED` if the client should retry at a higher level | 	//	(a) Use `UNAVAILABLE` if the client can retry just the failing call. | ||||||
| 	//      (e.g., when a client-specified test-and-set fails, indicating the | 	//	(b) Use `ABORTED` if the client should retry at a higher level. For | ||||||
| 	//      client should restart a read-modify-write sequence). | 	//	    example, when a client-specified test-and-set fails, indicating the | ||||||
| 	//  (c) Use `FAILED_PRECONDITION` if the client should not retry until | 	//	    client should restart a read-modify-write sequence. | ||||||
| 	//      the system state has been explicitly fixed.  E.g., if an "rmdir" | 	//	(c) Use `FAILED_PRECONDITION` if the client should not retry until | ||||||
| 	//      fails because the directory is non-empty, `FAILED_PRECONDITION` | 	//	    the system state has been explicitly fixed. For example, if an "rmdir" | ||||||
| 	//      should be returned since the client should not retry unless | 	//	    fails because the directory is non-empty, `FAILED_PRECONDITION` | ||||||
| 	//      the files are deleted from the directory. | 	//	    should be returned since the client should not retry unless | ||||||
|  | 	//	    the files are deleted from the directory. | ||||||
| 	// | 	// | ||||||
| 	// HTTP Mapping: 400 Bad Request | 	// HTTP Mapping: 400 Bad Request | ||||||
| 	Code_FAILED_PRECONDITION Code = 9 | 	Code_FAILED_PRECONDITION Code = 9 | ||||||
|   | |||||||
							
								
								
									
										374
									
								
								vendor/google.golang.org/genproto/googleapis/rpc/errdetails/error_details.pb.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										374
									
								
								vendor/google.golang.org/genproto/googleapis/rpc/errdetails/error_details.pb.go
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -1,4 +1,4 @@ | |||||||
| // Copyright 2020 Google LLC | // Copyright 2022 Google LLC | ||||||
| // | // | ||||||
| // Licensed under the Apache License, Version 2.0 (the "License"); | // Licensed under the Apache License, Version 2.0 (the "License"); | ||||||
| // you may not use this file except in compliance with the License. | // you may not use this file except in compliance with the License. | ||||||
| @@ -15,7 +15,7 @@ | |||||||
| // Code generated by protoc-gen-go. DO NOT EDIT. | // Code generated by protoc-gen-go. DO NOT EDIT. | ||||||
| // versions: | // versions: | ||||||
| // 	protoc-gen-go v1.26.0 | // 	protoc-gen-go v1.26.0 | ||||||
| // 	protoc        v3.12.2 | // 	protoc        v3.21.9 | ||||||
| // source: google/rpc/error_details.proto | // source: google/rpc/error_details.proto | ||||||
|  |  | ||||||
| package errdetails | package errdetails | ||||||
| @@ -36,6 +36,112 @@ const ( | |||||||
| 	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) | 	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) | ||||||
| ) | ) | ||||||
|  |  | ||||||
|  | // Describes the cause of the error with structured details. | ||||||
|  | // | ||||||
|  | // Example of an error when contacting the "pubsub.googleapis.com" API when it | ||||||
|  | // is not enabled: | ||||||
|  | // | ||||||
|  | //	{ "reason": "API_DISABLED" | ||||||
|  | //	  "domain": "googleapis.com" | ||||||
|  | //	  "metadata": { | ||||||
|  | //	    "resource": "projects/123", | ||||||
|  | //	    "service": "pubsub.googleapis.com" | ||||||
|  | //	  } | ||||||
|  | //	} | ||||||
|  | // | ||||||
|  | // This response indicates that the pubsub.googleapis.com API is not enabled. | ||||||
|  | // | ||||||
|  | // Example of an error that is returned when attempting to create a Spanner | ||||||
|  | // instance in a region that is out of stock: | ||||||
|  | // | ||||||
|  | //	{ "reason": "STOCKOUT" | ||||||
|  | //	  "domain": "spanner.googleapis.com", | ||||||
|  | //	  "metadata": { | ||||||
|  | //	    "availableRegions": "us-central1,us-east2" | ||||||
|  | //	  } | ||||||
|  | //	} | ||||||
|  | type ErrorInfo struct { | ||||||
|  | 	state         protoimpl.MessageState | ||||||
|  | 	sizeCache     protoimpl.SizeCache | ||||||
|  | 	unknownFields protoimpl.UnknownFields | ||||||
|  |  | ||||||
|  | 	// The reason of the error. This is a constant value that identifies the | ||||||
|  | 	// proximate cause of the error. Error reasons are unique within a particular | ||||||
|  | 	// domain of errors. This should be at most 63 characters and match a | ||||||
|  | 	// regular expression of `[A-Z][A-Z0-9_]+[A-Z0-9]`, which represents | ||||||
|  | 	// UPPER_SNAKE_CASE. | ||||||
|  | 	Reason string `protobuf:"bytes,1,opt,name=reason,proto3" json:"reason,omitempty"` | ||||||
|  | 	// The logical grouping to which the "reason" belongs. The error domain | ||||||
|  | 	// is typically the registered service name of the tool or product that | ||||||
|  | 	// generates the error. Example: "pubsub.googleapis.com". If the error is | ||||||
|  | 	// generated by some common infrastructure, the error domain must be a | ||||||
|  | 	// globally unique value that identifies the infrastructure. For Google API | ||||||
|  | 	// infrastructure, the error domain is "googleapis.com". | ||||||
|  | 	Domain string `protobuf:"bytes,2,opt,name=domain,proto3" json:"domain,omitempty"` | ||||||
|  | 	// Additional structured details about this error. | ||||||
|  | 	// | ||||||
|  | 	// Keys should match /[a-zA-Z0-9-_]/ and be limited to 64 characters in | ||||||
|  | 	// length. When identifying the current value of an exceeded limit, the units | ||||||
|  | 	// should be contained in the key, not the value.  For example, rather than | ||||||
|  | 	// {"instanceLimit": "100/request"}, should be returned as, | ||||||
|  | 	// {"instanceLimitPerRequest": "100"}, if the client exceeds the number of | ||||||
|  | 	// instances that can be created in a single (batch) request. | ||||||
|  | 	Metadata map[string]string `protobuf:"bytes,3,rep,name=metadata,proto3" json:"metadata,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` | ||||||
|  | } | ||||||
|  |  | ||||||
|  | func (x *ErrorInfo) Reset() { | ||||||
|  | 	*x = ErrorInfo{} | ||||||
|  | 	if protoimpl.UnsafeEnabled { | ||||||
|  | 		mi := &file_google_rpc_error_details_proto_msgTypes[0] | ||||||
|  | 		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) | ||||||
|  | 		ms.StoreMessageInfo(mi) | ||||||
|  | 	} | ||||||
|  | } | ||||||
|  |  | ||||||
|  | func (x *ErrorInfo) String() string { | ||||||
|  | 	return protoimpl.X.MessageStringOf(x) | ||||||
|  | } | ||||||
|  |  | ||||||
|  | func (*ErrorInfo) ProtoMessage() {} | ||||||
|  |  | ||||||
|  | func (x *ErrorInfo) ProtoReflect() protoreflect.Message { | ||||||
|  | 	mi := &file_google_rpc_error_details_proto_msgTypes[0] | ||||||
|  | 	if protoimpl.UnsafeEnabled && x != nil { | ||||||
|  | 		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) | ||||||
|  | 		if ms.LoadMessageInfo() == nil { | ||||||
|  | 			ms.StoreMessageInfo(mi) | ||||||
|  | 		} | ||||||
|  | 		return ms | ||||||
|  | 	} | ||||||
|  | 	return mi.MessageOf(x) | ||||||
|  | } | ||||||
|  |  | ||||||
|  | // Deprecated: Use ErrorInfo.ProtoReflect.Descriptor instead. | ||||||
|  | func (*ErrorInfo) Descriptor() ([]byte, []int) { | ||||||
|  | 	return file_google_rpc_error_details_proto_rawDescGZIP(), []int{0} | ||||||
|  | } | ||||||
|  |  | ||||||
|  | func (x *ErrorInfo) GetReason() string { | ||||||
|  | 	if x != nil { | ||||||
|  | 		return x.Reason | ||||||
|  | 	} | ||||||
|  | 	return "" | ||||||
|  | } | ||||||
|  |  | ||||||
|  | func (x *ErrorInfo) GetDomain() string { | ||||||
|  | 	if x != nil { | ||||||
|  | 		return x.Domain | ||||||
|  | 	} | ||||||
|  | 	return "" | ||||||
|  | } | ||||||
|  |  | ||||||
|  | func (x *ErrorInfo) GetMetadata() map[string]string { | ||||||
|  | 	if x != nil { | ||||||
|  | 		return x.Metadata | ||||||
|  | 	} | ||||||
|  | 	return nil | ||||||
|  | } | ||||||
|  |  | ||||||
| // Describes when the clients can retry a failed request. Clients could ignore | // Describes when the clients can retry a failed request. Clients could ignore | ||||||
| // the recommendation here or retry when this information is missing from error | // the recommendation here or retry when this information is missing from error | ||||||
| // responses. | // responses. | ||||||
| @@ -61,7 +167,7 @@ type RetryInfo struct { | |||||||
| func (x *RetryInfo) Reset() { | func (x *RetryInfo) Reset() { | ||||||
| 	*x = RetryInfo{} | 	*x = RetryInfo{} | ||||||
| 	if protoimpl.UnsafeEnabled { | 	if protoimpl.UnsafeEnabled { | ||||||
| 		mi := &file_google_rpc_error_details_proto_msgTypes[0] | 		mi := &file_google_rpc_error_details_proto_msgTypes[1] | ||||||
| 		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) | 		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) | ||||||
| 		ms.StoreMessageInfo(mi) | 		ms.StoreMessageInfo(mi) | ||||||
| 	} | 	} | ||||||
| @@ -74,7 +180,7 @@ func (x *RetryInfo) String() string { | |||||||
| func (*RetryInfo) ProtoMessage() {} | func (*RetryInfo) ProtoMessage() {} | ||||||
|  |  | ||||||
| func (x *RetryInfo) ProtoReflect() protoreflect.Message { | func (x *RetryInfo) ProtoReflect() protoreflect.Message { | ||||||
| 	mi := &file_google_rpc_error_details_proto_msgTypes[0] | 	mi := &file_google_rpc_error_details_proto_msgTypes[1] | ||||||
| 	if protoimpl.UnsafeEnabled && x != nil { | 	if protoimpl.UnsafeEnabled && x != nil { | ||||||
| 		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) | 		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) | ||||||
| 		if ms.LoadMessageInfo() == nil { | 		if ms.LoadMessageInfo() == nil { | ||||||
| @@ -87,7 +193,7 @@ func (x *RetryInfo) ProtoReflect() protoreflect.Message { | |||||||
|  |  | ||||||
| // Deprecated: Use RetryInfo.ProtoReflect.Descriptor instead. | // Deprecated: Use RetryInfo.ProtoReflect.Descriptor instead. | ||||||
| func (*RetryInfo) Descriptor() ([]byte, []int) { | func (*RetryInfo) Descriptor() ([]byte, []int) { | ||||||
| 	return file_google_rpc_error_details_proto_rawDescGZIP(), []int{0} | 	return file_google_rpc_error_details_proto_rawDescGZIP(), []int{1} | ||||||
| } | } | ||||||
|  |  | ||||||
| func (x *RetryInfo) GetRetryDelay() *durationpb.Duration { | func (x *RetryInfo) GetRetryDelay() *durationpb.Duration { | ||||||
| @@ -112,7 +218,7 @@ type DebugInfo struct { | |||||||
| func (x *DebugInfo) Reset() { | func (x *DebugInfo) Reset() { | ||||||
| 	*x = DebugInfo{} | 	*x = DebugInfo{} | ||||||
| 	if protoimpl.UnsafeEnabled { | 	if protoimpl.UnsafeEnabled { | ||||||
| 		mi := &file_google_rpc_error_details_proto_msgTypes[1] | 		mi := &file_google_rpc_error_details_proto_msgTypes[2] | ||||||
| 		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) | 		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) | ||||||
| 		ms.StoreMessageInfo(mi) | 		ms.StoreMessageInfo(mi) | ||||||
| 	} | 	} | ||||||
| @@ -125,7 +231,7 @@ func (x *DebugInfo) String() string { | |||||||
| func (*DebugInfo) ProtoMessage() {} | func (*DebugInfo) ProtoMessage() {} | ||||||
|  |  | ||||||
| func (x *DebugInfo) ProtoReflect() protoreflect.Message { | func (x *DebugInfo) ProtoReflect() protoreflect.Message { | ||||||
| 	mi := &file_google_rpc_error_details_proto_msgTypes[1] | 	mi := &file_google_rpc_error_details_proto_msgTypes[2] | ||||||
| 	if protoimpl.UnsafeEnabled && x != nil { | 	if protoimpl.UnsafeEnabled && x != nil { | ||||||
| 		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) | 		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) | ||||||
| 		if ms.LoadMessageInfo() == nil { | 		if ms.LoadMessageInfo() == nil { | ||||||
| @@ -138,7 +244,7 @@ func (x *DebugInfo) ProtoReflect() protoreflect.Message { | |||||||
|  |  | ||||||
| // Deprecated: Use DebugInfo.ProtoReflect.Descriptor instead. | // Deprecated: Use DebugInfo.ProtoReflect.Descriptor instead. | ||||||
| func (*DebugInfo) Descriptor() ([]byte, []int) { | func (*DebugInfo) Descriptor() ([]byte, []int) { | ||||||
| 	return file_google_rpc_error_details_proto_rawDescGZIP(), []int{1} | 	return file_google_rpc_error_details_proto_rawDescGZIP(), []int{2} | ||||||
| } | } | ||||||
|  |  | ||||||
| func (x *DebugInfo) GetStackEntries() []string { | func (x *DebugInfo) GetStackEntries() []string { | ||||||
| @@ -178,7 +284,7 @@ type QuotaFailure struct { | |||||||
| func (x *QuotaFailure) Reset() { | func (x *QuotaFailure) Reset() { | ||||||
| 	*x = QuotaFailure{} | 	*x = QuotaFailure{} | ||||||
| 	if protoimpl.UnsafeEnabled { | 	if protoimpl.UnsafeEnabled { | ||||||
| 		mi := &file_google_rpc_error_details_proto_msgTypes[2] | 		mi := &file_google_rpc_error_details_proto_msgTypes[3] | ||||||
| 		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) | 		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) | ||||||
| 		ms.StoreMessageInfo(mi) | 		ms.StoreMessageInfo(mi) | ||||||
| 	} | 	} | ||||||
| @@ -191,7 +297,7 @@ func (x *QuotaFailure) String() string { | |||||||
| func (*QuotaFailure) ProtoMessage() {} | func (*QuotaFailure) ProtoMessage() {} | ||||||
|  |  | ||||||
| func (x *QuotaFailure) ProtoReflect() protoreflect.Message { | func (x *QuotaFailure) ProtoReflect() protoreflect.Message { | ||||||
| 	mi := &file_google_rpc_error_details_proto_msgTypes[2] | 	mi := &file_google_rpc_error_details_proto_msgTypes[3] | ||||||
| 	if protoimpl.UnsafeEnabled && x != nil { | 	if protoimpl.UnsafeEnabled && x != nil { | ||||||
| 		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) | 		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) | ||||||
| 		if ms.LoadMessageInfo() == nil { | 		if ms.LoadMessageInfo() == nil { | ||||||
| @@ -204,7 +310,7 @@ func (x *QuotaFailure) ProtoReflect() protoreflect.Message { | |||||||
|  |  | ||||||
| // Deprecated: Use QuotaFailure.ProtoReflect.Descriptor instead. | // Deprecated: Use QuotaFailure.ProtoReflect.Descriptor instead. | ||||||
| func (*QuotaFailure) Descriptor() ([]byte, []int) { | func (*QuotaFailure) Descriptor() ([]byte, []int) { | ||||||
| 	return file_google_rpc_error_details_proto_rawDescGZIP(), []int{2} | 	return file_google_rpc_error_details_proto_rawDescGZIP(), []int{3} | ||||||
| } | } | ||||||
|  |  | ||||||
| func (x *QuotaFailure) GetViolations() []*QuotaFailure_Violation { | func (x *QuotaFailure) GetViolations() []*QuotaFailure_Violation { | ||||||
| @@ -214,111 +320,6 @@ func (x *QuotaFailure) GetViolations() []*QuotaFailure_Violation { | |||||||
| 	return nil | 	return nil | ||||||
| } | } | ||||||
|  |  | ||||||
| // Describes the cause of the error with structured details. |  | ||||||
| // |  | ||||||
| // Example of an error when contacting the "pubsub.googleapis.com" API when it |  | ||||||
| // is not enabled: |  | ||||||
| // |  | ||||||
| //	{ "reason": "API_DISABLED" |  | ||||||
| //	  "domain": "googleapis.com" |  | ||||||
| //	  "metadata": { |  | ||||||
| //	    "resource": "projects/123", |  | ||||||
| //	    "service": "pubsub.googleapis.com" |  | ||||||
| //	  } |  | ||||||
| //	} |  | ||||||
| // |  | ||||||
| // This response indicates that the pubsub.googleapis.com API is not enabled. |  | ||||||
| // |  | ||||||
| // Example of an error that is returned when attempting to create a Spanner |  | ||||||
| // instance in a region that is out of stock: |  | ||||||
| // |  | ||||||
| //	{ "reason": "STOCKOUT" |  | ||||||
| //	  "domain": "spanner.googleapis.com", |  | ||||||
| //	  "metadata": { |  | ||||||
| //	    "availableRegions": "us-central1,us-east2" |  | ||||||
| //	  } |  | ||||||
| //	} |  | ||||||
| type ErrorInfo struct { |  | ||||||
| 	state         protoimpl.MessageState |  | ||||||
| 	sizeCache     protoimpl.SizeCache |  | ||||||
| 	unknownFields protoimpl.UnknownFields |  | ||||||
|  |  | ||||||
| 	// The reason of the error. This is a constant value that identifies the |  | ||||||
| 	// proximate cause of the error. Error reasons are unique within a particular |  | ||||||
| 	// domain of errors. This should be at most 63 characters and match |  | ||||||
| 	// /[A-Z0-9_]+/. |  | ||||||
| 	Reason string `protobuf:"bytes,1,opt,name=reason,proto3" json:"reason,omitempty"` |  | ||||||
| 	// The logical grouping to which the "reason" belongs. The error domain |  | ||||||
| 	// is typically the registered service name of the tool or product that |  | ||||||
| 	// generates the error. Example: "pubsub.googleapis.com". If the error is |  | ||||||
| 	// generated by some common infrastructure, the error domain must be a |  | ||||||
| 	// globally unique value that identifies the infrastructure. For Google API |  | ||||||
| 	// infrastructure, the error domain is "googleapis.com". |  | ||||||
| 	Domain string `protobuf:"bytes,2,opt,name=domain,proto3" json:"domain,omitempty"` |  | ||||||
| 	// Additional structured details about this error. |  | ||||||
| 	// |  | ||||||
| 	// Keys should match /[a-zA-Z0-9-_]/ and be limited to 64 characters in |  | ||||||
| 	// length. When identifying the current value of an exceeded limit, the units |  | ||||||
| 	// should be contained in the key, not the value.  For example, rather than |  | ||||||
| 	// {"instanceLimit": "100/request"}, should be returned as, |  | ||||||
| 	// {"instanceLimitPerRequest": "100"}, if the client exceeds the number of |  | ||||||
| 	// instances that can be created in a single (batch) request. |  | ||||||
| 	Metadata map[string]string `protobuf:"bytes,3,rep,name=metadata,proto3" json:"metadata,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` |  | ||||||
| } |  | ||||||
|  |  | ||||||
| func (x *ErrorInfo) Reset() { |  | ||||||
| 	*x = ErrorInfo{} |  | ||||||
| 	if protoimpl.UnsafeEnabled { |  | ||||||
| 		mi := &file_google_rpc_error_details_proto_msgTypes[3] |  | ||||||
| 		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |  | ||||||
| 		ms.StoreMessageInfo(mi) |  | ||||||
| 	} |  | ||||||
| } |  | ||||||
|  |  | ||||||
| func (x *ErrorInfo) String() string { |  | ||||||
| 	return protoimpl.X.MessageStringOf(x) |  | ||||||
| } |  | ||||||
|  |  | ||||||
| func (*ErrorInfo) ProtoMessage() {} |  | ||||||
|  |  | ||||||
| func (x *ErrorInfo) ProtoReflect() protoreflect.Message { |  | ||||||
| 	mi := &file_google_rpc_error_details_proto_msgTypes[3] |  | ||||||
| 	if protoimpl.UnsafeEnabled && x != nil { |  | ||||||
| 		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |  | ||||||
| 		if ms.LoadMessageInfo() == nil { |  | ||||||
| 			ms.StoreMessageInfo(mi) |  | ||||||
| 		} |  | ||||||
| 		return ms |  | ||||||
| 	} |  | ||||||
| 	return mi.MessageOf(x) |  | ||||||
| } |  | ||||||
|  |  | ||||||
| // Deprecated: Use ErrorInfo.ProtoReflect.Descriptor instead. |  | ||||||
| func (*ErrorInfo) Descriptor() ([]byte, []int) { |  | ||||||
| 	return file_google_rpc_error_details_proto_rawDescGZIP(), []int{3} |  | ||||||
| } |  | ||||||
|  |  | ||||||
| func (x *ErrorInfo) GetReason() string { |  | ||||||
| 	if x != nil { |  | ||||||
| 		return x.Reason |  | ||||||
| 	} |  | ||||||
| 	return "" |  | ||||||
| } |  | ||||||
|  |  | ||||||
| func (x *ErrorInfo) GetDomain() string { |  | ||||||
| 	if x != nil { |  | ||||||
| 		return x.Domain |  | ||||||
| 	} |  | ||||||
| 	return "" |  | ||||||
| } |  | ||||||
|  |  | ||||||
| func (x *ErrorInfo) GetMetadata() map[string]string { |  | ||||||
| 	if x != nil { |  | ||||||
| 		return x.Metadata |  | ||||||
| 	} |  | ||||||
| 	return nil |  | ||||||
| } |  | ||||||
|  |  | ||||||
| // Describes what preconditions have failed. | // Describes what preconditions have failed. | ||||||
| // | // | ||||||
| // For example, if an RPC failed because it required the Terms of Service to be | // For example, if an RPC failed because it required the Terms of Service to be | ||||||
| @@ -495,7 +496,8 @@ type ResourceInfo struct { | |||||||
| 	ResourceType string `protobuf:"bytes,1,opt,name=resource_type,json=resourceType,proto3" json:"resource_type,omitempty"` | 	ResourceType string `protobuf:"bytes,1,opt,name=resource_type,json=resourceType,proto3" json:"resource_type,omitempty"` | ||||||
| 	// The name of the resource being accessed.  For example, a shared calendar | 	// The name of the resource being accessed.  For example, a shared calendar | ||||||
| 	// name: "example.com_4fghdhgsrgh@group.calendar.google.com", if the current | 	// name: "example.com_4fghdhgsrgh@group.calendar.google.com", if the current | ||||||
| 	// error is [google.rpc.Code.PERMISSION_DENIED][google.rpc.Code.PERMISSION_DENIED]. | 	// error is | ||||||
|  | 	// [google.rpc.Code.PERMISSION_DENIED][google.rpc.Code.PERMISSION_DENIED]. | ||||||
| 	ResourceName string `protobuf:"bytes,2,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` | 	ResourceName string `protobuf:"bytes,2,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` | ||||||
| 	// The owner of the resource (optional). | 	// The owner of the resource (optional). | ||||||
| 	// For example, "user:<owner email>" or "project:<Google developer project | 	// For example, "user:<owner email>" or "project:<Google developer project | ||||||
| @@ -628,7 +630,7 @@ type LocalizedMessage struct { | |||||||
| 	unknownFields protoimpl.UnknownFields | 	unknownFields protoimpl.UnknownFields | ||||||
|  |  | ||||||
| 	// The locale used following the specification defined at | 	// The locale used following the specification defined at | ||||||
| 	// http://www.rfc-editor.org/rfc/bcp/bcp47.txt. | 	// https://www.rfc-editor.org/rfc/bcp/bcp47.txt. | ||||||
| 	// Examples are: "en-US", "fr-CH", "es-MX" | 	// Examples are: "en-US", "fr-CH", "es-MX" | ||||||
| 	Locale string `protobuf:"bytes,1,opt,name=locale,proto3" json:"locale,omitempty"` | 	Locale string `protobuf:"bytes,1,opt,name=locale,proto3" json:"locale,omitempty"` | ||||||
| 	// The localized error message in the above locale. | 	// The localized error message in the above locale. | ||||||
| @@ -705,7 +707,7 @@ type QuotaFailure_Violation struct { | |||||||
| func (x *QuotaFailure_Violation) Reset() { | func (x *QuotaFailure_Violation) Reset() { | ||||||
| 	*x = QuotaFailure_Violation{} | 	*x = QuotaFailure_Violation{} | ||||||
| 	if protoimpl.UnsafeEnabled { | 	if protoimpl.UnsafeEnabled { | ||||||
| 		mi := &file_google_rpc_error_details_proto_msgTypes[10] | 		mi := &file_google_rpc_error_details_proto_msgTypes[11] | ||||||
| 		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) | 		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) | ||||||
| 		ms.StoreMessageInfo(mi) | 		ms.StoreMessageInfo(mi) | ||||||
| 	} | 	} | ||||||
| @@ -718,7 +720,7 @@ func (x *QuotaFailure_Violation) String() string { | |||||||
| func (*QuotaFailure_Violation) ProtoMessage() {} | func (*QuotaFailure_Violation) ProtoMessage() {} | ||||||
|  |  | ||||||
| func (x *QuotaFailure_Violation) ProtoReflect() protoreflect.Message { | func (x *QuotaFailure_Violation) ProtoReflect() protoreflect.Message { | ||||||
| 	mi := &file_google_rpc_error_details_proto_msgTypes[10] | 	mi := &file_google_rpc_error_details_proto_msgTypes[11] | ||||||
| 	if protoimpl.UnsafeEnabled && x != nil { | 	if protoimpl.UnsafeEnabled && x != nil { | ||||||
| 		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) | 		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) | ||||||
| 		if ms.LoadMessageInfo() == nil { | 		if ms.LoadMessageInfo() == nil { | ||||||
| @@ -731,7 +733,7 @@ func (x *QuotaFailure_Violation) ProtoReflect() protoreflect.Message { | |||||||
|  |  | ||||||
| // Deprecated: Use QuotaFailure_Violation.ProtoReflect.Descriptor instead. | // Deprecated: Use QuotaFailure_Violation.ProtoReflect.Descriptor instead. | ||||||
| func (*QuotaFailure_Violation) Descriptor() ([]byte, []int) { | func (*QuotaFailure_Violation) Descriptor() ([]byte, []int) { | ||||||
| 	return file_google_rpc_error_details_proto_rawDescGZIP(), []int{2, 0} | 	return file_google_rpc_error_details_proto_rawDescGZIP(), []int{3, 0} | ||||||
| } | } | ||||||
|  |  | ||||||
| func (x *QuotaFailure_Violation) GetSubject() string { | func (x *QuotaFailure_Violation) GetSubject() string { | ||||||
| @@ -828,9 +830,43 @@ type BadRequest_FieldViolation struct { | |||||||
| 	sizeCache     protoimpl.SizeCache | 	sizeCache     protoimpl.SizeCache | ||||||
| 	unknownFields protoimpl.UnknownFields | 	unknownFields protoimpl.UnknownFields | ||||||
|  |  | ||||||
| 	// A path leading to a field in the request body. The value will be a | 	// A path that leads to a field in the request body. The value will be a | ||||||
| 	// sequence of dot-separated identifiers that identify a protocol buffer | 	// sequence of dot-separated identifiers that identify a protocol buffer | ||||||
| 	// field. E.g., "field_violations.field" would identify this field. | 	// field. | ||||||
|  | 	// | ||||||
|  | 	// Consider the following: | ||||||
|  | 	// | ||||||
|  | 	//	message CreateContactRequest { | ||||||
|  | 	//	  message EmailAddress { | ||||||
|  | 	//	    enum Type { | ||||||
|  | 	//	      TYPE_UNSPECIFIED = 0; | ||||||
|  | 	//	      HOME = 1; | ||||||
|  | 	//	      WORK = 2; | ||||||
|  | 	//	    } | ||||||
|  | 	// | ||||||
|  | 	//	    optional string email = 1; | ||||||
|  | 	//	    repeated EmailType type = 2; | ||||||
|  | 	//	  } | ||||||
|  | 	// | ||||||
|  | 	//	  string full_name = 1; | ||||||
|  | 	//	  repeated EmailAddress email_addresses = 2; | ||||||
|  | 	//	} | ||||||
|  | 	// | ||||||
|  | 	// In this example, in proto `field` could take one of the following values: | ||||||
|  | 	// | ||||||
|  | 	//   - `full_name` for a violation in the `full_name` value | ||||||
|  | 	//   - `email_addresses[1].email` for a violation in the `email` field of the | ||||||
|  | 	//     first `email_addresses` message | ||||||
|  | 	//   - `email_addresses[3].type[2]` for a violation in the second `type` | ||||||
|  | 	//     value in the third `email_addresses` message. | ||||||
|  | 	// | ||||||
|  | 	// In JSON, the same values are represented as: | ||||||
|  | 	// | ||||||
|  | 	//   - `fullName` for a violation in the `fullName` value | ||||||
|  | 	//   - `emailAddresses[1].email` for a violation in the `email` field of the | ||||||
|  | 	//     first `emailAddresses` message | ||||||
|  | 	//   - `emailAddresses[3].type[2]` for a violation in the second `type` | ||||||
|  | 	//     value in the third `emailAddresses` message. | ||||||
| 	Field string `protobuf:"bytes,1,opt,name=field,proto3" json:"field,omitempty"` | 	Field string `protobuf:"bytes,1,opt,name=field,proto3" json:"field,omitempty"` | ||||||
| 	// A description of why the request element is bad. | 	// A description of why the request element is bad. | ||||||
| 	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` | 	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` | ||||||
| @@ -947,38 +983,38 @@ var file_google_rpc_error_details_proto_rawDesc = []byte{ | |||||||
| 	0x6f, 0x72, 0x5f, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, | 	0x6f, 0x72, 0x5f, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, | ||||||
| 	0x12, 0x0a, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x72, 0x70, 0x63, 0x1a, 0x1e, 0x67, 0x6f, | 	0x12, 0x0a, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x72, 0x70, 0x63, 0x1a, 0x1e, 0x67, 0x6f, | ||||||
| 	0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x75, | 	0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x75, | ||||||
| 	0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x47, 0x0a, 0x09, | 	0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xb9, 0x01, 0x0a, | ||||||
| 	0x52, 0x65, 0x74, 0x72, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x3a, 0x0a, 0x0b, 0x72, 0x65, 0x74, | 	0x09, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, | ||||||
| 	0x72, 0x79, 0x5f, 0x64, 0x65, 0x6c, 0x61, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, | 	0x61, 0x73, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x65, 0x61, 0x73, | ||||||
| 	0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, | 	0x6f, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x18, 0x02, 0x20, 0x01, | ||||||
| 	0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0a, 0x72, 0x65, 0x74, 0x72, 0x79, | 	0x28, 0x09, 0x52, 0x06, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x12, 0x3f, 0x0a, 0x08, 0x6d, 0x65, | ||||||
| 	0x44, 0x65, 0x6c, 0x61, 0x79, 0x22, 0x48, 0x0a, 0x09, 0x44, 0x65, 0x62, 0x75, 0x67, 0x49, 0x6e, | 	0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x67, | ||||||
| 	0x66, 0x6f, 0x12, 0x23, 0x0a, 0x0d, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x5f, 0x65, 0x6e, 0x74, 0x72, | 	0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x49, | ||||||
| 	0x69, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0c, 0x73, 0x74, 0x61, 0x63, 0x6b, | 	0x6e, 0x66, 0x6f, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x45, 0x6e, 0x74, 0x72, | ||||||
| 	0x45, 0x6e, 0x74, 0x72, 0x69, 0x65, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x64, 0x65, 0x74, 0x61, 0x69, | 	0x79, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x1a, 0x3b, 0x0a, 0x0d, 0x4d, | ||||||
| 	0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x22, | 	0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, | ||||||
| 	0x9b, 0x01, 0x0a, 0x0c, 0x51, 0x75, 0x6f, 0x74, 0x61, 0x46, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, | 	0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, | ||||||
| 	0x12, 0x42, 0x0a, 0x0a, 0x76, 0x69, 0x6f, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, | 	0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, | ||||||
| 	0x20, 0x03, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x72, 0x70, | 	0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x47, 0x0a, 0x09, 0x52, 0x65, 0x74, 0x72, | ||||||
| 	0x63, 0x2e, 0x51, 0x75, 0x6f, 0x74, 0x61, 0x46, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x2e, 0x56, | 	0x79, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x3a, 0x0a, 0x0b, 0x72, 0x65, 0x74, 0x72, 0x79, 0x5f, 0x64, | ||||||
| 	0x69, 0x6f, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0a, 0x76, 0x69, 0x6f, 0x6c, 0x61, 0x74, | 	0x65, 0x6c, 0x61, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, | ||||||
| 	0x69, 0x6f, 0x6e, 0x73, 0x1a, 0x47, 0x0a, 0x09, 0x56, 0x69, 0x6f, 0x6c, 0x61, 0x74, 0x69, 0x6f, | 	0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, | ||||||
| 	0x6e, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x18, 0x01, 0x20, 0x01, | 	0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0a, 0x72, 0x65, 0x74, 0x72, 0x79, 0x44, 0x65, 0x6c, 0x61, | ||||||
| 	0x28, 0x09, 0x52, 0x07, 0x73, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x20, 0x0a, 0x0b, 0x64, | 	0x79, 0x22, 0x48, 0x0a, 0x09, 0x44, 0x65, 0x62, 0x75, 0x67, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x23, | ||||||
| 	0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, | 	0x0a, 0x0d, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x5f, 0x65, 0x6e, 0x74, 0x72, 0x69, 0x65, 0x73, 0x18, | ||||||
| 	0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0xb9, 0x01, | 	0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0c, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x45, 0x6e, 0x74, 0x72, | ||||||
| 	0x0a, 0x09, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x16, 0x0a, 0x06, 0x72, | 	0x69, 0x65, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x18, 0x02, 0x20, | ||||||
| 	0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x65, 0x61, | 	0x01, 0x28, 0x09, 0x52, 0x06, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x22, 0x9b, 0x01, 0x0a, 0x0c, | ||||||
| 	0x73, 0x6f, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x18, 0x02, 0x20, | 	0x51, 0x75, 0x6f, 0x74, 0x61, 0x46, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x12, 0x42, 0x0a, 0x0a, | ||||||
| 	0x01, 0x28, 0x09, 0x52, 0x06, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x12, 0x3f, 0x0a, 0x08, 0x6d, | 	0x76, 0x69, 0x6f, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, | ||||||
| 	0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x23, 0x2e, | 	0x32, 0x22, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x51, 0x75, | ||||||
| 	0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x45, 0x72, 0x72, 0x6f, 0x72, | 	0x6f, 0x74, 0x61, 0x46, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x2e, 0x56, 0x69, 0x6f, 0x6c, 0x61, | ||||||
| 	0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x45, 0x6e, 0x74, | 	0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0a, 0x76, 0x69, 0x6f, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, | ||||||
| 	0x72, 0x79, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x1a, 0x3b, 0x0a, 0x0d, | 	0x1a, 0x47, 0x0a, 0x09, 0x56, 0x69, 0x6f, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x18, 0x0a, | ||||||
| 	0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, | 	0x07, 0x73, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, | ||||||
| 	0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, | 	0x73, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, | ||||||
| 	0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, | 	0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, | ||||||
| 	0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xbd, 0x01, 0x0a, 0x13, 0x50, 0x72, | 	0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0xbd, 0x01, 0x0a, 0x13, 0x50, 0x72, | ||||||
| 	0x65, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x61, 0x69, 0x6c, 0x75, 0x72, | 	0x65, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x61, 0x69, 0x6c, 0x75, 0x72, | ||||||
| 	0x65, 0x12, 0x49, 0x0a, 0x0a, 0x76, 0x69, 0x6f, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, | 	0x65, 0x12, 0x49, 0x0a, 0x0a, 0x76, 0x69, 0x6f, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, | ||||||
| 	0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x72, | 	0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x72, | ||||||
| @@ -1051,27 +1087,27 @@ func file_google_rpc_error_details_proto_rawDescGZIP() []byte { | |||||||
|  |  | ||||||
| var file_google_rpc_error_details_proto_msgTypes = make([]protoimpl.MessageInfo, 15) | var file_google_rpc_error_details_proto_msgTypes = make([]protoimpl.MessageInfo, 15) | ||||||
| var file_google_rpc_error_details_proto_goTypes = []interface{}{ | var file_google_rpc_error_details_proto_goTypes = []interface{}{ | ||||||
| 	(*RetryInfo)(nil),                     // 0: google.rpc.RetryInfo | 	(*ErrorInfo)(nil),                     // 0: google.rpc.ErrorInfo | ||||||
| 	(*DebugInfo)(nil),                     // 1: google.rpc.DebugInfo | 	(*RetryInfo)(nil),                     // 1: google.rpc.RetryInfo | ||||||
| 	(*QuotaFailure)(nil),                  // 2: google.rpc.QuotaFailure | 	(*DebugInfo)(nil),                     // 2: google.rpc.DebugInfo | ||||||
| 	(*ErrorInfo)(nil),                     // 3: google.rpc.ErrorInfo | 	(*QuotaFailure)(nil),                  // 3: google.rpc.QuotaFailure | ||||||
| 	(*PreconditionFailure)(nil),           // 4: google.rpc.PreconditionFailure | 	(*PreconditionFailure)(nil),           // 4: google.rpc.PreconditionFailure | ||||||
| 	(*BadRequest)(nil),                    // 5: google.rpc.BadRequest | 	(*BadRequest)(nil),                    // 5: google.rpc.BadRequest | ||||||
| 	(*RequestInfo)(nil),                   // 6: google.rpc.RequestInfo | 	(*RequestInfo)(nil),                   // 6: google.rpc.RequestInfo | ||||||
| 	(*ResourceInfo)(nil),                  // 7: google.rpc.ResourceInfo | 	(*ResourceInfo)(nil),                  // 7: google.rpc.ResourceInfo | ||||||
| 	(*Help)(nil),                          // 8: google.rpc.Help | 	(*Help)(nil),                          // 8: google.rpc.Help | ||||||
| 	(*LocalizedMessage)(nil),              // 9: google.rpc.LocalizedMessage | 	(*LocalizedMessage)(nil),              // 9: google.rpc.LocalizedMessage | ||||||
| 	(*QuotaFailure_Violation)(nil),        // 10: google.rpc.QuotaFailure.Violation | 	nil,                                   // 10: google.rpc.ErrorInfo.MetadataEntry | ||||||
| 	nil,                                   // 11: google.rpc.ErrorInfo.MetadataEntry | 	(*QuotaFailure_Violation)(nil),        // 11: google.rpc.QuotaFailure.Violation | ||||||
| 	(*PreconditionFailure_Violation)(nil), // 12: google.rpc.PreconditionFailure.Violation | 	(*PreconditionFailure_Violation)(nil), // 12: google.rpc.PreconditionFailure.Violation | ||||||
| 	(*BadRequest_FieldViolation)(nil),     // 13: google.rpc.BadRequest.FieldViolation | 	(*BadRequest_FieldViolation)(nil),     // 13: google.rpc.BadRequest.FieldViolation | ||||||
| 	(*Help_Link)(nil),                     // 14: google.rpc.Help.Link | 	(*Help_Link)(nil),                     // 14: google.rpc.Help.Link | ||||||
| 	(*durationpb.Duration)(nil),           // 15: google.protobuf.Duration | 	(*durationpb.Duration)(nil),           // 15: google.protobuf.Duration | ||||||
| } | } | ||||||
| var file_google_rpc_error_details_proto_depIdxs = []int32{ | var file_google_rpc_error_details_proto_depIdxs = []int32{ | ||||||
| 	15, // 0: google.rpc.RetryInfo.retry_delay:type_name -> google.protobuf.Duration | 	10, // 0: google.rpc.ErrorInfo.metadata:type_name -> google.rpc.ErrorInfo.MetadataEntry | ||||||
| 	10, // 1: google.rpc.QuotaFailure.violations:type_name -> google.rpc.QuotaFailure.Violation | 	15, // 1: google.rpc.RetryInfo.retry_delay:type_name -> google.protobuf.Duration | ||||||
| 	11, // 2: google.rpc.ErrorInfo.metadata:type_name -> google.rpc.ErrorInfo.MetadataEntry | 	11, // 2: google.rpc.QuotaFailure.violations:type_name -> google.rpc.QuotaFailure.Violation | ||||||
| 	12, // 3: google.rpc.PreconditionFailure.violations:type_name -> google.rpc.PreconditionFailure.Violation | 	12, // 3: google.rpc.PreconditionFailure.violations:type_name -> google.rpc.PreconditionFailure.Violation | ||||||
| 	13, // 4: google.rpc.BadRequest.field_violations:type_name -> google.rpc.BadRequest.FieldViolation | 	13, // 4: google.rpc.BadRequest.field_violations:type_name -> google.rpc.BadRequest.FieldViolation | ||||||
| 	14, // 5: google.rpc.Help.links:type_name -> google.rpc.Help.Link | 	14, // 5: google.rpc.Help.links:type_name -> google.rpc.Help.Link | ||||||
| @@ -1089,7 +1125,7 @@ func file_google_rpc_error_details_proto_init() { | |||||||
| 	} | 	} | ||||||
| 	if !protoimpl.UnsafeEnabled { | 	if !protoimpl.UnsafeEnabled { | ||||||
| 		file_google_rpc_error_details_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { | 		file_google_rpc_error_details_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { | ||||||
| 			switch v := v.(*RetryInfo); i { | 			switch v := v.(*ErrorInfo); i { | ||||||
| 			case 0: | 			case 0: | ||||||
| 				return &v.state | 				return &v.state | ||||||
| 			case 1: | 			case 1: | ||||||
| @@ -1101,7 +1137,7 @@ func file_google_rpc_error_details_proto_init() { | |||||||
| 			} | 			} | ||||||
| 		} | 		} | ||||||
| 		file_google_rpc_error_details_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { | 		file_google_rpc_error_details_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { | ||||||
| 			switch v := v.(*DebugInfo); i { | 			switch v := v.(*RetryInfo); i { | ||||||
| 			case 0: | 			case 0: | ||||||
| 				return &v.state | 				return &v.state | ||||||
| 			case 1: | 			case 1: | ||||||
| @@ -1113,7 +1149,7 @@ func file_google_rpc_error_details_proto_init() { | |||||||
| 			} | 			} | ||||||
| 		} | 		} | ||||||
| 		file_google_rpc_error_details_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { | 		file_google_rpc_error_details_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { | ||||||
| 			switch v := v.(*QuotaFailure); i { | 			switch v := v.(*DebugInfo); i { | ||||||
| 			case 0: | 			case 0: | ||||||
| 				return &v.state | 				return &v.state | ||||||
| 			case 1: | 			case 1: | ||||||
| @@ -1125,7 +1161,7 @@ func file_google_rpc_error_details_proto_init() { | |||||||
| 			} | 			} | ||||||
| 		} | 		} | ||||||
| 		file_google_rpc_error_details_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { | 		file_google_rpc_error_details_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { | ||||||
| 			switch v := v.(*ErrorInfo); i { | 			switch v := v.(*QuotaFailure); i { | ||||||
| 			case 0: | 			case 0: | ||||||
| 				return &v.state | 				return &v.state | ||||||
| 			case 1: | 			case 1: | ||||||
| @@ -1208,7 +1244,7 @@ func file_google_rpc_error_details_proto_init() { | |||||||
| 				return nil | 				return nil | ||||||
| 			} | 			} | ||||||
| 		} | 		} | ||||||
| 		file_google_rpc_error_details_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { | 		file_google_rpc_error_details_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { | ||||||
| 			switch v := v.(*QuotaFailure_Violation); i { | 			switch v := v.(*QuotaFailure_Violation); i { | ||||||
| 			case 0: | 			case 0: | ||||||
| 				return &v.state | 				return &v.state | ||||||
|   | |||||||
							
								
								
									
										10
									
								
								vendor/google.golang.org/genproto/googleapis/rpc/status/status.pb.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										10
									
								
								vendor/google.golang.org/genproto/googleapis/rpc/status/status.pb.go
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -1,4 +1,4 @@ | |||||||
| // Copyright 2020 Google LLC | // Copyright 2022 Google LLC | ||||||
| // | // | ||||||
| // Licensed under the Apache License, Version 2.0 (the "License"); | // Licensed under the Apache License, Version 2.0 (the "License"); | ||||||
| // you may not use this file except in compliance with the License. | // you may not use this file except in compliance with the License. | ||||||
| @@ -15,7 +15,7 @@ | |||||||
| // Code generated by protoc-gen-go. DO NOT EDIT. | // Code generated by protoc-gen-go. DO NOT EDIT. | ||||||
| // versions: | // versions: | ||||||
| // 	protoc-gen-go v1.26.0 | // 	protoc-gen-go v1.26.0 | ||||||
| // 	protoc        v3.12.2 | // 	protoc        v3.21.9 | ||||||
| // source: google/rpc/status.proto | // source: google/rpc/status.proto | ||||||
|  |  | ||||||
| package status | package status | ||||||
| @@ -48,11 +48,13 @@ type Status struct { | |||||||
| 	sizeCache     protoimpl.SizeCache | 	sizeCache     protoimpl.SizeCache | ||||||
| 	unknownFields protoimpl.UnknownFields | 	unknownFields protoimpl.UnknownFields | ||||||
|  |  | ||||||
| 	// The status code, which should be an enum value of [google.rpc.Code][google.rpc.Code]. | 	// The status code, which should be an enum value of | ||||||
|  | 	// [google.rpc.Code][google.rpc.Code]. | ||||||
| 	Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` | 	Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` | ||||||
| 	// A developer-facing error message, which should be in English. Any | 	// A developer-facing error message, which should be in English. Any | ||||||
| 	// user-facing error message should be localized and sent in the | 	// user-facing error message should be localized and sent in the | ||||||
| 	// [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client. | 	// [google.rpc.Status.details][google.rpc.Status.details] field, or localized | ||||||
|  | 	// by the client. | ||||||
| 	Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` | 	Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` | ||||||
| 	// A list of messages that carry the error details.  There is a common set of | 	// A list of messages that carry the error details.  There is a common set of | ||||||
| 	// message types for APIs to use. | 	// message types for APIs to use. | ||||||
|   | |||||||
| @@ -16,9 +16,9 @@ | |||||||
|  * |  * | ||||||
|  */ |  */ | ||||||
| 
 | 
 | ||||||
| // Package grpclbstate declares grpclb types to be set by resolvers wishing to | // Package state declares grpclb types to be set by resolvers wishing to pass | ||||||
| // pass information to grpclb via resolver.State Attributes. | // information to grpclb via resolver.State Attributes. | ||||||
| package grpclbstate | package state | ||||||
| 
 | 
 | ||||||
| import ( | import ( | ||||||
| 	"google.golang.org/grpc/resolver" | 	"google.golang.org/grpc/resolver" | ||||||
| @@ -27,7 +27,7 @@ import ( | |||||||
| // keyType is the key to use for storing State in Attributes. | // keyType is the key to use for storing State in Attributes. | ||||||
| type keyType string | type keyType string | ||||||
| 
 | 
 | ||||||
| const key = keyType("grpc.grpclb.grpclbstate") | const key = keyType("grpc.grpclb.state") | ||||||
| 
 | 
 | ||||||
| // State contains gRPCLB-relevant data passed from the name resolver. | // State contains gRPCLB-relevant data passed from the name resolver. | ||||||
| type State struct { | type State struct { | ||||||
							
								
								
									
										2
									
								
								vendor/google.golang.org/grpc/internal/resolver/dns/dns_resolver.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								vendor/google.golang.org/grpc/internal/resolver/dns/dns_resolver.go
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -32,7 +32,7 @@ import ( | |||||||
| 	"sync" | 	"sync" | ||||||
| 	"time" | 	"time" | ||||||
|  |  | ||||||
| 	grpclbstate "google.golang.org/grpc/balancer/grpclb/grpclbstate" | 	grpclbstate "google.golang.org/grpc/balancer/grpclb/state" | ||||||
| 	"google.golang.org/grpc/grpclog" | 	"google.golang.org/grpc/grpclog" | ||||||
| 	"google.golang.org/grpc/internal/backoff" | 	"google.golang.org/grpc/internal/backoff" | ||||||
| 	"google.golang.org/grpc/internal/envconfig" | 	"google.golang.org/grpc/internal/envconfig" | ||||||
|   | |||||||
							
								
								
									
										2
									
								
								vendor/google.golang.org/grpc/version.go
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								vendor/google.golang.org/grpc/version.go
									
									
									
										generated
									
									
										vendored
									
									
								
							| @@ -19,4 +19,4 @@ | |||||||
| package grpc | package grpc | ||||||
|  |  | ||||||
| // Version is the current grpc version. | // Version is the current grpc version. | ||||||
| const Version = "1.52.0" | const Version = "1.52.3" | ||||||
|   | |||||||
							
								
								
									
										8
									
								
								vendor/modules.txt
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										8
									
								
								vendor/modules.txt
									
									
									
									
										vendored
									
									
								
							| @@ -136,7 +136,7 @@ github.com/containerd/nri/pkg/net/multiplex | |||||||
| github.com/containerd/nri/pkg/runtime-tools/generate | github.com/containerd/nri/pkg/runtime-tools/generate | ||||||
| github.com/containerd/nri/pkg/stub | github.com/containerd/nri/pkg/stub | ||||||
| github.com/containerd/nri/types/v1 | github.com/containerd/nri/types/v1 | ||||||
| # github.com/containerd/ttrpc v1.1.1-0.20220420014843-944ef4a40df3 | # github.com/containerd/ttrpc v1.1.1-0.20230127163717-32fab2374638 | ||||||
| ## explicit; go 1.13 | ## explicit; go 1.13 | ||||||
| github.com/containerd/ttrpc | github.com/containerd/ttrpc | ||||||
| # github.com/containerd/typeurl v1.0.3-0.20220422153119-7f6e6d160d67 | # github.com/containerd/typeurl v1.0.3-0.20220422153119-7f6e6d160d67 | ||||||
| @@ -575,21 +575,21 @@ google.golang.org/appengine/internal/log | |||||||
| google.golang.org/appengine/internal/remote_api | google.golang.org/appengine/internal/remote_api | ||||||
| google.golang.org/appengine/internal/urlfetch | google.golang.org/appengine/internal/urlfetch | ||||||
| google.golang.org/appengine/urlfetch | google.golang.org/appengine/urlfetch | ||||||
| # google.golang.org/genproto v0.0.0-20221206210731-b1a01be3a5f6 | # google.golang.org/genproto v0.0.0-20230131230820-1c016267d619 | ||||||
| ## explicit; go 1.19 | ## explicit; go 1.19 | ||||||
| google.golang.org/genproto/googleapis/api/httpbody | google.golang.org/genproto/googleapis/api/httpbody | ||||||
| google.golang.org/genproto/googleapis/rpc/code | google.golang.org/genproto/googleapis/rpc/code | ||||||
| google.golang.org/genproto/googleapis/rpc/errdetails | google.golang.org/genproto/googleapis/rpc/errdetails | ||||||
| google.golang.org/genproto/googleapis/rpc/status | google.golang.org/genproto/googleapis/rpc/status | ||||||
| google.golang.org/genproto/protobuf/field_mask | google.golang.org/genproto/protobuf/field_mask | ||||||
| # google.golang.org/grpc v1.52.0 | # google.golang.org/grpc v1.52.3 | ||||||
| ## explicit; go 1.17 | ## explicit; go 1.17 | ||||||
| google.golang.org/grpc | google.golang.org/grpc | ||||||
| google.golang.org/grpc/attributes | google.golang.org/grpc/attributes | ||||||
| google.golang.org/grpc/backoff | google.golang.org/grpc/backoff | ||||||
| google.golang.org/grpc/balancer | google.golang.org/grpc/balancer | ||||||
| google.golang.org/grpc/balancer/base | google.golang.org/grpc/balancer/base | ||||||
| google.golang.org/grpc/balancer/grpclb/grpclbstate | google.golang.org/grpc/balancer/grpclb/state | ||||||
| google.golang.org/grpc/balancer/roundrobin | google.golang.org/grpc/balancer/roundrobin | ||||||
| google.golang.org/grpc/binarylog/grpc_binarylog_v1 | google.golang.org/grpc/binarylog/grpc_binarylog_v1 | ||||||
| google.golang.org/grpc/channelz | google.golang.org/grpc/channelz | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Maksym Pavlenko
					Maksym Pavlenko