Skip to content

Commit

Permalink
chore: [apikeys] reformatted protos (#9840)
Browse files Browse the repository at this point in the history
* chore: reformatted protos

PiperOrigin-RevId: 565767523

Source-Link: googleapis/googleapis@af71d9c

Source-Link: https://github.com/googleapis/googleapis-gen/commit/d707ee5d837b1889d4c2d0505260a7f6422ba673
Copy-Tag: eyJwIjoiamF2YS1hcGlrZXlzLy5Pd2xCb3QueWFtbCIsImgiOiJkNzA3ZWU1ZDgzN2IxODg5ZDRjMmQwNTA1MjYwYTdmNjQyMmJhNjczIn0=

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

---------

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
  • Loading branch information
gcf-owl-bot[bot] and gcf-owl-bot[bot] authored Sep 21, 2023
1 parent 59426b1 commit b2c5664
Show file tree
Hide file tree
Showing 6 changed files with 152 additions and 146 deletions.
4 changes: 2 additions & 2 deletions java-apikeys/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file:
<dependency>
<groupId>com.google.cloud</groupId>
<artifactId>libraries-bom</artifactId>
<version>26.22.0</version>
<version>26.23.0</version>
<type>pom</type>
<scope>import</scope>
</dependency>
Expand Down Expand Up @@ -201,7 +201,7 @@ Java is a registered trademark of Oracle and/or its affiliates.
[kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html
[stability-image]: https://img.shields.io/badge/stability-preview-yellow
[maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-apikeys.svg
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-apikeys/0.21.0
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-apikeys/0.22.0
[authentication]: https://github.com/googleapis/google-cloud-java#authentication
[auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes
[predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,73 +86,73 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "ces.proto\032\027google/api/client.proto\032\037goog"
+ "le/api/field_behavior.proto\032\031google/api/"
+ "resource.proto\032#google/longrunning/opera"
+ "tions.proto\032 google/protobuf/field_mask."
+ "proto\"\206\001\n\020CreateKeyRequest\0223\n\006parent\030\001 \001"
+ "(\tB#\342A\001\002\372A\034\022\032apikeys.googleapis.com/Key\022"
+ "-\n\003key\030\002 \001(\0132\032.google.api.apikeys.v2.Key"
+ "B\004\342A\001\002\022\016\n\006key_id\030\003 \001(\t\"\225\001\n\017ListKeysReque"
+ "st\0223\n\006parent\030\001 \001(\tB#\342A\001\002\372A\034\022\032apikeys.goo"
+ "gleapis.com/Key\022\027\n\tpage_size\030\002 \001(\005B\004\342A\001\001"
+ "\022\030\n\npage_token\030\003 \001(\tB\004\342A\001\001\022\032\n\014show_delet"
+ "ed\030\006 \001(\010B\004\342A\001\001\"U\n\020ListKeysResponse\022(\n\004ke"
+ "ys\030\001 \003(\0132\032.google.api.apikeys.v2.Key\022\027\n\017"
+ "next_page_token\030\002 \001(\t\"B\n\rGetKeyRequest\0221"
+ "\n\004name\030\001 \001(\tB#\342A\001\002\372A\034\n\032apikeys.googleapi"
+ "s.com/Key\"H\n\023GetKeyStringRequest\0221\n\004name"
+ "\030\001 \001(\tB#\342A\001\002\372A\034\n\032apikeys.googleapis.com/"
+ "Key\"*\n\024GetKeyStringResponse\022\022\n\nkey_strin"
+ "g\030\001 \001(\t\"r\n\020UpdateKeyRequest\022-\n\003key\030\001 \001(\013"
+ "2\032.google.api.apikeys.v2.KeyB\004\342A\001\002\022/\n\013up"
+ "date_mask\030\002 \001(\0132\032.google.protobuf.FieldM"
+ "ask\"Y\n\020DeleteKeyRequest\0221\n\004name\030\001 \001(\tB#\342"
+ "A\001\002\372A\034\n\032apikeys.googleapis.com/Key\022\022\n\004et"
+ "ag\030\002 \001(\tB\004\342A\001\001\"G\n\022UndeleteKeyRequest\0221\n\004"
+ "name\030\001 \001(\tB#\342A\001\002\372A\034\n\032apikeys.googleapis."
+ "com/Key\",\n\020LookupKeyRequest\022\030\n\nkey_strin"
+ "g\030\001 \001(\tB\004\342A\001\002\"1\n\021LookupKeyResponse\022\016\n\006pa"
+ "rent\030\001 \001(\t\022\014\n\004name\030\002 \001(\t2\276\013\n\007ApiKeys\022\275\001\n"
+ "\tCreateKey\022\'.google.api.apikeys.v2.Creat"
+ "eKeyRequest\032\035.google.longrunning.Operati"
+ "on\"h\312A\034\n\003Key\022\025google.protobuf.Empty\332A\021pa"
+ "rent,key,key_id\202\323\344\223\002/\"(/v2/{parent=proje"
+ "cts/*/locations/*}/keys:\003key\022\226\001\n\010ListKey"
+ "s\022&.google.api.apikeys.v2.ListKeysReques"
+ "t\032\'.google.api.apikeys.v2.ListKeysRespon"
+ "se\"9\332A\006parent\202\323\344\223\002*\022(/v2/{parent=project"
+ "s/*/locations/*}/keys\022\203\001\n\006GetKey\022$.googl"
+ "e.api.apikeys.v2.GetKeyRequest\032\032.google."
+ "api.apikeys.v2.Key\"7\332A\004name\202\323\344\223\002*\022(/v2/{"
+ "name=projects/*/locations/*/keys/*}\022\252\001\n\014"
+ "GetKeyString\022*.google.api.apikeys.v2.Get"
+ "KeyStringRequest\032+.google.api.apikeys.v2"
+ ".GetKeyStringResponse\"A\332A\004name\202\323\344\223\0024\0222/v"
+ "2/{name=projects/*/locations/*/keys/*}/k"
+ "eyString\022\277\001\n\tUpdateKey\022\'.google.api.apik"
+ "eys.v2.UpdateKeyRequest\032\035.google.longrun"
+ "ning.Operation\"j\312A\034\n\003Key\022\025google.protobu"
+ "f.Empty\332A\017key,update_mask\202\323\344\223\00232,/v2/{ke"
+ "y.name=projects/*/locations/*/keys/*}:\003k"
+ "ey\022\253\001\n\tDeleteKey\022\'.google.api.apikeys.v2"
+ ".DeleteKeyRequest\032\035.google.longrunning.O"
+ "peration\"V\312A\034\n\003Key\022\025google.protobuf.Empt"
+ "y\332A\004name\202\323\344\223\002**(/v2/{name=projects/*/loc"
+ "ations/*/keys/*}\022\264\001\n\013UndeleteKey\022).googl"
+ "e.api.apikeys.v2.UndeleteKeyRequest\032\035.go"
+ "ogle.longrunning.Operation\"[\312A\034\n\003Key\022\025go"
+ "ogle.protobuf.Empty\202\323\344\223\0026\"1/v2/{name=pro"
+ "jects/*/locations/*/keys/*}:undelete:\001*\022"
+ "z\n\tLookupKey\022\'.google.api.apikeys.v2.Loo"
+ "kupKeyRequest\032(.google.api.apikeys.v2.Lo"
+ "okupKeyResponse\"\032\202\323\344\223\002\024\022\022/v2/keys:lookup"
+ "Key\032\203\001\312A\026apikeys.googleapis.com\322Aghttps:"
+ "//www.googleapis.com/auth/cloud-platform"
+ ",https://www.googleapis.com/auth/cloud-p"
+ "latform.read-onlyB\263\001\n\031com.google.api.api"
+ "keys.v2B\014ApiKeysProtoP\001Z5cloud.google.co"
+ "m/go/apikeys/apiv2/apikeyspb;apikeyspb\252\002"
+ "\027Google.Cloud.ApiKeys.V2\312\002\027Google\\Cloud\\"
+ "ApiKeys\\V2\352\002\032Google::Cloud::ApiKeys::V2b"
+ "\006proto3"
+ "tions.proto\032\033google/protobuf/empty.proto"
+ "\032 google/protobuf/field_mask.proto\"\206\001\n\020C"
+ "reateKeyRequest\0223\n\006parent\030\001 \001(\tB#\342A\001\002\372A\034"
+ "\022\032apikeys.googleapis.com/Key\022-\n\003key\030\002 \001("
+ "\0132\032.google.api.apikeys.v2.KeyB\004\342A\001\002\022\016\n\006k"
+ "ey_id\030\003 \001(\t\"\225\001\n\017ListKeysRequest\0223\n\006paren"
+ "t\030\001 \001(\tB#\342A\001\002\372A\034\022\032apikeys.googleapis.com"
+ "/Key\022\027\n\tpage_size\030\002 \001(\005B\004\342A\001\001\022\030\n\npage_to"
+ "ken\030\003 \001(\tB\004\342A\001\001\022\032\n\014show_deleted\030\006 \001(\010B\004\342"
+ "A\001\001\"U\n\020ListKeysResponse\022(\n\004keys\030\001 \003(\0132\032."
+ "google.api.apikeys.v2.Key\022\027\n\017next_page_t"
+ "oken\030\002 \001(\t\"B\n\rGetKeyRequest\0221\n\004name\030\001 \001("
+ "\tB#\342A\001\002\372A\034\n\032apikeys.googleapis.com/Key\"H"
+ "\n\023GetKeyStringRequest\0221\n\004name\030\001 \001(\tB#\342A\001"
+ "\002\372A\034\n\032apikeys.googleapis.com/Key\"*\n\024GetK"
+ "eyStringResponse\022\022\n\nkey_string\030\001 \001(\t\"r\n\020"
+ "UpdateKeyRequest\022-\n\003key\030\001 \001(\0132\032.google.a"
+ "pi.apikeys.v2.KeyB\004\342A\001\002\022/\n\013update_mask\030\002"
+ " \001(\0132\032.google.protobuf.FieldMask\"Y\n\020Dele"
+ "teKeyRequest\0221\n\004name\030\001 \001(\tB#\342A\001\002\372A\034\n\032api"
+ "keys.googleapis.com/Key\022\022\n\004etag\030\002 \001(\tB\004\342"
+ "A\001\001\"G\n\022UndeleteKeyRequest\0221\n\004name\030\001 \001(\tB"
+ "#\342A\001\002\372A\034\n\032apikeys.googleapis.com/Key\",\n\020"
+ "LookupKeyRequest\022\030\n\nkey_string\030\001 \001(\tB\004\342A"
+ "\001\002\"1\n\021LookupKeyResponse\022\016\n\006parent\030\001 \001(\t\022"
+ "\014\n\004name\030\002 \001(\t2\276\013\n\007ApiKeys\022\275\001\n\tCreateKey\022"
+ "\'.google.api.apikeys.v2.CreateKeyRequest"
+ "\032\035.google.longrunning.Operation\"h\312A\034\n\003Ke"
+ "y\022\025google.protobuf.Empty\332A\021parent,key,ke"
+ "y_id\202\323\344\223\002/\"(/v2/{parent=projects/*/locat"
+ "ions/*}/keys:\003key\022\226\001\n\010ListKeys\022&.google."
+ "api.apikeys.v2.ListKeysRequest\032\'.google."
+ "api.apikeys.v2.ListKeysResponse\"9\332A\006pare"
+ "nt\202\323\344\223\002*\022(/v2/{parent=projects/*/locatio"
+ "ns/*}/keys\022\203\001\n\006GetKey\022$.google.api.apike"
+ "ys.v2.GetKeyRequest\032\032.google.api.apikeys"
+ ".v2.Key\"7\332A\004name\202\323\344\223\002*\022(/v2/{name=projec"
+ "ts/*/locations/*/keys/*}\022\252\001\n\014GetKeyStrin"
+ "g\022*.google.api.apikeys.v2.GetKeyStringRe"
+ "quest\032+.google.api.apikeys.v2.GetKeyStri"
+ "ngResponse\"A\332A\004name\202\323\344\223\0024\0222/v2/{name=pro"
+ "jects/*/locations/*/keys/*}/keyString\022\277\001"
+ "\n\tUpdateKey\022\'.google.api.apikeys.v2.Upda"
+ "teKeyRequest\032\035.google.longrunning.Operat"
+ "ion\"j\312A\034\n\003Key\022\025google.protobuf.Empty\332A\017k"
+ "ey,update_mask\202\323\344\223\00232,/v2/{key.name=proj"
+ "ects/*/locations/*/keys/*}:\003key\022\253\001\n\tDele"
+ "teKey\022\'.google.api.apikeys.v2.DeleteKeyR"
+ "equest\032\035.google.longrunning.Operation\"V\312"
+ "A\034\n\003Key\022\025google.protobuf.Empty\332A\004name\202\323\344"
+ "\223\002**(/v2/{name=projects/*/locations/*/ke"
+ "ys/*}\022\264\001\n\013UndeleteKey\022).google.api.apike"
+ "ys.v2.UndeleteKeyRequest\032\035.google.longru"
+ "nning.Operation\"[\312A\034\n\003Key\022\025google.protob"
+ "uf.Empty\202\323\344\223\0026\"1/v2/{name=projects/*/loc"
+ "ations/*/keys/*}:undelete:\001*\022z\n\tLookupKe"
+ "y\022\'.google.api.apikeys.v2.LookupKeyReque"
+ "st\032(.google.api.apikeys.v2.LookupKeyResp"
+ "onse\"\032\202\323\344\223\002\024\022\022/v2/keys:lookupKey\032\203\001\312A\026ap"
+ "ikeys.googleapis.com\322Aghttps://www.googl"
+ "eapis.com/auth/cloud-platform,https://ww"
+ "w.googleapis.com/auth/cloud-platform.rea"
+ "d-onlyB\263\001\n\031com.google.api.apikeys.v2B\014Ap"
+ "iKeysProtoP\001Z5cloud.google.com/go/apikey"
+ "s/apiv2/apikeyspb;apikeyspb\252\002\027Google.Clo"
+ "ud.ApiKeys.V2\312\002\027Google\\Cloud\\ApiKeys\\V2\352"
+ "\002\032Google::Cloud::ApiKeys::V2b\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
Expand All @@ -164,6 +164,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
com.google.api.FieldBehaviorProto.getDescriptor(),
com.google.api.ResourceProto.getDescriptor(),
com.google.longrunning.OperationsProto.getDescriptor(),
com.google.protobuf.EmptyProto.getDescriptor(),
com.google.protobuf.FieldMaskProto.getDescriptor(),
});
internal_static_google_api_apikeys_v2_CreateKeyRequest_descriptor =
Expand Down Expand Up @@ -271,6 +272,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
com.google.api.FieldBehaviorProto.getDescriptor();
com.google.api.ResourceProto.getDescriptor();
com.google.longrunning.OperationsProto.getDescriptor();
com.google.protobuf.EmptyProto.getDescriptor();
com.google.protobuf.FieldMaskProto.getDescriptor();
}

Expand Down
Loading

0 comments on commit b2c5664

Please sign in to comment.