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

Commit a79eaa9

Browse files
feat: Refactored Elliptic Key curves to provide additional options, the NamedCurve enum is replaced by the EcKeyType message (#158)
PiperOrigin-RevId: 368757092 Source-Link: googleapis/googleapis@b1c23ed Source-Link: https://github.com/googleapis/googleapis-gen/commit/bc6d9ba6905ab00b99f44cd31f50349e5e3b9f11
1 parent 0335f56 commit a79eaa9

78 files changed

Lines changed: 3593 additions & 3625 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

google-cloud-security-private-ca/src/main/java/com/google/cloud/security/privateca/v1/CertificateAuthorityServiceClient.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -203,8 +203,8 @@ public final OperationsClient getOperationsClient() {
203203
* @param certificateId Optional. It must be unique within a location and match the regular
204204
* expression `[a-zA-Z0-9_-]{1,63}`. This field is required when using a
205205
* [CertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthority] in the
206-
* Enterprise [CaPool.Tier][google.cloud.security.privateca.v1.CaPool.Tier], but is optional
207-
* and its value is ignored otherwise.
206+
* Enterprise [CertificateAuthority.Tier][], but is optional and its value is ignored
207+
* otherwise.
208208
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
209209
*/
210210
public final Certificate createCertificate(
@@ -245,8 +245,8 @@ public final Certificate createCertificate(
245245
* @param certificateId Optional. It must be unique within a location and match the regular
246246
* expression `[a-zA-Z0-9_-]{1,63}`. This field is required when using a
247247
* [CertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthority] in the
248-
* Enterprise [CaPool.Tier][google.cloud.security.privateca.v1.CaPool.Tier], but is optional
249-
* and its value is ignored otherwise.
248+
* Enterprise [CertificateAuthority.Tier][], but is optional and its value is ignored
249+
* otherwise.
250250
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
251251
*/
252252
public final Certificate createCertificate(

grpc-google-cloud-security-private-ca-v1/src/main/java/com/google/cloud/security/privateca/v1/CertificateAuthorityServiceGrpc.java

Lines changed: 130 additions & 259 deletions
Large diffs are not rendered by default.

proto-google-cloud-security-private-ca-v1/clirr-ignored-differences.xml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,30 @@
1616
<className>com/google/cloud/security/privateca/v1/*OrBuilder</className>
1717
<method>boolean has*(*)</method>
1818
</difference>
19+
<difference>
20+
<differenceType>7006</differenceType>
21+
<className>com/google/cloud/security/privateca/v1/CaPool*</className>
22+
<method>* getEllipticCurve*(*)</method>
23+
<to>com.google.cloud.security.privateca.v1.CaPool$IssuancePolicy$AllowedKeyType$EcKeyType</to>
24+
</difference>
25+
<difference>
26+
<differenceType>7005</differenceType>
27+
<className>com/google/cloud/security/privateca/v1/CaPool$IssuancePolicy$AllowedKeyType$Builder</className>
28+
<method>* setEllipticCurve(*)</method>
29+
<to>* setEllipticCurve(*)</to>
30+
</difference>
31+
<difference>
32+
<differenceType>7002</differenceType>
33+
<className>com/google/cloud/security/privateca/v1/CaPool*</className>
34+
<method>* getEllipticCurve*(*)</method>
35+
</difference>
36+
<difference>
37+
<differenceType>7002</differenceType>
38+
<className>com/google/cloud/security/privateca/v1/CaPool*</className>
39+
<method>* setEllipticCurve*(*)</method>
40+
</difference>
41+
<difference>
42+
<differenceType>8001</differenceType>
43+
<className>com/google/cloud/security/privateca/v1/CaPool$IssuancePolicy$AllowedKeyType$NamedCurve</className>
44+
</difference>
1945
</differences>

proto-google-cloud-security-private-ca-v1/src/main/java/com/google/cloud/security/privateca/v1/ActivateCertificateAuthorityRequest.java

Lines changed: 66 additions & 73 deletions
Original file line numberDiff line numberDiff line change
@@ -154,9 +154,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
154154
*
155155
*
156156
* <pre>
157-
* Required. The resource name for this
158-
* [CertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthority]
159-
* in the format `projects/&#42;&#47;locations/&#42;&#47;caPools/&#42;&#47;certificateAuthorities/&#42;`.
157+
* Required. The resource name for this [CertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthority] in the
158+
* format `projects/&#42;&#47;locations/&#42;&#47;caPools/&#42;&#47;certificateAuthorities/&#42;`.
160159
* </pre>
161160
*
162161
* <code>
@@ -181,9 +180,8 @@ public java.lang.String getName() {
181180
*
182181
*
183182
* <pre>
184-
* Required. The resource name for this
185-
* [CertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthority]
186-
* in the format `projects/&#42;&#47;locations/&#42;&#47;caPools/&#42;&#47;certificateAuthorities/&#42;`.
183+
* Required. The resource name for this [CertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthority] in the
184+
* format `projects/&#42;&#47;locations/&#42;&#47;caPools/&#42;&#47;certificateAuthorities/&#42;`.
187185
* </pre>
188186
*
189187
* <code>
@@ -262,8 +260,8 @@ public com.google.protobuf.ByteString getPemCaCertificateBytes() {
262260
*
263261
*
264262
* <pre>
265-
* Required. Must include information about the issuer of
266-
* 'pem_ca_certificate', and any further issuers until the self-signed CA.
263+
* Required. Must include information about the issuer of 'pem_ca_certificate', and any
264+
* further issuers until the self-signed CA.
267265
* </pre>
268266
*
269267
* <code>
@@ -280,8 +278,8 @@ public boolean hasSubordinateConfig() {
280278
*
281279
*
282280
* <pre>
283-
* Required. Must include information about the issuer of
284-
* 'pem_ca_certificate', and any further issuers until the self-signed CA.
281+
* Required. Must include information about the issuer of 'pem_ca_certificate', and any
282+
* further issuers until the self-signed CA.
285283
* </pre>
286284
*
287285
* <code>
@@ -300,8 +298,8 @@ public com.google.cloud.security.privateca.v1.SubordinateConfig getSubordinateCo
300298
*
301299
*
302300
* <pre>
303-
* Required. Must include information about the issuer of
304-
* 'pem_ca_certificate', and any further issuers until the self-signed CA.
301+
* Required. Must include information about the issuer of 'pem_ca_certificate', and any
302+
* further issuers until the self-signed CA.
305303
* </pre>
306304
*
307305
* <code>
@@ -320,10 +318,10 @@ public com.google.cloud.security.privateca.v1.SubordinateConfig getSubordinateCo
320318
*
321319
*
322320
* <pre>
323-
* Optional. An ID to identify requests. Specify a unique request ID so that
324-
* if you must retry your request, the server will know to ignore the request
325-
* if it has already been completed. The server will guarantee that for at
326-
* least 60 minutes since the first request.
321+
* Optional. An ID to identify requests. Specify a unique request ID so that if you must
322+
* retry your request, the server will know to ignore the request if it has
323+
* already been completed. The server will guarantee that for at least 60
324+
* minutes since the first request.
327325
* For example, consider a situation where you make an initial request and t
328326
* he request times out. If you make the request again with the same request
329327
* ID, the server can check if original operation with the same request ID
@@ -353,10 +351,10 @@ public java.lang.String getRequestId() {
353351
*
354352
*
355353
* <pre>
356-
* Optional. An ID to identify requests. Specify a unique request ID so that
357-
* if you must retry your request, the server will know to ignore the request
358-
* if it has already been completed. The server will guarantee that for at
359-
* least 60 minutes since the first request.
354+
* Optional. An ID to identify requests. Specify a unique request ID so that if you must
355+
* retry your request, the server will know to ignore the request if it has
356+
* already been completed. The server will guarantee that for at least 60
357+
* minutes since the first request.
360358
* For example, consider a situation where you make an initial request and t
361359
* he request times out. If you make the request again with the same request
362360
* ID, the server can check if original operation with the same request ID
@@ -787,9 +785,8 @@ public Builder mergeFrom(
787785
*
788786
*
789787
* <pre>
790-
* Required. The resource name for this
791-
* [CertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthority]
792-
* in the format `projects/&#42;&#47;locations/&#42;&#47;caPools/&#42;&#47;certificateAuthorities/&#42;`.
788+
* Required. The resource name for this [CertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthority] in the
789+
* format `projects/&#42;&#47;locations/&#42;&#47;caPools/&#42;&#47;certificateAuthorities/&#42;`.
793790
* </pre>
794791
*
795792
* <code>
@@ -813,9 +810,8 @@ public java.lang.String getName() {
813810
*
814811
*
815812
* <pre>
816-
* Required. The resource name for this
817-
* [CertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthority]
818-
* in the format `projects/&#42;&#47;locations/&#42;&#47;caPools/&#42;&#47;certificateAuthorities/&#42;`.
813+
* Required. The resource name for this [CertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthority] in the
814+
* format `projects/&#42;&#47;locations/&#42;&#47;caPools/&#42;&#47;certificateAuthorities/&#42;`.
819815
* </pre>
820816
*
821817
* <code>
@@ -839,9 +835,8 @@ public com.google.protobuf.ByteString getNameBytes() {
839835
*
840836
*
841837
* <pre>
842-
* Required. The resource name for this
843-
* [CertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthority]
844-
* in the format `projects/&#42;&#47;locations/&#42;&#47;caPools/&#42;&#47;certificateAuthorities/&#42;`.
838+
* Required. The resource name for this [CertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthority] in the
839+
* format `projects/&#42;&#47;locations/&#42;&#47;caPools/&#42;&#47;certificateAuthorities/&#42;`.
845840
* </pre>
846841
*
847842
* <code>
@@ -864,9 +859,8 @@ public Builder setName(java.lang.String value) {
864859
*
865860
*
866861
* <pre>
867-
* Required. The resource name for this
868-
* [CertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthority]
869-
* in the format `projects/&#42;&#47;locations/&#42;&#47;caPools/&#42;&#47;certificateAuthorities/&#42;`.
862+
* Required. The resource name for this [CertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthority] in the
863+
* format `projects/&#42;&#47;locations/&#42;&#47;caPools/&#42;&#47;certificateAuthorities/&#42;`.
870864
* </pre>
871865
*
872866
* <code>
@@ -885,9 +879,8 @@ public Builder clearName() {
885879
*
886880
*
887881
* <pre>
888-
* Required. The resource name for this
889-
* [CertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthority]
890-
* in the format `projects/&#42;&#47;locations/&#42;&#47;caPools/&#42;&#47;certificateAuthorities/&#42;`.
882+
* Required. The resource name for this [CertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthority] in the
883+
* format `projects/&#42;&#47;locations/&#42;&#47;caPools/&#42;&#47;certificateAuthorities/&#42;`.
891884
* </pre>
892885
*
893886
* <code>
@@ -1029,8 +1022,8 @@ public Builder setPemCaCertificateBytes(com.google.protobuf.ByteString value) {
10291022
*
10301023
*
10311024
* <pre>
1032-
* Required. Must include information about the issuer of
1033-
* 'pem_ca_certificate', and any further issuers until the self-signed CA.
1025+
* Required. Must include information about the issuer of 'pem_ca_certificate', and any
1026+
* further issuers until the self-signed CA.
10341027
* </pre>
10351028
*
10361029
* <code>
@@ -1046,8 +1039,8 @@ public boolean hasSubordinateConfig() {
10461039
*
10471040
*
10481041
* <pre>
1049-
* Required. Must include information about the issuer of
1050-
* 'pem_ca_certificate', and any further issuers until the self-signed CA.
1042+
* Required. Must include information about the issuer of 'pem_ca_certificate', and any
1043+
* further issuers until the self-signed CA.
10511044
* </pre>
10521045
*
10531046
* <code>
@@ -1069,8 +1062,8 @@ public com.google.cloud.security.privateca.v1.SubordinateConfig getSubordinateCo
10691062
*
10701063
*
10711064
* <pre>
1072-
* Required. Must include information about the issuer of
1073-
* 'pem_ca_certificate', and any further issuers until the self-signed CA.
1065+
* Required. Must include information about the issuer of 'pem_ca_certificate', and any
1066+
* further issuers until the self-signed CA.
10741067
* </pre>
10751068
*
10761069
* <code>
@@ -1095,8 +1088,8 @@ public Builder setSubordinateConfig(
10951088
*
10961089
*
10971090
* <pre>
1098-
* Required. Must include information about the issuer of
1099-
* 'pem_ca_certificate', and any further issuers until the self-signed CA.
1091+
* Required. Must include information about the issuer of 'pem_ca_certificate', and any
1092+
* further issuers until the self-signed CA.
11001093
* </pre>
11011094
*
11021095
* <code>
@@ -1118,8 +1111,8 @@ public Builder setSubordinateConfig(
11181111
*
11191112
*
11201113
* <pre>
1121-
* Required. Must include information about the issuer of
1122-
* 'pem_ca_certificate', and any further issuers until the self-signed CA.
1114+
* Required. Must include information about the issuer of 'pem_ca_certificate', and any
1115+
* further issuers until the self-signed CA.
11231116
* </pre>
11241117
*
11251118
* <code>
@@ -1149,8 +1142,8 @@ public Builder mergeSubordinateConfig(
11491142
*
11501143
*
11511144
* <pre>
1152-
* Required. Must include information about the issuer of
1153-
* 'pem_ca_certificate', and any further issuers until the self-signed CA.
1145+
* Required. Must include information about the issuer of 'pem_ca_certificate', and any
1146+
* further issuers until the self-signed CA.
11541147
* </pre>
11551148
*
11561149
* <code>
@@ -1172,8 +1165,8 @@ public Builder clearSubordinateConfig() {
11721165
*
11731166
*
11741167
* <pre>
1175-
* Required. Must include information about the issuer of
1176-
* 'pem_ca_certificate', and any further issuers until the self-signed CA.
1168+
* Required. Must include information about the issuer of 'pem_ca_certificate', and any
1169+
* further issuers until the self-signed CA.
11771170
* </pre>
11781171
*
11791172
* <code>
@@ -1190,8 +1183,8 @@ public Builder clearSubordinateConfig() {
11901183
*
11911184
*
11921185
* <pre>
1193-
* Required. Must include information about the issuer of
1194-
* 'pem_ca_certificate', and any further issuers until the self-signed CA.
1186+
* Required. Must include information about the issuer of 'pem_ca_certificate', and any
1187+
* further issuers until the self-signed CA.
11951188
* </pre>
11961189
*
11971190
* <code>
@@ -1212,8 +1205,8 @@ public Builder clearSubordinateConfig() {
12121205
*
12131206
*
12141207
* <pre>
1215-
* Required. Must include information about the issuer of
1216-
* 'pem_ca_certificate', and any further issuers until the self-signed CA.
1208+
* Required. Must include information about the issuer of 'pem_ca_certificate', and any
1209+
* further issuers until the self-signed CA.
12171210
* </pre>
12181211
*
12191212
* <code>
@@ -1242,10 +1235,10 @@ public Builder clearSubordinateConfig() {
12421235
*
12431236
*
12441237
* <pre>
1245-
* Optional. An ID to identify requests. Specify a unique request ID so that
1246-
* if you must retry your request, the server will know to ignore the request
1247-
* if it has already been completed. The server will guarantee that for at
1248-
* least 60 minutes since the first request.
1238+
* Optional. An ID to identify requests. Specify a unique request ID so that if you must
1239+
* retry your request, the server will know to ignore the request if it has
1240+
* already been completed. The server will guarantee that for at least 60
1241+
* minutes since the first request.
12491242
* For example, consider a situation where you make an initial request and t
12501243
* he request times out. If you make the request again with the same request
12511244
* ID, the server can check if original operation with the same request ID
@@ -1274,10 +1267,10 @@ public java.lang.String getRequestId() {
12741267
*
12751268
*
12761269
* <pre>
1277-
* Optional. An ID to identify requests. Specify a unique request ID so that
1278-
* if you must retry your request, the server will know to ignore the request
1279-
* if it has already been completed. The server will guarantee that for at
1280-
* least 60 minutes since the first request.
1270+
* Optional. An ID to identify requests. Specify a unique request ID so that if you must
1271+
* retry your request, the server will know to ignore the request if it has
1272+
* already been completed. The server will guarantee that for at least 60
1273+
* minutes since the first request.
12811274
* For example, consider a situation where you make an initial request and t
12821275
* he request times out. If you make the request again with the same request
12831276
* ID, the server can check if original operation with the same request ID
@@ -1306,10 +1299,10 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
13061299
*
13071300
*
13081301
* <pre>
1309-
* Optional. An ID to identify requests. Specify a unique request ID so that
1310-
* if you must retry your request, the server will know to ignore the request
1311-
* if it has already been completed. The server will guarantee that for at
1312-
* least 60 minutes since the first request.
1302+
* Optional. An ID to identify requests. Specify a unique request ID so that if you must
1303+
* retry your request, the server will know to ignore the request if it has
1304+
* already been completed. The server will guarantee that for at least 60
1305+
* minutes since the first request.
13131306
* For example, consider a situation where you make an initial request and t
13141307
* he request times out. If you make the request again with the same request
13151308
* ID, the server can check if original operation with the same request ID
@@ -1337,10 +1330,10 @@ public Builder setRequestId(java.lang.String value) {
13371330
*
13381331
*
13391332
* <pre>
1340-
* Optional. An ID to identify requests. Specify a unique request ID so that
1341-
* if you must retry your request, the server will know to ignore the request
1342-
* if it has already been completed. The server will guarantee that for at
1343-
* least 60 minutes since the first request.
1333+
* Optional. An ID to identify requests. Specify a unique request ID so that if you must
1334+
* retry your request, the server will know to ignore the request if it has
1335+
* already been completed. The server will guarantee that for at least 60
1336+
* minutes since the first request.
13441337
* For example, consider a situation where you make an initial request and t
13451338
* he request times out. If you make the request again with the same request
13461339
* ID, the server can check if original operation with the same request ID
@@ -1364,10 +1357,10 @@ public Builder clearRequestId() {
13641357
*
13651358
*
13661359
* <pre>
1367-
* Optional. An ID to identify requests. Specify a unique request ID so that
1368-
* if you must retry your request, the server will know to ignore the request
1369-
* if it has already been completed. The server will guarantee that for at
1370-
* least 60 minutes since the first request.
1360+
* Optional. An ID to identify requests. Specify a unique request ID so that if you must
1361+
* retry your request, the server will know to ignore the request if it has
1362+
* already been completed. The server will guarantee that for at least 60
1363+
* minutes since the first request.
13711364
* For example, consider a situation where you make an initial request and t
13721365
* he request times out. If you make the request again with the same request
13731366
* ID, the server can check if original operation with the same request ID

0 commit comments

Comments
 (0)