diff --git a/.kokoro/presubmit/graalvm-native-a.cfg b/.kokoro/presubmit/graalvm-native-a.cfg index 55c5543e2..b772eac66 100644 --- a/.kokoro/presubmit/graalvm-native-a.cfg +++ b/.kokoro/presubmit/graalvm-native-a.cfg @@ -3,7 +3,7 @@ # Configure the docker image for kokoro-trampoline. env_vars: { key: "TRAMPOLINE_IMAGE" - value: "gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_a:3.53.0" # {x-version-update:google-cloud-shared-dependencies:current} + value: "gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_a:3.54.1" # {x-version-update:google-cloud-shared-dependencies:current} } env_vars: { diff --git a/.kokoro/presubmit/graalvm-native-b.cfg b/.kokoro/presubmit/graalvm-native-b.cfg index 5c981b984..baf136cf8 100644 --- a/.kokoro/presubmit/graalvm-native-b.cfg +++ b/.kokoro/presubmit/graalvm-native-b.cfg @@ -3,7 +3,7 @@ # Configure the docker image for kokoro-trampoline. env_vars: { key: "TRAMPOLINE_IMAGE" - value: "gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_b:3.53.0" # {x-version-update:google-cloud-shared-dependencies:current} + value: "gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_b:3.54.1" # {x-version-update:google-cloud-shared-dependencies:current} } env_vars: { diff --git a/.kokoro/presubmit/graalvm-native-c.cfg b/.kokoro/presubmit/graalvm-native-c.cfg index f2032499d..2fb2fc87c 100644 --- a/.kokoro/presubmit/graalvm-native-c.cfg +++ b/.kokoro/presubmit/graalvm-native-c.cfg @@ -3,7 +3,7 @@ # Configure the docker image for kokoro-trampoline. env_vars: { key: "TRAMPOLINE_IMAGE" - value: "gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_c:3.53.0" # {x-version-update:google-cloud-shared-dependencies:current} + value: "gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_c:3.54.1" # {x-version-update:google-cloud-shared-dependencies:current} } env_vars: { diff --git a/README.md b/README.md index 2e93aa800..d6e781149 100644 --- a/README.md +++ b/README.md @@ -51,7 +51,7 @@ If you are using Maven without the BOM, add this to your dependencies: If you are using Gradle 5.x or later, add this to your dependencies: ```Groovy -implementation platform('com.google.cloud:libraries-bom:26.70.0') +implementation platform('com.google.cloud:libraries-bom:26.71.0') implementation 'com.google.cloud:google-cloud-logging' ``` diff --git a/generation_config.yaml b/generation_config.yaml index 511a6e45d..b31e3edcc 100644 --- a/generation_config.yaml +++ b/generation_config.yaml @@ -1,6 +1,6 @@ -gapic_generator_version: 2.63.0 -googleapis_commitish: c288189b43c016dd3cf1ec73ce3cadee8b732f07 -libraries_bom_version: 26.70.0 +gapic_generator_version: 2.64.1 +googleapis_commitish: 5342712986262b93211b136eb4bd6fb79b3764af +libraries_bom_version: 26.71.0 libraries: - api_shortname: logging name_pretty: Cloud Logging diff --git a/grpc-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ConfigServiceV2Grpc.java b/grpc-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ConfigServiceV2Grpc.java index d3fa2bf64..e306944ed 100644 --- a/grpc-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ConfigServiceV2Grpc.java +++ b/grpc-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ConfigServiceV2Grpc.java @@ -24,9 +24,6 @@ * Service for configuring sinks used to route log entries. * */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/logging/v2/logging_config.proto") @io.grpc.stub.annotations.GrpcGenerated public final class ConfigServiceV2Grpc { @@ -2526,8 +2523,8 @@ protected ConfigServiceV2BlockingV2Stub build( * */ public com.google.logging.v2.ListBucketsResponse listBuckets( - com.google.logging.v2.ListBucketsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( + com.google.logging.v2.ListBucketsRequest request) throws io.grpc.StatusException { + return io.grpc.stub.ClientCalls.blockingV2UnaryCall( getChannel(), getListBucketsMethod(), getCallOptions(), request); } @@ -2538,9 +2535,9 @@ public com.google.logging.v2.ListBucketsResponse listBuckets( * Gets a log bucket. * */ - public com.google.logging.v2.LogBucket getBucket( - com.google.logging.v2.GetBucketRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( + public com.google.logging.v2.LogBucket getBucket(com.google.logging.v2.GetBucketRequest request) + throws io.grpc.StatusException { + return io.grpc.stub.ClientCalls.blockingV2UnaryCall( getChannel(), getGetBucketMethod(), getCallOptions(), request); } @@ -2553,8 +2550,8 @@ public com.google.logging.v2.LogBucket getBucket( * */ public com.google.longrunning.Operation createBucketAsync( - com.google.logging.v2.CreateBucketRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( + com.google.logging.v2.CreateBucketRequest request) throws io.grpc.StatusException { + return io.grpc.stub.ClientCalls.blockingV2UnaryCall( getChannel(), getCreateBucketAsyncMethod(), getCallOptions(), request); } @@ -2569,8 +2566,8 @@ public com.google.longrunning.Operation createBucketAsync( * */ public com.google.longrunning.Operation updateBucketAsync( - com.google.logging.v2.UpdateBucketRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( + com.google.logging.v2.UpdateBucketRequest request) throws io.grpc.StatusException { + return io.grpc.stub.ClientCalls.blockingV2UnaryCall( getChannel(), getUpdateBucketAsyncMethod(), getCallOptions(), request); } @@ -2583,8 +2580,8 @@ public com.google.longrunning.Operation updateBucketAsync( * */ public com.google.logging.v2.LogBucket createBucket( - com.google.logging.v2.CreateBucketRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( + com.google.logging.v2.CreateBucketRequest request) throws io.grpc.StatusException { + return io.grpc.stub.ClientCalls.blockingV2UnaryCall( getChannel(), getCreateBucketMethod(), getCallOptions(), request); } @@ -2599,8 +2596,8 @@ public com.google.logging.v2.LogBucket createBucket( * */ public com.google.logging.v2.LogBucket updateBucket( - com.google.logging.v2.UpdateBucketRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( + com.google.logging.v2.UpdateBucketRequest request) throws io.grpc.StatusException { + return io.grpc.stub.ClientCalls.blockingV2UnaryCall( getChannel(), getUpdateBucketMethod(), getCallOptions(), request); } @@ -2614,9 +2611,9 @@ public com.google.logging.v2.LogBucket updateBucket( * will be permanently deleted. * */ - public com.google.protobuf.Empty deleteBucket( - com.google.logging.v2.DeleteBucketRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( + public com.google.protobuf.Empty deleteBucket(com.google.logging.v2.DeleteBucketRequest request) + throws io.grpc.StatusException { + return io.grpc.stub.ClientCalls.blockingV2UnaryCall( getChannel(), getDeleteBucketMethod(), getCallOptions(), request); } @@ -2629,8 +2626,8 @@ public com.google.protobuf.Empty deleteBucket( * */ public com.google.protobuf.Empty undeleteBucket( - com.google.logging.v2.UndeleteBucketRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( + com.google.logging.v2.UndeleteBucketRequest request) throws io.grpc.StatusException { + return io.grpc.stub.ClientCalls.blockingV2UnaryCall( getChannel(), getUndeleteBucketMethod(), getCallOptions(), request); } @@ -2642,8 +2639,8 @@ public com.google.protobuf.Empty undeleteBucket( * */ public com.google.logging.v2.ListViewsResponse listViews( - com.google.logging.v2.ListViewsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( + com.google.logging.v2.ListViewsRequest request) throws io.grpc.StatusException { + return io.grpc.stub.ClientCalls.blockingV2UnaryCall( getChannel(), getListViewsMethod(), getCallOptions(), request); } @@ -2654,8 +2651,9 @@ public com.google.logging.v2.ListViewsResponse listViews( * Gets a view on a log bucket.. * */ - public com.google.logging.v2.LogView getView(com.google.logging.v2.GetViewRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( + public com.google.logging.v2.LogView getView(com.google.logging.v2.GetViewRequest request) + throws io.grpc.StatusException { + return io.grpc.stub.ClientCalls.blockingV2UnaryCall( getChannel(), getGetViewMethod(), getCallOptions(), request); } @@ -2667,9 +2665,9 @@ public com.google.logging.v2.LogView getView(com.google.logging.v2.GetViewReques * maximum of 30 views. * */ - public com.google.logging.v2.LogView createView( - com.google.logging.v2.CreateViewRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( + public com.google.logging.v2.LogView createView(com.google.logging.v2.CreateViewRequest request) + throws io.grpc.StatusException { + return io.grpc.stub.ClientCalls.blockingV2UnaryCall( getChannel(), getCreateViewMethod(), getCallOptions(), request); } @@ -2684,9 +2682,9 @@ public com.google.logging.v2.LogView createView( * few minutes. * */ - public com.google.logging.v2.LogView updateView( - com.google.logging.v2.UpdateViewRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( + public com.google.logging.v2.LogView updateView(com.google.logging.v2.UpdateViewRequest request) + throws io.grpc.StatusException { + return io.grpc.stub.ClientCalls.blockingV2UnaryCall( getChannel(), getUpdateViewMethod(), getCallOptions(), request); } @@ -2700,8 +2698,9 @@ public com.google.logging.v2.LogView updateView( * few minutes. * */ - public com.google.protobuf.Empty deleteView(com.google.logging.v2.DeleteViewRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( + public com.google.protobuf.Empty deleteView(com.google.logging.v2.DeleteViewRequest request) + throws io.grpc.StatusException { + return io.grpc.stub.ClientCalls.blockingV2UnaryCall( getChannel(), getDeleteViewMethod(), getCallOptions(), request); } @@ -2713,8 +2712,8 @@ public com.google.protobuf.Empty deleteView(com.google.logging.v2.DeleteViewRequ * */ public com.google.logging.v2.ListSinksResponse listSinks( - com.google.logging.v2.ListSinksRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( + com.google.logging.v2.ListSinksRequest request) throws io.grpc.StatusException { + return io.grpc.stub.ClientCalls.blockingV2UnaryCall( getChannel(), getListSinksMethod(), getCallOptions(), request); } @@ -2725,8 +2724,9 @@ public com.google.logging.v2.ListSinksResponse listSinks( * Gets a sink. * */ - public com.google.logging.v2.LogSink getSink(com.google.logging.v2.GetSinkRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( + public com.google.logging.v2.LogSink getSink(com.google.logging.v2.GetSinkRequest request) + throws io.grpc.StatusException { + return io.grpc.stub.ClientCalls.blockingV2UnaryCall( getChannel(), getGetSinkMethod(), getCallOptions(), request); } @@ -2740,9 +2740,9 @@ public com.google.logging.v2.LogSink getSink(com.google.logging.v2.GetSinkReques * export log entries only from the resource owning the sink. * */ - public com.google.logging.v2.LogSink createSink( - com.google.logging.v2.CreateSinkRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( + public com.google.logging.v2.LogSink createSink(com.google.logging.v2.CreateSinkRequest request) + throws io.grpc.StatusException { + return io.grpc.stub.ClientCalls.blockingV2UnaryCall( getChannel(), getCreateSinkMethod(), getCallOptions(), request); } @@ -2756,9 +2756,9 @@ public com.google.logging.v2.LogSink createSink( * `unique_writer_identity` field. * */ - public com.google.logging.v2.LogSink updateSink( - com.google.logging.v2.UpdateSinkRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( + public com.google.logging.v2.LogSink updateSink(com.google.logging.v2.UpdateSinkRequest request) + throws io.grpc.StatusException { + return io.grpc.stub.ClientCalls.blockingV2UnaryCall( getChannel(), getUpdateSinkMethod(), getCallOptions(), request); } @@ -2770,8 +2770,9 @@ public com.google.logging.v2.LogSink updateSink( * service account is also deleted. * */ - public com.google.protobuf.Empty deleteSink(com.google.logging.v2.DeleteSinkRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( + public com.google.protobuf.Empty deleteSink(com.google.logging.v2.DeleteSinkRequest request) + throws io.grpc.StatusException { + return io.grpc.stub.ClientCalls.blockingV2UnaryCall( getChannel(), getDeleteSinkMethod(), getCallOptions(), request); } @@ -2785,8 +2786,8 @@ public com.google.protobuf.Empty deleteSink(com.google.logging.v2.DeleteSinkRequ * */ public com.google.longrunning.Operation createLink( - com.google.logging.v2.CreateLinkRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( + com.google.logging.v2.CreateLinkRequest request) throws io.grpc.StatusException { + return io.grpc.stub.ClientCalls.blockingV2UnaryCall( getChannel(), getCreateLinkMethod(), getCallOptions(), request); } @@ -2799,8 +2800,8 @@ public com.google.longrunning.Operation createLink( * */ public com.google.longrunning.Operation deleteLink( - com.google.logging.v2.DeleteLinkRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( + com.google.logging.v2.DeleteLinkRequest request) throws io.grpc.StatusException { + return io.grpc.stub.ClientCalls.blockingV2UnaryCall( getChannel(), getDeleteLinkMethod(), getCallOptions(), request); } @@ -2812,8 +2813,8 @@ public com.google.longrunning.Operation deleteLink( * */ public com.google.logging.v2.ListLinksResponse listLinks( - com.google.logging.v2.ListLinksRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( + com.google.logging.v2.ListLinksRequest request) throws io.grpc.StatusException { + return io.grpc.stub.ClientCalls.blockingV2UnaryCall( getChannel(), getListLinksMethod(), getCallOptions(), request); } @@ -2824,8 +2825,9 @@ public com.google.logging.v2.ListLinksResponse listLinks( * Gets a link. * */ - public com.google.logging.v2.Link getLink(com.google.logging.v2.GetLinkRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( + public com.google.logging.v2.Link getLink(com.google.logging.v2.GetLinkRequest request) + throws io.grpc.StatusException { + return io.grpc.stub.ClientCalls.blockingV2UnaryCall( getChannel(), getGetLinkMethod(), getCallOptions(), request); } @@ -2837,8 +2839,8 @@ public com.google.logging.v2.Link getLink(com.google.logging.v2.GetLinkRequest r * */ public com.google.logging.v2.ListExclusionsResponse listExclusions( - com.google.logging.v2.ListExclusionsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( + com.google.logging.v2.ListExclusionsRequest request) throws io.grpc.StatusException { + return io.grpc.stub.ClientCalls.blockingV2UnaryCall( getChannel(), getListExclusionsMethod(), getCallOptions(), request); } @@ -2850,8 +2852,8 @@ public com.google.logging.v2.ListExclusionsResponse listExclusions( * */ public com.google.logging.v2.LogExclusion getExclusion( - com.google.logging.v2.GetExclusionRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( + com.google.logging.v2.GetExclusionRequest request) throws io.grpc.StatusException { + return io.grpc.stub.ClientCalls.blockingV2UnaryCall( getChannel(), getGetExclusionMethod(), getCallOptions(), request); } @@ -2865,8 +2867,8 @@ public com.google.logging.v2.LogExclusion getExclusion( * */ public com.google.logging.v2.LogExclusion createExclusion( - com.google.logging.v2.CreateExclusionRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( + com.google.logging.v2.CreateExclusionRequest request) throws io.grpc.StatusException { + return io.grpc.stub.ClientCalls.blockingV2UnaryCall( getChannel(), getCreateExclusionMethod(), getCallOptions(), request); } @@ -2879,8 +2881,8 @@ public com.google.logging.v2.LogExclusion createExclusion( * */ public com.google.logging.v2.LogExclusion updateExclusion( - com.google.logging.v2.UpdateExclusionRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( + com.google.logging.v2.UpdateExclusionRequest request) throws io.grpc.StatusException { + return io.grpc.stub.ClientCalls.blockingV2UnaryCall( getChannel(), getUpdateExclusionMethod(), getCallOptions(), request); } @@ -2892,8 +2894,8 @@ public com.google.logging.v2.LogExclusion updateExclusion( * */ public com.google.protobuf.Empty deleteExclusion( - com.google.logging.v2.DeleteExclusionRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( + com.google.logging.v2.DeleteExclusionRequest request) throws io.grpc.StatusException { + return io.grpc.stub.ClientCalls.blockingV2UnaryCall( getChannel(), getDeleteExclusionMethod(), getCallOptions(), request); } @@ -2912,8 +2914,8 @@ public com.google.protobuf.Empty deleteExclusion( * */ public com.google.logging.v2.CmekSettings getCmekSettings( - com.google.logging.v2.GetCmekSettingsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( + com.google.logging.v2.GetCmekSettingsRequest request) throws io.grpc.StatusException { + return io.grpc.stub.ClientCalls.blockingV2UnaryCall( getChannel(), getGetCmekSettingsMethod(), getCallOptions(), request); } @@ -2936,8 +2938,8 @@ public com.google.logging.v2.CmekSettings getCmekSettings( * */ public com.google.logging.v2.CmekSettings updateCmekSettings( - com.google.logging.v2.UpdateCmekSettingsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( + com.google.logging.v2.UpdateCmekSettingsRequest request) throws io.grpc.StatusException { + return io.grpc.stub.ClientCalls.blockingV2UnaryCall( getChannel(), getUpdateCmekSettingsMethod(), getCallOptions(), request); } @@ -2956,8 +2958,8 @@ public com.google.logging.v2.CmekSettings updateCmekSettings( * */ public com.google.logging.v2.Settings getSettings( - com.google.logging.v2.GetSettingsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( + com.google.logging.v2.GetSettingsRequest request) throws io.grpc.StatusException { + return io.grpc.stub.ClientCalls.blockingV2UnaryCall( getChannel(), getGetSettingsMethod(), getCallOptions(), request); } @@ -2981,8 +2983,8 @@ public com.google.logging.v2.Settings getSettings( * */ public com.google.logging.v2.Settings updateSettings( - com.google.logging.v2.UpdateSettingsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( + com.google.logging.v2.UpdateSettingsRequest request) throws io.grpc.StatusException { + return io.grpc.stub.ClientCalls.blockingV2UnaryCall( getChannel(), getUpdateSettingsMethod(), getCallOptions(), request); } @@ -2994,8 +2996,8 @@ public com.google.logging.v2.Settings updateSettings( * */ public com.google.longrunning.Operation copyLogEntries( - com.google.logging.v2.CopyLogEntriesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( + com.google.logging.v2.CopyLogEntriesRequest request) throws io.grpc.StatusException { + return io.grpc.stub.ClientCalls.blockingV2UnaryCall( getChannel(), getCopyLogEntriesMethod(), getCallOptions(), request); } } diff --git a/grpc-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LoggingServiceV2Grpc.java b/grpc-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LoggingServiceV2Grpc.java index 784ce8840..e654a1b54 100644 --- a/grpc-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LoggingServiceV2Grpc.java +++ b/grpc-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LoggingServiceV2Grpc.java @@ -24,9 +24,6 @@ * Service for ingesting and querying logs. * */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/logging/v2/logging.proto") @io.grpc.stub.annotations.GrpcGenerated public final class LoggingServiceV2Grpc { @@ -635,8 +632,9 @@ protected LoggingServiceV2BlockingV2Stub build( * delete operation with a timestamp before the operation will be deleted. * */ - public com.google.protobuf.Empty deleteLog(com.google.logging.v2.DeleteLogRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( + public com.google.protobuf.Empty deleteLog(com.google.logging.v2.DeleteLogRequest request) + throws io.grpc.StatusException { + return io.grpc.stub.ClientCalls.blockingV2UnaryCall( getChannel(), getDeleteLogMethod(), getCallOptions(), request); } @@ -654,8 +652,8 @@ public com.google.protobuf.Empty deleteLog(com.google.logging.v2.DeleteLogReques * */ public com.google.logging.v2.WriteLogEntriesResponse writeLogEntries( - com.google.logging.v2.WriteLogEntriesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( + com.google.logging.v2.WriteLogEntriesRequest request) throws io.grpc.StatusException { + return io.grpc.stub.ClientCalls.blockingV2UnaryCall( getChannel(), getWriteLogEntriesMethod(), getCallOptions(), request); } @@ -670,8 +668,8 @@ public com.google.logging.v2.WriteLogEntriesResponse writeLogEntries( * */ public com.google.logging.v2.ListLogEntriesResponse listLogEntries( - com.google.logging.v2.ListLogEntriesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( + com.google.logging.v2.ListLogEntriesRequest request) throws io.grpc.StatusException { + return io.grpc.stub.ClientCalls.blockingV2UnaryCall( getChannel(), getListLogEntriesMethod(), getCallOptions(), request); } @@ -684,8 +682,9 @@ public com.google.logging.v2.ListLogEntriesResponse listLogEntries( */ public com.google.logging.v2.ListMonitoredResourceDescriptorsResponse listMonitoredResourceDescriptors( - com.google.logging.v2.ListMonitoredResourceDescriptorsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( + com.google.logging.v2.ListMonitoredResourceDescriptorsRequest request) + throws io.grpc.StatusException { + return io.grpc.stub.ClientCalls.blockingV2UnaryCall( getChannel(), getListMonitoredResourceDescriptorsMethod(), getCallOptions(), request); } @@ -698,8 +697,8 @@ public com.google.logging.v2.ListLogEntriesResponse listLogEntries( * */ public com.google.logging.v2.ListLogsResponse listLogs( - com.google.logging.v2.ListLogsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( + com.google.logging.v2.ListLogsRequest request) throws io.grpc.StatusException { + return io.grpc.stub.ClientCalls.blockingV2UnaryCall( getChannel(), getListLogsMethod(), getCallOptions(), request); } diff --git a/grpc-google-cloud-logging-v2/src/main/java/com/google/logging/v2/MetricsServiceV2Grpc.java b/grpc-google-cloud-logging-v2/src/main/java/com/google/logging/v2/MetricsServiceV2Grpc.java index 379bb58b4..ecc22d024 100644 --- a/grpc-google-cloud-logging-v2/src/main/java/com/google/logging/v2/MetricsServiceV2Grpc.java +++ b/grpc-google-cloud-logging-v2/src/main/java/com/google/logging/v2/MetricsServiceV2Grpc.java @@ -24,9 +24,6 @@ * Service for configuring logs-based metrics. * */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/logging/v2/logging_metrics.proto") @io.grpc.stub.annotations.GrpcGenerated public final class MetricsServiceV2Grpc { @@ -523,8 +520,8 @@ protected MetricsServiceV2BlockingV2Stub build( * */ public com.google.logging.v2.ListLogMetricsResponse listLogMetrics( - com.google.logging.v2.ListLogMetricsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( + com.google.logging.v2.ListLogMetricsRequest request) throws io.grpc.StatusException { + return io.grpc.stub.ClientCalls.blockingV2UnaryCall( getChannel(), getListLogMetricsMethod(), getCallOptions(), request); } @@ -536,8 +533,8 @@ public com.google.logging.v2.ListLogMetricsResponse listLogMetrics( * */ public com.google.logging.v2.LogMetric getLogMetric( - com.google.logging.v2.GetLogMetricRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( + com.google.logging.v2.GetLogMetricRequest request) throws io.grpc.StatusException { + return io.grpc.stub.ClientCalls.blockingV2UnaryCall( getChannel(), getGetLogMetricMethod(), getCallOptions(), request); } @@ -549,8 +546,8 @@ public com.google.logging.v2.LogMetric getLogMetric( * */ public com.google.logging.v2.LogMetric createLogMetric( - com.google.logging.v2.CreateLogMetricRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( + com.google.logging.v2.CreateLogMetricRequest request) throws io.grpc.StatusException { + return io.grpc.stub.ClientCalls.blockingV2UnaryCall( getChannel(), getCreateLogMetricMethod(), getCallOptions(), request); } @@ -562,8 +559,8 @@ public com.google.logging.v2.LogMetric createLogMetric( * */ public com.google.logging.v2.LogMetric updateLogMetric( - com.google.logging.v2.UpdateLogMetricRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( + com.google.logging.v2.UpdateLogMetricRequest request) throws io.grpc.StatusException { + return io.grpc.stub.ClientCalls.blockingV2UnaryCall( getChannel(), getUpdateLogMetricMethod(), getCallOptions(), request); } @@ -575,8 +572,8 @@ public com.google.logging.v2.LogMetric updateLogMetric( * */ public com.google.protobuf.Empty deleteLogMetric( - com.google.logging.v2.DeleteLogMetricRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( + com.google.logging.v2.DeleteLogMetricRequest request) throws io.grpc.StatusException { + return io.grpc.stub.ClientCalls.blockingV2UnaryCall( getChannel(), getDeleteLogMetricMethod(), getCallOptions(), request); } }