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

Commit

Permalink
feat!: remove CreateCertificateRevocationList, create/delete/updateRe…
Browse files Browse the repository at this point in the history
…usableConfig 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
  • Loading branch information
yoshi-automation authored Oct 12, 2020
1 parent 88ed71d commit 24f60bc
Show file tree
Hide file tree
Showing 46 changed files with 909 additions and 18,670 deletions.
45 changes: 45 additions & 0 deletions google-cloud-security-private-ca/clirr-ignored-differences.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- see http://www.mojohaus.org/clirr-maven-plugin/examples/ignored-differences.html -->
<differences>
<!-- TODO: remove after 0.2.0 is released -->
<difference>
<differenceType>7002</differenceType>
<className>com/google/cloud/security/privateca/v1beta1/CertificateAuthorityService*</className>
<method>* createCertificateRevocationList*(*)</method>
</difference>
<difference>
<differenceType>7002</differenceType>
<className>com/google/cloud/security/privateca/v1beta1/CertificateAuthorityService*</className>
<method>* createReusableConfig*(*)</method>
</difference>
<difference>
<differenceType>7002</differenceType>
<className>com/google/cloud/security/privateca/v1beta1/CertificateAuthorityService*</className>
<method>* deleteReusableConfig*(*)</method>
</difference>
<difference>
<differenceType>7002</differenceType>
<className>com/google/cloud/security/privateca/v1beta1/CertificateAuthorityService*</className>
<method>* updateReusableConfig*(*)</method>
</difference>
<difference>
<differenceType>7002</differenceType>
<className>com/google/cloud/security/privateca/v1beta1/stub/*CertificateAuthorityService*</className>
<method>* createCertificateRevocationList*(*)</method>
</difference>
<difference>
<differenceType>7002</differenceType>
<className>com/google/cloud/security/privateca/v1beta1/stub/*CertificateAuthorityService*</className>
<method>* createReusableConfig*(*)</method>
</difference>
<difference>
<differenceType>7002</differenceType>
<className>com/google/cloud/security/privateca/v1beta1/stub/*CertificateAuthorityService*</className>
<method>* deleteReusableConfig*(*)</method>
</difference>
<difference>
<differenceType>7002</differenceType>
<className>com/google/cloud/security/privateca/v1beta1/stub/*CertificateAuthorityService*</className>
<method>* updateReusableConfig*(*)</method>
</difference>
</differences>

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@
import com.google.api.gax.rpc.UnaryCallSettings;
import com.google.cloud.security.privateca.v1beta1.stub.CertificateAuthorityServiceStubSettings;
import com.google.longrunning.Operation;
import com.google.protobuf.Empty;
import java.io.IOException;
import java.util.List;
import javax.annotation.Generated;
Expand Down Expand Up @@ -248,23 +247,6 @@ public UnaryCallSettings<UpdateCertificateRequest, Certificate> updateCertificat
.updateCertificateAuthorityOperationSettings();
}

/** Returns the object with the settings used for calls to createCertificateRevocationList. */
public UnaryCallSettings<CreateCertificateRevocationListRequest, Operation>
createCertificateRevocationListSettings() {
return ((CertificateAuthorityServiceStubSettings) getStubSettings())
.createCertificateRevocationListSettings();
}

/** Returns the object with the settings used for calls to createCertificateRevocationList. */
@BetaApi(
"The surface for long-running operations is not stable yet and may change in the future.")
public OperationCallSettings<
CreateCertificateRevocationListRequest, CertificateRevocationList, OperationMetadata>
createCertificateRevocationListOperationSettings() {
return ((CertificateAuthorityServiceStubSettings) getStubSettings())
.createCertificateRevocationListOperationSettings();
}

/** Returns the object with the settings used for calls to getCertificateRevocationList. */
public UnaryCallSettings<GetCertificateRevocationListRequest, CertificateRevocationList>
getCertificateRevocationListSettings() {
Expand Down Expand Up @@ -299,36 +281,6 @@ public UnaryCallSettings<UpdateCertificateRequest, Certificate> updateCertificat
.updateCertificateRevocationListOperationSettings();
}

/** Returns the object with the settings used for calls to createReusableConfig. */
public UnaryCallSettings<CreateReusableConfigRequest, Operation> createReusableConfigSettings() {
return ((CertificateAuthorityServiceStubSettings) getStubSettings())
.createReusableConfigSettings();
}

/** Returns the object with the settings used for calls to createReusableConfig. */
@BetaApi(
"The surface for long-running operations is not stable yet and may change in the future.")
public OperationCallSettings<CreateReusableConfigRequest, ReusableConfig, OperationMetadata>
createReusableConfigOperationSettings() {
return ((CertificateAuthorityServiceStubSettings) getStubSettings())
.createReusableConfigOperationSettings();
}

/** Returns the object with the settings used for calls to deleteReusableConfig. */
public UnaryCallSettings<DeleteReusableConfigRequest, Operation> deleteReusableConfigSettings() {
return ((CertificateAuthorityServiceStubSettings) getStubSettings())
.deleteReusableConfigSettings();
}

