diff --git a/.github/workflows/hermetic_library_generation.yaml b/.github/workflows/hermetic_library_generation.yaml index 5a97a4380..02d55be1f 100644 --- a/.github/workflows/hermetic_library_generation.yaml +++ b/.github/workflows/hermetic_library_generation.yaml @@ -37,7 +37,7 @@ jobs: with: fetch-depth: 0 token: ${{ secrets.CLOUD_JAVA_BOT_TOKEN }} - - uses: googleapis/sdk-platform-java/.github/scripts@v2.61.0 + - uses: googleapis/sdk-platform-java/.github/scripts@v2.62.0 if: env.SHOULD_RUN == 'true' with: base_ref: ${{ github.base_ref }} diff --git a/.kokoro/presubmit/graalvm-native-a.cfg b/.kokoro/presubmit/graalvm-native-a.cfg index 783727ef0..5816d6107 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.51.0" # {x-version-update:google-cloud-shared-dependencies:current} + value: "gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_a:3.52.0" # {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 83c7afee0..7986fd673 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.51.0" # {x-version-update:google-cloud-shared-dependencies:current} + value: "gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_b:3.52.0" # {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 3a9bbf8c3..acecfce1b 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.51.0" # {x-version-update:google-cloud-shared-dependencies:current} + value: "gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_c:3.52.0" # {x-version-update:google-cloud-shared-dependencies:current} } env_vars: { diff --git a/README.md b/README.md index a7be3a042..d43810c7e 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.65.0') +implementation platform('com.google.cloud:libraries-bom:26.66.0') implementation 'com.google.cloud:google-cloud-logging' ``` diff --git a/generation_config.yaml b/generation_config.yaml index f1902ec93..3e934643a 100644 --- a/generation_config.yaml +++ b/generation_config.yaml @@ -1,6 +1,6 @@ -gapic_generator_version: 2.61.0 -googleapis_commitish: 8c74a4f9ad52cfd7a7d1f6427fa0a0511377a395 -libraries_bom_version: 26.65.0 +gapic_generator_version: 2.62.0 +googleapis_commitish: b738e78ed63effb7d199ed2d61c9e03291b6077f +libraries_bom_version: 26.66.0 libraries: - api_shortname: logging name_pretty: Cloud Logging diff --git a/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/GrpcConfigServiceV2Stub.java b/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/GrpcConfigServiceV2Stub.java index d948ef367..f5cd1a54a 100644 --- a/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/GrpcConfigServiceV2Stub.java +++ b/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/GrpcConfigServiceV2Stub.java @@ -101,6 +101,7 @@ public class GrpcConfigServiceV2Stub extends ConfigServiceV2Stub { .setRequestMarshaller(ProtoUtils.marshaller(ListBucketsRequest.getDefaultInstance())) .setResponseMarshaller( ProtoUtils.marshaller(ListBucketsResponse.getDefaultInstance())) + .setSampledToLocalTracing(true) .build(); private static final MethodDescriptor getBucketMethodDescriptor = @@ -109,6 +110,7 @@ public class GrpcConfigServiceV2Stub extends ConfigServiceV2Stub { .setFullMethodName("google.logging.v2.ConfigServiceV2/GetBucket") .setRequestMarshaller(ProtoUtils.marshaller(GetBucketRequest.getDefaultInstance())) .setResponseMarshaller(ProtoUtils.marshaller(LogBucket.getDefaultInstance())) + .setSampledToLocalTracing(true) .build(); private static final MethodDescriptor @@ -118,6 +120,7 @@ public class GrpcConfigServiceV2Stub extends ConfigServiceV2Stub { .setFullMethodName("google.logging.v2.ConfigServiceV2/CreateBucketAsync") .setRequestMarshaller(ProtoUtils.marshaller(CreateBucketRequest.getDefaultInstance())) .setResponseMarshaller(ProtoUtils.marshaller(Operation.getDefaultInstance())) + .setSampledToLocalTracing(true) .build(); private static final MethodDescriptor @@ -127,6 +130,7 @@ public class GrpcConfigServiceV2Stub extends ConfigServiceV2Stub { .setFullMethodName("google.logging.v2.ConfigServiceV2/UpdateBucketAsync") .setRequestMarshaller(ProtoUtils.marshaller(UpdateBucketRequest.getDefaultInstance())) .setResponseMarshaller(ProtoUtils.marshaller(Operation.getDefaultInstance())) + .setSampledToLocalTracing(true) .build(); private static final MethodDescriptor @@ -136,6 +140,7 @@ public class GrpcConfigServiceV2Stub extends ConfigServiceV2Stub { .setFullMethodName("google.logging.v2.ConfigServiceV2/CreateBucket") .setRequestMarshaller(ProtoUtils.marshaller(CreateBucketRequest.getDefaultInstance())) .setResponseMarshaller(ProtoUtils.marshaller(LogBucket.getDefaultInstance())) + .setSampledToLocalTracing(true) .build(); private static final MethodDescriptor @@ -145,6 +150,7 @@ public class GrpcConfigServiceV2Stub extends ConfigServiceV2Stub { .setFullMethodName("google.logging.v2.ConfigServiceV2/UpdateBucket") .setRequestMarshaller(ProtoUtils.marshaller(UpdateBucketRequest.getDefaultInstance())) .setResponseMarshaller(ProtoUtils.marshaller(LogBucket.getDefaultInstance())) + .setSampledToLocalTracing(true) .build(); private static final MethodDescriptor deleteBucketMethodDescriptor = @@ -153,6 +159,7 @@ public class GrpcConfigServiceV2Stub extends ConfigServiceV2Stub { .setFullMethodName("google.logging.v2.ConfigServiceV2/DeleteBucket") .setRequestMarshaller(ProtoUtils.marshaller(DeleteBucketRequest.getDefaultInstance())) .setResponseMarshaller(ProtoUtils.marshaller(Empty.getDefaultInstance())) + .setSampledToLocalTracing(true) .build(); private static final MethodDescriptor @@ -163,6 +170,7 @@ public class GrpcConfigServiceV2Stub extends ConfigServiceV2Stub { .setRequestMarshaller( ProtoUtils.marshaller(UndeleteBucketRequest.getDefaultInstance())) .setResponseMarshaller(ProtoUtils.marshaller(Empty.getDefaultInstance())) + .setSampledToLocalTracing(true) .build(); private static final MethodDescriptor @@ -172,6 +180,7 @@ public class GrpcConfigServiceV2Stub extends ConfigServiceV2Stub { .setFullMethodName("google.logging.v2.ConfigServiceV2/ListViews") .setRequestMarshaller(ProtoUtils.marshaller(ListViewsRequest.getDefaultInstance())) .setResponseMarshaller(ProtoUtils.marshaller(ListViewsResponse.getDefaultInstance())) + .setSampledToLocalTracing(true) .build(); private static final MethodDescriptor getViewMethodDescriptor = @@ -180,6 +189,7 @@ public class GrpcConfigServiceV2Stub extends ConfigServiceV2Stub { .setFullMethodName("google.logging.v2.ConfigServiceV2/GetView") .setRequestMarshaller(ProtoUtils.marshaller(GetViewRequest.getDefaultInstance())) .setResponseMarshaller(ProtoUtils.marshaller(LogView.getDefaultInstance())) + .setSampledToLocalTracing(true) .build(); private static final MethodDescriptor createViewMethodDescriptor = @@ -188,6 +198,7 @@ public class GrpcConfigServiceV2Stub extends ConfigServiceV2Stub { .setFullMethodName("google.logging.v2.ConfigServiceV2/CreateView") .setRequestMarshaller(ProtoUtils.marshaller(CreateViewRequest.getDefaultInstance())) .setResponseMarshaller(ProtoUtils.marshaller(LogView.getDefaultInstance())) + .setSampledToLocalTracing(true) .build(); private static final MethodDescriptor updateViewMethodDescriptor = @@ -196,6 +207,7 @@ public class GrpcConfigServiceV2Stub extends ConfigServiceV2Stub { .setFullMethodName("google.logging.v2.ConfigServiceV2/UpdateView") .setRequestMarshaller(ProtoUtils.marshaller(UpdateViewRequest.getDefaultInstance())) .setResponseMarshaller(ProtoUtils.marshaller(LogView.getDefaultInstance())) + .setSampledToLocalTracing(true) .build(); private static final MethodDescriptor deleteViewMethodDescriptor = @@ -204,6 +216,7 @@ public class GrpcConfigServiceV2Stub extends ConfigServiceV2Stub { .setFullMethodName("google.logging.v2.ConfigServiceV2/DeleteView") .setRequestMarshaller(ProtoUtils.marshaller(DeleteViewRequest.getDefaultInstance())) .setResponseMarshaller(ProtoUtils.marshaller(Empty.getDefaultInstance())) + .setSampledToLocalTracing(true) .build(); private static final MethodDescriptor @@ -213,6 +226,7 @@ public class GrpcConfigServiceV2Stub extends ConfigServiceV2Stub { .setFullMethodName("google.logging.v2.ConfigServiceV2/ListSinks") .setRequestMarshaller(ProtoUtils.marshaller(ListSinksRequest.getDefaultInstance())) .setResponseMarshaller(ProtoUtils.marshaller(ListSinksResponse.getDefaultInstance())) + .setSampledToLocalTracing(true) .build(); private static final MethodDescriptor getSinkMethodDescriptor = @@ -221,6 +235,7 @@ public class GrpcConfigServiceV2Stub extends ConfigServiceV2Stub { .setFullMethodName("google.logging.v2.ConfigServiceV2/GetSink") .setRequestMarshaller(ProtoUtils.marshaller(GetSinkRequest.getDefaultInstance())) .setResponseMarshaller(ProtoUtils.marshaller(LogSink.getDefaultInstance())) + .setSampledToLocalTracing(true) .build(); private static final MethodDescriptor createSinkMethodDescriptor = @@ -229,6 +244,7 @@ public class GrpcConfigServiceV2Stub extends ConfigServiceV2Stub { .setFullMethodName("google.logging.v2.ConfigServiceV2/CreateSink") .setRequestMarshaller(ProtoUtils.marshaller(CreateSinkRequest.getDefaultInstance())) .setResponseMarshaller(ProtoUtils.marshaller(LogSink.getDefaultInstance())) + .setSampledToLocalTracing(true) .build(); private static final MethodDescriptor updateSinkMethodDescriptor = @@ -237,6 +253,7 @@ public class GrpcConfigServiceV2Stub extends ConfigServiceV2Stub { .setFullMethodName("google.logging.v2.ConfigServiceV2/UpdateSink") .setRequestMarshaller(ProtoUtils.marshaller(UpdateSinkRequest.getDefaultInstance())) .setResponseMarshaller(ProtoUtils.marshaller(LogSink.getDefaultInstance())) + .setSampledToLocalTracing(true) .build(); private static final MethodDescriptor deleteSinkMethodDescriptor = @@ -245,6 +262,7 @@ public class GrpcConfigServiceV2Stub extends ConfigServiceV2Stub { .setFullMethodName("google.logging.v2.ConfigServiceV2/DeleteSink") .setRequestMarshaller(ProtoUtils.marshaller(DeleteSinkRequest.getDefaultInstance())) .setResponseMarshaller(ProtoUtils.marshaller(Empty.getDefaultInstance())) + .setSampledToLocalTracing(true) .build(); private static final MethodDescriptor createLinkMethodDescriptor = @@ -253,6 +271,7 @@ public class GrpcConfigServiceV2Stub extends ConfigServiceV2Stub { .setFullMethodName("google.logging.v2.ConfigServiceV2/CreateLink") .setRequestMarshaller(ProtoUtils.marshaller(CreateLinkRequest.getDefaultInstance())) .setResponseMarshaller(ProtoUtils.marshaller(Operation.getDefaultInstance())) + .setSampledToLocalTracing(true) .build(); private static final MethodDescriptor deleteLinkMethodDescriptor = @@ -261,6 +280,7 @@ public class GrpcConfigServiceV2Stub extends ConfigServiceV2Stub { .setFullMethodName("google.logging.v2.ConfigServiceV2/DeleteLink") .setRequestMarshaller(ProtoUtils.marshaller(DeleteLinkRequest.getDefaultInstance())) .setResponseMarshaller(ProtoUtils.marshaller(Operation.getDefaultInstance())) + .setSampledToLocalTracing(true) .build(); private static final MethodDescriptor @@ -270,6 +290,7 @@ public class GrpcConfigServiceV2Stub extends ConfigServiceV2Stub { .setFullMethodName("google.logging.v2.ConfigServiceV2/ListLinks") .setRequestMarshaller(ProtoUtils.marshaller(ListLinksRequest.getDefaultInstance())) .setResponseMarshaller(ProtoUtils.marshaller(ListLinksResponse.getDefaultInstance())) + .setSampledToLocalTracing(true) .build(); private static final MethodDescriptor getLinkMethodDescriptor = @@ -278,6 +299,7 @@ public class GrpcConfigServiceV2Stub extends ConfigServiceV2Stub { .setFullMethodName("google.logging.v2.ConfigServiceV2/GetLink") .setRequestMarshaller(ProtoUtils.marshaller(GetLinkRequest.getDefaultInstance())) .setResponseMarshaller(ProtoUtils.marshaller(Link.getDefaultInstance())) + .setSampledToLocalTracing(true) .build(); private static final MethodDescriptor @@ -289,6 +311,7 @@ public class GrpcConfigServiceV2Stub extends ConfigServiceV2Stub { ProtoUtils.marshaller(ListExclusionsRequest.getDefaultInstance())) .setResponseMarshaller( ProtoUtils.marshaller(ListExclusionsResponse.getDefaultInstance())) + .setSampledToLocalTracing(true) .build(); private static final MethodDescriptor @@ -298,6 +321,7 @@ public class GrpcConfigServiceV2Stub extends ConfigServiceV2Stub { .setFullMethodName("google.logging.v2.ConfigServiceV2/GetExclusion") .setRequestMarshaller(ProtoUtils.marshaller(GetExclusionRequest.getDefaultInstance())) .setResponseMarshaller(ProtoUtils.marshaller(LogExclusion.getDefaultInstance())) + .setSampledToLocalTracing(true) .build(); private static final MethodDescriptor @@ -308,6 +332,7 @@ public class GrpcConfigServiceV2Stub extends ConfigServiceV2Stub { .setRequestMarshaller( ProtoUtils.marshaller(CreateExclusionRequest.getDefaultInstance())) .setResponseMarshaller(ProtoUtils.marshaller(LogExclusion.getDefaultInstance())) + .setSampledToLocalTracing(true) .build(); private static final MethodDescriptor @@ -318,6 +343,7 @@ public class GrpcConfigServiceV2Stub extends ConfigServiceV2Stub { .setRequestMarshaller( ProtoUtils.marshaller(UpdateExclusionRequest.getDefaultInstance())) .setResponseMarshaller(ProtoUtils.marshaller(LogExclusion.getDefaultInstance())) + .setSampledToLocalTracing(true) .build(); private static final MethodDescriptor @@ -328,6 +354,7 @@ public class GrpcConfigServiceV2Stub extends ConfigServiceV2Stub { .setRequestMarshaller( ProtoUtils.marshaller(DeleteExclusionRequest.getDefaultInstance())) .setResponseMarshaller(ProtoUtils.marshaller(Empty.getDefaultInstance())) + .setSampledToLocalTracing(true) .build(); private static final MethodDescriptor @@ -338,6 +365,7 @@ public class GrpcConfigServiceV2Stub extends ConfigServiceV2Stub { .setRequestMarshaller( ProtoUtils.marshaller(GetCmekSettingsRequest.getDefaultInstance())) .setResponseMarshaller(ProtoUtils.marshaller(CmekSettings.getDefaultInstance())) + .setSampledToLocalTracing(true) .build(); private static final MethodDescriptor @@ -348,6 +376,7 @@ public class GrpcConfigServiceV2Stub extends ConfigServiceV2Stub { .setRequestMarshaller( ProtoUtils.marshaller(UpdateCmekSettingsRequest.getDefaultInstance())) .setResponseMarshaller(ProtoUtils.marshaller(CmekSettings.getDefaultInstance())) + .setSampledToLocalTracing(true) .build(); private static final MethodDescriptor getSettingsMethodDescriptor = @@ -356,6 +385,7 @@ public class GrpcConfigServiceV2Stub extends ConfigServiceV2Stub { .setFullMethodName("google.logging.v2.ConfigServiceV2/GetSettings") .setRequestMarshaller(ProtoUtils.marshaller(GetSettingsRequest.getDefaultInstance())) .setResponseMarshaller(ProtoUtils.marshaller(Settings.getDefaultInstance())) + .setSampledToLocalTracing(true) .build(); private static final MethodDescriptor @@ -366,6 +396,7 @@ public class GrpcConfigServiceV2Stub extends ConfigServiceV2Stub { .setRequestMarshaller( ProtoUtils.marshaller(UpdateSettingsRequest.getDefaultInstance())) .setResponseMarshaller(ProtoUtils.marshaller(Settings.getDefaultInstance())) + .setSampledToLocalTracing(true) .build(); private static final MethodDescriptor @@ -376,6 +407,7 @@ public class GrpcConfigServiceV2Stub extends ConfigServiceV2Stub { .setRequestMarshaller( ProtoUtils.marshaller(CopyLogEntriesRequest.getDefaultInstance())) .setResponseMarshaller(ProtoUtils.marshaller(Operation.getDefaultInstance())) + .setSampledToLocalTracing(true) .build(); private final UnaryCallable listBucketsCallable; diff --git a/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/GrpcLoggingServiceV2Stub.java b/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/GrpcLoggingServiceV2Stub.java index 09d2ae2cf..c227a7d1b 100644 --- a/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/GrpcLoggingServiceV2Stub.java +++ b/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/GrpcLoggingServiceV2Stub.java @@ -61,6 +61,7 @@ public class GrpcLoggingServiceV2Stub extends LoggingServiceV2Stub { .setFullMethodName("google.logging.v2.LoggingServiceV2/DeleteLog") .setRequestMarshaller(ProtoUtils.marshaller(DeleteLogRequest.getDefaultInstance())) .setResponseMarshaller(ProtoUtils.marshaller(Empty.getDefaultInstance())) + .setSampledToLocalTracing(true) .build(); private static final MethodDescriptor @@ -72,6 +73,7 @@ public class GrpcLoggingServiceV2Stub extends LoggingServiceV2Stub { ProtoUtils.marshaller(WriteLogEntriesRequest.getDefaultInstance())) .setResponseMarshaller( ProtoUtils.marshaller(WriteLogEntriesResponse.getDefaultInstance())) + .setSampledToLocalTracing(true) .build(); private static final MethodDescriptor @@ -83,6 +85,7 @@ public class GrpcLoggingServiceV2Stub extends LoggingServiceV2Stub { ProtoUtils.marshaller(ListLogEntriesRequest.getDefaultInstance())) .setResponseMarshaller( ProtoUtils.marshaller(ListLogEntriesResponse.getDefaultInstance())) + .setSampledToLocalTracing(true) .build(); private static final MethodDescriptor< @@ -100,6 +103,7 @@ public class GrpcLoggingServiceV2Stub extends LoggingServiceV2Stub { .setResponseMarshaller( ProtoUtils.marshaller( ListMonitoredResourceDescriptorsResponse.getDefaultInstance())) + .setSampledToLocalTracing(true) .build(); private static final MethodDescriptor @@ -109,6 +113,7 @@ public class GrpcLoggingServiceV2Stub extends LoggingServiceV2Stub { .setFullMethodName("google.logging.v2.LoggingServiceV2/ListLogs") .setRequestMarshaller(ProtoUtils.marshaller(ListLogsRequest.getDefaultInstance())) .setResponseMarshaller(ProtoUtils.marshaller(ListLogsResponse.getDefaultInstance())) + .setSampledToLocalTracing(true) .build(); private static final MethodDescriptor @@ -120,6 +125,7 @@ public class GrpcLoggingServiceV2Stub extends LoggingServiceV2Stub { ProtoUtils.marshaller(TailLogEntriesRequest.getDefaultInstance())) .setResponseMarshaller( ProtoUtils.marshaller(TailLogEntriesResponse.getDefaultInstance())) + .setSampledToLocalTracing(true) .build(); private final UnaryCallable deleteLogCallable; diff --git a/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/GrpcMetricsServiceV2Stub.java b/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/GrpcMetricsServiceV2Stub.java index ae4de2a1b..35d5d1830 100644 --- a/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/GrpcMetricsServiceV2Stub.java +++ b/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/GrpcMetricsServiceV2Stub.java @@ -57,6 +57,7 @@ public class GrpcMetricsServiceV2Stub extends MetricsServiceV2Stub { ProtoUtils.marshaller(ListLogMetricsRequest.getDefaultInstance())) .setResponseMarshaller( ProtoUtils.marshaller(ListLogMetricsResponse.getDefaultInstance())) + .setSampledToLocalTracing(true) .build(); private static final MethodDescriptor @@ -66,6 +67,7 @@ public class GrpcMetricsServiceV2Stub extends MetricsServiceV2Stub { .setFullMethodName("google.logging.v2.MetricsServiceV2/GetLogMetric") .setRequestMarshaller(ProtoUtils.marshaller(GetLogMetricRequest.getDefaultInstance())) .setResponseMarshaller(ProtoUtils.marshaller(LogMetric.getDefaultInstance())) + .setSampledToLocalTracing(true) .build(); private static final MethodDescriptor @@ -76,6 +78,7 @@ public class GrpcMetricsServiceV2Stub extends MetricsServiceV2Stub { .setRequestMarshaller( ProtoUtils.marshaller(CreateLogMetricRequest.getDefaultInstance())) .setResponseMarshaller(ProtoUtils.marshaller(LogMetric.getDefaultInstance())) + .setSampledToLocalTracing(true) .build(); private static final MethodDescriptor @@ -86,6 +89,7 @@ public class GrpcMetricsServiceV2Stub extends MetricsServiceV2Stub { .setRequestMarshaller( ProtoUtils.marshaller(UpdateLogMetricRequest.getDefaultInstance())) .setResponseMarshaller(ProtoUtils.marshaller(LogMetric.getDefaultInstance())) + .setSampledToLocalTracing(true) .build(); private static final MethodDescriptor @@ -96,6 +100,7 @@ public class GrpcMetricsServiceV2Stub extends MetricsServiceV2Stub { .setRequestMarshaller( ProtoUtils.marshaller(DeleteLogMetricRequest.getDefaultInstance())) .setResponseMarshaller(ProtoUtils.marshaller(Empty.getDefaultInstance())) + .setSampledToLocalTracing(true) .build(); private final UnaryCallable listLogMetricsCallable;