diff --git a/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/ConfigClient.java b/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/ConfigClient.java index 9f0de332d..55229d6f4 100644 --- a/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/ConfigClient.java +++ b/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/ConfigClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2023 Google LLC + * Copyright 2024 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/ConfigSettings.java b/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/ConfigSettings.java index f2f805b69..cbc81947b 100644 --- a/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/ConfigSettings.java +++ b/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/ConfigSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2023 Google LLC + * Copyright 2024 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -23,7 +23,6 @@ import static com.google.cloud.logging.v2.ConfigClient.ListViewsPagedResponse; import com.google.api.core.ApiFunction; -import com.google.api.core.BetaApi; import com.google.api.gax.core.GoogleCredentialsProvider; import com.google.api.gax.core.InstantiatingExecutorProvider; import com.google.api.gax.grpc.InstantiatingGrpcChannelProvider; @@ -356,7 +355,6 @@ public static TransportChannelProvider defaultTransportChannelProvider() { return ConfigServiceV2StubSettings.defaultTransportChannelProvider(); } - @BetaApi("The surface for customizing headers is not stable yet and may change in the future.") public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder() { return ConfigServiceV2StubSettings.defaultApiClientHeaderProviderBuilder(); } diff --git a/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/LoggingClient.java b/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/LoggingClient.java index 48c133832..4306bcec6 100644 --- a/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/LoggingClient.java +++ b/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/LoggingClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2023 Google LLC + * Copyright 2024 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/LoggingSettings.java b/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/LoggingSettings.java index ab76dc90e..f1763bf80 100644 --- a/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/LoggingSettings.java +++ b/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/LoggingSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2023 Google LLC + * Copyright 2024 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -21,7 +21,6 @@ import static com.google.cloud.logging.v2.LoggingClient.ListMonitoredResourceDescriptorsPagedResponse; import com.google.api.core.ApiFunction; -import com.google.api.core.BetaApi; import com.google.api.gax.core.GoogleCredentialsProvider; import com.google.api.gax.core.InstantiatingExecutorProvider; import com.google.api.gax.grpc.InstantiatingGrpcChannelProvider; @@ -162,7 +161,6 @@ public static TransportChannelProvider defaultTransportChannelProvider() { return LoggingServiceV2StubSettings.defaultTransportChannelProvider(); } - @BetaApi("The surface for customizing headers is not stable yet and may change in the future.") public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder() { return LoggingServiceV2StubSettings.defaultApiClientHeaderProviderBuilder(); } diff --git a/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/MetricsClient.java b/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/MetricsClient.java index c5e4ffe2e..44601734b 100644 --- a/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/MetricsClient.java +++ b/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/MetricsClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2023 Google LLC + * Copyright 2024 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/MetricsSettings.java b/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/MetricsSettings.java index eaf77b85a..bb3afbcc6 100644 --- a/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/MetricsSettings.java +++ b/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/MetricsSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2023 Google LLC + * Copyright 2024 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -19,7 +19,6 @@ import static com.google.cloud.logging.v2.MetricsClient.ListLogMetricsPagedResponse; import com.google.api.core.ApiFunction; -import com.google.api.core.BetaApi; import com.google.api.gax.core.GoogleCredentialsProvider; import com.google.api.gax.core.InstantiatingExecutorProvider; import com.google.api.gax.grpc.InstantiatingGrpcChannelProvider; @@ -141,7 +140,6 @@ public static TransportChannelProvider defaultTransportChannelProvider() { return MetricsServiceV2StubSettings.defaultTransportChannelProvider(); } - @BetaApi("The surface for customizing headers is not stable yet and may change in the future.") public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder() { return MetricsServiceV2StubSettings.defaultApiClientHeaderProviderBuilder(); } diff --git a/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/package-info.java b/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/package-info.java index 4f6420980..f473fa53e 100644 --- a/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/package-info.java +++ b/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/package-info.java @@ -1,5 +1,5 @@ /* - * Copyright 2023 Google LLC + * Copyright 2024 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/ConfigServiceV2Stub.java b/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/ConfigServiceV2Stub.java index b14a8c3f9..5a7a372bc 100644 --- a/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/ConfigServiceV2Stub.java +++ b/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/ConfigServiceV2Stub.java @@ -1,5 +1,5 @@ /* - * Copyright 2023 Google LLC + * Copyright 2024 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/ConfigServiceV2StubSettings.java b/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/ConfigServiceV2StubSettings.java index df6bdaee3..67b5412a9 100644 --- a/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/ConfigServiceV2StubSettings.java +++ b/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/ConfigServiceV2StubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2023 Google LLC + * Copyright 2024 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -731,7 +731,6 @@ public static TransportChannelProvider defaultTransportChannelProvider() { return defaultGrpcTransportProviderBuilder().build(); } - @BetaApi("The surface for customizing headers is not stable yet and may change in the future.") public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder() { return ApiClientHeaderProvider.newBuilder() .setGeneratedLibToken( diff --git a/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/GrpcConfigServiceV2CallableFactory.java b/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/GrpcConfigServiceV2CallableFactory.java index 3087b1086..0a1a508b3 100644 --- a/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/GrpcConfigServiceV2CallableFactory.java +++ b/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/GrpcConfigServiceV2CallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2023 Google LLC + * Copyright 2024 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. 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 958a151e4..695eba5ea 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 @@ -1,5 +1,5 @@ /* - * Copyright 2023 Google LLC + * Copyright 2024 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/GrpcLoggingServiceV2CallableFactory.java b/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/GrpcLoggingServiceV2CallableFactory.java index aa0d7a48d..95d2afb33 100644 --- a/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/GrpcLoggingServiceV2CallableFactory.java +++ b/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/GrpcLoggingServiceV2CallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2023 Google LLC + * Copyright 2024 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. 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 b06d02258..a6a0c280b 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 @@ -1,5 +1,5 @@ /* - * Copyright 2023 Google LLC + * Copyright 2024 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/GrpcMetricsServiceV2CallableFactory.java b/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/GrpcMetricsServiceV2CallableFactory.java index 4057830b0..2759addac 100644 --- a/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/GrpcMetricsServiceV2CallableFactory.java +++ b/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/GrpcMetricsServiceV2CallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2023 Google LLC + * Copyright 2024 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. 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 967d8ccbd..86b945aa6 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 @@ -1,5 +1,5 @@ /* - * Copyright 2023 Google LLC + * Copyright 2024 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/LoggingServiceV2Stub.java b/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/LoggingServiceV2Stub.java index 0598eed81..2df08a840 100644 --- a/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/LoggingServiceV2Stub.java +++ b/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/LoggingServiceV2Stub.java @@ -1,5 +1,5 @@ /* - * Copyright 2023 Google LLC + * Copyright 2024 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/LoggingServiceV2StubSettings.java b/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/LoggingServiceV2StubSettings.java index e96353717..7f8e5453d 100644 --- a/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/LoggingServiceV2StubSettings.java +++ b/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/LoggingServiceV2StubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2023 Google LLC + * Copyright 2024 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -23,7 +23,6 @@ import com.google.api.MonitoredResourceDescriptor; import com.google.api.core.ApiFunction; import com.google.api.core.ApiFuture; -import com.google.api.core.BetaApi; import com.google.api.gax.batching.BatchingSettings; import com.google.api.gax.batching.FlowControlSettings; import com.google.api.gax.batching.FlowController; @@ -490,7 +489,6 @@ public static TransportChannelProvider defaultTransportChannelProvider() { return defaultGrpcTransportProviderBuilder().build(); } - @BetaApi("The surface for customizing headers is not stable yet and may change in the future.") public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder() { return ApiClientHeaderProvider.newBuilder() .setGeneratedLibToken( diff --git a/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/MetricsServiceV2Stub.java b/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/MetricsServiceV2Stub.java index be664c8fe..8cec6cf38 100644 --- a/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/MetricsServiceV2Stub.java +++ b/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/MetricsServiceV2Stub.java @@ -1,5 +1,5 @@ /* - * Copyright 2023 Google LLC + * Copyright 2024 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/MetricsServiceV2StubSettings.java b/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/MetricsServiceV2StubSettings.java index e7eefab52..8b1568809 100644 --- a/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/MetricsServiceV2StubSettings.java +++ b/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/MetricsServiceV2StubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2023 Google LLC + * Copyright 2024 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -20,7 +20,6 @@ import com.google.api.core.ApiFunction; import com.google.api.core.ApiFuture; -import com.google.api.core.BetaApi; import com.google.api.gax.core.GaxProperties; import com.google.api.gax.core.GoogleCredentialsProvider; import com.google.api.gax.core.InstantiatingExecutorProvider; @@ -258,7 +257,6 @@ public static TransportChannelProvider defaultTransportChannelProvider() { return defaultGrpcTransportProviderBuilder().build(); } - @BetaApi("The surface for customizing headers is not stable yet and may change in the future.") public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder() { return ApiClientHeaderProvider.newBuilder() .setGeneratedLibToken( diff --git a/google-cloud-logging/src/test/java/com/google/cloud/logging/v2/ConfigClientTest.java b/google-cloud-logging/src/test/java/com/google/cloud/logging/v2/ConfigClientTest.java index 539d0e6d1..350da5eef 100644 --- a/google-cloud-logging/src/test/java/com/google/cloud/logging/v2/ConfigClientTest.java +++ b/google-cloud-logging/src/test/java/com/google/cloud/logging/v2/ConfigClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2023 Google LLC + * Copyright 2024 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-logging/src/test/java/com/google/cloud/logging/v2/LoggingClientTest.java b/google-cloud-logging/src/test/java/com/google/cloud/logging/v2/LoggingClientTest.java index 736ef717b..02dc0e329 100644 --- a/google-cloud-logging/src/test/java/com/google/cloud/logging/v2/LoggingClientTest.java +++ b/google-cloud-logging/src/test/java/com/google/cloud/logging/v2/LoggingClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2023 Google LLC + * Copyright 2024 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-logging/src/test/java/com/google/cloud/logging/v2/MetricsClientTest.java b/google-cloud-logging/src/test/java/com/google/cloud/logging/v2/MetricsClientTest.java index 36e69467f..410a03588 100644 --- a/google-cloud-logging/src/test/java/com/google/cloud/logging/v2/MetricsClientTest.java +++ b/google-cloud-logging/src/test/java/com/google/cloud/logging/v2/MetricsClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2023 Google LLC + * Copyright 2024 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-logging/src/test/java/com/google/cloud/logging/v2/MockConfigServiceV2.java b/google-cloud-logging/src/test/java/com/google/cloud/logging/v2/MockConfigServiceV2.java index 19151b235..325959baa 100644 --- a/google-cloud-logging/src/test/java/com/google/cloud/logging/v2/MockConfigServiceV2.java +++ b/google-cloud-logging/src/test/java/com/google/cloud/logging/v2/MockConfigServiceV2.java @@ -1,5 +1,5 @@ /* - * Copyright 2023 Google LLC + * Copyright 2024 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-logging/src/test/java/com/google/cloud/logging/v2/MockConfigServiceV2Impl.java b/google-cloud-logging/src/test/java/com/google/cloud/logging/v2/MockConfigServiceV2Impl.java index 4466aca29..d214b0517 100644 --- a/google-cloud-logging/src/test/java/com/google/cloud/logging/v2/MockConfigServiceV2Impl.java +++ b/google-cloud-logging/src/test/java/com/google/cloud/logging/v2/MockConfigServiceV2Impl.java @@ -1,5 +1,5 @@ /* - * Copyright 2023 Google LLC + * Copyright 2024 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-logging/src/test/java/com/google/cloud/logging/v2/MockLoggingServiceV2.java b/google-cloud-logging/src/test/java/com/google/cloud/logging/v2/MockLoggingServiceV2.java index b178291ec..027dae3a1 100644 --- a/google-cloud-logging/src/test/java/com/google/cloud/logging/v2/MockLoggingServiceV2.java +++ b/google-cloud-logging/src/test/java/com/google/cloud/logging/v2/MockLoggingServiceV2.java @@ -1,5 +1,5 @@ /* - * Copyright 2023 Google LLC + * Copyright 2024 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-logging/src/test/java/com/google/cloud/logging/v2/MockLoggingServiceV2Impl.java b/google-cloud-logging/src/test/java/com/google/cloud/logging/v2/MockLoggingServiceV2Impl.java index 2d98bf7ed..7efc702ba 100644 --- a/google-cloud-logging/src/test/java/com/google/cloud/logging/v2/MockLoggingServiceV2Impl.java +++ b/google-cloud-logging/src/test/java/com/google/cloud/logging/v2/MockLoggingServiceV2Impl.java @@ -1,5 +1,5 @@ /* - * Copyright 2023 Google LLC + * Copyright 2024 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-logging/src/test/java/com/google/cloud/logging/v2/MockMetricsServiceV2.java b/google-cloud-logging/src/test/java/com/google/cloud/logging/v2/MockMetricsServiceV2.java index b500421ac..f9ba04a31 100644 --- a/google-cloud-logging/src/test/java/com/google/cloud/logging/v2/MockMetricsServiceV2.java +++ b/google-cloud-logging/src/test/java/com/google/cloud/logging/v2/MockMetricsServiceV2.java @@ -1,5 +1,5 @@ /* - * Copyright 2023 Google LLC + * Copyright 2024 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-logging/src/test/java/com/google/cloud/logging/v2/MockMetricsServiceV2Impl.java b/google-cloud-logging/src/test/java/com/google/cloud/logging/v2/MockMetricsServiceV2Impl.java index 417c754fb..765831f7c 100644 --- a/google-cloud-logging/src/test/java/com/google/cloud/logging/v2/MockMetricsServiceV2Impl.java +++ b/google-cloud-logging/src/test/java/com/google/cloud/logging/v2/MockMetricsServiceV2Impl.java @@ -1,5 +1,5 @@ /* - * Copyright 2023 Google LLC + * Copyright 2024 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/owl-bot-staging/v2/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 similarity index 52% rename from owl-bot-staging/v2/grpc-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ConfigServiceV2Grpc.java rename to grpc-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ConfigServiceV2Grpc.java index 2f08027e5..afdf98a8d 100644 --- a/owl-bot-staging/v2/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 @@ -1,8 +1,25 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.google.logging.v2; import static io.grpc.MethodDescriptor.generateFullMethodName; /** + * + * *
* Service for configuring sinks used to route log entries. *@@ -18,1043 +35,1357 @@ private ConfigServiceV2Grpc() {} public static final java.lang.String SERVICE_NAME = "google.logging.v2.ConfigServiceV2"; // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor
* Service for configuring sinks used to route log entries. *@@ -1062,37 +1393,50 @@ public ConfigServiceV2FutureStub newStub(io.grpc.Channel channel, io.grpc.CallOp public interface AsyncService { /** + * + * *
* Lists log buckets. **/ - default void listBuckets(com.google.logging.v2.ListBucketsRequest request, + default void listBuckets( + com.google.logging.v2.ListBucketsRequest request, io.grpc.stub.StreamObserver
* Gets a log bucket. **/ - default void getBucket(com.google.logging.v2.GetBucketRequest request, + default void getBucket( + com.google.logging.v2.GetBucketRequest request, io.grpc.stub.StreamObserver
* Creates a log bucket asynchronously that can be used to store log entries. * After a bucket has been created, the bucket's location cannot be changed. **/ - default void createBucketAsync(com.google.logging.v2.CreateBucketRequest request, + default void createBucketAsync( + com.google.logging.v2.CreateBucketRequest request, io.grpc.stub.StreamObserver
* Updates a log bucket asynchronously. * If the bucket has a `lifecycle_state` of `DELETE_REQUESTED`, then @@ -1100,23 +1444,31 @@ default void createBucketAsync(com.google.logging.v2.CreateBucketRequest request * After a bucket has been created, the bucket's location cannot be changed. **/ - default void updateBucketAsync(com.google.logging.v2.UpdateBucketRequest request, + default void updateBucketAsync( + com.google.logging.v2.UpdateBucketRequest request, io.grpc.stub.StreamObserver
* Creates a log bucket that can be used to store log entries. After a bucket * has been created, the bucket's location cannot be changed. **/ - default void createBucket(com.google.logging.v2.CreateBucketRequest request, + default void createBucket( + com.google.logging.v2.CreateBucketRequest request, io.grpc.stub.StreamObserver
* Updates a log bucket. * If the bucket has a `lifecycle_state` of `DELETE_REQUESTED`, then @@ -1124,12 +1476,16 @@ default void createBucket(com.google.logging.v2.CreateBucketRequest request, * After a bucket has been created, the bucket's location cannot be changed. **/ - default void updateBucket(com.google.logging.v2.UpdateBucketRequest request, + default void updateBucket( + com.google.logging.v2.UpdateBucketRequest request, io.grpc.stub.StreamObserver
* Deletes a log bucket. * Changes the bucket's `lifecycle_state` to the `DELETE_REQUESTED` state. @@ -1137,54 +1493,71 @@ default void updateBucket(com.google.logging.v2.UpdateBucketRequest request, * will be permanently deleted. **/ - default void deleteBucket(com.google.logging.v2.DeleteBucketRequest request, + default void deleteBucket( + com.google.logging.v2.DeleteBucketRequest request, io.grpc.stub.StreamObserver
* Undeletes a log bucket. A bucket that has been deleted can be undeleted * within the grace period of 7 days. **/ - default void undeleteBucket(com.google.logging.v2.UndeleteBucketRequest request, + default void undeleteBucket( + com.google.logging.v2.UndeleteBucketRequest request, io.grpc.stub.StreamObserver
* Lists views on a log bucket. **/ - default void listViews(com.google.logging.v2.ListViewsRequest request, + default void listViews( + com.google.logging.v2.ListViewsRequest request, io.grpc.stub.StreamObserver
* Gets a view on a log bucket.. **/ - default void getView(com.google.logging.v2.GetViewRequest request, + default void getView( + com.google.logging.v2.GetViewRequest request, io.grpc.stub.StreamObserver
* Creates a view over log entries in a log bucket. A bucket may contain a * maximum of 30 views. **/ - default void createView(com.google.logging.v2.CreateViewRequest request, + default void createView( + com.google.logging.v2.CreateViewRequest request, io.grpc.stub.StreamObserver
* Updates a view on a log bucket. This method replaces the following fields * in the existing view with values from the new view: `filter`. @@ -1193,12 +1566,15 @@ default void createView(com.google.logging.v2.CreateViewRequest request, * few minutes. **/ - default void updateView(com.google.logging.v2.UpdateViewRequest request, + default void updateView( + com.google.logging.v2.UpdateViewRequest request, io.grpc.stub.StreamObserver
* Deletes a view on a log bucket. * If an `UNAVAILABLE` error is returned, this indicates that system is not in @@ -1206,32 +1582,41 @@ default void updateView(com.google.logging.v2.UpdateViewRequest request, * few minutes. **/ - default void deleteView(com.google.logging.v2.DeleteViewRequest request, + default void deleteView( + com.google.logging.v2.DeleteViewRequest request, io.grpc.stub.StreamObserver
* Lists sinks. **/ - default void listSinks(com.google.logging.v2.ListSinksRequest request, + default void listSinks( + com.google.logging.v2.ListSinksRequest request, io.grpc.stub.StreamObserver
* Gets a sink. **/ - default void getSink(com.google.logging.v2.GetSinkRequest request, + default void getSink( + com.google.logging.v2.GetSinkRequest request, io.grpc.stub.StreamObserver
* Creates a sink that exports specified log entries to a destination. The * export of newly-ingested log entries begins immediately, unless the sink's @@ -1239,12 +1624,15 @@ default void getSink(com.google.logging.v2.GetSinkRequest request, * export log entries only from the resource owning the sink. **/ - default void createSink(com.google.logging.v2.CreateSinkRequest request, + default void createSink( + com.google.logging.v2.CreateSinkRequest request, io.grpc.stub.StreamObserver
* Updates a sink. This method replaces the following fields in the existing * sink with values from the new sink: `destination`, and `filter`. @@ -1252,119 +1640,158 @@ default void createSink(com.google.logging.v2.CreateSinkRequest request, * `unique_writer_identity` field. **/ - default void updateSink(com.google.logging.v2.UpdateSinkRequest request, + default void updateSink( + com.google.logging.v2.UpdateSinkRequest request, io.grpc.stub.StreamObserver
* Deletes a sink. If the sink has a unique `writer_identity`, then that * service account is also deleted. **/ - default void deleteSink(com.google.logging.v2.DeleteSinkRequest request, + default void deleteSink( + com.google.logging.v2.DeleteSinkRequest request, io.grpc.stub.StreamObserver
* Asynchronously creates a linked dataset in BigQuery which makes it possible * to use BigQuery to read the logs stored in the log bucket. A log bucket may * currently only contain one link. **/ - default void createLink(com.google.logging.v2.CreateLinkRequest request, + default void createLink( + com.google.logging.v2.CreateLinkRequest request, io.grpc.stub.StreamObserver
* Deletes a link. This will also delete the corresponding BigQuery linked * dataset. **/ - default void deleteLink(com.google.logging.v2.DeleteLinkRequest request, + default void deleteLink( + com.google.logging.v2.DeleteLinkRequest request, io.grpc.stub.StreamObserver
* Lists links. **/ - default void listLinks(com.google.logging.v2.ListLinksRequest request, + default void listLinks( + com.google.logging.v2.ListLinksRequest request, io.grpc.stub.StreamObserver
* Gets a link. **/ - default void getLink(com.google.logging.v2.GetLinkRequest request, + default void getLink( + com.google.logging.v2.GetLinkRequest request, io.grpc.stub.StreamObserver
* Lists all the exclusions on the _Default sink in a parent resource. **/ - default void listExclusions(com.google.logging.v2.ListExclusionsRequest request, - io.grpc.stub.StreamObserver
* Gets the description of an exclusion in the _Default sink. **/ - default void getExclusion(com.google.logging.v2.GetExclusionRequest request, + default void getExclusion( + com.google.logging.v2.GetExclusionRequest request, io.grpc.stub.StreamObserver
* Creates a new exclusion in the _Default sink in a specified parent * resource. Only log entries belonging to that resource can be excluded. You * can have up to 10 exclusions in a resource. **/ - default void createExclusion(com.google.logging.v2.CreateExclusionRequest request, + default void createExclusion( + com.google.logging.v2.CreateExclusionRequest request, io.grpc.stub.StreamObserver
* Changes one or more properties of an existing exclusion in the _Default * sink. **/ - default void updateExclusion(com.google.logging.v2.UpdateExclusionRequest request, + default void updateExclusion( + com.google.logging.v2.UpdateExclusionRequest request, io.grpc.stub.StreamObserver
* Deletes an exclusion in the _Default sink. **/ - default void deleteExclusion(com.google.logging.v2.DeleteExclusionRequest request, + default void deleteExclusion( + com.google.logging.v2.DeleteExclusionRequest request, io.grpc.stub.StreamObserver
* Gets the Logging CMEK settings for the given resource. * Note: CMEK for the Log Router can be configured for Google Cloud projects, @@ -1376,12 +1803,16 @@ default void deleteExclusion(com.google.logging.v2.DeleteExclusionRequest reques * for more information. **/ - default void getCmekSettings(com.google.logging.v2.GetCmekSettingsRequest request, + default void getCmekSettings( + com.google.logging.v2.GetCmekSettingsRequest request, io.grpc.stub.StreamObserver
* Updates the Log Router CMEK settings for the given resource. * Note: CMEK for the Log Router can currently only be configured for Google @@ -1397,12 +1828,16 @@ default void getCmekSettings(com.google.logging.v2.GetCmekSettingsRequest reques * for more information. **/ - default void updateCmekSettings(com.google.logging.v2.UpdateCmekSettingsRequest request, + default void updateCmekSettings( + com.google.logging.v2.UpdateCmekSettingsRequest request, io.grpc.stub.StreamObserver
* Gets the Log Router settings for the given resource. * Note: Settings for the Log Router can be get for Google Cloud projects, @@ -1414,12 +1849,16 @@ default void updateCmekSettings(com.google.logging.v2.UpdateCmekSettingsRequest * for more information. **/ - default void getSettings(com.google.logging.v2.GetSettingsRequest request, + default void getSettings( + com.google.logging.v2.GetSettingsRequest request, io.grpc.stub.StreamObserver
* Updates the Log Router settings for the given resource. * Note: Settings for the Log Router can currently only be configured for @@ -1436,90 +1875,112 @@ default void getSettings(com.google.logging.v2.GetSettingsRequest request, * for more information. **/ - default void updateSettings(com.google.logging.v2.UpdateSettingsRequest request, + default void updateSettings( + com.google.logging.v2.UpdateSettingsRequest request, io.grpc.stub.StreamObserver
* Copies a set of log entries from a log bucket to a Cloud Storage bucket. **/ - default void copyLogEntries(com.google.logging.v2.CopyLogEntriesRequest request, + default void copyLogEntries( + com.google.logging.v2.CopyLogEntriesRequest request, io.grpc.stub.StreamObserver
* Service for configuring sinks used to route log entries. **/ - public static abstract class ConfigServiceV2ImplBase + public abstract static class ConfigServiceV2ImplBase implements io.grpc.BindableService, AsyncService { - @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { return ConfigServiceV2Grpc.bindService(this); } } /** * A stub to allow clients to do asynchronous rpc calls to service ConfigServiceV2. + * *
* Service for configuring sinks used to route log entries. **/ public static final class ConfigServiceV2Stub extends io.grpc.stub.AbstractAsyncStub
* Lists log buckets. **/ - public void listBuckets(com.google.logging.v2.ListBucketsRequest request, + public void listBuckets( + com.google.logging.v2.ListBucketsRequest request, io.grpc.stub.StreamObserver
* Gets a log bucket. **/ - public void getBucket(com.google.logging.v2.GetBucketRequest request, + public void getBucket( + com.google.logging.v2.GetBucketRequest request, io.grpc.stub.StreamObserver
* Creates a log bucket asynchronously that can be used to store log entries. * After a bucket has been created, the bucket's location cannot be changed. **/ - public void createBucketAsync(com.google.logging.v2.CreateBucketRequest request, + public void createBucketAsync( + com.google.logging.v2.CreateBucketRequest request, io.grpc.stub.StreamObserver
* Updates a log bucket asynchronously. * If the bucket has a `lifecycle_state` of `DELETE_REQUESTED`, then @@ -1527,25 +1988,35 @@ public void createBucketAsync(com.google.logging.v2.CreateBucketRequest request, * After a bucket has been created, the bucket's location cannot be changed. **/ - public void updateBucketAsync(com.google.logging.v2.UpdateBucketRequest request, + public void updateBucketAsync( + com.google.logging.v2.UpdateBucketRequest request, io.grpc.stub.StreamObserver
* Creates a log bucket that can be used to store log entries. After a bucket * has been created, the bucket's location cannot be changed. **/ - public void createBucket(com.google.logging.v2.CreateBucketRequest request, + public void createBucket( + com.google.logging.v2.CreateBucketRequest request, io.grpc.stub.StreamObserver
* Updates a log bucket. * If the bucket has a `lifecycle_state` of `DELETE_REQUESTED`, then @@ -1553,13 +2024,18 @@ public void createBucket(com.google.logging.v2.CreateBucketRequest request, * After a bucket has been created, the bucket's location cannot be changed. **/ - public void updateBucket(com.google.logging.v2.UpdateBucketRequest request, + public void updateBucket( + com.google.logging.v2.UpdateBucketRequest request, io.grpc.stub.StreamObserver
* Deletes a log bucket. * Changes the bucket's `lifecycle_state` to the `DELETE_REQUESTED` state. @@ -1567,59 +2043,78 @@ public void updateBucket(com.google.logging.v2.UpdateBucketRequest request, * will be permanently deleted. **/ - public void deleteBucket(com.google.logging.v2.DeleteBucketRequest request, + public void deleteBucket( + com.google.logging.v2.DeleteBucketRequest request, io.grpc.stub.StreamObserver
* Undeletes a log bucket. A bucket that has been deleted can be undeleted * within the grace period of 7 days. **/ - public void undeleteBucket(com.google.logging.v2.UndeleteBucketRequest request, + public void undeleteBucket( + com.google.logging.v2.UndeleteBucketRequest request, io.grpc.stub.StreamObserver
* Lists views on a log bucket. **/ - public void listViews(com.google.logging.v2.ListViewsRequest request, + public void listViews( + com.google.logging.v2.ListViewsRequest request, io.grpc.stub.StreamObserver
* Gets a view on a log bucket.. **/ - public void getView(com.google.logging.v2.GetViewRequest request, + public void getView( + com.google.logging.v2.GetViewRequest request, io.grpc.stub.StreamObserver
* Creates a view over log entries in a log bucket. A bucket may contain a * maximum of 30 views. **/ - public void createView(com.google.logging.v2.CreateViewRequest request, + public void createView( + com.google.logging.v2.CreateViewRequest request, io.grpc.stub.StreamObserver
* Updates a view on a log bucket. This method replaces the following fields * in the existing view with values from the new view: `filter`. @@ -1628,13 +2123,16 @@ public void createView(com.google.logging.v2.CreateViewRequest request, * few minutes. **/ - public void updateView(com.google.logging.v2.UpdateViewRequest request, + public void updateView( + com.google.logging.v2.UpdateViewRequest request, io.grpc.stub.StreamObserver
* Deletes a view on a log bucket. * If an `UNAVAILABLE` error is returned, this indicates that system is not in @@ -1642,35 +2140,44 @@ public void updateView(com.google.logging.v2.UpdateViewRequest request, * few minutes. **/ - public void deleteView(com.google.logging.v2.DeleteViewRequest request, + public void deleteView( + com.google.logging.v2.DeleteViewRequest request, io.grpc.stub.StreamObserver
* Lists sinks. **/ - public void listSinks(com.google.logging.v2.ListSinksRequest request, + public void listSinks( + com.google.logging.v2.ListSinksRequest request, io.grpc.stub.StreamObserver
* Gets a sink. **/ - public void getSink(com.google.logging.v2.GetSinkRequest request, + public void getSink( + com.google.logging.v2.GetSinkRequest request, io.grpc.stub.StreamObserver
* Creates a sink that exports specified log entries to a destination. The * export of newly-ingested log entries begins immediately, unless the sink's @@ -1678,13 +2185,16 @@ public void getSink(com.google.logging.v2.GetSinkRequest request, * export log entries only from the resource owning the sink. **/ - public void createSink(com.google.logging.v2.CreateSinkRequest request, + public void createSink( + com.google.logging.v2.CreateSinkRequest request, io.grpc.stub.StreamObserver
* Updates a sink. This method replaces the following fields in the existing * sink with values from the new sink: `destination`, and `filter`. @@ -1692,130 +2202,174 @@ public void createSink(com.google.logging.v2.CreateSinkRequest request, * `unique_writer_identity` field. **/ - public void updateSink(com.google.logging.v2.UpdateSinkRequest request, + public void updateSink( + com.google.logging.v2.UpdateSinkRequest request, io.grpc.stub.StreamObserver
* Deletes a sink. If the sink has a unique `writer_identity`, then that * service account is also deleted. **/ - public void deleteSink(com.google.logging.v2.DeleteSinkRequest request, + public void deleteSink( + com.google.logging.v2.DeleteSinkRequest request, io.grpc.stub.StreamObserver
* Asynchronously creates a linked dataset in BigQuery which makes it possible * to use BigQuery to read the logs stored in the log bucket. A log bucket may * currently only contain one link. **/ - public void createLink(com.google.logging.v2.CreateLinkRequest request, + public void createLink( + com.google.logging.v2.CreateLinkRequest request, io.grpc.stub.StreamObserver
* Deletes a link. This will also delete the corresponding BigQuery linked * dataset. **/ - public void deleteLink(com.google.logging.v2.DeleteLinkRequest request, + public void deleteLink( + com.google.logging.v2.DeleteLinkRequest request, io.grpc.stub.StreamObserver
* Lists links. **/ - public void listLinks(com.google.logging.v2.ListLinksRequest request, + public void listLinks( + com.google.logging.v2.ListLinksRequest request, io.grpc.stub.StreamObserver
* Gets a link. **/ - public void getLink(com.google.logging.v2.GetLinkRequest request, + public void getLink( + com.google.logging.v2.GetLinkRequest request, io.grpc.stub.StreamObserver
* Lists all the exclusions on the _Default sink in a parent resource. **/ - public void listExclusions(com.google.logging.v2.ListExclusionsRequest request, - io.grpc.stub.StreamObserver
* Gets the description of an exclusion in the _Default sink. **/ - public void getExclusion(com.google.logging.v2.GetExclusionRequest request, + public void getExclusion( + com.google.logging.v2.GetExclusionRequest request, io.grpc.stub.StreamObserver
* Creates a new exclusion in the _Default sink in a specified parent * resource. Only log entries belonging to that resource can be excluded. You * can have up to 10 exclusions in a resource. **/ - public void createExclusion(com.google.logging.v2.CreateExclusionRequest request, + public void createExclusion( + com.google.logging.v2.CreateExclusionRequest request, io.grpc.stub.StreamObserver
* Changes one or more properties of an existing exclusion in the _Default * sink. **/ - public void updateExclusion(com.google.logging.v2.UpdateExclusionRequest request, + public void updateExclusion( + com.google.logging.v2.UpdateExclusionRequest request, io.grpc.stub.StreamObserver
* Deletes an exclusion in the _Default sink. **/ - public void deleteExclusion(com.google.logging.v2.DeleteExclusionRequest request, + public void deleteExclusion( + com.google.logging.v2.DeleteExclusionRequest request, io.grpc.stub.StreamObserver
* Gets the Logging CMEK settings for the given resource. * Note: CMEK for the Log Router can be configured for Google Cloud projects, @@ -1827,13 +2381,18 @@ public void deleteExclusion(com.google.logging.v2.DeleteExclusionRequest request * for more information. **/ - public void getCmekSettings(com.google.logging.v2.GetCmekSettingsRequest request, + public void getCmekSettings( + com.google.logging.v2.GetCmekSettingsRequest request, io.grpc.stub.StreamObserver
* Updates the Log Router CMEK settings for the given resource. * Note: CMEK for the Log Router can currently only be configured for Google @@ -1849,13 +2408,18 @@ public void getCmekSettings(com.google.logging.v2.GetCmekSettingsRequest request * for more information. **/ - public void updateCmekSettings(com.google.logging.v2.UpdateCmekSettingsRequest request, + public void updateCmekSettings( + com.google.logging.v2.UpdateCmekSettingsRequest request, io.grpc.stub.StreamObserver
* Gets the Log Router settings for the given resource. * Note: Settings for the Log Router can be get for Google Cloud projects, @@ -1867,13 +2431,18 @@ public void updateCmekSettings(com.google.logging.v2.UpdateCmekSettingsRequest r * for more information. **/ - public void getSettings(com.google.logging.v2.GetSettingsRequest request, + public void getSettings( + com.google.logging.v2.GetSettingsRequest request, io.grpc.stub.StreamObserver
* Updates the Log Router settings for the given resource. * Note: Settings for the Log Router can currently only be configured for @@ -1890,34 +2459,42 @@ public void getSettings(com.google.logging.v2.GetSettingsRequest request, * for more information. **/ - public void updateSettings(com.google.logging.v2.UpdateSettingsRequest request, + public void updateSettings( + com.google.logging.v2.UpdateSettingsRequest request, io.grpc.stub.StreamObserver
* Copies a set of log entries from a log bucket to a Cloud Storage bucket. **/ - public void copyLogEntries(com.google.logging.v2.CopyLogEntriesRequest request, + public void copyLogEntries( + com.google.logging.v2.CopyLogEntriesRequest request, io.grpc.stub.StreamObserver
* Service for configuring sinks used to route log entries. **/ public static final class ConfigServiceV2BlockingStub extends io.grpc.stub.AbstractBlockingStub
* Lists log buckets. **/ - public com.google.logging.v2.ListBucketsResponse listBuckets(com.google.logging.v2.ListBucketsRequest request) { + public com.google.logging.v2.ListBucketsResponse listBuckets( + com.google.logging.v2.ListBucketsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListBucketsMethod(), getCallOptions(), request); } /** + * + * *
* Gets a log bucket. **/ - public com.google.logging.v2.LogBucket getBucket(com.google.logging.v2.GetBucketRequest request) { + public com.google.logging.v2.LogBucket getBucket( + com.google.logging.v2.GetBucketRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetBucketMethod(), getCallOptions(), request); } /** + * + * *
* Creates a log bucket asynchronously that can be used to store log entries. * After a bucket has been created, the bucket's location cannot be changed. **/ - public com.google.longrunning.Operation createBucketAsync(com.google.logging.v2.CreateBucketRequest request) { + public com.google.longrunning.Operation createBucketAsync( + com.google.logging.v2.CreateBucketRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCreateBucketAsyncMethod(), getCallOptions(), request); } /** + * + * *
* Updates a log bucket asynchronously. * If the bucket has a `lifecycle_state` of `DELETE_REQUESTED`, then @@ -1966,23 +2554,29 @@ public com.google.longrunning.Operation createBucketAsync(com.google.logging.v2. * After a bucket has been created, the bucket's location cannot be changed. **/ - public com.google.longrunning.Operation updateBucketAsync(com.google.logging.v2.UpdateBucketRequest request) { + public com.google.longrunning.Operation updateBucketAsync( + com.google.logging.v2.UpdateBucketRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getUpdateBucketAsyncMethod(), getCallOptions(), request); } /** + * + * *
* Creates a log bucket that can be used to store log entries. After a bucket * has been created, the bucket's location cannot be changed. **/ - public com.google.logging.v2.LogBucket createBucket(com.google.logging.v2.CreateBucketRequest request) { + public com.google.logging.v2.LogBucket createBucket( + com.google.logging.v2.CreateBucketRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCreateBucketMethod(), getCallOptions(), request); } /** + * + * *
* Updates a log bucket. * If the bucket has a `lifecycle_state` of `DELETE_REQUESTED`, then @@ -1990,12 +2584,15 @@ public com.google.logging.v2.LogBucket createBucket(com.google.logging.v2.Create * After a bucket has been created, the bucket's location cannot be changed. **/ - public com.google.logging.v2.LogBucket updateBucket(com.google.logging.v2.UpdateBucketRequest request) { + public com.google.logging.v2.LogBucket updateBucket( + com.google.logging.v2.UpdateBucketRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getUpdateBucketMethod(), getCallOptions(), request); } /** + * + * *
* Deletes a log bucket. * Changes the bucket's `lifecycle_state` to the `DELETE_REQUESTED` state. @@ -2003,33 +2600,42 @@ public com.google.logging.v2.LogBucket updateBucket(com.google.logging.v2.Update * will be permanently deleted. **/ - public com.google.protobuf.Empty deleteBucket(com.google.logging.v2.DeleteBucketRequest request) { + public com.google.protobuf.Empty deleteBucket( + com.google.logging.v2.DeleteBucketRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getDeleteBucketMethod(), getCallOptions(), request); } /** + * + * *
* Undeletes a log bucket. A bucket that has been deleted can be undeleted * within the grace period of 7 days. **/ - public com.google.protobuf.Empty undeleteBucket(com.google.logging.v2.UndeleteBucketRequest request) { + public com.google.protobuf.Empty undeleteBucket( + com.google.logging.v2.UndeleteBucketRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getUndeleteBucketMethod(), getCallOptions(), request); } /** + * + * *
* Lists views on a log bucket. **/ - public com.google.logging.v2.ListViewsResponse listViews(com.google.logging.v2.ListViewsRequest request) { + public com.google.logging.v2.ListViewsResponse listViews( + com.google.logging.v2.ListViewsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListViewsMethod(), getCallOptions(), request); } /** + * + * *
* Gets a view on a log bucket.. *@@ -2040,17 +2646,22 @@ public com.google.logging.v2.LogView getView(com.google.logging.v2.GetViewReques } /** + * + * *
* Creates a view over log entries in a log bucket. A bucket may contain a * maximum of 30 views. **/ - public com.google.logging.v2.LogView createView(com.google.logging.v2.CreateViewRequest request) { + public com.google.logging.v2.LogView createView( + com.google.logging.v2.CreateViewRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCreateViewMethod(), getCallOptions(), request); } /** + * + * *
* Updates a view on a log bucket. This method replaces the following fields * in the existing view with values from the new view: `filter`. @@ -2059,12 +2670,15 @@ public com.google.logging.v2.LogView createView(com.google.logging.v2.CreateView * few minutes. **/ - public com.google.logging.v2.LogView updateView(com.google.logging.v2.UpdateViewRequest request) { + public com.google.logging.v2.LogView updateView( + com.google.logging.v2.UpdateViewRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getUpdateViewMethod(), getCallOptions(), request); } /** + * + * *
* Deletes a view on a log bucket. * If an `UNAVAILABLE` error is returned, this indicates that system is not in @@ -2078,16 +2692,21 @@ public com.google.protobuf.Empty deleteView(com.google.logging.v2.DeleteViewRequ } /** + * + * ** Lists sinks. **/ - public com.google.logging.v2.ListSinksResponse listSinks(com.google.logging.v2.ListSinksRequest request) { + public com.google.logging.v2.ListSinksResponse listSinks( + com.google.logging.v2.ListSinksRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListSinksMethod(), getCallOptions(), request); } /** + * + * ** Gets a sink. *@@ -2098,6 +2717,8 @@ public com.google.logging.v2.LogSink getSink(com.google.logging.v2.GetSinkReques } /** + * + * ** Creates a sink that exports specified log entries to a destination. The * export of newly-ingested log entries begins immediately, unless the sink's @@ -2105,12 +2726,15 @@ 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) { + public com.google.logging.v2.LogSink createSink( + com.google.logging.v2.CreateSinkRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCreateSinkMethod(), getCallOptions(), request); } /** + * + * ** Updates a sink. This method replaces the following fields in the existing * sink with values from the new sink: `destination`, and `filter`. @@ -2118,12 +2742,15 @@ public com.google.logging.v2.LogSink createSink(com.google.logging.v2.CreateSink * `unique_writer_identity` field. **/ - public com.google.logging.v2.LogSink updateSink(com.google.logging.v2.UpdateSinkRequest request) { + public com.google.logging.v2.LogSink updateSink( + com.google.logging.v2.UpdateSinkRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getUpdateSinkMethod(), getCallOptions(), request); } /** + * + * ** Deletes a sink. If the sink has a unique `writer_identity`, then that * service account is also deleted. @@ -2135,39 +2762,50 @@ public com.google.protobuf.Empty deleteSink(com.google.logging.v2.DeleteSinkRequ } /** + * + * ** Asynchronously creates a linked dataset in BigQuery which makes it possible * to use BigQuery to read the logs stored in the log bucket. A log bucket may * currently only contain one link. **/ - public com.google.longrunning.Operation createLink(com.google.logging.v2.CreateLinkRequest request) { + public com.google.longrunning.Operation createLink( + com.google.logging.v2.CreateLinkRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCreateLinkMethod(), getCallOptions(), request); } /** + * + * ** Deletes a link. This will also delete the corresponding BigQuery linked * dataset. **/ - public com.google.longrunning.Operation deleteLink(com.google.logging.v2.DeleteLinkRequest request) { + public com.google.longrunning.Operation deleteLink( + com.google.logging.v2.DeleteLinkRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getDeleteLinkMethod(), getCallOptions(), request); } /** + * + * ** Lists links. **/ - public com.google.logging.v2.ListLinksResponse listLinks(com.google.logging.v2.ListLinksRequest request) { + public com.google.logging.v2.ListLinksResponse listLinks( + com.google.logging.v2.ListLinksRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListLinksMethod(), getCallOptions(), request); } /** + * + * ** Gets a link. *@@ -2178,59 +2816,76 @@ public com.google.logging.v2.Link getLink(com.google.logging.v2.GetLinkRequest r } /** + * + * ** Lists all the exclusions on the _Default sink in a parent resource. **/ - public com.google.logging.v2.ListExclusionsResponse listExclusions(com.google.logging.v2.ListExclusionsRequest request) { + public com.google.logging.v2.ListExclusionsResponse listExclusions( + com.google.logging.v2.ListExclusionsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListExclusionsMethod(), getCallOptions(), request); } /** + * + * ** Gets the description of an exclusion in the _Default sink. **/ - public com.google.logging.v2.LogExclusion getExclusion(com.google.logging.v2.GetExclusionRequest request) { + public com.google.logging.v2.LogExclusion getExclusion( + com.google.logging.v2.GetExclusionRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetExclusionMethod(), getCallOptions(), request); } /** + * + * ** Creates a new exclusion in the _Default sink in a specified parent * resource. Only log entries belonging to that resource can be excluded. You * can have up to 10 exclusions in a resource. **/ - public com.google.logging.v2.LogExclusion createExclusion(com.google.logging.v2.CreateExclusionRequest request) { + public com.google.logging.v2.LogExclusion createExclusion( + com.google.logging.v2.CreateExclusionRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCreateExclusionMethod(), getCallOptions(), request); } /** + * + * ** Changes one or more properties of an existing exclusion in the _Default * sink. **/ - public com.google.logging.v2.LogExclusion updateExclusion(com.google.logging.v2.UpdateExclusionRequest request) { + public com.google.logging.v2.LogExclusion updateExclusion( + com.google.logging.v2.UpdateExclusionRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getUpdateExclusionMethod(), getCallOptions(), request); } /** + * + * ** Deletes an exclusion in the _Default sink. **/ - public com.google.protobuf.Empty deleteExclusion(com.google.logging.v2.DeleteExclusionRequest request) { + public com.google.protobuf.Empty deleteExclusion( + com.google.logging.v2.DeleteExclusionRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getDeleteExclusionMethod(), getCallOptions(), request); } /** + * + * ** Gets the Logging CMEK settings for the given resource. * Note: CMEK for the Log Router can be configured for Google Cloud projects, @@ -2242,12 +2897,15 @@ public com.google.protobuf.Empty deleteExclusion(com.google.logging.v2.DeleteExc * for more information. **/ - public com.google.logging.v2.CmekSettings getCmekSettings(com.google.logging.v2.GetCmekSettingsRequest request) { + public com.google.logging.v2.CmekSettings getCmekSettings( + com.google.logging.v2.GetCmekSettingsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetCmekSettingsMethod(), getCallOptions(), request); } /** + * + * ** Updates the Log Router CMEK settings for the given resource. * Note: CMEK for the Log Router can currently only be configured for Google @@ -2263,12 +2921,15 @@ public com.google.logging.v2.CmekSettings getCmekSettings(com.google.logging.v2. * for more information. **/ - public com.google.logging.v2.CmekSettings updateCmekSettings(com.google.logging.v2.UpdateCmekSettingsRequest request) { + public com.google.logging.v2.CmekSettings updateCmekSettings( + com.google.logging.v2.UpdateCmekSettingsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getUpdateCmekSettingsMethod(), getCallOptions(), request); } /** + * + * ** Gets the Log Router settings for the given resource. * Note: Settings for the Log Router can be get for Google Cloud projects, @@ -2280,12 +2941,15 @@ public com.google.logging.v2.CmekSettings updateCmekSettings(com.google.logging. * for more information. **/ - public com.google.logging.v2.Settings getSettings(com.google.logging.v2.GetSettingsRequest request) { + public com.google.logging.v2.Settings getSettings( + com.google.logging.v2.GetSettingsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetSettingsMethod(), getCallOptions(), request); } /** + * + * ** Updates the Log Router settings for the given resource. * Note: Settings for the Log Router can currently only be configured for @@ -2302,17 +2966,21 @@ public com.google.logging.v2.Settings getSettings(com.google.logging.v2.GetSetti * for more information. **/ - public com.google.logging.v2.Settings updateSettings(com.google.logging.v2.UpdateSettingsRequest request) { + public com.google.logging.v2.Settings updateSettings( + com.google.logging.v2.UpdateSettingsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getUpdateSettingsMethod(), getCallOptions(), request); } /** + * + * ** Copies a set of log entries from a log bucket to a Cloud Storage bucket. **/ - public com.google.longrunning.Operation copyLogEntries(com.google.logging.v2.CopyLogEntriesRequest request) { + public com.google.longrunning.Operation copyLogEntries( + com.google.logging.v2.CopyLogEntriesRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCopyLogEntriesMethod(), getCallOptions(), request); } @@ -2320,14 +2988,14 @@ public com.google.longrunning.Operation copyLogEntries(com.google.logging.v2.Cop /** * A stub to allow clients to do ListenableFuture-style rpc calls to service ConfigServiceV2. + * ** Service for configuring sinks used to route log entries. **/ public static final class ConfigServiceV2FutureStub extends io.grpc.stub.AbstractFutureStub{ - private ConfigServiceV2FutureStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + private ConfigServiceV2FutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -2338,40 +3006,49 @@ protected ConfigServiceV2FutureStub build( } /** + * + * * * Lists log buckets. **/ - public com.google.common.util.concurrent.ListenableFuturelistBuckets( - com.google.logging.v2.ListBucketsRequest request) { + public com.google.common.util.concurrent.ListenableFuture< + com.google.logging.v2.ListBucketsResponse> + listBuckets(com.google.logging.v2.ListBucketsRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListBucketsMethod(), getCallOptions()), request); } /** + * + * * * Gets a log bucket. **/ - public com.google.common.util.concurrent.ListenableFuturegetBucket( - com.google.logging.v2.GetBucketRequest request) { + public com.google.common.util.concurrent.ListenableFuture + getBucket(com.google.logging.v2.GetBucketRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetBucketMethod(), getCallOptions()), request); } /** + * + * * * Creates a log bucket asynchronously that can be used to store log entries. * After a bucket has been created, the bucket's location cannot be changed. **/ - public com.google.common.util.concurrent.ListenableFuturecreateBucketAsync( - com.google.logging.v2.CreateBucketRequest request) { + public com.google.common.util.concurrent.ListenableFuture