/** Returns the object with the settings used for calls to deleteReusableConfig. */
@BetaApi(
"The surface for long-running operations is not stable yet and may change in the future.")
public OperationCallSettings<DeleteReusableConfigRequest, Empty, OperationMetadata>
deleteReusableConfigOperationSettings() {
return ((CertificateAuthorityServiceStubSettings) getStubSettings())
.deleteReusableConfigOperationSettings();
}

/** Returns the object with the settings used for calls to getReusableConfig. */
public UnaryCallSettings<GetReusableConfigRequest, ReusableConfig> getReusableConfigSettings() {
return ((CertificateAuthorityServiceStubSettings) getStubSettings())
Expand All @@ -343,21 +295,6 @@ public UnaryCallSettings<GetReusableConfigRequest, ReusableConfig> getReusableCo
.listReusableConfigsSettings();
}

/** Returns the object with the settings used for calls to updateReusableConfig. */
public UnaryCallSettings<UpdateReusableConfigRequest, Operation> updateReusableConfigSettings() {
return ((CertificateAuthorityServiceStubSettings) getStubSettings())
.updateReusableConfigSettings();
}

/** Returns the object with the settings used for calls to updateReusableConfig. */
@BetaApi(
"The surface for long-running operations is not stable yet and may change in the future.")
public OperationCallSettings<UpdateReusableConfigRequest, ReusableConfig, OperationMetadata>
updateReusableConfigOperationSettings() {
return ((CertificateAuthorityServiceStubSettings) getStubSettings())
.updateReusableConfigOperationSettings();
}

public static final CertificateAuthorityServiceSettings create(
CertificateAuthorityServiceStubSettings stub) throws IOException {
return new CertificateAuthorityServiceSettings.Builder(stub.toBuilder()).build();
Expand Down Expand Up @@ -617,21 +554,6 @@ public UnaryCallSettings.Builder<GetCertificateRequest, Certificate> getCertific
return getStubSettingsBuilder().updateCertificateAuthorityOperationSettings();
}

/** Returns the builder for the settings used for calls to createCertificateRevocationList. */
public UnaryCallSettings.Builder<CreateCertificateRevocationListRequest, Operation>
createCertificateRevocationListSettings() {
return getStubSettingsBuilder().createCertificateRevocationListSettings();
}

/** Returns the builder for the settings used for calls to createCertificateRevocationList. */
@BetaApi(
"The surface for long-running operations is not stable yet and may change in the future.")
public OperationCallSettings.Builder<
CreateCertificateRevocationListRequest, CertificateRevocationList, OperationMetadata>
createCertificateRevocationListOperationSettings() {
return getStubSettingsBuilder().createCertificateRevocationListOperationSettings();
}

/** Returns the builder for the settings used for calls to getCertificateRevocationList. */
public UnaryCallSettings.Builder<GetCertificateRevocationListRequest, CertificateRevocationList>
getCertificateRevocationListSettings() {
Expand Down Expand Up @@ -662,35 +584,6 @@ public UnaryCallSettings.Builder<GetCertificateRequest, Certificate> getCertific
return getStubSettingsBuilder().updateCertificateRevocationListOperationSettings();
}

/** Returns the builder for the settings used for calls to createReusableConfig. */
public UnaryCallSettings.Builder<CreateReusableConfigRequest, Operation>
createReusableConfigSettings() {
return getStubSettingsBuilder().createReusableConfigSettings();
}

/** Returns the builder for the settings used for calls to createReusableConfig. */
@BetaApi(
"The surface for long-running operations is not stable yet and may change in the future.")
public OperationCallSettings.Builder<
CreateReusableConfigRequest, ReusableConfig, OperationMetadata>
createReusableConfigOperationSettings() {
return getStubSettingsBuilder().createReusableConfigOperationSettings();
}

/** Returns the builder for the settings used for calls to deleteReusableConfig. */
public UnaryCallSettings.Builder<DeleteReusableConfigRequest, Operation>
deleteReusableConfigSettings() {
return getStubSettingsBuilder().deleteReusableConfigSettings();
}

/** Returns the builder for the settings used for calls to deleteReusableConfig. */
@BetaApi(
"The surface for long-running operations is not stable yet and may change in the future.")
public OperationCallSettings.Builder<DeleteReusableConfigRequest, Empty, OperationMetadata>
deleteReusableConfigOperationSettings() {
return getStubSettingsBuilder().deleteReusableConfigOperationSettings();
}

/** Returns the builder for the settings used for calls to getReusableConfig. */
public UnaryCallSettings.Builder<GetReusableConfigRequest, ReusableConfig>
getReusableConfigSettings() {
Expand All @@ -706,21 +599,6 @@ public UnaryCallSettings.Builder<GetCertificateRequest, Certificate> getCertific
return getStubSettingsBuilder().listReusableConfigsSettings();
}

/** Returns the builder for the settings used for calls to updateReusableConfig. */
public UnaryCallSettings.Builder<UpdateReusableConfigRequest, Operation>
updateReusableConfigSettings() {
return getStubSettingsBuilder().updateReusableConfigSettings();
}

