Skip to content
This repository was archived by the owner on Sep 18, 2023. It is now read-only.

Commit 70a872e

Browse files
feat: Publish visibility.proto (#148)
* changes without context autosynth cannot find the source of changes triggered by earlier changes in this repository, or by version upgrades to tools such as linters. * feat: Publish visibility.proto; refresh other google/api/ files. Committer: @lukesneeringer PiperOrigin-RevId: 370757345 Source-Author: Google APIs <noreply@google.com> Source-Date: Tue Apr 27 13:59:23 2021 -0700 Source-Repo: googleapis/googleapis Source-Sha: 7cde5d0df08801e00fc45df1546942aa2692d5c3 Source-Link: googleapis/googleapis@7cde5d0
1 parent c71bb1e commit 70a872e

13 files changed

Lines changed: 2379 additions & 51 deletions

proto-google-common-protos/src/main/java/com/google/api/Authentication.java

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,9 @@
2222
*
2323
*
2424
* <pre>
25-
* `Authentication` defines the authentication configuration for an API.
26-
* Example for an API targeted for external use:
25+
* `Authentication` defines the authentication configuration for API methods
26+
* provided by an API service.
27+
* Example:
2728
* name: calendar.googleapis.com
2829
* authentication:
2930
* providers:
@@ -34,6 +35,9 @@
3435
* - selector: "*"
3536
* requirements:
3637
* provider_id: google_calendar_auth
38+
* - selector: google.calendar.Delegate
39+
* oauth:
40+
* canonical_scopes: https://www.googleapis.com/auth/calendar.read
3741
* </pre>
3842
*
3943
* Protobuf type {@code google.api.Authentication}
@@ -457,8 +461,9 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
457461
*
458462
*
459463
* <pre>
460-
* `Authentication` defines the authentication configuration for an API.
461-
* Example for an API targeted for external use:
464+
* `Authentication` defines the authentication configuration for API methods
465+
* provided by an API service.
466+
* Example:
462467
* name: calendar.googleapis.com
463468
* authentication:
464469
* providers:
@@ -469,6 +474,9 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
469474
* - selector: "*"
470475
* requirements:
471476
* provider_id: google_calendar_auth
477+
* - selector: google.calendar.Delegate
478+
* oauth:
479+
* canonical_scopes: https://www.googleapis.com/auth/calendar.read
472480
* </pre>
473481
*
474482
* Protobuf type {@code google.api.Authentication}

proto-google-common-protos/src/main/java/com/google/api/Endpoint.java

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,7 @@ public com.google.protobuf.ByteString getNameBytes() {
204204
*
205205
*
206206
* <pre>
207+
* Unimplemented. Dot not use.
207208
* DEPRECATED: This field is no longer supported. Instead of using aliases,
208209
* please specify multiple [google.api.Endpoint][google.api.Endpoint] for each of the intended
209210
* aliases.
@@ -222,6 +223,7 @@ public com.google.protobuf.ProtocolStringList getAliasesList() {
222223
*
223224
*
224225
* <pre>
226+
* Unimplemented. Dot not use.
225227
* DEPRECATED: This field is no longer supported. Instead of using aliases,
226228
* please specify multiple [google.api.Endpoint][google.api.Endpoint] for each of the intended
227229
* aliases.
@@ -240,6 +242,7 @@ public int getAliasesCount() {
240242
*
241243
*
242244
* <pre>
245+
* Unimplemented. Dot not use.
243246
* DEPRECATED: This field is no longer supported. Instead of using aliases,
244247
* please specify multiple [google.api.Endpoint][google.api.Endpoint] for each of the intended
245248
* aliases.
@@ -259,6 +262,7 @@ public java.lang.String getAliases(int index) {
259262
*
260263
*
261264
* <pre>
265+
* Unimplemented. Dot not use.
262266
* DEPRECATED: This field is no longer supported. Instead of using aliases,
263267
* please specify multiple [google.api.Endpoint][google.api.Endpoint] for each of the intended
264268
* aliases.
@@ -863,6 +867,7 @@ private void ensureAliasesIsMutable() {
863867
*
864868
*
865869
* <pre>
870+
* Unimplemented. Dot not use.
866871
* DEPRECATED: This field is no longer supported. Instead of using aliases,
867872
* please specify multiple [google.api.Endpoint][google.api.Endpoint] for each of the intended
868873
* aliases.
@@ -881,6 +886,7 @@ public com.google.protobuf.ProtocolStringList getAliasesList() {
881886
*
882887
*
883888
* <pre>
889+
* Unimplemented. Dot not use.
884890
* DEPRECATED: This field is no longer supported. Instead of using aliases,
885891
* please specify multiple [google.api.Endpoint][google.api.Endpoint] for each of the intended
886892
* aliases.
@@ -899,6 +905,7 @@ public int getAliasesCount() {
899905
*
900906
*
901907
* <pre>
908+
* Unimplemented. Dot not use.
902909
* DEPRECATED: This field is no longer supported. Instead of using aliases,
903910
* please specify multiple [google.api.Endpoint][google.api.Endpoint] for each of the intended
904911
* aliases.
@@ -918,6 +925,7 @@ public java.lang.String getAliases(int index) {
918925
*
919926
*
920927
* <pre>
928+
* Unimplemented. Dot not use.
921929
* DEPRECATED: This field is no longer supported. Instead of using aliases,
922930
* please specify multiple [google.api.Endpoint][google.api.Endpoint] for each of the intended
923931
* aliases.
@@ -937,6 +945,7 @@ public com.google.protobuf.ByteString getAliasesBytes(int index) {
937945
*
938946
*
939947
* <pre>
948+
* Unimplemented. Dot not use.
940949
* DEPRECATED: This field is no longer supported. Instead of using aliases,
941950
* please specify multiple [google.api.Endpoint][google.api.Endpoint] for each of the intended
942951
* aliases.
@@ -963,6 +972,7 @@ public Builder setAliases(int index, java.lang.String value) {
963972
*
964973
*
965974
* <pre>
975+
* Unimplemented. Dot not use.
966976
* DEPRECATED: This field is no longer supported. Instead of using aliases,
967977
* please specify multiple [google.api.Endpoint][google.api.Endpoint] for each of the intended
968978
* aliases.
@@ -988,6 +998,7 @@ public Builder addAliases(java.lang.String value) {
988998
*
989999
*
9901000
* <pre>
1001+
* Unimplemented. Dot not use.
9911002
* DEPRECATED: This field is no longer supported. Instead of using aliases,
9921003
* please specify multiple [google.api.Endpoint][google.api.Endpoint] for each of the intended
9931004
* aliases.
@@ -1010,6 +1021,7 @@ public Builder addAllAliases(java.lang.Iterable<java.lang.String> values) {
10101021
*
10111022
*
10121023
* <pre>
1024+
* Unimplemented. Dot not use.
10131025
* DEPRECATED: This field is no longer supported. Instead of using aliases,
10141026
* please specify multiple [google.api.Endpoint][google.api.Endpoint] for each of the intended
10151027
* aliases.
@@ -1031,6 +1043,7 @@ public Builder clearAliases() {
10311043
*
10321044
*
10331045
* <pre>
1046+
* Unimplemented. Dot not use.
10341047
* DEPRECATED: This field is no longer supported. Instead of using aliases,
10351048
* please specify multiple [google.api.Endpoint][google.api.Endpoint] for each of the intended
10361049
* aliases.

proto-google-common-protos/src/main/java/com/google/api/EndpointOrBuilder.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ public interface EndpointOrBuilder
5252
*
5353
*
5454
* <pre>
55+
* Unimplemented. Dot not use.
5556
* DEPRECATED: This field is no longer supported. Instead of using aliases,
5657
* please specify multiple [google.api.Endpoint][google.api.Endpoint] for each of the intended
5758
* aliases.
@@ -68,6 +69,7 @@ public interface EndpointOrBuilder
6869
*
6970
*
7071
* <pre>
72+
* Unimplemented. Dot not use.
7173
* DEPRECATED: This field is no longer supported. Instead of using aliases,
7274
* please specify multiple [google.api.Endpoint][google.api.Endpoint] for each of the intended
7375
* aliases.
@@ -84,6 +86,7 @@ public interface EndpointOrBuilder
8486
*
8587
*
8688
* <pre>
89+
* Unimplemented. Dot not use.
8790
* DEPRECATED: This field is no longer supported. Instead of using aliases,
8891
* please specify multiple [google.api.Endpoint][google.api.Endpoint] for each of the intended
8992
* aliases.
@@ -101,6 +104,7 @@ public interface EndpointOrBuilder
101104
*
102105
*
103106
* <pre>
107+
* Unimplemented. Dot not use.
104108
* DEPRECATED: This field is no longer supported. Instead of using aliases,
105109
* please specify multiple [google.api.Endpoint][google.api.Endpoint] for each of the intended
106110
* aliases.

proto-google-common-protos/src/main/java/com/google/api/Logging.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,14 @@
3030
* monitored_resources:
3131
* - type: library.googleapis.com/branch
3232
* labels:
33-
* - key: city
33+
* - key: /city
3434
* description: The city where the library branch is located in.
35-
* - key: name
35+
* - key: /name
3636
* description: The name of the branch.
3737
* logs:
3838
* - name: activity_history
3939
* labels:
40-
* - key: customer_id
40+
* - key: /customer_id
4141
* - name: purchase_history
4242
* logging:
4343
* producer_destinations:
@@ -1556,14 +1556,14 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
15561556
* monitored_resources:
15571557
* - type: library.googleapis.com/branch
15581558
* labels:
1559-
* - key: city
1559+
* - key: /city
15601560
* description: The city where the library branch is located in.
1561-
* - key: name
1561+
* - key: /name
15621562
* description: The name of the branch.
15631563
* logs:
15641564
* - name: activity_history
15651565
* labels:
1566-
* - key: customer_id
1566+
* - key: /customer_id
15671567
* - name: purchase_history
15681568
* logging:
15691569
* producer_destinations:

0 commit comments

Comments
 (0)