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

Commit 24f60bc

Browse files
feat!: remove CreateCertificateRevocationList, create/delete/updateReusableConfig methods (#33)
This PR was generated using Autosynth. 🌈 Synth log will be available here: https://source.cloud.google.com/results/invocations/7f78e411-cdf9-4f4d-9380-e4042f91684d/targets - [ ] To automatically regenerate this PR, check this box. PiperOrigin-RevId: 334847962 Source-Link: googleapis/googleapis@7ab31c7
1 parent 88ed71d commit 24f60bc

File tree

46 files changed

+909
-18670
lines changed

Some content is hidden

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

46 files changed

+909
-18670
lines changed
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!-- see http://www.mojohaus.org/clirr-maven-plugin/examples/ignored-differences.html -->
3+
<differences>
4+
<!-- TODO: remove after 0.2.0 is released -->
5+
<difference>
6+
<differenceType>7002</differenceType>
7+
<className>com/google/cloud/security/privateca/v1beta1/CertificateAuthorityService*</className>
8+
<method>* createCertificateRevocationList*(*)</method>
9+
</difference>
10+
<difference>
11+
<differenceType>7002</differenceType>
12+
<className>com/google/cloud/security/privateca/v1beta1/CertificateAuthorityService*</className>
13+
<method>* createReusableConfig*(*)</method>
14+
</difference>
15+
<difference>
16+
<differenceType>7002</differenceType>
17+
<className>com/google/cloud/security/privateca/v1beta1/CertificateAuthorityService*</className>
18+
<method>* deleteReusableConfig*(*)</method>
19+
</difference>
20+
<difference>
21+
<differenceType>7002</differenceType>
22+
<className>com/google/cloud/security/privateca/v1beta1/CertificateAuthorityService*</className>
23+
<method>* updateReusableConfig*(*)</method>
24+
</difference>
25+
<difference>
26+
<differenceType>7002</differenceType>
27+
<className>com/google/cloud/security/privateca/v1beta1/stub/*CertificateAuthorityService*</className>
28+
<method>* createCertificateRevocationList*(*)</method>
29+
</difference>
30+
<difference>
31+
<differenceType>7002</differenceType>
32+
<className>com/google/cloud/security/privateca/v1beta1/stub/*CertificateAuthorityService*</className>
33+
<method>* createReusableConfig*(*)</method>
34+
</difference>
35+
<difference>
36+
<differenceType>7002</differenceType>
37+
<className>com/google/cloud/security/privateca/v1beta1/stub/*CertificateAuthorityService*</className>
38+
<method>* deleteReusableConfig*(*)</method>
39+
</difference>
40+
<difference>
41+
<differenceType>7002</differenceType>
42+
<className>com/google/cloud/security/privateca/v1beta1/stub/*CertificateAuthorityService*</className>
43+
<method>* updateReusableConfig*(*)</method>
44+
</difference>
45+
</differences>

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

Lines changed: 13 additions & 605 deletions
Large diffs are not rendered by default.

google-cloud-security-private-ca/src/main/java/com/google/cloud/security/privateca/v1beta1/CertificateAuthorityServiceSettings.java

Lines changed: 0 additions & 122 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@
3434
import com.google.api.gax.rpc.UnaryCallSettings;
3535
import com.google.cloud.security.privateca.v1beta1.stub.CertificateAuthorityServiceStubSettings;
3636
import com.google.longrunning.Operation;
37-
import com.google.protobuf.Empty;
3837
import java.io.IOException;
3938
import java.util.List;
4039
import javax.annotation.Generated;
@@ -248,23 +247,6 @@ public UnaryCallSettings<UpdateCertificateRequest, Certificate> updateCertificat
248247
.updateCertificateAuthorityOperationSettings();
249248
}
250249

251-
/** Returns the object with the settings used for calls to createCertificateRevocationList. */
252-
public UnaryCallSettings<CreateCertificateRevocationListRequest, Operation>
253-
createCertificateRevocationListSettings() {
254-
return ((CertificateAuthorityServiceStubSettings) getStubSettings())
255-
.createCertificateRevocationListSettings();
256-
}
257-
258-
/** Returns the object with the settings used for calls to createCertificateRevocationList. */
259-
@BetaApi(
260-
"The surface for long-running operations is not stable yet and may change in the future.")
261-
public OperationCallSettings<
262-
CreateCertificateRevocationListRequest, CertificateRevocationList, OperationMetadata>
263-
createCertificateRevocationListOperationSettings() {
264-
return ((CertificateAuthorityServiceStubSettings) getStubSettings())
265-
.createCertificateRevocationListOperationSettings();
266-
}
267-
268250
/** Returns the object with the settings used for calls to getCertificateRevocationList. */
269251
public UnaryCallSettings<GetCertificateRevocationListRequest, CertificateRevocationList>
270252
getCertificateRevocationListSettings() {
@@ -299,36 +281,6 @@ public UnaryCallSettings<UpdateCertificateRequest, Certificate> updateCertificat
299281
.updateCertificateRevocationListOperationSettings();
300282
}
301283

302-
/** Returns the object with the settings used for calls to createReusableConfig. */
303-
public UnaryCallSettings<CreateReusableConfigRequest, Operation> createReusableConfigSettings() {
304-
return ((CertificateAuthorityServiceStubSettings) getStubSettings())
305-
.createReusableConfigSettings();
306-
}
307-
308-
/** Returns the object with the settings used for calls to createReusableConfig. */
309-
@BetaApi(
310-
"The surface for long-running operations is not stable yet and may change in the future.")
311-
public OperationCallSettings<CreateReusableConfigRequest, ReusableConfig, OperationMetadata>
312-
createReusableConfigOperationSettings() {
313-
return ((CertificateAuthorityServiceStubSettings) getStubSettings())
314-
.createReusableConfigOperationSettings();
315-
}
316-
317-
/** Returns the object with the settings used for calls to deleteReusableConfig. */
318-
public UnaryCallSettings<DeleteReusableConfigRequest, Operation> deleteReusableConfigSettings() {
319-
return ((CertificateAuthorityServiceStubSettings) getStubSettings())
320-
.deleteReusableConfigSettings();
321-
}
322-
323-
/** Returns the object with the settings used for calls to deleteReusableConfig. */
324-
@BetaApi(
325-
"The surface for long-running operations is not stable yet and may change in the future.")
326-
public OperationCallSettings<DeleteReusableConfigRequest, Empty, OperationMetadata>
327-
deleteReusableConfigOperationSettings() {
328-
return ((CertificateAuthorityServiceStubSettings) getStubSettings())
329-
.deleteReusableConfigOperationSettings();
330-
}
331-
332284
/** Returns the object with the settings used for calls to getReusableConfig. */
333285
public UnaryCallSettings<GetReusableConfigRequest, ReusableConfig> getReusableConfigSettings() {
334286
return ((CertificateAuthorityServiceStubSettings) getStubSettings())
@@ -343,21 +295,6 @@ public UnaryCallSettings<GetReusableConfigRequest, ReusableConfig> getReusableCo
343295
.listReusableConfigsSettings();
344296
}
345297

346-
/** Returns the object with the settings used for calls to updateReusableConfig. */
347-
public UnaryCallSettings<UpdateReusableConfigRequest, Operation> updateReusableConfigSettings() {
348-
return ((CertificateAuthorityServiceStubSettings) getStubSettings())
349-
.updateReusableConfigSettings();
350-
}
351-
352-
/** Returns the object with the settings used for calls to updateReusableConfig. */
353-
@BetaApi(
354-
"The surface for long-running operations is not stable yet and may change in the future.")
355-
public OperationCallSettings<UpdateReusableConfigRequest, ReusableConfig, OperationMetadata>
356-
updateReusableConfigOperationSettings() {
357-
return ((CertificateAuthorityServiceStubSettings) getStubSettings())
358-
.updateReusableConfigOperationSettings();
359-
}
360-
361298
public static final CertificateAuthorityServiceSettings create(
362299
CertificateAuthorityServiceStubSettings stub) throws IOException {
363300
return new CertificateAuthorityServiceSettings.Builder(stub.toBuilder()).build();
@@ -617,21 +554,6 @@ public UnaryCallSettings.Builder<GetCertificateRequest, Certificate> getCertific
617554
return getStubSettingsBuilder().updateCertificateAuthorityOperationSettings();
618555
}
619556

620-
/** Returns the builder for the settings used for calls to createCertificateRevocationList. */
621-
public UnaryCallSettings.Builder<CreateCertificateRevocationListRequest, Operation>
622-
createCertificateRevocationListSettings() {
623-
return getStubSettingsBuilder().createCertificateRevocationListSettings();
624-
}
625-
626-
/** Returns the builder for the settings used for calls to createCertificateRevocationList. */
627-
@BetaApi(
628-
"The surface for long-running operations is not stable yet and may change in the future.")
629-
public OperationCallSettings.Builder<
630-
CreateCertificateRevocationListRequest, CertificateRevocationList, OperationMetadata>
631-
createCertificateRevocationListOperationSettings() {
632-
return getStubSettingsBuilder().createCertificateRevocationListOperationSettings();
633-
}
634-
635557
/** Returns the builder for the settings used for calls to getCertificateRevocationList. */
636558
public UnaryCallSettings.Builder<GetCertificateRevocationListRequest, CertificateRevocationList>
637559
getCertificateRevocationListSettings() {
@@ -662,35 +584,6 @@ public UnaryCallSettings.Builder<GetCertificateRequest, Certificate> getCertific
662584
return getStubSettingsBuilder().updateCertificateRevocationListOperationSettings();
663585
}
664586

665-
/** Returns the builder for the settings used for calls to createReusableConfig. */
666-
public UnaryCallSettings.Builder<CreateReusableConfigRequest, Operation>
667-
createReusableConfigSettings() {
668-
return getStubSettingsBuilder().createReusableConfigSettings();
669-
}
670-
671-
/** Returns the builder for the settings used for calls to createReusableConfig. */
672-
@BetaApi(
673-
"The surface for long-running operations is not stable yet and may change in the future.")
674-
public OperationCallSettings.Builder<
675-
CreateReusableConfigRequest, ReusableConfig, OperationMetadata>
676-
createReusableConfigOperationSettings() {
677-
return getStubSettingsBuilder().createReusableConfigOperationSettings();
678-
}
679-
680-
/** Returns the builder for the settings used for calls to deleteReusableConfig. */
681-
public UnaryCallSettings.Builder<DeleteReusableConfigRequest, Operation>
682-
deleteReusableConfigSettings() {
683-
return getStubSettingsBuilder().deleteReusableConfigSettings();
684-
}
685-
686-
/** Returns the builder for the settings used for calls to deleteReusableConfig. */
687-
@BetaApi(
688-
"The surface for long-running operations is not stable yet and may change in the future.")
689-
public OperationCallSettings.Builder<DeleteReusableConfigRequest, Empty, OperationMetadata>
690-
deleteReusableConfigOperationSettings() {
691-
return getStubSettingsBuilder().deleteReusableConfigOperationSettings();
692-
}
693-
694587
/** Returns the builder for the settings used for calls to getReusableConfig. */
695588
public UnaryCallSettings.Builder<GetReusableConfigRequest, ReusableConfig>
696589
getReusableConfigSettings() {
@@ -706,21 +599,6 @@ public UnaryCallSettings.Builder<GetCertificateRequest, Certificate> getCertific
706599
return getStubSettingsBuilder().listReusableConfigsSettings();
707600
}
708601

709-
/** Returns the builder for the settings used for calls to updateReusableConfig. */
710-
public UnaryCallSettings.Builder<UpdateReusableConfigRequest, Operation>
711-
updateReusableConfigSettings() {
712-
return getStubSettingsBuilder().updateReusableConfigSettings();
713-
}
714-
715-
/** Returns the builder for the settings used for calls to updateReusableConfig. */
716-
@BetaApi(
717-
"The surface for long-running operations is not stable yet and may change in the future.")
718-
public OperationCallSettings.Builder<
719-
UpdateReusableConfigRequest, ReusableConfig, OperationMetadata>
720-
updateReusableConfigOperationSettings() {
721-
return getStubSettingsBuilder().updateReusableConfigOperationSettings();
722-
}
723-
724602
@Override
725603
public CertificateAuthorityServiceSettings build() throws IOException {
726604
return new CertificateAuthorityServiceSettings(this);

google-cloud-security-private-ca/src/main/java/com/google/cloud/security/privateca/v1beta1/stub/CertificateAuthorityServiceStub.java

Lines changed: 0 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,6 @@
3030
import com.google.cloud.security.privateca.v1beta1.CertificateRevocationList;
3131
import com.google.cloud.security.privateca.v1beta1.CreateCertificateAuthorityRequest;
3232
import com.google.cloud.security.privateca.v1beta1.CreateCertificateRequest;
33-
import com.google.cloud.security.privateca.v1beta1.CreateCertificateRevocationListRequest;
34-
import com.google.cloud.security.privateca.v1beta1.CreateReusableConfigRequest;
35-
import com.google.cloud.security.privateca.v1beta1.DeleteReusableConfigRequest;
3633
import com.google.cloud.security.privateca.v1beta1.DisableCertificateAuthorityRequest;
3734
import com.google.cloud.security.privateca.v1beta1.EnableCertificateAuthorityRequest;
3835
import com.google.cloud.security.privateca.v1beta1.FetchCertificateAuthorityCsrRequest;
@@ -57,10 +54,8 @@
5754
import com.google.cloud.security.privateca.v1beta1.UpdateCertificateAuthorityRequest;
5855
import com.google.cloud.security.privateca.v1beta1.UpdateCertificateRequest;
5956
import com.google.cloud.security.privateca.v1beta1.UpdateCertificateRevocationListRequest;
60-
import com.google.cloud.security.privateca.v1beta1.UpdateReusableConfigRequest;
6157
import com.google.longrunning.Operation;
6258
import com.google.longrunning.stub.OperationsStub;
63-
import com.google.protobuf.Empty;
6459
import javax.annotation.Generated;
6560

6661
// AUTO-GENERATED DOCUMENTATION AND CLASS
@@ -225,20 +220,6 @@ public UnaryCallable<UpdateCertificateRequest, Certificate> updateCertificateCal
225220
"Not implemented: updateCertificateAuthorityCallable()");
226221
}
227222

