Skip to content

Commit

Permalink
chore(bazel): update protobuf to v3.21.7 (googleapis#186)
Browse files Browse the repository at this point in the history
- [ ] Regenerate this pull request now.

PiperOrigin-RevId: 477955264

Source-Link: https://github.com/googleapis/googleapis/commit/a724450af76d0001f23602684c49cd6a4b3a5654

Source-Link: https://github.com/googleapis/googleapis-gen/commit/4abcbcaec855e74a0b22a4988cf9e0eb61a83094
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNGFiY2JjYWVjODU1ZTc0YTBiMjJhNDk4OGNmOWUwZWI2MWE4MzA5NCJ9

fix!: Fix resource annotations for Cloud Deploy to use common resource name for locations

This is technically a breaking change in that it's modifying the type for a resource, but it's a fast-follow fix to the earlier broken definition.

PiperOrigin-RevId: 477192133

Source-Link: https://github.com/googleapis/googleapis/commit/f252e11bdab81146c67a7de4eddec412f18cd94f

Source-Link: https://github.com/googleapis/googleapis-gen/commit/34ca7cd6da0ac5920011c8bda01e8bc32b7da444
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMzRjYTdjZDZkYTBhYzU5MjAwMTFjOGJkYTAxZThiYzMyYjdkYTQ0NCJ9

feat: Publish new JobRun resource and associated methods for Google Cloud Deploy

PiperOrigin-RevId: 477144554

Source-Link: https://github.com/googleapis/googleapis/commit/59a30fb00d6142f88c6b9960e195ff33bc66776e

Source-Link: https://github.com/googleapis/googleapis-gen/commit/4edce039d3cffaa4202f6112d9caf6fc29dec0be
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNGVkY2UwMzlkM2NmZmFhNDIwMmY2MTEyZDljYWY2ZmMyOWRlYzBiZSJ9
  • Loading branch information
gcf-owl-bot[bot] authored Oct 4, 2022
1 parent f4d027a commit 26bdfa3
Show file tree
Hide file tree
Showing 146 changed files with 39,573 additions and 5,374 deletions.
15 changes: 15 additions & 0 deletions java-deploy/google-cloud-deploy/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@
<groupId>com.google.api</groupId>
<artifactId>api-common</artifactId>
</dependency>
<dependency>
<groupId>com.google.api.grpc</groupId>
<artifactId>proto-google-iam-v1</artifactId>
</dependency>
<dependency>
<groupId>com.google.protobuf</groupId>
<artifactId>protobuf-java</artifactId>
Expand Down Expand Up @@ -80,6 +84,17 @@
<artifactId>grpc-google-cloud-deploy-v1</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.google.api.grpc</groupId>
<artifactId>grpc-google-iam-v1</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.google.api.grpc</groupId>
<artifactId>grpc-google-common-protos</artifactId>
<scope>test</scope>
</dependency>

<!-- Need testing utility classes for generated gRPC clients tests -->
<dependency>
<groupId>com.google.api</groupId>
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@
package com.google.cloud.deploy.v1;

import static com.google.cloud.deploy.v1.CloudDeployClient.ListDeliveryPipelinesPagedResponse;
import static com.google.cloud.deploy.v1.CloudDeployClient.ListJobRunsPagedResponse;
import static com.google.cloud.deploy.v1.CloudDeployClient.ListLocationsPagedResponse;
import static com.google.cloud.deploy.v1.CloudDeployClient.ListReleasesPagedResponse;
import static com.google.cloud.deploy.v1.CloudDeployClient.ListRolloutsPagedResponse;
import static com.google.cloud.deploy.v1.CloudDeployClient.ListTargetsPagedResponse;
Expand All @@ -35,6 +37,15 @@
import com.google.api.gax.rpc.TransportChannelProvider;
import com.google.api.gax.rpc.UnaryCallSettings;
import com.google.cloud.deploy.v1.stub.CloudDeployStubSettings;
import com.google.cloud.location.GetLocationRequest;
import com.google.cloud.location.ListLocationsRequest;
import com.google.cloud.location.ListLocationsResponse;
import com.google.cloud.location.Location;
import com.google.iam.v1.GetIamPolicyRequest;
import com.google.iam.v1.Policy;
import com.google.iam.v1.SetIamPolicyRequest;
import com.google.iam.v1.TestIamPermissionsRequest;
import com.google.iam.v1.TestIamPermissionsResponse;
import com.google.longrunning.Operation;
import com.google.protobuf.Empty;
import java.io.IOException;
Expand Down Expand Up @@ -194,6 +205,11 @@ public UnaryCallSettings<CreateReleaseRequest, Operation> createReleaseSettings(
return ((CloudDeployStubSettings) getStubSettings()).createReleaseOperationSettings();
}

/** Returns the object with the settings used for calls to abandonRelease. */
public UnaryCallSettings<AbandonReleaseRequest, AbandonReleaseResponse> abandonReleaseSettings() {
return ((CloudDeployStubSettings) getStubSettings()).abandonReleaseSettings();
}

/** Returns the object with the settings used for calls to approveRollout. */
public UnaryCallSettings<ApproveRolloutRequest, ApproveRolloutResponse> approveRolloutSettings() {
return ((CloudDeployStubSettings) getStubSettings()).approveRolloutSettings();
Expand Down Expand Up @@ -221,11 +237,54 @@ public UnaryCallSettings<CreateRolloutRequest, Operation> createRolloutSettings(
return ((CloudDeployStubSettings) getStubSettings()).createRolloutOperationSettings();
}

/** Returns the object with the settings used for calls to retryJob. */
public UnaryCallSettings<RetryJobRequest, RetryJobResponse> retryJobSettings() {
return ((CloudDeployStubSettings) getStubSettings()).retryJobSettings();
}

/** Returns the object with the settings used for calls to listJobRuns. */
public PagedCallSettings<ListJobRunsRequest, ListJobRunsResponse, ListJobRunsPagedResponse>
listJobRunsSettings() {
return ((CloudDeployStubSettings) getStubSettings()).listJobRunsSettings();
}

/** Returns the object with the settings used for calls to getJobRun. */
public UnaryCallSettings<GetJobRunRequest, JobRun> getJobRunSettings() {
return ((CloudDeployStubSettings) getStubSettings()).getJobRunSettings();
}

/** Returns the object with the settings used for calls to getConfig. */
public UnaryCallSettings<GetConfigRequest, Config> getConfigSettings() {
return ((CloudDeployStubSettings) getStubSettings()).getConfigSettings();
}

/** Returns the object with the settings used for calls to listLocations. */
public PagedCallSettings<ListLocationsRequest, ListLocationsResponse, ListLocationsPagedResponse>
listLocationsSettings() {
return ((CloudDeployStubSettings) getStubSettings()).listLocationsSettings();
}

/** Returns the object with the settings used for calls to getLocation. */
public UnaryCallSettings<GetLocationRequest, Location> getLocationSettings() {
return ((CloudDeployStubSettings) getStubSettings()).getLocationSettings();
}

/** Returns the object with the settings used for calls to setIamPolicy. */
public UnaryCallSettings<SetIamPolicyRequest, Policy> setIamPolicySettings() {
return ((CloudDeployStubSettings) getStubSettings()).setIamPolicySettings();
}

/** Returns the object with the settings used for calls to getIamPolicy. */
public UnaryCallSettings<GetIamPolicyRequest, Policy> getIamPolicySettings() {
return ((CloudDeployStubSettings) getStubSettings()).getIamPolicySettings();
}

/** Returns the object with the settings used for calls to testIamPermissions. */
public UnaryCallSettings<TestIamPermissionsRequest, TestIamPermissionsResponse>
testIamPermissionsSettings() {
return ((CloudDeployStubSettings) getStubSettings()).testIamPermissionsSettings();
}

public static final CloudDeploySettings create(CloudDeployStubSettings stub) throws IOException {
return new CloudDeploySettings.Builder(stub.toBuilder()).build();
}
Expand Down Expand Up @@ -461,6 +520,12 @@ public UnaryCallSettings.Builder<CreateReleaseRequest, Operation> createReleaseS
return getStubSettingsBuilder().createReleaseOperationSettings();
}

/** Returns the builder for the settings used for calls to abandonRelease. */
public UnaryCallSettings.Builder<AbandonReleaseRequest, AbandonReleaseResponse>
abandonReleaseSettings() {
return getStubSettingsBuilder().abandonReleaseSettings();
}

/** Returns the builder for the settings used for calls to approveRollout. */
public UnaryCallSettings.Builder<ApproveRolloutRequest, ApproveRolloutResponse>
approveRolloutSettings() {
Expand Down Expand Up @@ -490,11 +555,56 @@ public UnaryCallSettings.Builder<CreateRolloutRequest, Operation> createRolloutS
return getStubSettingsBuilder().createRolloutOperationSettings();
}

/** Returns the builder for the settings used for calls to retryJob. */
public UnaryCallSettings.Builder<RetryJobRequest, RetryJobResponse> retryJobSettings() {
return getStubSettingsBuilder().retryJobSettings();
}

/** Returns the builder for the settings used for calls to listJobRuns. */
public PagedCallSettings.Builder<
ListJobRunsRequest, ListJobRunsResponse, ListJobRunsPagedResponse>
listJobRunsSettings() {
return getStubSettingsBuilder().listJobRunsSettings();
}

/** Returns the builder for the settings used for calls to getJobRun. */
public UnaryCallSettings.Builder<GetJobRunRequest, JobRun> getJobRunSettings() {
return getStubSettingsBuilder().getJobRunSettings();
}

/** Returns the builder for the settings used for calls to getConfig. */
public UnaryCallSettings.Builder<GetConfigRequest, Config> getConfigSettings() {
return getStubSettingsBuilder().getConfigSettings();
}

/** Returns the builder for the settings used for calls to listLocations. */
public PagedCallSettings.Builder<
ListLocationsRequest, ListLocationsResponse, ListLocationsPagedResponse>
listLocationsSettings() {
return getStubSettingsBuilder().listLocationsSettings();
}

/** Returns the builder for the settings used for calls to getLocation. */
public UnaryCallSettings.Builder<GetLocationRequest, Location> getLocationSettings() {
return getStubSettingsBuilder().getLocationSettings();
}

/** Returns the builder for the settings used for calls to setIamPolicy. */
public UnaryCallSettings.Builder<SetIamPolicyRequest, Policy> setIamPolicySettings() {
return getStubSettingsBuilder().setIamPolicySettings();
}

/** Returns the builder for the settings used for calls to getIamPolicy. */
public UnaryCallSettings.Builder<GetIamPolicyRequest, Policy> getIamPolicySettings() {
return getStubSettingsBuilder().getIamPolicySettings();
}

/** Returns the builder for the settings used for calls to testIamPermissions. */
public UnaryCallSettings.Builder<TestIamPermissionsRequest, TestIamPermissionsResponse>
testIamPermissionsSettings() {
return getStubSettingsBuilder().testIamPermissionsSettings();
}

@Override
public CloudDeploySettings build() throws IOException {
return new CloudDeploySettings(this);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@
"grpc": {
"libraryClient": "CloudDeployClient",
"rpcs": {
"AbandonRelease": {
"methods": ["abandonRelease", "abandonRelease", "abandonRelease", "abandonReleaseCallable"]
},
"ApproveRollout": {
"methods": ["approveRollout", "approveRollout", "approveRollout", "approveRolloutCallable"]
},
Expand Down Expand Up @@ -37,6 +40,15 @@
"GetDeliveryPipeline": {
"methods": ["getDeliveryPipeline", "getDeliveryPipeline", "getDeliveryPipeline", "getDeliveryPipelineCallable"]
},
"GetIamPolicy": {
"methods": ["getIamPolicy", "getIamPolicyCallable"]
},
"GetJobRun": {
"methods": ["getJobRun", "getJobRun", "getJobRun", "getJobRunCallable"]
},
"GetLocation": {
"methods": ["getLocation", "getLocationCallable"]
},
"GetRelease": {
"methods": ["getRelease", "getRelease", "getRelease", "getReleaseCallable"]
},
Expand All @@ -49,6 +61,12 @@
"ListDeliveryPipelines": {
"methods": ["listDeliveryPipelines", "listDeliveryPipelines", "listDeliveryPipelines", "listDeliveryPipelinesPagedCallable", "listDeliveryPipelinesCallable"]
},
"ListJobRuns": {
"methods": ["listJobRuns", "listJobRuns", "listJobRuns", "listJobRunsPagedCallable", "listJobRunsCallable"]
},
"ListLocations": {
"methods": ["listLocations", "listLocationsPagedCallable", "listLocationsCallable"]
},
"ListReleases": {
"methods": ["listReleases", "listReleases", "listReleases", "listReleasesPagedCallable", "listReleasesCallable"]
},
Expand All @@ -58,6 +76,15 @@
"ListTargets": {
"methods": ["listTargets", "listTargets", "listTargets", "listTargetsPagedCallable", "listTargetsCallable"]
},
"RetryJob": {
"methods": ["retryJob", "retryJob", "retryJob", "retryJobCallable"]
},
"SetIamPolicy": {
"methods": ["setIamPolicy", "setIamPolicyCallable"]
},
"TestIamPermissions": {
"methods": ["testIamPermissions", "testIamPermissionsCallable"]
},
"UpdateDeliveryPipeline": {
"methods": ["updateDeliveryPipelineAsync", "updateDeliveryPipelineAsync", "updateDeliveryPipelineOperationCallable", "updateDeliveryPipelineCallable"]
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,17 @@
package com.google.cloud.deploy.v1.stub;

import static com.google.cloud.deploy.v1.CloudDeployClient.ListDeliveryPipelinesPagedResponse;
import static com.google.cloud.deploy.v1.CloudDeployClient.ListJobRunsPagedResponse;
import static com.google.cloud.deploy.v1.CloudDeployClient.ListLocationsPagedResponse;
import static com.google.cloud.deploy.v1.CloudDeployClient.ListReleasesPagedResponse;
import static com.google.cloud.deploy.v1.CloudDeployClient.ListRolloutsPagedResponse;
import static com.google.cloud.deploy.v1.CloudDeployClient.ListTargetsPagedResponse;

import com.google.api.gax.core.BackgroundResource;
import com.google.api.gax.rpc.OperationCallable;
import com.google.api.gax.rpc.UnaryCallable;
import com.google.cloud.deploy.v1.AbandonReleaseRequest;
import com.google.cloud.deploy.v1.AbandonReleaseResponse;
import com.google.cloud.deploy.v1.ApproveRolloutRequest;
import com.google.cloud.deploy.v1.ApproveRolloutResponse;
import com.google.cloud.deploy.v1.Config;
Expand All @@ -36,11 +40,15 @@
import com.google.cloud.deploy.v1.DeliveryPipeline;
import com.google.cloud.deploy.v1.GetConfigRequest;
import com.google.cloud.deploy.v1.GetDeliveryPipelineRequest;
import com.google.cloud.deploy.v1.GetJobRunRequest;
import com.google.cloud.deploy.v1.GetReleaseRequest;
import com.google.cloud.deploy.v1.GetRolloutRequest;
import com.google.cloud.deploy.v1.GetTargetRequest;
import com.google.cloud.deploy.v1.JobRun;
import com.google.cloud.deploy.v1.ListDeliveryPipelinesRequest;
import com.google.cloud.deploy.v1.ListDeliveryPipelinesResponse;
import com.google.cloud.deploy.v1.ListJobRunsRequest;
import com.google.cloud.deploy.v1.ListJobRunsResponse;
import com.google.cloud.deploy.v1.ListReleasesRequest;
import com.google.cloud.deploy.v1.ListReleasesResponse;
import com.google.cloud.deploy.v1.ListRolloutsRequest;
Expand All @@ -49,10 +57,21 @@
import com.google.cloud.deploy.v1.ListTargetsResponse;
import com.google.cloud.deploy.v1.OperationMetadata;
import com.google.cloud.deploy.v1.Release;
import com.google.cloud.deploy.v1.RetryJobRequest;
import com.google.cloud.deploy.v1.RetryJobResponse;
import com.google.cloud.deploy.v1.Rollout;
import com.google.cloud.deploy.v1.Target;
import com.google.cloud.deploy.v1.UpdateDeliveryPipelineRequest;
import com.google.cloud.deploy.v1.UpdateTargetRequest;
import com.google.cloud.location.GetLocationRequest;
import com.google.cloud.location.ListLocationsRequest;
import com.google.cloud.location.ListLocationsResponse;
import com.google.cloud.location.Location;
import com.google.iam.v1.GetIamPolicyRequest;
import com.google.iam.v1.Policy;
import com.google.iam.v1.SetIamPolicyRequest;
import com.google.iam.v1.TestIamPermissionsRequest;
import com.google.iam.v1.TestIamPermissionsResponse;
import com.google.longrunning.Operation;
import com.google.longrunning.stub.OperationsStub;
import com.google.protobuf.Empty;
Expand Down Expand Up @@ -180,6 +199,10 @@ public UnaryCallable<CreateReleaseRequest, Operation> createReleaseCallable() {
throw new UnsupportedOperationException("Not implemented: createReleaseCallable()");
}

public UnaryCallable<AbandonReleaseRequest, AbandonReleaseResponse> abandonReleaseCallable() {
throw new UnsupportedOperationException("Not implemented: abandonReleaseCallable()");
}

public UnaryCallable<ApproveRolloutRequest, ApproveRolloutResponse> approveRolloutCallable() {
throw new UnsupportedOperationException("Not implemented: approveRolloutCallable()");
}
Expand All @@ -205,10 +228,52 @@ public UnaryCallable<CreateRolloutRequest, Operation> createRolloutCallable() {
throw new UnsupportedOperationException("Not implemented: createRolloutCallable()");
}

public UnaryCallable<RetryJobRequest, RetryJobResponse> retryJobCallable() {
throw new UnsupportedOperationException("Not implemented: retryJobCallable()");
}

public UnaryCallable<ListJobRunsRequest, ListJobRunsPagedResponse> listJobRunsPagedCallable() {
throw new UnsupportedOperationException("Not implemented: listJobRunsPagedCallable()");
}

public UnaryCallable<ListJobRunsRequest, ListJobRunsResponse> listJobRunsCallable() {
throw new UnsupportedOperationException("Not implemented: listJobRunsCallable()");
}

public UnaryCallable<GetJobRunRequest, JobRun> getJobRunCallable() {
throw new UnsupportedOperationException("Not implemented: getJobRunCallable()");
}

public UnaryCallable<GetConfigRequest, Config> getConfigCallable() {
throw new UnsupportedOperationException("Not implemented: getConfigCallable()");
}

public UnaryCallable<ListLocationsRequest, ListLocationsPagedResponse>
listLocationsPagedCallable() {
throw new UnsupportedOperationException("Not implemented: listLocationsPagedCallable()");
}

public UnaryCallable<ListLocationsRequest, ListLocationsResponse> listLocationsCallable() {
throw new UnsupportedOperationException("Not implemented: listLocationsCallable()");
}

public UnaryCallable<GetLocationRequest, Location> getLocationCallable() {
throw new UnsupportedOperationException("Not implemented: getLocationCallable()");
}

public UnaryCallable<SetIamPolicyRequest, Policy> setIamPolicyCallable() {
throw new UnsupportedOperationException("Not implemented: setIamPolicyCallable()");
}

public UnaryCallable<GetIamPolicyRequest, Policy> getIamPolicyCallable() {
throw new UnsupportedOperationException("Not implemented: getIamPolicyCallable()");
}

public UnaryCallable<TestIamPermissionsRequest, TestIamPermissionsResponse>
testIamPermissionsCallable() {
throw new UnsupportedOperationException("Not implemented: testIamPermissionsCallable()");
}

@Override
public abstract void close();
}
Loading

0 comments on commit 26bdfa3

Please sign in to comment.