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

Commit

Permalink
deps: update com_google_protobuf to 3.18.1 (#1519)
Browse files Browse the repository at this point in the history
deps: update guava to v31
deps: update grpc to 1.41.0
deps: update auto-value to 1.8.2
deps: update api-common to 2.0.5
deps: update google-http-client to 1.40.1
feat: remove deprecated Generated annotation
fix: Fix com.google.rpc.Code to StatusCode.Code conversion logic
  • Loading branch information
Neenu1995 committed Oct 15, 2021
1 parent e7ff5f1 commit 2d76bff
Show file tree
Hide file tree
Showing 10 changed files with 9 additions and 25 deletions.
18 changes: 9 additions & 9 deletions dependencies.properties
Expand Up @@ -23,9 +23,9 @@ version.gax_httpjson=0.90.4-SNAPSHOT
# Versions for dependencies which actual artifacts differ between Bazel and Gradle.
# Gradle build depends on prebuilt maven artifacts, while Bazel build depends on Bazel workspaces
# with the sources.
version.com_google_protobuf=3.15.2
version.com_google_protobuf=3.18.1
version.google_java_format=1.1
version.io_grpc=1.37.0
version.io_grpc=1.41.0

# Maven artifacts.
# Note, the actual name of each property matters (bazel build scripts depend on it).
Expand Down Expand Up @@ -53,21 +53,21 @@ maven.io_netty_netty_handler_proxy=io.netty:netty-handler-proxy:4.1.52.Final
maven.io_perfmark_perfmark_api=io.perfmark:perfmark-api:0.23.0
maven.org_apache_tomcat_annotations_api=org.apache.tomcat:annotations-api:6.0.53
maven.com_google_code_gson_gson=com.google.code.gson:gson:2.8.6
maven.com_google_guava_guava=com.google.guava:guava:30.1.1-jre
maven.com_google_guava_guava=com.google.guava:guava:31.0.1-jre
maven.com_google_guava_failureaccess=com.google.guava:failureaccess:1.0.1
maven.org_apache_commons_commons_lang3=org.apache.commons:commons-lang3:3.8.1
maven.com_google_android_annotations=com.google.android:annotations:4.1.1.4
maven.com_google_code_findbugs_jsr305=com.google.code.findbugs:jsr305:3.0.2
maven.com_google_errorprone_error_prone_annotations=com.google.errorprone:error_prone_annotations:2.5.1
maven.com_google_errorprone_error_prone_annotations=com.google.errorprone:error_prone_annotations:2.9.0
maven.com_google_j2objc_j2objc_annotations=com.google.j2objc:j2objc-annotations:1.3
maven.com_google_auto_value_auto_value=com.google.auto.value:auto-value:1.4
maven.com_google_auto_value_auto_value_annotations=com.google.auto.value:auto-value-annotations:1.7.4
maven.com_google_api_api_common=com.google.api:api-common:2.0.1
maven.com_google_auto_value_auto_value=com.google.auto.value:auto-value:1.8.2
maven.com_google_auto_value_auto_value_annotations=com.google.auto.value:auto-value-annotations:1.8.2
maven.com_google_api_api_common=com.google.api:api-common:2.0.5
maven.org_threeten_threetenbp=org.threeten:threetenbp:1.5.0
maven.com_google_api_grpc_grpc_google_iam_v1=com.google.api.grpc:grpc-google-iam-v1:1.0.9
maven.com_google_api_grpc_proto_google_iam_v1=com.google.api.grpc:proto-google-iam-v1:1.0.9
maven.com_google_http_client_google_http_client=com.google.http-client:google-http-client:1.40.0
maven.com_google_http_client_google_http_client_gson=com.google.http-client:google-http-client-gson:1.40.0
maven.com_google_http_client_google_http_client=com.google.http-client:google-http-client:1.40.1
maven.com_google_http_client_google_http_client_gson=com.google.http-client:google-http-client-gson:1.40.1
maven.org_codehaus_mojo_animal_sniffer_annotations=org.codehaus.mojo:animal-sniffer-annotations:1.18
maven.javax_annotation_javax_annotation_api=javax.annotation:javax.annotation-api:1.3.2

Expand Down
Expand Up @@ -35,7 +35,6 @@
import io.grpc.ServerServiceDefinition;
import java.util.List;

@javax.annotation.Generated("by GAPIC")
@BetaApi
public class MockOperations implements MockGrpcService {
private final MockOperationsImpl serviceImpl;
Expand Down
Expand Up @@ -39,7 +39,6 @@
import java.util.List;
import java.util.Queue;

@javax.annotation.Generated("by GAPIC")
@BetaApi
public class MockOperationsImpl extends OperationsImplBase {
private List<AbstractMessage> requests;
Expand Down
Expand Up @@ -52,7 +52,6 @@
import java.io.IOException;
import java.util.List;
import java.util.concurrent.TimeUnit;
import javax.annotation.Generated;

// AUTO-GENERATED DOCUMENTATION AND CLASS.
/**
Expand Down Expand Up @@ -121,7 +120,6 @@
*
* <p>Please refer to the GitHub repository's samples for more quickstart code snippets.
*/
@Generated("by gapic-generator-java")
@BetaApi
public class OperationsClient implements BackgroundResource {
private final OperationsSettings settings;
Expand Down
Expand Up @@ -52,7 +52,6 @@
import com.google.protobuf.Empty;
import java.io.IOException;
import java.util.List;
import javax.annotation.Generated;

// AUTO-GENERATED DOCUMENTATION AND CLASS.
/**
Expand Down Expand Up @@ -85,7 +84,6 @@
* OperationsSettings operationsSettings = operationsSettingsBuilder.build();
* }</pre>
*/
@Generated("by gapic-generator-java")
@BetaApi
public class OperationsSettings extends ClientSettings<OperationsSettings> {

Expand Down
Expand Up @@ -42,15 +42,13 @@
import com.google.api.gax.rpc.PagedCallSettings;
import com.google.api.gax.rpc.UnaryCallSettings;
import com.google.api.gax.rpc.UnaryCallable;
import javax.annotation.Generated;

// AUTO-GENERATED DOCUMENTATION AND CLASS.
/**
* REST callable factory implementation for the Operations service API.
*
* <p>This class is for advanced usage.
*/
@Generated("by gapic-generator-java")
@BetaApi
public class HttpJsonOperationsCallableFactory
implements HttpJsonStubCallableFactory<ApiMessage, BackgroundResource> {
Expand Down
Expand Up @@ -65,15 +65,13 @@
import java.util.List;
import java.util.Map;
import java.util.concurrent.TimeUnit;
import javax.annotation.Generated;

// AUTO-GENERATED DOCUMENTATION AND CLASS.
/**
* REST stub implementation for the Operations service API.
*
* <p>This class is for advanced usage and reflects the underlying API directly.
*/
@Generated("by gapic-generator-java")
@BetaApi("A restructuring of stub classes is planned, so this may break in the future")
public class HttpJsonOperationsStub extends OperationsStub {
private static final ApiMethodDescriptor<ListOperationsRequest, ListOperationsResponse>
Expand Down
Expand Up @@ -41,15 +41,13 @@
import com.google.longrunning.ListOperationsResponse;
import com.google.longrunning.Operation;
import com.google.protobuf.Empty;
import javax.annotation.Generated;

// AUTO-GENERATED DOCUMENTATION AND CLASS.
/**
* Base stub class for the Operations service API.
*
* <p>This class is for advanced usage and reflects the underlying API directly.
*/
@Generated("by gapic-generator-java")
@BetaApi
public abstract class OperationsStub implements BackgroundResource {

Expand Down
Expand Up @@ -66,7 +66,6 @@
import com.google.protobuf.Empty;
import java.io.IOException;
import java.util.List;
import javax.annotation.Generated;
import org.threeten.bp.Duration;

// AUTO-GENERATED DOCUMENTATION AND CLASS.
Expand Down Expand Up @@ -100,7 +99,6 @@
* OperationsStubSettings operationsSettings = operationsSettingsBuilder.build();
* }</pre>
*/
@Generated("by gapic-generator-java")
@BetaApi
public class OperationsStubSettings extends StubSettings<OperationsStubSettings> {
/** The default scopes of the service. */
Expand Down
Expand Up @@ -49,15 +49,13 @@
import java.io.IOException;
import java.util.Arrays;
import java.util.List;
import javax.annotation.Generated;
import org.junit.After;
import org.junit.AfterClass;
import org.junit.Assert;
import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.Test;

@Generated("by gapic-generator-java")
public class OperationsClientTest {
private static MockHttpService mockService;
private static OperationsClient client;
Expand Down

0 comments on commit 2d76bff

Please sign in to comment.