228-
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.")
229-
public OperationCallable<
230-
CreateCertificateRevocationListRequest, CertificateRevocationList, OperationMetadata>
231-
createCertificateRevocationListOperationCallable() {
232-
throw new UnsupportedOperationException(
233-
"Not implemented: createCertificateRevocationListOperationCallable()");
234-
}
235-
236-
public UnaryCallable<CreateCertificateRevocationListRequest, Operation>
237-
createCertificateRevocationListCallable() {
238-
throw new UnsupportedOperationException(
239-
"Not implemented: createCertificateRevocationListCallable()");
240-
}
241-
242223
public UnaryCallable<GetCertificateRevocationListRequest, CertificateRevocationList>
243224
getCertificateRevocationListCallable() {
244225
throw new UnsupportedOperationException(
@@ -273,28 +254,6 @@ public UnaryCallable<UpdateCertificateRequest, Certificate> updateCertificateCal
273254
"Not implemented: updateCertificateRevocationListCallable()");
274255
}
275256

276-
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.")
277-
public OperationCallable<CreateReusableConfigRequest, ReusableConfig, OperationMetadata>
278-
createReusableConfigOperationCallable() {
279-
throw new UnsupportedOperationException(
280-
"Not implemented: createReusableConfigOperationCallable()");
281-
}
282-
283-
public UnaryCallable<CreateReusableConfigRequest, Operation> createReusableConfigCallable() {
284-
throw new UnsupportedOperationException("Not implemented: createReusableConfigCallable()");
285-
}
286-
287-
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.")
288-
public OperationCallable<DeleteReusableConfigRequest, Empty, OperationMetadata>
289-
deleteReusableConfigOperationCallable() {
290-
throw new UnsupportedOperationException(
291-
"Not implemented: deleteReusableConfigOperationCallable()");
292-
}
293-
294-
public UnaryCallable<DeleteReusableConfigRequest, Operation> deleteReusableConfigCallable() {
295-
throw new UnsupportedOperationException("Not implemented: deleteReusableConfigCallable()");
296-
}
297-
298257
public UnaryCallable<GetReusableConfigRequest, ReusableConfig> getReusableConfigCallable() {
299258
throw new UnsupportedOperationException("Not implemented: getReusableConfigCallable()");
300259
}
@@ -309,17 +268,6 @@ public UnaryCallable<GetReusableConfigRequest, ReusableConfig> getReusableConfig
309268
throw new UnsupportedOperationException("Not implemented: listReusableConfigsCallable()");
310269
}
311270

312-
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.")
313-
public OperationCallable<UpdateReusableConfigRequest, ReusableConfig, OperationMetadata>
314-
updateReusableConfigOperationCallable() {
315-
throw new UnsupportedOperationException(
316-
"Not implemented: updateReusableConfigOperationCallable()");
317-
}
318-
319-
public UnaryCallable<UpdateReusableConfigRequest, Operation> updateReusableConfigCallable() {
320-
throw new UnsupportedOperationException("Not implemented: updateReusableConfigCallable()");
321-
}
322-
323271
@Override
324272
public abstract void close();
325273
}

0 commit comments

Comments
 (0)