/** Returns the builder for the settings used for calls to updateReusableConfig. */
@BetaApi(
"The surface for long-running operations is not stable yet and may change in the future.")
public OperationCallSettings.Builder<
UpdateReusableConfigRequest, ReusableConfig, OperationMetadata>
updateReusableConfigOperationSettings() {
return getStubSettingsBuilder().updateReusableConfigOperationSettings();
}

@Override
public CertificateAuthorityServiceSettings build() throws IOException {
return new CertificateAuthorityServiceSettings(this);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,6 @@
import com.google.cloud.security.privateca.v1beta1.CertificateRevocationList;
import com.google.cloud.security.privateca.v1beta1.CreateCertificateAuthorityRequest;
import com.google.cloud.security.privateca.v1beta1.CreateCertificateRequest;
import com.google.cloud.security.privateca.v1beta1.CreateCertificateRevocationListRequest;
import com.google.cloud.security.privateca.v1beta1.CreateReusableConfigRequest;
import com.google.cloud.security.privateca.v1beta1.DeleteReusableConfigRequest;
import com.google.cloud.security.privateca.v1beta1.DisableCertificateAuthorityRequest;
import com.google.cloud.security.privateca.v1beta1.EnableCertificateAuthorityRequest;
import com.google.cloud.security.privateca.v1beta1.FetchCertificateAuthorityCsrRequest;
Expand All @@ -57,10 +54,8 @@
import com.google.cloud.security.privateca.v1beta1.UpdateCertificateAuthorityRequest;
import com.google.cloud.security.privateca.v1beta1.UpdateCertificateRequest;
import com.google.cloud.security.privateca.v1beta1.UpdateCertificateRevocationListRequest;
import com.google.cloud.security.privateca.v1beta1.UpdateReusableConfigRequest;
import com.google.longrunning.Operation;
import com.google.longrunning.stub.OperationsStub;
import com.google.protobuf.Empty;
import javax.annotation.Generated;

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

@BetaApi("The surface for use by generated code is not stable yet and may change in the future.")
public OperationCallable<
CreateCertificateRevocationListRequest, CertificateRevocationList, OperationMetadata>
createCertificateRevocationListOperationCallable() {
throw new UnsupportedOperationException(
"Not implemented: createCertificateRevocationListOperationCallable()");
}

public UnaryCallable<CreateCertificateRevocationListRequest, Operation>
createCertificateRevocationListCallable() {
throw new UnsupportedOperationException(
"Not implemented: createCertificateRevocationListCallable()");
}

public UnaryCallable<GetCertificateRevocationListRequest, CertificateRevocationList>
getCertificateRevocationListCallable() {
throw new UnsupportedOperationException(
Expand Down Expand Up @@ -273,28 +254,6 @@ public UnaryCallable<UpdateCertificateRequest, Certificate> updateCertificateCal
"Not implemented: updateCertificateRevocationListCallable()");
}

@BetaApi("The surface for use by generated code is not stable yet and may change in the future.")
public OperationCallable<CreateReusableConfigRequest, ReusableConfig, OperationMetadata>
createReusableConfigOperationCallable() {
throw new UnsupportedOperationException(
"Not implemented: createReusableConfigOperationCallable()");
}

public UnaryCallable<CreateReusableConfigRequest, Operation> createReusableConfigCallable() {
throw new UnsupportedOperationException("Not implemented: createReusableConfigCallable()");
}

@BetaApi("The surface for use by generated code is not stable yet and may change in the future.")
public OperationCallable<DeleteReusableConfigRequest, Empty, OperationMetadata>
deleteReusableConfigOperationCallable() {
throw new UnsupportedOperationException(
"Not implemented: deleteReusableConfigOperationCallable()");
}

public UnaryCallable<DeleteReusableConfigRequest, Operation> deleteReusableConfigCallable() {
throw new UnsupportedOperationException("Not implemented: deleteReusableConfigCallable()");
}

public UnaryCallable<GetReusableConfigRequest, ReusableConfig> getReusableConfigCallable() {
throw new UnsupportedOperationException("Not implemented: getReusableConfigCallable()");
}
Expand All @@ -309,17 +268,6 @@ public UnaryCallable<GetReusableConfigRequest, ReusableConfig> getReusableConfig
throw new UnsupportedOperationException("Not implemented: listReusableConfigsCallable()");
}

@BetaApi("The surface for use by generated code is not stable yet and may change in the future.")
public OperationCallable<UpdateReusableConfigRequest, ReusableConfig, OperationMetadata>
updateReusableConfigOperationCallable() {
throw new UnsupportedOperationException(
"Not implemented: updateReusableConfigOperationCallable()");
}

public UnaryCallable<UpdateReusableConfigRequest, Operation> updateReusableConfigCallable() {
throw new UnsupportedOperationException("Not implemented: updateReusableConfigCallable()");
}

@Override
public abstract void close();
}
Loading

0 comments on commit 24f60bc

Please sign in to comment.