params = ImmutableMap.builder();
- params.put("metric_name", String.valueOf(request.getMetricName()));
- return params.build();
+ RequestParamsBuilder builder = RequestParamsBuilder.create();
+ builder.add("metric_name", String.valueOf(request.getMetricName()));
+ return builder.build();
})
.build();
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 06d1b34d9..0598eed81 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 2022 Google LLC
+ * Copyright 2023 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 d01030e25..94f5d4c16 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 2022 Google LLC
+ * Copyright 2023 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/MetricsServiceV2Stub.java b/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/MetricsServiceV2Stub.java
index 51e69fd0e..be664c8fe 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 2022 Google LLC
+ * Copyright 2023 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 bfdf88530..3d2e16f84 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 2022 Google LLC
+ * Copyright 2023 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/ConfigClientTest.java b/google-cloud-logging/src/test/java/com/google/cloud/logging/v2/ConfigClientTest.java
index 49ed045ce..539d0e6d1 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 2022 Google LLC
+ * Copyright 2023 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 61703421a..736ef717b 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 2022 Google LLC
+ * Copyright 2023 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 d2237055e..36e69467f 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 2022 Google LLC
+ * Copyright 2023 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 cb64ac5a2..19151b235 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 2022 Google LLC
+ * Copyright 2023 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 565d111cd..4466aca29 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 2022 Google LLC
+ * Copyright 2023 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 73bed218b..b178291ec 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 2022 Google LLC
+ * Copyright 2023 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 8f56264be..2d98bf7ed 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 2022 Google LLC
+ * Copyright 2023 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 340c8328e..b500421ac 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 2022 Google LLC
+ * Copyright 2023 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 35187863e..417c754fb 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 2022 Google LLC
+ * Copyright 2023 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/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 a38e5dc74..8667183f8 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
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 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/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 3f3d4baae..93977f02d 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
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 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/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 771318fbb..8671ab0d1 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
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 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/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/BigQueryDataset.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/BigQueryDataset.java
index 5c0a532ca..03024d897 100644
--- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/BigQueryDataset.java
+++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/BigQueryDataset.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -47,11 +47,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
return new BigQueryDataset();
}
- @java.lang.Override
- public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
- return this.unknownFields;
- }
-
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.logging.v2.LoggingConfigProto
.internal_static_google_logging_v2_BigQueryDataset_descriptor;
@@ -79,6 +74,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
* will match the ID of the link, so the link must match the naming
* restrictions of BigQuery datasets (alphanumeric characters and underscores
* only).
+ *
* The dataset will have a resource path of
* "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET_ID]"
*
@@ -107,6 +103,7 @@ public java.lang.String getDatasetId() {
* will match the ID of the link, so the link must match the naming
* restrictions of BigQuery datasets (alphanumeric characters and underscores
* only).
+ *
* The dataset will have a resource path of
* "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET_ID]"
*
@@ -476,6 +473,7 @@ public Builder mergeFrom(
* will match the ID of the link, so the link must match the naming
* restrictions of BigQuery datasets (alphanumeric characters and underscores
* only).
+ *
* The dataset will have a resource path of
* "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET_ID]"
*
@@ -503,6 +501,7 @@ public java.lang.String getDatasetId() {
* will match the ID of the link, so the link must match the naming
* restrictions of BigQuery datasets (alphanumeric characters and underscores
* only).
+ *
* The dataset will have a resource path of
* "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET_ID]"
*
@@ -530,6 +529,7 @@ public com.google.protobuf.ByteString getDatasetIdBytes() {
* will match the ID of the link, so the link must match the naming
* restrictions of BigQuery datasets (alphanumeric characters and underscores
* only).
+ *
* The dataset will have a resource path of
* "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET_ID]"
*
@@ -556,6 +556,7 @@ public Builder setDatasetId(java.lang.String value) {
* will match the ID of the link, so the link must match the naming
* restrictions of BigQuery datasets (alphanumeric characters and underscores
* only).
+ *
* The dataset will have a resource path of
* "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET_ID]"
*
@@ -578,6 +579,7 @@ public Builder clearDatasetId() {
* will match the ID of the link, so the link must match the naming
* restrictions of BigQuery datasets (alphanumeric characters and underscores
* only).
+ *
* The dataset will have a resource path of
* "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET_ID]"
*
diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/BigQueryDatasetOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/BigQueryDatasetOrBuilder.java
index b4e9c47cf..86f9e3e77 100644
--- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/BigQueryDatasetOrBuilder.java
+++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/BigQueryDatasetOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -31,6 +31,7 @@ public interface BigQueryDatasetOrBuilder
* will match the ID of the link, so the link must match the naming
* restrictions of BigQuery datasets (alphanumeric characters and underscores
* only).
+ *
* The dataset will have a resource path of
* "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET_ID]"
*
@@ -48,6 +49,7 @@ public interface BigQueryDatasetOrBuilder
* will match the ID of the link, so the link must match the naming
* restrictions of BigQuery datasets (alphanumeric characters and underscores
* only).
+ *
* The dataset will have a resource path of
* "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET_ID]"
*
diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/BigQueryOptions.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/BigQueryOptions.java
index 56fcc1ca5..626889568 100644
--- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/BigQueryOptions.java
+++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/BigQueryOptions.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -45,11 +45,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
return new BigQueryOptions();
}
- @java.lang.Override
- public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
- return this.unknownFields;
- }
-
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.logging.v2.LoggingConfigProto
.internal_static_google_logging_v2_BigQueryOptions_descriptor;
@@ -98,6 +93,7 @@ public boolean getUsePartitionedTables() {
*
* Output only. True if new timestamp column based partitioning is in use,
* false if legacy ingestion-time partitioning is in use.
+ *
* All new sinks will have this field set true and will use timestamp column
* based partitioning. If use_partitioned_tables is false, this value has no
* meaning and will be false. Legacy sinks using partitioned tables will have
@@ -559,6 +555,7 @@ public Builder clearUsePartitionedTables() {
*
* Output only. True if new timestamp column based partitioning is in use,
* false if legacy ingestion-time partitioning is in use.
+ *
* All new sinks will have this field set true and will use timestamp column
* based partitioning. If use_partitioned_tables is false, this value has no
* meaning and will be false. Legacy sinks using partitioned tables will have
@@ -581,6 +578,7 @@ public boolean getUsesTimestampColumnPartitioning() {
*
* Output only. True if new timestamp column based partitioning is in use,
* false if legacy ingestion-time partitioning is in use.
+ *
* All new sinks will have this field set true and will use timestamp column
* based partitioning. If use_partitioned_tables is false, this value has no
* meaning and will be false. Legacy sinks using partitioned tables will have
@@ -607,6 +605,7 @@ public Builder setUsesTimestampColumnPartitioning(boolean value) {
*
* Output only. True if new timestamp column based partitioning is in use,
* false if legacy ingestion-time partitioning is in use.
+ *
* All new sinks will have this field set true and will use timestamp column
* based partitioning. If use_partitioned_tables is false, this value has no
* meaning and will be false. Legacy sinks using partitioned tables will have
diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/BigQueryOptionsOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/BigQueryOptionsOrBuilder.java
index 642a8b7c9..f7274139f 100644
--- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/BigQueryOptionsOrBuilder.java
+++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/BigQueryOptionsOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -49,6 +49,7 @@ public interface BigQueryOptionsOrBuilder
*
* Output only. True if new timestamp column based partitioning is in use,
* false if legacy ingestion-time partitioning is in use.
+ *
* All new sinks will have this field set true and will use timestamp column
* based partitioning. If use_partitioned_tables is false, this value has no
* meaning and will be false. Legacy sinks using partitioned tables will have
diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/BillingAccountLocationName.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/BillingAccountLocationName.java
index 245af075d..46ae7bf30 100644
--- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/BillingAccountLocationName.java
+++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/BillingAccountLocationName.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2022 Google LLC
+ * Copyright 2023 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/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/BillingAccountName.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/BillingAccountName.java
index f087f95ec..e4b122f5d 100644
--- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/BillingAccountName.java
+++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/BillingAccountName.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2022 Google LLC
+ * Copyright 2023 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/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/BucketMetadata.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/BucketMetadata.java
index d80040f6c..be4aab07f 100644
--- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/BucketMetadata.java
+++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/BucketMetadata.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -47,11 +47,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
return new BucketMetadata();
}
- @java.lang.Override
- public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
- return this.unknownFields;
- }
-
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.logging.v2.LoggingConfigProto
.internal_static_google_logging_v2_BucketMetadata_descriptor;
@@ -68,6 +63,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
}
private int requestCase_ = 0;
+
+ @SuppressWarnings("serial")
private java.lang.Object request_;
public enum RequestCase
diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/BucketMetadataOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/BucketMetadataOrBuilder.java
index 78b402032..4d712dbbd 100644
--- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/BucketMetadataOrBuilder.java
+++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/BucketMetadataOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -188,5 +188,5 @@ public interface BucketMetadataOrBuilder
*/
com.google.logging.v2.UpdateBucketRequestOrBuilder getUpdateBucketRequestOrBuilder();
- public com.google.logging.v2.BucketMetadata.RequestCase getRequestCase();
+ com.google.logging.v2.BucketMetadata.RequestCase getRequestCase();
}
diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CmekSettings.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CmekSettings.java
index d9adbf4e0..cc6576eda 100644
--- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CmekSettings.java
+++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CmekSettings.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -24,9 +24,11 @@
*
* Describes the customer-managed encryption key (CMEK) settings associated with
* a project, folder, organization, billing account, or flexible resource.
+ *
* Note: CMEK for the Log Router can currently only be configured for Google
* Cloud organizations. Once configured, it applies to all projects and folders
* in the Google Cloud organization.
+ *
* See [Enabling CMEK for Log
* Router](https://cloud.google.com/logging/docs/routing/managed-encryption) for
* more information.
@@ -57,11 +59,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
return new CmekSettings();
}
- @java.lang.Override
- public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
- return this.unknownFields;
- }
-
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.logging.v2.LoggingConfigProto
.internal_static_google_logging_v2_CmekSettings_descriptor;
@@ -137,20 +134,30 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
* The resource name for the configured Cloud KMS key.
+ *
* KMS key name format:
+ *
* "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]"
+ *
* For example:
+ *
* `"projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key"`
+ *
+ *
+ *
* To enable CMEK for the Log Router, set this field to a valid
* `kms_key_name` for which the associated service account has the required
* cloudkms.cryptoKeyEncrypterDecrypter roles assigned for the key.
+ *
* The Cloud KMS key used by the Log Router can be updated by changing the
* `kms_key_name` to a new valid key name or disabled by setting the key name
* to an empty string. Encryption operations that are in progress will be
* completed with the key that was in use when they started. Decryption
* operations will be completed using the key that was used at the time of
* encryption unless access to that key has been revoked.
+ *
* To disable CMEK for the Log Router, set this field to an empty string.
+ *
* See [Enabling CMEK for Log
* Router](https://cloud.google.com/logging/docs/routing/managed-encryption)
* for more information.
@@ -177,20 +184,30 @@ public java.lang.String getKmsKeyName() {
*
*
* The resource name for the configured Cloud KMS key.
+ *
* KMS key name format:
+ *
* "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]"
+ *
* For example:
+ *
* `"projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key"`
+ *
+ *
+ *
* To enable CMEK for the Log Router, set this field to a valid
* `kms_key_name` for which the associated service account has the required
* cloudkms.cryptoKeyEncrypterDecrypter roles assigned for the key.
+ *
* The Cloud KMS key used by the Log Router can be updated by changing the
* `kms_key_name` to a new valid key name or disabled by setting the key name
* to an empty string. Encryption operations that are in progress will be
* completed with the key that was in use when they started. Decryption
* operations will be completed using the key that was used at the time of
* encryption unless access to that key has been revoked.
+ *
* To disable CMEK for the Log Router, set this field to an empty string.
+ *
* See [Enabling CMEK for Log
* Router](https://cloud.google.com/logging/docs/routing/managed-encryption)
* for more information.
@@ -222,14 +239,20 @@ public com.google.protobuf.ByteString getKmsKeyNameBytes() {
*
*
* The CryptoKeyVersion resource name for the configured Cloud KMS key.
+ *
* KMS key name format:
+ *
* "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]/cryptoKeyVersions/[VERSION]"
+ *
* For example:
+ *
* `"projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key/cryptoKeyVersions/1"`
+ *
* This is a read-only field used to convey the specific configured
* CryptoKeyVersion of `kms_key` that has been configured. It will be
* populated in cases where the CMEK settings are bound to a single key
* version.
+ *
* If this field is populated, the `kms_key` is tied to a specific
* CryptoKeyVersion.
*
@@ -255,14 +278,20 @@ public java.lang.String getKmsKeyVersionName() {
*
*
* The CryptoKeyVersion resource name for the configured Cloud KMS key.
+ *
* KMS key name format:
+ *
* "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]/cryptoKeyVersions/[VERSION]"
+ *
* For example:
+ *
* `"projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key/cryptoKeyVersions/1"`
+ *
* This is a read-only field used to convey the specific configured
* CryptoKeyVersion of `kms_key` that has been configured. It will be
* populated in cases where the CMEK settings are bound to a single key
* version.
+ *
* If this field is populated, the `kms_key` is tied to a specific
* CryptoKeyVersion.
*
@@ -294,11 +323,13 @@ public com.google.protobuf.ByteString getKmsKeyVersionNameBytes() {
*
* Output only. The service account that will be used by the Log Router to
* access your Cloud KMS key.
+ *
* Before enabling CMEK for Log Router, you must first assign the
* cloudkms.cryptoKeyEncrypterDecrypter role to the service account that
* the Log Router will use to access your Cloud KMS key. Use
* [GetCmekSettings][google.logging.v2.ConfigServiceV2.GetCmekSettings] to
* obtain the service account ID.
+ *
* See [Enabling CMEK for Log
* Router](https://cloud.google.com/logging/docs/routing/managed-encryption)
* for more information.
@@ -326,11 +357,13 @@ public java.lang.String getServiceAccountId() {
*
* Output only. The service account that will be used by the Log Router to
* access your Cloud KMS key.
+ *
* Before enabling CMEK for Log Router, you must first assign the
* cloudkms.cryptoKeyEncrypterDecrypter role to the service account that
* the Log Router will use to access your Cloud KMS key. Use
* [GetCmekSettings][google.logging.v2.ConfigServiceV2.GetCmekSettings] to
* obtain the service account ID.
+ *
* See [Enabling CMEK for Log
* Router](https://cloud.google.com/logging/docs/routing/managed-encryption)
* for more information.
@@ -543,9 +576,11 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
*
* Describes the customer-managed encryption key (CMEK) settings associated with
* a project, folder, organization, billing account, or flexible resource.
+ *
* Note: CMEK for the Log Router can currently only be configured for Google
* Cloud organizations. Once configured, it applies to all projects and folders
* in the Google Cloud organization.
+ *
* See [Enabling CMEK for Log
* Router](https://cloud.google.com/logging/docs/routing/managed-encryption) for
* more information.
@@ -882,20 +917,30 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
*
*
* The resource name for the configured Cloud KMS key.
+ *
* KMS key name format:
+ *
* "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]"
+ *
* For example:
+ *
* `"projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key"`
+ *
+ *
+ *
* To enable CMEK for the Log Router, set this field to a valid
* `kms_key_name` for which the associated service account has the required
* cloudkms.cryptoKeyEncrypterDecrypter roles assigned for the key.
+ *
* The Cloud KMS key used by the Log Router can be updated by changing the
* `kms_key_name` to a new valid key name or disabled by setting the key name
* to an empty string. Encryption operations that are in progress will be
* completed with the key that was in use when they started. Decryption
* operations will be completed using the key that was used at the time of
* encryption unless access to that key has been revoked.
+ *
* To disable CMEK for the Log Router, set this field to an empty string.
+ *
* See [Enabling CMEK for Log
* Router](https://cloud.google.com/logging/docs/routing/managed-encryption)
* for more information.
@@ -921,20 +966,30 @@ public java.lang.String getKmsKeyName() {
*
*
* The resource name for the configured Cloud KMS key.
+ *
* KMS key name format:
+ *
* "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]"
+ *
* For example:
+ *
* `"projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key"`
+ *
+ *
+ *
* To enable CMEK for the Log Router, set this field to a valid
* `kms_key_name` for which the associated service account has the required
* cloudkms.cryptoKeyEncrypterDecrypter roles assigned for the key.
+ *
* The Cloud KMS key used by the Log Router can be updated by changing the
* `kms_key_name` to a new valid key name or disabled by setting the key name
* to an empty string. Encryption operations that are in progress will be
* completed with the key that was in use when they started. Decryption
* operations will be completed using the key that was used at the time of
* encryption unless access to that key has been revoked.
+ *
* To disable CMEK for the Log Router, set this field to an empty string.
+ *
* See [Enabling CMEK for Log
* Router](https://cloud.google.com/logging/docs/routing/managed-encryption)
* for more information.
@@ -960,20 +1015,30 @@ public com.google.protobuf.ByteString getKmsKeyNameBytes() {
*
*
* The resource name for the configured Cloud KMS key.
+ *
* KMS key name format:
+ *
* "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]"
+ *
* For example:
+ *
* `"projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key"`
+ *
+ *
+ *
* To enable CMEK for the Log Router, set this field to a valid
* `kms_key_name` for which the associated service account has the required
* cloudkms.cryptoKeyEncrypterDecrypter roles assigned for the key.
+ *
* The Cloud KMS key used by the Log Router can be updated by changing the
* `kms_key_name` to a new valid key name or disabled by setting the key name
* to an empty string. Encryption operations that are in progress will be
* completed with the key that was in use when they started. Decryption
* operations will be completed using the key that was used at the time of
* encryption unless access to that key has been revoked.
+ *
* To disable CMEK for the Log Router, set this field to an empty string.
+ *
* See [Enabling CMEK for Log
* Router](https://cloud.google.com/logging/docs/routing/managed-encryption)
* for more information.
@@ -998,20 +1063,30 @@ public Builder setKmsKeyName(java.lang.String value) {
*
*
* The resource name for the configured Cloud KMS key.
+ *
* KMS key name format:
+ *
* "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]"
+ *
* For example:
+ *
* `"projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key"`
+ *
+ *
+ *
* To enable CMEK for the Log Router, set this field to a valid
* `kms_key_name` for which the associated service account has the required
* cloudkms.cryptoKeyEncrypterDecrypter roles assigned for the key.
+ *
* The Cloud KMS key used by the Log Router can be updated by changing the
* `kms_key_name` to a new valid key name or disabled by setting the key name
* to an empty string. Encryption operations that are in progress will be
* completed with the key that was in use when they started. Decryption
* operations will be completed using the key that was used at the time of
* encryption unless access to that key has been revoked.
+ *
* To disable CMEK for the Log Router, set this field to an empty string.
+ *
* See [Enabling CMEK for Log
* Router](https://cloud.google.com/logging/docs/routing/managed-encryption)
* for more information.
@@ -1032,20 +1107,30 @@ public Builder clearKmsKeyName() {
*
*
* The resource name for the configured Cloud KMS key.
+ *
* KMS key name format:
+ *
* "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]"
+ *
* For example:
+ *
* `"projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key"`
+ *
+ *
+ *
* To enable CMEK for the Log Router, set this field to a valid
* `kms_key_name` for which the associated service account has the required
* cloudkms.cryptoKeyEncrypterDecrypter roles assigned for the key.
+ *
* The Cloud KMS key used by the Log Router can be updated by changing the
* `kms_key_name` to a new valid key name or disabled by setting the key name
* to an empty string. Encryption operations that are in progress will be
* completed with the key that was in use when they started. Decryption
* operations will be completed using the key that was used at the time of
* encryption unless access to that key has been revoked.
+ *
* To disable CMEK for the Log Router, set this field to an empty string.
+ *
* See [Enabling CMEK for Log
* Router](https://cloud.google.com/logging/docs/routing/managed-encryption)
* for more information.
@@ -1073,14 +1158,20 @@ public Builder setKmsKeyNameBytes(com.google.protobuf.ByteString value) {
*
*
* The CryptoKeyVersion resource name for the configured Cloud KMS key.
+ *
* KMS key name format:
+ *
* "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]/cryptoKeyVersions/[VERSION]"
+ *
* For example:
+ *
* `"projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key/cryptoKeyVersions/1"`
+ *
* This is a read-only field used to convey the specific configured
* CryptoKeyVersion of `kms_key` that has been configured. It will be
* populated in cases where the CMEK settings are bound to a single key
* version.
+ *
* If this field is populated, the `kms_key` is tied to a specific
* CryptoKeyVersion.
*
@@ -1105,14 +1196,20 @@ public java.lang.String getKmsKeyVersionName() {
*
*
* The CryptoKeyVersion resource name for the configured Cloud KMS key.
+ *
* KMS key name format:
+ *
* "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]/cryptoKeyVersions/[VERSION]"
+ *
* For example:
+ *
* `"projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key/cryptoKeyVersions/1"`
+ *
* This is a read-only field used to convey the specific configured
* CryptoKeyVersion of `kms_key` that has been configured. It will be
* populated in cases where the CMEK settings are bound to a single key
* version.
+ *
* If this field is populated, the `kms_key` is tied to a specific
* CryptoKeyVersion.
*
@@ -1137,14 +1234,20 @@ public com.google.protobuf.ByteString getKmsKeyVersionNameBytes() {
*
*
* The CryptoKeyVersion resource name for the configured Cloud KMS key.
+ *
* KMS key name format:
+ *
* "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]/cryptoKeyVersions/[VERSION]"
+ *
* For example:
+ *
* `"projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key/cryptoKeyVersions/1"`
+ *
* This is a read-only field used to convey the specific configured
* CryptoKeyVersion of `kms_key` that has been configured. It will be
* populated in cases where the CMEK settings are bound to a single key
* version.
+ *
* If this field is populated, the `kms_key` is tied to a specific
* CryptoKeyVersion.
*
@@ -1168,14 +1271,20 @@ public Builder setKmsKeyVersionName(java.lang.String value) {
*
*
* The CryptoKeyVersion resource name for the configured Cloud KMS key.
+ *
* KMS key name format:
+ *
* "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]/cryptoKeyVersions/[VERSION]"
+ *
* For example:
+ *
* `"projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key/cryptoKeyVersions/1"`
+ *
* This is a read-only field used to convey the specific configured
* CryptoKeyVersion of `kms_key` that has been configured. It will be
* populated in cases where the CMEK settings are bound to a single key
* version.
+ *
* If this field is populated, the `kms_key` is tied to a specific
* CryptoKeyVersion.
*
@@ -1195,14 +1304,20 @@ public Builder clearKmsKeyVersionName() {
*
*
* The CryptoKeyVersion resource name for the configured Cloud KMS key.
+ *
* KMS key name format:
+ *
* "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]/cryptoKeyVersions/[VERSION]"
+ *
* For example:
+ *
* `"projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key/cryptoKeyVersions/1"`
+ *
* This is a read-only field used to convey the specific configured
* CryptoKeyVersion of `kms_key` that has been configured. It will be
* populated in cases where the CMEK settings are bound to a single key
* version.
+ *
* If this field is populated, the `kms_key` is tied to a specific
* CryptoKeyVersion.
*
@@ -1230,11 +1345,13 @@ public Builder setKmsKeyVersionNameBytes(com.google.protobuf.ByteString value) {
*
* Output only. The service account that will be used by the Log Router to
* access your Cloud KMS key.
+ *
* Before enabling CMEK for Log Router, you must first assign the
* cloudkms.cryptoKeyEncrypterDecrypter role to the service account that
* the Log Router will use to access your Cloud KMS key. Use
* [GetCmekSettings][google.logging.v2.ConfigServiceV2.GetCmekSettings] to
* obtain the service account ID.
+ *
* See [Enabling CMEK for Log
* Router](https://cloud.google.com/logging/docs/routing/managed-encryption)
* for more information.
@@ -1261,11 +1378,13 @@ public java.lang.String getServiceAccountId() {
*
* Output only. The service account that will be used by the Log Router to
* access your Cloud KMS key.
+ *
* Before enabling CMEK for Log Router, you must first assign the
* cloudkms.cryptoKeyEncrypterDecrypter role to the service account that
* the Log Router will use to access your Cloud KMS key. Use
* [GetCmekSettings][google.logging.v2.ConfigServiceV2.GetCmekSettings] to
* obtain the service account ID.
+ *
* See [Enabling CMEK for Log
* Router](https://cloud.google.com/logging/docs/routing/managed-encryption)
* for more information.
@@ -1292,11 +1411,13 @@ public com.google.protobuf.ByteString getServiceAccountIdBytes() {
*
* Output only. The service account that will be used by the Log Router to
* access your Cloud KMS key.
+ *
* Before enabling CMEK for Log Router, you must first assign the
* cloudkms.cryptoKeyEncrypterDecrypter role to the service account that
* the Log Router will use to access your Cloud KMS key. Use
* [GetCmekSettings][google.logging.v2.ConfigServiceV2.GetCmekSettings] to
* obtain the service account ID.
+ *
* See [Enabling CMEK for Log
* Router](https://cloud.google.com/logging/docs/routing/managed-encryption)
* for more information.
@@ -1322,11 +1443,13 @@ public Builder setServiceAccountId(java.lang.String value) {
*
* Output only. The service account that will be used by the Log Router to
* access your Cloud KMS key.
+ *
* Before enabling CMEK for Log Router, you must first assign the
* cloudkms.cryptoKeyEncrypterDecrypter role to the service account that
* the Log Router will use to access your Cloud KMS key. Use
* [GetCmekSettings][google.logging.v2.ConfigServiceV2.GetCmekSettings] to
* obtain the service account ID.
+ *
* See [Enabling CMEK for Log
* Router](https://cloud.google.com/logging/docs/routing/managed-encryption)
* for more information.
@@ -1348,11 +1471,13 @@ public Builder clearServiceAccountId() {
*
* Output only. The service account that will be used by the Log Router to
* access your Cloud KMS key.
+ *
* Before enabling CMEK for Log Router, you must first assign the
* cloudkms.cryptoKeyEncrypterDecrypter role to the service account that
* the Log Router will use to access your Cloud KMS key. Use
* [GetCmekSettings][google.logging.v2.ConfigServiceV2.GetCmekSettings] to
* obtain the service account ID.
+ *
* See [Enabling CMEK for Log
* Router](https://cloud.google.com/logging/docs/routing/managed-encryption)
* for more information.
diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CmekSettingsName.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CmekSettingsName.java
index 58d70d484..0d1093cf6 100644
--- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CmekSettingsName.java
+++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CmekSettingsName.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -146,7 +146,7 @@ public static CmekSettingsName ofProjectName(String project) {
return newBuilder().setProject(project).build();
}
- /** @deprecated Please use {@link #ofProjectName()} instead */
+ /** @deprecated Please use {@link #ofProjectName(String)} instead */
@Deprecated
public static CmekSettingsName ofProjectCmekSettingsName(String project) {
return newBuilder().setProject(project).build();
@@ -157,7 +157,7 @@ public static CmekSettingsName ofOrganizationName(String organization) {
return newOrganizationCmekSettingsBuilder().setOrganization(organization).build();
}
- /** @deprecated Please use {@link #ofOrganizationName()} instead */
+ /** @deprecated Please use {@link #ofOrganizationName(String)} instead */
@Deprecated
public static CmekSettingsName ofOrganizationCmekSettingsName(String organization) {
return newOrganizationCmekSettingsBuilder().setOrganization(organization).build();
@@ -168,7 +168,7 @@ public static CmekSettingsName ofFolderName(String folder) {
return newFolderCmekSettingsBuilder().setFolder(folder).build();
}
- /** @deprecated Please use {@link #ofFolderName()} instead */
+ /** @deprecated Please use {@link #ofFolderName(String)} instead */
@Deprecated
public static CmekSettingsName ofFolderCmekSettingsName(String folder) {
return newFolderCmekSettingsBuilder().setFolder(folder).build();
@@ -179,7 +179,7 @@ public static CmekSettingsName ofBillingAccountName(String billingAccount) {
return newBillingAccountCmekSettingsBuilder().setBillingAccount(billingAccount).build();
}
- /** @deprecated Please use {@link #ofBillingAccountName()} instead */
+ /** @deprecated Please use {@link #ofBillingAccountName(String)} instead */
@Deprecated
public static CmekSettingsName ofBillingAccountCmekSettingsName(String billingAccount) {
return newBillingAccountCmekSettingsBuilder().setBillingAccount(billingAccount).build();
@@ -194,7 +194,7 @@ public static String formatProjectName(String project) {
return newBuilder().setProject(project).build().toString();
}
- /** @deprecated Please use {@link #formatProjectName()} instead */
+ /** @deprecated Please use {@link #formatProjectName(String)} instead */
@Deprecated
public static String formatProjectCmekSettingsName(String project) {
return newBuilder().setProject(project).build().toString();
@@ -205,7 +205,7 @@ public static String formatOrganizationName(String organization) {
return newOrganizationCmekSettingsBuilder().setOrganization(organization).build().toString();
}
- /** @deprecated Please use {@link #formatOrganizationName()} instead */
+ /** @deprecated Please use {@link #formatOrganizationName(String)} instead */
@Deprecated
public static String formatOrganizationCmekSettingsName(String organization) {
return newOrganizationCmekSettingsBuilder().setOrganization(organization).build().toString();
@@ -216,7 +216,7 @@ public static String formatFolderName(String folder) {
return newFolderCmekSettingsBuilder().setFolder(folder).build().toString();
}
- /** @deprecated Please use {@link #formatFolderName()} instead */
+ /** @deprecated Please use {@link #formatFolderName(String)} instead */
@Deprecated
public static String formatFolderCmekSettingsName(String folder) {
return newFolderCmekSettingsBuilder().setFolder(folder).build().toString();
@@ -230,7 +230,7 @@ public static String formatBillingAccountName(String billingAccount) {
.toString();
}
- /** @deprecated Please use {@link #formatBillingAccountName()} instead */
+ /** @deprecated Please use {@link #formatBillingAccountName(String)} instead */
@Deprecated
public static String formatBillingAccountCmekSettingsName(String billingAccount) {
return newBillingAccountCmekSettingsBuilder()
diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CmekSettingsOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CmekSettingsOrBuilder.java
index a4fa4c2bc..2ff3d0e8c 100644
--- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CmekSettingsOrBuilder.java
+++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CmekSettingsOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -53,20 +53,30 @@ public interface CmekSettingsOrBuilder
*
*
* The resource name for the configured Cloud KMS key.
+ *
* KMS key name format:
+ *
* "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]"
+ *
* For example:
+ *
* `"projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key"`
+ *
+ *
+ *
* To enable CMEK for the Log Router, set this field to a valid
* `kms_key_name` for which the associated service account has the required
* cloudkms.cryptoKeyEncrypterDecrypter roles assigned for the key.
+ *
* The Cloud KMS key used by the Log Router can be updated by changing the
* `kms_key_name` to a new valid key name or disabled by setting the key name
* to an empty string. Encryption operations that are in progress will be
* completed with the key that was in use when they started. Decryption
* operations will be completed using the key that was used at the time of
* encryption unless access to that key has been revoked.
+ *
* To disable CMEK for the Log Router, set this field to an empty string.
+ *
* See [Enabling CMEK for Log
* Router](https://cloud.google.com/logging/docs/routing/managed-encryption)
* for more information.
@@ -82,20 +92,30 @@ public interface CmekSettingsOrBuilder
*
*
* The resource name for the configured Cloud KMS key.
+ *
* KMS key name format:
+ *
* "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]"
+ *
* For example:
+ *
* `"projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key"`
+ *
+ *
+ *
* To enable CMEK for the Log Router, set this field to a valid
* `kms_key_name` for which the associated service account has the required
* cloudkms.cryptoKeyEncrypterDecrypter roles assigned for the key.
+ *
* The Cloud KMS key used by the Log Router can be updated by changing the
* `kms_key_name` to a new valid key name or disabled by setting the key name
* to an empty string. Encryption operations that are in progress will be
* completed with the key that was in use when they started. Decryption
* operations will be completed using the key that was used at the time of
* encryption unless access to that key has been revoked.
+ *
* To disable CMEK for the Log Router, set this field to an empty string.
+ *
* See [Enabling CMEK for Log
* Router](https://cloud.google.com/logging/docs/routing/managed-encryption)
* for more information.
@@ -112,14 +132,20 @@ public interface CmekSettingsOrBuilder
*
*
* The CryptoKeyVersion resource name for the configured Cloud KMS key.
+ *
* KMS key name format:
+ *
* "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]/cryptoKeyVersions/[VERSION]"
+ *
* For example:
+ *
* `"projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key/cryptoKeyVersions/1"`
+ *
* This is a read-only field used to convey the specific configured
* CryptoKeyVersion of `kms_key` that has been configured. It will be
* populated in cases where the CMEK settings are bound to a single key
* version.
+ *
* If this field is populated, the `kms_key` is tied to a specific
* CryptoKeyVersion.
*
@@ -134,14 +160,20 @@ public interface CmekSettingsOrBuilder
*
*
* The CryptoKeyVersion resource name for the configured Cloud KMS key.
+ *
* KMS key name format:
+ *
* "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]/cryptoKeyVersions/[VERSION]"
+ *
* For example:
+ *
* `"projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key/cryptoKeyVersions/1"`
+ *
* This is a read-only field used to convey the specific configured
* CryptoKeyVersion of `kms_key` that has been configured. It will be
* populated in cases where the CMEK settings are bound to a single key
* version.
+ *
* If this field is populated, the `kms_key` is tied to a specific
* CryptoKeyVersion.
*
@@ -158,11 +190,13 @@ public interface CmekSettingsOrBuilder
*
* Output only. The service account that will be used by the Log Router to
* access your Cloud KMS key.
+ *
* Before enabling CMEK for Log Router, you must first assign the
* cloudkms.cryptoKeyEncrypterDecrypter role to the service account that
* the Log Router will use to access your Cloud KMS key. Use
* [GetCmekSettings][google.logging.v2.ConfigServiceV2.GetCmekSettings] to
* obtain the service account ID.
+ *
* See [Enabling CMEK for Log
* Router](https://cloud.google.com/logging/docs/routing/managed-encryption)
* for more information.
@@ -179,11 +213,13 @@ public interface CmekSettingsOrBuilder
*
* Output only. The service account that will be used by the Log Router to
* access your Cloud KMS key.
+ *
* Before enabling CMEK for Log Router, you must first assign the
* cloudkms.cryptoKeyEncrypterDecrypter role to the service account that
* the Log Router will use to access your Cloud KMS key. Use
* [GetCmekSettings][google.logging.v2.ConfigServiceV2.GetCmekSettings] to
* obtain the service account ID.
+ *
* See [Enabling CMEK for Log
* Router](https://cloud.google.com/logging/docs/routing/managed-encryption)
* for more information.
diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CopyLogEntriesMetadata.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CopyLogEntriesMetadata.java
index 1f76b2df6..37fbf3adb 100644
--- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CopyLogEntriesMetadata.java
+++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CopyLogEntriesMetadata.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -48,11 +48,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
return new CopyLogEntriesMetadata();
}
- @java.lang.Override
- public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
- return this.unknownFields;
- }
-
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.logging.v2.LoggingConfigProto
.internal_static_google_logging_v2_CopyLogEntriesMetadata_descriptor;
@@ -291,8 +286,10 @@ public int getProgress() {
*
* The IAM identity of a service account that must be granted access to the
* destination.
+ *
* If the service account is not granted permission to the destination within
* an hour, the operation will be cancelled.
+ *
* For example: `"serviceAccount:foo@bar.com"`
*
*
@@ -318,8 +315,10 @@ public java.lang.String getWriterIdentity() {
*
* The IAM identity of a service account that must be granted access to the
* destination.
+ *
* If the service account is not granted permission to the destination within
* an hour, the operation will be cancelled.
+ *
* For example: `"serviceAccount:foo@bar.com"`
*
*
@@ -1584,8 +1583,10 @@ public Builder clearProgress() {
*
* The IAM identity of a service account that must be granted access to the
* destination.
+ *
* If the service account is not granted permission to the destination within
* an hour, the operation will be cancelled.
+ *
* For example: `"serviceAccount:foo@bar.com"`
*
*
@@ -1610,8 +1611,10 @@ public java.lang.String getWriterIdentity() {
*
* The IAM identity of a service account that must be granted access to the
* destination.
+ *
* If the service account is not granted permission to the destination within
* an hour, the operation will be cancelled.
+ *
* For example: `"serviceAccount:foo@bar.com"`
*
*
@@ -1636,8 +1639,10 @@ public com.google.protobuf.ByteString getWriterIdentityBytes() {
*
* The IAM identity of a service account that must be granted access to the
* destination.
+ *
* If the service account is not granted permission to the destination within
* an hour, the operation will be cancelled.
+ *
* For example: `"serviceAccount:foo@bar.com"`
*
*
@@ -1661,8 +1666,10 @@ public Builder setWriterIdentity(java.lang.String value) {
*
* The IAM identity of a service account that must be granted access to the
* destination.
+ *
* If the service account is not granted permission to the destination within
* an hour, the operation will be cancelled.
+ *
* For example: `"serviceAccount:foo@bar.com"`
*
*
@@ -1682,8 +1689,10 @@ public Builder clearWriterIdentity() {
*
* The IAM identity of a service account that must be granted access to the
* destination.
+ *
* If the service account is not granted permission to the destination within
* an hour, the operation will be cancelled.
+ *
* For example: `"serviceAccount:foo@bar.com"`
*
*
diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CopyLogEntriesMetadataOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CopyLogEntriesMetadataOrBuilder.java
index 9beff6c6a..12e4c900f 100644
--- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CopyLogEntriesMetadataOrBuilder.java
+++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CopyLogEntriesMetadataOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -185,8 +185,10 @@ public interface CopyLogEntriesMetadataOrBuilder
*
* The IAM identity of a service account that must be granted access to the
* destination.
+ *
* If the service account is not granted permission to the destination within
* an hour, the operation will be cancelled.
+ *
* For example: `"serviceAccount:foo@bar.com"`
*
*
@@ -201,8 +203,10 @@ public interface CopyLogEntriesMetadataOrBuilder
*
* The IAM identity of a service account that must be granted access to the
* destination.
+ *
* If the service account is not granted permission to the destination within
* an hour, the operation will be cancelled.
+ *
* For example: `"serviceAccount:foo@bar.com"`
*
*
diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CopyLogEntriesRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CopyLogEntriesRequest.java
index c5075f579..eef8bc1c1 100644
--- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CopyLogEntriesRequest.java
+++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CopyLogEntriesRequest.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -49,11 +49,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
return new CopyLogEntriesRequest();
}
- @java.lang.Override
- public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
- return this.unknownFields;
- }
-
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.logging.v2.LoggingConfigProto
.internal_static_google_logging_v2_CopyLogEntriesRequest_descriptor;
@@ -78,7 +73,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* Required. Log bucket from which to copy log entries.
+ *
* For example:
+ *
* `"projects/my-project/locations/global/buckets/my-source-bucket"`
*
*
@@ -103,7 +100,9 @@ public java.lang.String getName() {
*
*
* Required. Log bucket from which to copy log entries.
+ *
* For example:
+ *
* `"projects/my-project/locations/global/buckets/my-source-bucket"`
*
*
@@ -623,7 +622,9 @@ public Builder mergeFrom(
*
*
* Required. Log bucket from which to copy log entries.
+ *
* For example:
+ *
* `"projects/my-project/locations/global/buckets/my-source-bucket"`
*
*
@@ -647,7 +648,9 @@ public java.lang.String getName() {
*
*
* Required. Log bucket from which to copy log entries.
+ *
* For example:
+ *
* `"projects/my-project/locations/global/buckets/my-source-bucket"`
*
*
@@ -671,7 +674,9 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
* Required. Log bucket from which to copy log entries.
+ *
* For example:
+ *
* `"projects/my-project/locations/global/buckets/my-source-bucket"`
*
*
@@ -694,7 +699,9 @@ public Builder setName(java.lang.String value) {
*
*
* Required. Log bucket from which to copy log entries.
+ *
* For example:
+ *
* `"projects/my-project/locations/global/buckets/my-source-bucket"`
*
*
@@ -713,7 +720,9 @@ public Builder clearName() {
*
*
* Required. Log bucket from which to copy log entries.
+ *
* For example:
+ *
* `"projects/my-project/locations/global/buckets/my-source-bucket"`
*
*
diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CopyLogEntriesRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CopyLogEntriesRequestOrBuilder.java
index 7d8f89f42..6b4104b5c 100644
--- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CopyLogEntriesRequestOrBuilder.java
+++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CopyLogEntriesRequestOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -28,7 +28,9 @@ public interface CopyLogEntriesRequestOrBuilder
*
*
* Required. Log bucket from which to copy log entries.
+ *
* For example:
+ *
* `"projects/my-project/locations/global/buckets/my-source-bucket"`
*
*
@@ -42,7 +44,9 @@ public interface CopyLogEntriesRequestOrBuilder
*
*
* Required. Log bucket from which to copy log entries.
+ *
* For example:
+ *
* `"projects/my-project/locations/global/buckets/my-source-bucket"`
*
*
diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CopyLogEntriesResponse.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CopyLogEntriesResponse.java
index dbccd1936..cecb2b973 100644
--- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CopyLogEntriesResponse.java
+++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CopyLogEntriesResponse.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -45,11 +45,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
return new CopyLogEntriesResponse();
}
- @java.lang.Override
- public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
- return this.unknownFields;
- }
-
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.logging.v2.LoggingConfigProto
.internal_static_google_logging_v2_CopyLogEntriesResponse_descriptor;
diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CopyLogEntriesResponseOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CopyLogEntriesResponseOrBuilder.java
index afd947659..5b45dd4c9 100644
--- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CopyLogEntriesResponseOrBuilder.java
+++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CopyLogEntriesResponseOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 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/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateBucketRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateBucketRequest.java
index 16a43f952..ae165de3d 100644
--- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateBucketRequest.java
+++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateBucketRequest.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -48,11 +48,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
return new CreateBucketRequest();
}
- @java.lang.Override
- public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
- return this.unknownFields;
- }
-
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.logging.v2.LoggingConfigProto
.internal_static_google_logging_v2_CreateBucketRequest_descriptor;
@@ -77,8 +72,11 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* Required. The resource in which to create the log bucket:
+ *
* "projects/[PROJECT_ID]/locations/[LOCATION_ID]"
+ *
* For example:
+ *
* `"projects/my-project/locations/global"`
*
*
@@ -105,8 +103,11 @@ public java.lang.String getParent() {
*
*
* Required. The resource in which to create the log bucket:
+ *
* "projects/[PROJECT_ID]/locations/[LOCATION_ID]"
+ *
* For example:
+ *
* `"projects/my-project/locations/global"`
*
*
@@ -638,8 +639,11 @@ public Builder mergeFrom(
*
*
* Required. The resource in which to create the log bucket:
+ *
* "projects/[PROJECT_ID]/locations/[LOCATION_ID]"
+ *
* For example:
+ *
* `"projects/my-project/locations/global"`
*
*
@@ -665,8 +669,11 @@ public java.lang.String getParent() {
*
*
* Required. The resource in which to create the log bucket:
+ *
* "projects/[PROJECT_ID]/locations/[LOCATION_ID]"
+ *
* For example:
+ *
* `"projects/my-project/locations/global"`
*
*
@@ -692,8 +699,11 @@ public com.google.protobuf.ByteString getParentBytes() {
*
*
* Required. The resource in which to create the log bucket:
+ *
* "projects/[PROJECT_ID]/locations/[LOCATION_ID]"
+ *
* For example:
+ *
* `"projects/my-project/locations/global"`
*
*
@@ -718,8 +728,11 @@ public Builder setParent(java.lang.String value) {
*
*
* Required. The resource in which to create the log bucket:
+ *
* "projects/[PROJECT_ID]/locations/[LOCATION_ID]"
+ *
* For example:
+ *
* `"projects/my-project/locations/global"`
*
*
@@ -740,8 +753,11 @@ public Builder clearParent() {
*
*
* Required. The resource in which to create the log bucket:
+ *
* "projects/[PROJECT_ID]/locations/[LOCATION_ID]"
+ *
* For example:
+ *
* `"projects/my-project/locations/global"`
*
*
diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateBucketRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateBucketRequestOrBuilder.java
index 129056453..63c6d5bd0 100644
--- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateBucketRequestOrBuilder.java
+++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateBucketRequestOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -28,8 +28,11 @@ public interface CreateBucketRequestOrBuilder
*
*
* Required. The resource in which to create the log bucket:
+ *
* "projects/[PROJECT_ID]/locations/[LOCATION_ID]"
+ *
* For example:
+ *
* `"projects/my-project/locations/global"`
*
*
@@ -45,8 +48,11 @@ public interface CreateBucketRequestOrBuilder
*
*
* Required. The resource in which to create the log bucket:
+ *
* "projects/[PROJECT_ID]/locations/[LOCATION_ID]"
+ *
* For example:
+ *
* `"projects/my-project/locations/global"`
*
*
diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateExclusionRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateExclusionRequest.java
index a0b2b2c54..8c72e6256 100644
--- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateExclusionRequest.java
+++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateExclusionRequest.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -47,11 +47,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
return new CreateExclusionRequest();
}
- @java.lang.Override
- public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
- return this.unknownFields;
- }
-
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.logging.v2.LoggingConfigProto
.internal_static_google_logging_v2_CreateExclusionRequest_descriptor;
@@ -76,11 +71,14 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* Required. The parent resource in which to create the exclusion:
+ *
* "projects/[PROJECT_ID]"
* "organizations/[ORGANIZATION_ID]"
* "billingAccounts/[BILLING_ACCOUNT_ID]"
* "folders/[FOLDER_ID]"
+ *
* For examples:
+ *
* `"projects/my-logging-project"`
* `"organizations/123456789"`
*
@@ -108,11 +106,14 @@ public java.lang.String getParent() {
*
*
* Required. The parent resource in which to create the exclusion:
+ *
* "projects/[PROJECT_ID]"
* "organizations/[ORGANIZATION_ID]"
* "billingAccounts/[BILLING_ACCOUNT_ID]"
* "folders/[FOLDER_ID]"
+ *
* For examples:
+ *
* `"projects/my-logging-project"`
* `"organizations/123456789"`
*
@@ -570,11 +571,14 @@ public Builder mergeFrom(
*
*
* Required. The parent resource in which to create the exclusion:
+ *
* "projects/[PROJECT_ID]"
* "organizations/[ORGANIZATION_ID]"
* "billingAccounts/[BILLING_ACCOUNT_ID]"
* "folders/[FOLDER_ID]"
+ *
* For examples:
+ *
* `"projects/my-logging-project"`
* `"organizations/123456789"`
*
@@ -601,11 +605,14 @@ public java.lang.String getParent() {
*
*
* Required. The parent resource in which to create the exclusion:
+ *
* "projects/[PROJECT_ID]"
* "organizations/[ORGANIZATION_ID]"
* "billingAccounts/[BILLING_ACCOUNT_ID]"
* "folders/[FOLDER_ID]"
+ *
* For examples:
+ *
* `"projects/my-logging-project"`
* `"organizations/123456789"`
*
@@ -632,11 +639,14 @@ public com.google.protobuf.ByteString getParentBytes() {
*
*
* Required. The parent resource in which to create the exclusion:
+ *
* "projects/[PROJECT_ID]"
* "organizations/[ORGANIZATION_ID]"
* "billingAccounts/[BILLING_ACCOUNT_ID]"
* "folders/[FOLDER_ID]"
+ *
* For examples:
+ *
* `"projects/my-logging-project"`
* `"organizations/123456789"`
*
@@ -662,11 +672,14 @@ public Builder setParent(java.lang.String value) {
*
*
* Required. The parent resource in which to create the exclusion:
+ *
* "projects/[PROJECT_ID]"
* "organizations/[ORGANIZATION_ID]"
* "billingAccounts/[BILLING_ACCOUNT_ID]"
* "folders/[FOLDER_ID]"
+ *
* For examples:
+ *
* `"projects/my-logging-project"`
* `"organizations/123456789"`
*
@@ -688,11 +701,14 @@ public Builder clearParent() {
*
*
* Required. The parent resource in which to create the exclusion:
+ *
* "projects/[PROJECT_ID]"
* "organizations/[ORGANIZATION_ID]"
* "billingAccounts/[BILLING_ACCOUNT_ID]"
* "folders/[FOLDER_ID]"
+ *
* For examples:
+ *
* `"projects/my-logging-project"`
* `"organizations/123456789"`
*
diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateExclusionRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateExclusionRequestOrBuilder.java
index c46164936..c33ee6cce 100644
--- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateExclusionRequestOrBuilder.java
+++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateExclusionRequestOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -28,11 +28,14 @@ public interface CreateExclusionRequestOrBuilder
*
*
* Required. The parent resource in which to create the exclusion:
+ *
* "projects/[PROJECT_ID]"
* "organizations/[ORGANIZATION_ID]"
* "billingAccounts/[BILLING_ACCOUNT_ID]"
* "folders/[FOLDER_ID]"
+ *
* For examples:
+ *
* `"projects/my-logging-project"`
* `"organizations/123456789"`
*
@@ -49,11 +52,14 @@ public interface CreateExclusionRequestOrBuilder
*
*
* Required. The parent resource in which to create the exclusion:
+ *
* "projects/[PROJECT_ID]"
* "organizations/[ORGANIZATION_ID]"
* "billingAccounts/[BILLING_ACCOUNT_ID]"
* "folders/[FOLDER_ID]"
+ *
* For examples:
+ *
* `"projects/my-logging-project"`
* `"organizations/123456789"`
*
diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateLinkRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateLinkRequest.java
index 59700ef4b..3c0bea161 100644
--- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateLinkRequest.java
+++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateLinkRequest.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -48,11 +48,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
return new CreateLinkRequest();
}
- @java.lang.Override
- public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
- return this.unknownFields;
- }
-
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.logging.v2.LoggingConfigProto
.internal_static_google_logging_v2_CreateLinkRequest_descriptor;
@@ -77,6 +72,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* Required. The full resource name of the bucket to create a link for.
+ *
* "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
* "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
* "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
@@ -106,6 +102,7 @@ public java.lang.String getParent() {
*
*
* Required. The full resource name of the bucket to create a link for.
+ *
* "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
* "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
* "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
@@ -633,6 +630,7 @@ public Builder mergeFrom(
*
*
* Required. The full resource name of the bucket to create a link for.
+ *
* "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
* "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
* "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
@@ -661,6 +659,7 @@ public java.lang.String getParent() {
*
*
* Required. The full resource name of the bucket to create a link for.
+ *
* "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
* "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
* "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
@@ -689,6 +688,7 @@ public com.google.protobuf.ByteString getParentBytes() {
*
*
* Required. The full resource name of the bucket to create a link for.
+ *
* "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
* "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
* "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
@@ -716,6 +716,7 @@ public Builder setParent(java.lang.String value) {
*
*
* Required. The full resource name of the bucket to create a link for.
+ *
* "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
* "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
* "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
@@ -739,6 +740,7 @@ public Builder clearParent() {
*
*
* Required. The full resource name of the bucket to create a link for.
+ *
* "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
* "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
* "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateLinkRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateLinkRequestOrBuilder.java
index 43ee8889b..76c5eb19a 100644
--- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateLinkRequestOrBuilder.java
+++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateLinkRequestOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -28,6 +28,7 @@ public interface CreateLinkRequestOrBuilder
*
*
* Required. The full resource name of the bucket to create a link for.
+ *
* "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
* "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
* "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
@@ -46,6 +47,7 @@ public interface CreateLinkRequestOrBuilder
*
*
* Required. The full resource name of the bucket to create a link for.
+ *
* "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
* "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
* "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateLogMetricRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateLogMetricRequest.java
index 3f96ba932..2e2602ba7 100644
--- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateLogMetricRequest.java
+++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateLogMetricRequest.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -47,11 +47,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
return new CreateLogMetricRequest();
}
- @java.lang.Override
- public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
- return this.unknownFields;
- }
-
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.logging.v2.LoggingMetricsProto
.internal_static_google_logging_v2_CreateLogMetricRequest_descriptor;
@@ -76,7 +71,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* Required. The resource name of the project in which to create the metric:
+ *
* "projects/[PROJECT_ID]"
+ *
* The new metric must be provided in the request.
*
*
@@ -103,7 +100,9 @@ public java.lang.String getParent() {
*
*
* Required. The resource name of the project in which to create the metric:
+ *
* "projects/[PROJECT_ID]"
+ *
* The new metric must be provided in the request.
*
*
@@ -553,7 +552,9 @@ public Builder mergeFrom(
*
*
* Required. The resource name of the project in which to create the metric:
+ *
* "projects/[PROJECT_ID]"
+ *
* The new metric must be provided in the request.
*
*
@@ -579,7 +580,9 @@ public java.lang.String getParent() {
*
*
* Required. The resource name of the project in which to create the metric:
+ *
* "projects/[PROJECT_ID]"
+ *
* The new metric must be provided in the request.
*
*
@@ -605,7 +608,9 @@ public com.google.protobuf.ByteString getParentBytes() {
*
*
* Required. The resource name of the project in which to create the metric:
+ *
* "projects/[PROJECT_ID]"
+ *
* The new metric must be provided in the request.
*
*
@@ -630,7 +635,9 @@ public Builder setParent(java.lang.String value) {
*
*
* Required. The resource name of the project in which to create the metric:
+ *
* "projects/[PROJECT_ID]"
+ *
* The new metric must be provided in the request.
*
*
@@ -651,7 +658,9 @@ public Builder clearParent() {
*
*
* Required. The resource name of the project in which to create the metric:
+ *
* "projects/[PROJECT_ID]"
+ *
* The new metric must be provided in the request.
*
*
diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateLogMetricRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateLogMetricRequestOrBuilder.java
index f11b3761a..572d95e53 100644
--- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateLogMetricRequestOrBuilder.java
+++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateLogMetricRequestOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -28,7 +28,9 @@ public interface CreateLogMetricRequestOrBuilder
*
*
* Required. The resource name of the project in which to create the metric:
+ *
* "projects/[PROJECT_ID]"
+ *
* The new metric must be provided in the request.
*
*
@@ -44,7 +46,9 @@ public interface CreateLogMetricRequestOrBuilder
*
*
* Required. The resource name of the project in which to create the metric:
+ *
* "projects/[PROJECT_ID]"
+ *
* The new metric must be provided in the request.
*
*
diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateSinkRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateSinkRequest.java
index 0ad17bd3d..1124f8503 100644
--- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateSinkRequest.java
+++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateSinkRequest.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -47,11 +47,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
return new CreateSinkRequest();
}
- @java.lang.Override
- public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
- return this.unknownFields;
- }
-
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.logging.v2.LoggingConfigProto
.internal_static_google_logging_v2_CreateSinkRequest_descriptor;
@@ -76,11 +71,14 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* Required. The resource in which to create the sink:
+ *
* "projects/[PROJECT_ID]"
* "organizations/[ORGANIZATION_ID]"
* "billingAccounts/[BILLING_ACCOUNT_ID]"
* "folders/[FOLDER_ID]"
+ *
* For examples:
+ *
* `"projects/my-project"`
* `"organizations/123456789"`
*
@@ -108,11 +106,14 @@ public java.lang.String getParent() {
*
*
* Required. The resource in which to create the sink:
+ *
* "projects/[PROJECT_ID]"
* "organizations/[ORGANIZATION_ID]"
* "billingAccounts/[BILLING_ACCOUNT_ID]"
* "folders/[FOLDER_ID]"
+ *
* For examples:
+ *
* `"projects/my-project"`
* `"organizations/123456789"`
*
@@ -197,6 +198,7 @@ public com.google.logging.v2.LogSinkOrBuilder getSinkOrBuilder() {
* the same group or service account used by Cloud Logging before the addition
* of writer identities to this API. The sink's destination must be in the
* same project as the sink itself.
+ *
* If this field is set to true, or if the sink is owned by a non-project
* resource such as an organization, then the value of `writer_identity` will
* be a unique service account used only for exports from the new sink. For
@@ -612,11 +614,14 @@ public Builder mergeFrom(
*
*
* Required. The resource in which to create the sink:
+ *
* "projects/[PROJECT_ID]"
* "organizations/[ORGANIZATION_ID]"
* "billingAccounts/[BILLING_ACCOUNT_ID]"
* "folders/[FOLDER_ID]"
+ *
* For examples:
+ *
* `"projects/my-project"`
* `"organizations/123456789"`
*
@@ -643,11 +648,14 @@ public java.lang.String getParent() {
*
*
* Required. The resource in which to create the sink:
+ *
* "projects/[PROJECT_ID]"
* "organizations/[ORGANIZATION_ID]"
* "billingAccounts/[BILLING_ACCOUNT_ID]"
* "folders/[FOLDER_ID]"
+ *
* For examples:
+ *
* `"projects/my-project"`
* `"organizations/123456789"`
*
@@ -674,11 +682,14 @@ public com.google.protobuf.ByteString getParentBytes() {
*
*
* Required. The resource in which to create the sink:
+ *
* "projects/[PROJECT_ID]"
* "organizations/[ORGANIZATION_ID]"
* "billingAccounts/[BILLING_ACCOUNT_ID]"
* "folders/[FOLDER_ID]"
+ *
* For examples:
+ *
* `"projects/my-project"`
* `"organizations/123456789"`
*
@@ -704,11 +715,14 @@ public Builder setParent(java.lang.String value) {
*
*
* Required. The resource in which to create the sink:
+ *
* "projects/[PROJECT_ID]"
* "organizations/[ORGANIZATION_ID]"
* "billingAccounts/[BILLING_ACCOUNT_ID]"
* "folders/[FOLDER_ID]"
+ *
* For examples:
+ *
* `"projects/my-project"`
* `"organizations/123456789"`
*
@@ -730,11 +744,14 @@ public Builder clearParent() {
*
*
* Required. The resource in which to create the sink:
+ *
* "projects/[PROJECT_ID]"
* "organizations/[ORGANIZATION_ID]"
* "billingAccounts/[BILLING_ACCOUNT_ID]"
* "folders/[FOLDER_ID]"
+ *
* For examples:
+ *
* `"projects/my-project"`
* `"organizations/123456789"`
*
@@ -956,6 +973,7 @@ public com.google.logging.v2.LogSinkOrBuilder getSinkOrBuilder() {
* the same group or service account used by Cloud Logging before the addition
* of writer identities to this API. The sink's destination must be in the
* same project as the sink itself.
+ *
* If this field is set to true, or if the sink is owned by a non-project
* resource such as an organization, then the value of `writer_identity` will
* be a unique service account used only for exports from the new sink. For
@@ -981,6 +999,7 @@ public boolean getUniqueWriterIdentity() {
* the same group or service account used by Cloud Logging before the addition
* of writer identities to this API. The sink's destination must be in the
* same project as the sink itself.
+ *
* If this field is set to true, or if the sink is owned by a non-project
* resource such as an organization, then the value of `writer_identity` will
* be a unique service account used only for exports from the new sink. For
@@ -1010,6 +1029,7 @@ public Builder setUniqueWriterIdentity(boolean value) {
* the same group or service account used by Cloud Logging before the addition
* of writer identities to this API. The sink's destination must be in the
* same project as the sink itself.
+ *
* If this field is set to true, or if the sink is owned by a non-project
* resource such as an organization, then the value of `writer_identity` will
* be a unique service account used only for exports from the new sink. For
diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateSinkRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateSinkRequestOrBuilder.java
index 610cf0378..9eeff1e80 100644
--- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateSinkRequestOrBuilder.java
+++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateSinkRequestOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -28,11 +28,14 @@ public interface CreateSinkRequestOrBuilder
*
*
* Required. The resource in which to create the sink:
+ *
* "projects/[PROJECT_ID]"
* "organizations/[ORGANIZATION_ID]"
* "billingAccounts/[BILLING_ACCOUNT_ID]"
* "folders/[FOLDER_ID]"
+ *
* For examples:
+ *
* `"projects/my-project"`
* `"organizations/123456789"`
*
@@ -49,11 +52,14 @@ public interface CreateSinkRequestOrBuilder
*
*
* Required. The resource in which to create the sink:
+ *
* "projects/[PROJECT_ID]"
* "organizations/[ORGANIZATION_ID]"
* "billingAccounts/[BILLING_ACCOUNT_ID]"
* "folders/[FOLDER_ID]"
+ *
* For examples:
+ *
* `"projects/my-project"`
* `"organizations/123456789"`
*
@@ -114,6 +120,7 @@ public interface CreateSinkRequestOrBuilder
* the same group or service account used by Cloud Logging before the addition
* of writer identities to this API. The sink's destination must be in the
* same project as the sink itself.
+ *
* If this field is set to true, or if the sink is owned by a non-project
* resource such as an organization, then the value of `writer_identity` will
* be a unique service account used only for exports from the new sink. For
diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateViewRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateViewRequest.java
index 13dec0499..fd81b7131 100644
--- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateViewRequest.java
+++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateViewRequest.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -48,11 +48,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
return new CreateViewRequest();
}
- @java.lang.Override
- public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
- return this.unknownFields;
- }
-
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.logging.v2.LoggingConfigProto
.internal_static_google_logging_v2_CreateViewRequest_descriptor;
@@ -77,8 +72,11 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* Required. The bucket in which to create the view
+ *
* `"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"`
+ *
* For example:
+ *
* `"projects/my-project/locations/global/buckets/my-bucket"`
*
*
@@ -103,8 +101,11 @@ public java.lang.String getParent() {
*
*
* Required. The bucket in which to create the view
+ *
* `"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"`
+ *
* For example:
+ *
* `"projects/my-project/locations/global/buckets/my-bucket"`
*
*
@@ -627,8 +628,11 @@ public Builder mergeFrom(
*
*
* Required. The bucket in which to create the view
+ *
* `"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"`
+ *
* For example:
+ *
* `"projects/my-project/locations/global/buckets/my-bucket"`
*
*
@@ -652,8 +656,11 @@ public java.lang.String getParent() {
*
*
* Required. The bucket in which to create the view
+ *
* `"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"`
+ *
* For example:
+ *
* `"projects/my-project/locations/global/buckets/my-bucket"`
*
*
@@ -677,8 +684,11 @@ public com.google.protobuf.ByteString getParentBytes() {
*
*
* Required. The bucket in which to create the view
+ *
* `"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"`
+ *
* For example:
+ *
* `"projects/my-project/locations/global/buckets/my-bucket"`
*
*
@@ -701,8 +711,11 @@ public Builder setParent(java.lang.String value) {
*
*
* Required. The bucket in which to create the view
+ *
* `"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"`
+ *
* For example:
+ *
* `"projects/my-project/locations/global/buckets/my-bucket"`
*
*
@@ -721,8 +734,11 @@ public Builder clearParent() {
*
*
* Required. The bucket in which to create the view
+ *
* `"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"`
+ *
* For example:
+ *
* `"projects/my-project/locations/global/buckets/my-bucket"`
*
*
diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateViewRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateViewRequestOrBuilder.java
index ff287ed14..2df19da1b 100644
--- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateViewRequestOrBuilder.java
+++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/CreateViewRequestOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -28,8 +28,11 @@ public interface CreateViewRequestOrBuilder
*
*
* Required. The bucket in which to create the view
+ *
* `"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"`
+ *
* For example:
+ *
* `"projects/my-project/locations/global/buckets/my-bucket"`
*
*
@@ -43,8 +46,11 @@ public interface CreateViewRequestOrBuilder
*
*
* Required. The bucket in which to create the view
+ *
* `"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"`
+ *
* For example:
+ *
* `"projects/my-project/locations/global/buckets/my-bucket"`
*
*
diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteBucketRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteBucketRequest.java
index 563984237..22dc377e7 100644
--- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteBucketRequest.java
+++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteBucketRequest.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -47,11 +47,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
return new DeleteBucketRequest();
}
- @java.lang.Override
- public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
- return this.unknownFields;
- }
-
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.logging.v2.LoggingConfigProto
.internal_static_google_logging_v2_DeleteBucketRequest_descriptor;
@@ -76,11 +71,14 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* Required. The full resource name of the bucket to delete.
+ *
* "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
* "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
* "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
* "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
+ *
* For example:
+ *
* `"projects/my-project/locations/global/buckets/my-bucket"`
*
*
@@ -107,11 +105,14 @@ public java.lang.String getName() {
*
*
* Required. The full resource name of the bucket to delete.
+ *
* "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
* "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
* "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
* "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
+ *
* For example:
+ *
* `"projects/my-project/locations/global/buckets/my-bucket"`
*
*
@@ -481,11 +482,14 @@ public Builder mergeFrom(
*
*
* Required. The full resource name of the bucket to delete.
+ *
* "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
* "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
* "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
* "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
+ *
* For example:
+ *
* `"projects/my-project/locations/global/buckets/my-bucket"`
*
*
@@ -511,11 +515,14 @@ public java.lang.String getName() {
*
*
* Required. The full resource name of the bucket to delete.
+ *
* "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
* "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
* "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
* "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
+ *
* For example:
+ *
* `"projects/my-project/locations/global/buckets/my-bucket"`
*
*
@@ -541,11 +548,14 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
* Required. The full resource name of the bucket to delete.
+ *
* "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
* "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
* "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
* "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
+ *
* For example:
+ *
* `"projects/my-project/locations/global/buckets/my-bucket"`
*
*
@@ -570,11 +580,14 @@ public Builder setName(java.lang.String value) {
*
*
* Required. The full resource name of the bucket to delete.
+ *
* "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
* "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
* "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
* "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
+ *
* For example:
+ *
* `"projects/my-project/locations/global/buckets/my-bucket"`
*
*
@@ -595,11 +608,14 @@ public Builder clearName() {
*
*
* Required. The full resource name of the bucket to delete.
+ *
* "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
* "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
* "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
* "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
+ *
* For example:
+ *
* `"projects/my-project/locations/global/buckets/my-bucket"`
*
*
diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteBucketRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteBucketRequestOrBuilder.java
index d52ae463c..f82deaf6a 100644
--- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteBucketRequestOrBuilder.java
+++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteBucketRequestOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -28,11 +28,14 @@ public interface DeleteBucketRequestOrBuilder
*
*
* Required. The full resource name of the bucket to delete.
+ *
* "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
* "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
* "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
* "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
+ *
* For example:
+ *
* `"projects/my-project/locations/global/buckets/my-bucket"`
*
*
@@ -48,11 +51,14 @@ public interface DeleteBucketRequestOrBuilder
*
*
* Required. The full resource name of the bucket to delete.
+ *
* "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
* "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
* "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
* "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
+ *
* For example:
+ *
* `"projects/my-project/locations/global/buckets/my-bucket"`
*
*
diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteExclusionRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteExclusionRequest.java
index ac13bb3d1..844651f26 100644
--- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteExclusionRequest.java
+++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteExclusionRequest.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -47,11 +47,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
return new DeleteExclusionRequest();
}
- @java.lang.Override
- public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
- return this.unknownFields;
- }
-
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.logging.v2.LoggingConfigProto
.internal_static_google_logging_v2_DeleteExclusionRequest_descriptor;
@@ -76,11 +71,14 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* Required. The resource name of an existing exclusion to delete:
+ *
* "projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]"
* "organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]"
* "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]"
* "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]"
+ *
* For example:
+ *
* `"projects/my-project/exclusions/my-exclusion"`
*
*
@@ -107,11 +105,14 @@ public java.lang.String getName() {
*
*
* Required. The resource name of an existing exclusion to delete:
+ *
* "projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]"
* "organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]"
* "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]"
* "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]"
+ *
* For example:
+ *
* `"projects/my-project/exclusions/my-exclusion"`
*
*
@@ -481,11 +482,14 @@ public Builder mergeFrom(
*
*
* Required. The resource name of an existing exclusion to delete:
+ *
* "projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]"
* "organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]"
* "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]"
* "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]"
+ *
* For example:
+ *
* `"projects/my-project/exclusions/my-exclusion"`
*
*
@@ -511,11 +515,14 @@ public java.lang.String getName() {
*
*
* Required. The resource name of an existing exclusion to delete:
+ *
* "projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]"
* "organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]"
* "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]"
* "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]"
+ *
* For example:
+ *
* `"projects/my-project/exclusions/my-exclusion"`
*
*
@@ -541,11 +548,14 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
* Required. The resource name of an existing exclusion to delete:
+ *
* "projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]"
* "organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]"
* "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]"
* "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]"
+ *
* For example:
+ *
* `"projects/my-project/exclusions/my-exclusion"`
*
*
@@ -570,11 +580,14 @@ public Builder setName(java.lang.String value) {
*
*
* Required. The resource name of an existing exclusion to delete:
+ *
* "projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]"
* "organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]"
* "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]"
* "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]"
+ *
* For example:
+ *
* `"projects/my-project/exclusions/my-exclusion"`
*
*
@@ -595,11 +608,14 @@ public Builder clearName() {
*
*
* Required. The resource name of an existing exclusion to delete:
+ *
* "projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]"
* "organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]"
* "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]"
* "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]"
+ *
* For example:
+ *
* `"projects/my-project/exclusions/my-exclusion"`
*
*
diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteExclusionRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteExclusionRequestOrBuilder.java
index 7e863687a..8d74b4d1c 100644
--- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteExclusionRequestOrBuilder.java
+++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteExclusionRequestOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -28,11 +28,14 @@ public interface DeleteExclusionRequestOrBuilder
*
*
* Required. The resource name of an existing exclusion to delete:
+ *
* "projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]"
* "organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]"
* "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]"
* "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]"
+ *
* For example:
+ *
* `"projects/my-project/exclusions/my-exclusion"`
*
*
@@ -48,11 +51,14 @@ public interface DeleteExclusionRequestOrBuilder
*
*
* Required. The resource name of an existing exclusion to delete:
+ *
* "projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]"
* "organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]"
* "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]"
* "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]"
+ *
* For example:
+ *
* `"projects/my-project/exclusions/my-exclusion"`
*
*
diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteLinkRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteLinkRequest.java
index 918aa6022..e590175f4 100644
--- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteLinkRequest.java
+++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteLinkRequest.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -47,11 +47,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
return new DeleteLinkRequest();
}
- @java.lang.Override
- public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
- return this.unknownFields;
- }
-
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.logging.v2.LoggingConfigProto
.internal_static_google_logging_v2_DeleteLinkRequest_descriptor;
@@ -76,6 +71,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* Required. The full resource name of the link to delete.
+ *
* "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"
* "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"
* "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"
@@ -105,6 +101,7 @@ public java.lang.String getName() {
*
*
* Required. The full resource name of the link to delete.
+ *
* "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"
* "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"
* "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"
@@ -476,6 +473,7 @@ public Builder mergeFrom(
*
*
* Required. The full resource name of the link to delete.
+ *
* "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"
* "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"
* "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"
@@ -504,6 +502,7 @@ public java.lang.String getName() {
*
*
* Required. The full resource name of the link to delete.
+ *
* "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"
* "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"
* "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"
@@ -532,6 +531,7 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
* Required. The full resource name of the link to delete.
+ *
* "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"
* "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"
* "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"
@@ -559,6 +559,7 @@ public Builder setName(java.lang.String value) {
*
*
* Required. The full resource name of the link to delete.
+ *
* "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"
* "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"
* "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"
@@ -582,6 +583,7 @@ public Builder clearName() {
*
*
* Required. The full resource name of the link to delete.
+ *
* "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"
* "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"
* "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"
diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteLinkRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteLinkRequestOrBuilder.java
index 7d89cff2c..88bc43722 100644
--- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteLinkRequestOrBuilder.java
+++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteLinkRequestOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -28,6 +28,7 @@ public interface DeleteLinkRequestOrBuilder
*
*
* Required. The full resource name of the link to delete.
+ *
* "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"
* "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"
* "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"
@@ -46,6 +47,7 @@ public interface DeleteLinkRequestOrBuilder
*
*
* Required. The full resource name of the link to delete.
+ *
* "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"
* "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"
* "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"
diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteLogMetricRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteLogMetricRequest.java
index c71f49879..0e137ea09 100644
--- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteLogMetricRequest.java
+++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteLogMetricRequest.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -47,11 +47,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
return new DeleteLogMetricRequest();
}
- @java.lang.Override
- public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
- return this.unknownFields;
- }
-
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.logging.v2.LoggingMetricsProto
.internal_static_google_logging_v2_DeleteLogMetricRequest_descriptor;
@@ -76,6 +71,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* Required. The resource name of the metric to delete:
+ *
* "projects/[PROJECT_ID]/metrics/[METRIC_ID]"
*
*
@@ -102,6 +98,7 @@ public java.lang.String getMetricName() {
*
*
* Required. The resource name of the metric to delete:
+ *
* "projects/[PROJECT_ID]/metrics/[METRIC_ID]"
*
*
@@ -471,6 +468,7 @@ public Builder mergeFrom(
*
*
* Required. The resource name of the metric to delete:
+ *
* "projects/[PROJECT_ID]/metrics/[METRIC_ID]"
*
*
@@ -496,6 +494,7 @@ public java.lang.String getMetricName() {
*
*
* Required. The resource name of the metric to delete:
+ *
* "projects/[PROJECT_ID]/metrics/[METRIC_ID]"
*
*
@@ -521,6 +520,7 @@ public com.google.protobuf.ByteString getMetricNameBytes() {
*
*
* Required. The resource name of the metric to delete:
+ *
* "projects/[PROJECT_ID]/metrics/[METRIC_ID]"
*
*
@@ -545,6 +545,7 @@ public Builder setMetricName(java.lang.String value) {
*
*
* Required. The resource name of the metric to delete:
+ *
* "projects/[PROJECT_ID]/metrics/[METRIC_ID]"
*
*
@@ -565,6 +566,7 @@ public Builder clearMetricName() {
*
*
* Required. The resource name of the metric to delete:
+ *
* "projects/[PROJECT_ID]/metrics/[METRIC_ID]"
*
*
diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteLogMetricRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteLogMetricRequestOrBuilder.java
index de3ddd153..c55aad33d 100644
--- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteLogMetricRequestOrBuilder.java
+++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteLogMetricRequestOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -28,6 +28,7 @@ public interface DeleteLogMetricRequestOrBuilder
*
*
* Required. The resource name of the metric to delete:
+ *
* "projects/[PROJECT_ID]/metrics/[METRIC_ID]"
*
*
@@ -43,6 +44,7 @@ public interface DeleteLogMetricRequestOrBuilder
*
*
* Required. The resource name of the metric to delete:
+ *
* "projects/[PROJECT_ID]/metrics/[METRIC_ID]"
*
*
diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteLogRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteLogRequest.java
index 12d8bd7a8..6263914c5 100644
--- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteLogRequest.java
+++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteLogRequest.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -47,11 +47,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
return new DeleteLogRequest();
}
- @java.lang.Override
- public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
- return this.unknownFields;
- }
-
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.logging.v2.LoggingProto
.internal_static_google_logging_v2_DeleteLogRequest_descriptor;
@@ -76,13 +71,16 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* Required. The resource name of the log to delete:
+ *
* * `projects/[PROJECT_ID]/logs/[LOG_ID]`
* * `organizations/[ORGANIZATION_ID]/logs/[LOG_ID]`
* * `billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID]`
* * `folders/[FOLDER_ID]/logs/[LOG_ID]`
+ *
* `[LOG_ID]` must be URL-encoded. For example,
* `"projects/my-project-id/logs/syslog"`,
* `"organizations/123/logs/cloudaudit.googleapis.com%2Factivity"`.
+ *
* For more information about log names, see
* [LogEntry][google.logging.v2.LogEntry].
*
@@ -110,13 +108,16 @@ public java.lang.String getLogName() {
*
*
* Required. The resource name of the log to delete:
+ *
* * `projects/[PROJECT_ID]/logs/[LOG_ID]`
* * `organizations/[ORGANIZATION_ID]/logs/[LOG_ID]`
* * `billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID]`
* * `folders/[FOLDER_ID]/logs/[LOG_ID]`
+ *
* `[LOG_ID]` must be URL-encoded. For example,
* `"projects/my-project-id/logs/syslog"`,
* `"organizations/123/logs/cloudaudit.googleapis.com%2Factivity"`.
+ *
* For more information about log names, see
* [LogEntry][google.logging.v2.LogEntry].
*
@@ -486,13 +487,16 @@ public Builder mergeFrom(
*
*
* Required. The resource name of the log to delete:
+ *
* * `projects/[PROJECT_ID]/logs/[LOG_ID]`
* * `organizations/[ORGANIZATION_ID]/logs/[LOG_ID]`
* * `billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID]`
* * `folders/[FOLDER_ID]/logs/[LOG_ID]`
+ *
* `[LOG_ID]` must be URL-encoded. For example,
* `"projects/my-project-id/logs/syslog"`,
* `"organizations/123/logs/cloudaudit.googleapis.com%2Factivity"`.
+ *
* For more information about log names, see
* [LogEntry][google.logging.v2.LogEntry].
*
@@ -519,13 +523,16 @@ public java.lang.String getLogName() {
*
*
* Required. The resource name of the log to delete:
+ *
* * `projects/[PROJECT_ID]/logs/[LOG_ID]`
* * `organizations/[ORGANIZATION_ID]/logs/[LOG_ID]`
* * `billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID]`
* * `folders/[FOLDER_ID]/logs/[LOG_ID]`
+ *
* `[LOG_ID]` must be URL-encoded. For example,
* `"projects/my-project-id/logs/syslog"`,
* `"organizations/123/logs/cloudaudit.googleapis.com%2Factivity"`.
+ *
* For more information about log names, see
* [LogEntry][google.logging.v2.LogEntry].
*
@@ -552,13 +559,16 @@ public com.google.protobuf.ByteString getLogNameBytes() {
*
*
* Required. The resource name of the log to delete:
+ *
* * `projects/[PROJECT_ID]/logs/[LOG_ID]`
* * `organizations/[ORGANIZATION_ID]/logs/[LOG_ID]`
* * `billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID]`
* * `folders/[FOLDER_ID]/logs/[LOG_ID]`
+ *
* `[LOG_ID]` must be URL-encoded. For example,
* `"projects/my-project-id/logs/syslog"`,
* `"organizations/123/logs/cloudaudit.googleapis.com%2Factivity"`.
+ *
* For more information about log names, see
* [LogEntry][google.logging.v2.LogEntry].
*
@@ -584,13 +594,16 @@ public Builder setLogName(java.lang.String value) {
*
*
* Required. The resource name of the log to delete:
+ *
* * `projects/[PROJECT_ID]/logs/[LOG_ID]`
* * `organizations/[ORGANIZATION_ID]/logs/[LOG_ID]`
* * `billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID]`
* * `folders/[FOLDER_ID]/logs/[LOG_ID]`
+ *
* `[LOG_ID]` must be URL-encoded. For example,
* `"projects/my-project-id/logs/syslog"`,
* `"organizations/123/logs/cloudaudit.googleapis.com%2Factivity"`.
+ *
* For more information about log names, see
* [LogEntry][google.logging.v2.LogEntry].
*
@@ -612,13 +625,16 @@ public Builder clearLogName() {
*
*
* Required. The resource name of the log to delete:
+ *
* * `projects/[PROJECT_ID]/logs/[LOG_ID]`
* * `organizations/[ORGANIZATION_ID]/logs/[LOG_ID]`
* * `billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID]`
* * `folders/[FOLDER_ID]/logs/[LOG_ID]`
+ *
* `[LOG_ID]` must be URL-encoded. For example,
* `"projects/my-project-id/logs/syslog"`,
* `"organizations/123/logs/cloudaudit.googleapis.com%2Factivity"`.
+ *
* For more information about log names, see
* [LogEntry][google.logging.v2.LogEntry].
*
diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteLogRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteLogRequestOrBuilder.java
index e2ddc3230..c7f01d89b 100644
--- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteLogRequestOrBuilder.java
+++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteLogRequestOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -28,13 +28,16 @@ public interface DeleteLogRequestOrBuilder
*
*
* Required. The resource name of the log to delete:
+ *
* * `projects/[PROJECT_ID]/logs/[LOG_ID]`
* * `organizations/[ORGANIZATION_ID]/logs/[LOG_ID]`
* * `billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID]`
* * `folders/[FOLDER_ID]/logs/[LOG_ID]`
+ *
* `[LOG_ID]` must be URL-encoded. For example,
* `"projects/my-project-id/logs/syslog"`,
* `"organizations/123/logs/cloudaudit.googleapis.com%2Factivity"`.
+ *
* For more information about log names, see
* [LogEntry][google.logging.v2.LogEntry].
*
@@ -51,13 +54,16 @@ public interface DeleteLogRequestOrBuilder
*
*
* Required. The resource name of the log to delete:
+ *
* * `projects/[PROJECT_ID]/logs/[LOG_ID]`
* * `organizations/[ORGANIZATION_ID]/logs/[LOG_ID]`
* * `billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID]`
* * `folders/[FOLDER_ID]/logs/[LOG_ID]`
+ *
* `[LOG_ID]` must be URL-encoded. For example,
* `"projects/my-project-id/logs/syslog"`,
* `"organizations/123/logs/cloudaudit.googleapis.com%2Factivity"`.
+ *
* For more information about log names, see
* [LogEntry][google.logging.v2.LogEntry].
*
diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteSinkRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteSinkRequest.java
index e2df7bc49..55103caf8 100644
--- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteSinkRequest.java
+++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteSinkRequest.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -47,11 +47,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
return new DeleteSinkRequest();
}
- @java.lang.Override
- public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
- return this.unknownFields;
- }
-
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.logging.v2.LoggingConfigProto
.internal_static_google_logging_v2_DeleteSinkRequest_descriptor;
@@ -77,11 +72,14 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* Required. The full resource name of the sink to delete, including the
* parent resource and the sink identifier:
+ *
* "projects/[PROJECT_ID]/sinks/[SINK_ID]"
* "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]"
* "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]"
* "folders/[FOLDER_ID]/sinks/[SINK_ID]"
+ *
* For example:
+ *
* `"projects/my-project/sinks/my-sink"`
*
*
@@ -109,11 +107,14 @@ public java.lang.String getSinkName() {
*
* Required. The full resource name of the sink to delete, including the
* parent resource and the sink identifier:
+ *
* "projects/[PROJECT_ID]/sinks/[SINK_ID]"
* "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]"
* "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]"
* "folders/[FOLDER_ID]/sinks/[SINK_ID]"
+ *
* For example:
+ *
* `"projects/my-project/sinks/my-sink"`
*
*
@@ -483,11 +484,14 @@ public Builder mergeFrom(
*
* Required. The full resource name of the sink to delete, including the
* parent resource and the sink identifier:
+ *
* "projects/[PROJECT_ID]/sinks/[SINK_ID]"
* "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]"
* "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]"
* "folders/[FOLDER_ID]/sinks/[SINK_ID]"
+ *
* For example:
+ *
* `"projects/my-project/sinks/my-sink"`
*
*
@@ -514,11 +518,14 @@ public java.lang.String getSinkName() {
*
* Required. The full resource name of the sink to delete, including the
* parent resource and the sink identifier:
+ *
* "projects/[PROJECT_ID]/sinks/[SINK_ID]"
* "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]"
* "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]"
* "folders/[FOLDER_ID]/sinks/[SINK_ID]"
+ *
* For example:
+ *
* `"projects/my-project/sinks/my-sink"`
*
*
@@ -545,11 +552,14 @@ public com.google.protobuf.ByteString getSinkNameBytes() {
*
* Required. The full resource name of the sink to delete, including the
* parent resource and the sink identifier:
+ *
* "projects/[PROJECT_ID]/sinks/[SINK_ID]"
* "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]"
* "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]"
* "folders/[FOLDER_ID]/sinks/[SINK_ID]"
+ *
* For example:
+ *
* `"projects/my-project/sinks/my-sink"`
*
*
@@ -575,11 +585,14 @@ public Builder setSinkName(java.lang.String value) {
*
* Required. The full resource name of the sink to delete, including the
* parent resource and the sink identifier:
+ *
* "projects/[PROJECT_ID]/sinks/[SINK_ID]"
* "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]"
* "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]"
* "folders/[FOLDER_ID]/sinks/[SINK_ID]"
+ *
* For example:
+ *
* `"projects/my-project/sinks/my-sink"`
*
*
@@ -601,11 +614,14 @@ public Builder clearSinkName() {
*
* Required. The full resource name of the sink to delete, including the
* parent resource and the sink identifier:
+ *
* "projects/[PROJECT_ID]/sinks/[SINK_ID]"
* "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]"
* "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]"
* "folders/[FOLDER_ID]/sinks/[SINK_ID]"
+ *
* For example:
+ *
* `"projects/my-project/sinks/my-sink"`
*
*
diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteSinkRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteSinkRequestOrBuilder.java
index 902f78e87..985d8b249 100644
--- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteSinkRequestOrBuilder.java
+++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteSinkRequestOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -29,11 +29,14 @@ public interface DeleteSinkRequestOrBuilder
*
* Required. The full resource name of the sink to delete, including the
* parent resource and the sink identifier:
+ *
* "projects/[PROJECT_ID]/sinks/[SINK_ID]"
* "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]"
* "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]"
* "folders/[FOLDER_ID]/sinks/[SINK_ID]"
+ *
* For example:
+ *
* `"projects/my-project/sinks/my-sink"`
*
*
@@ -50,11 +53,14 @@ public interface DeleteSinkRequestOrBuilder
*
* Required. The full resource name of the sink to delete, including the
* parent resource and the sink identifier:
+ *
* "projects/[PROJECT_ID]/sinks/[SINK_ID]"
* "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]"
* "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]"
* "folders/[FOLDER_ID]/sinks/[SINK_ID]"
+ *
* For example:
+ *
* `"projects/my-project/sinks/my-sink"`
*
*
diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteViewRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteViewRequest.java
index cca0a346f..a4832cbef 100644
--- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteViewRequest.java
+++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteViewRequest.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -47,11 +47,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
return new DeleteViewRequest();
}
- @java.lang.Override
- public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
- return this.unknownFields;
- }
-
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.logging.v2.LoggingConfigProto
.internal_static_google_logging_v2_DeleteViewRequest_descriptor;
@@ -76,8 +71,11 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* Required. The full resource name of the view to delete:
+ *
* "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]"
+ *
* For example:
+ *
* `"projects/my-project/locations/global/buckets/my-bucket/views/my-view"`
*
*
@@ -104,8 +102,11 @@ public java.lang.String getName() {
*
*
* Required. The full resource name of the view to delete:
+ *
* "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]"
+ *
* For example:
+ *
* `"projects/my-project/locations/global/buckets/my-bucket/views/my-view"`
*
*
@@ -474,8 +475,11 @@ public Builder mergeFrom(
*
*
* Required. The full resource name of the view to delete:
+ *
* "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]"
+ *
* For example:
+ *
* `"projects/my-project/locations/global/buckets/my-bucket/views/my-view"`
*
*
@@ -501,8 +505,11 @@ public java.lang.String getName() {
*
*
* Required. The full resource name of the view to delete:
+ *
* "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]"
+ *
* For example:
+ *
* `"projects/my-project/locations/global/buckets/my-bucket/views/my-view"`
*
*
@@ -528,8 +535,11 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
* Required. The full resource name of the view to delete:
+ *
* "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]"
+ *
* For example:
+ *
* `"projects/my-project/locations/global/buckets/my-bucket/views/my-view"`
*
*
@@ -554,8 +564,11 @@ public Builder setName(java.lang.String value) {
*
*
* Required. The full resource name of the view to delete:
+ *
* "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]"
+ *
* For example:
+ *
* `"projects/my-project/locations/global/buckets/my-bucket/views/my-view"`
*
*
@@ -576,8 +589,11 @@ public Builder clearName() {
*
*
* Required. The full resource name of the view to delete:
+ *
* "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]"
+ *
* For example:
+ *
* `"projects/my-project/locations/global/buckets/my-bucket/views/my-view"`
*
*
diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteViewRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteViewRequestOrBuilder.java
index ecd296107..3cafd0a42 100644
--- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteViewRequestOrBuilder.java
+++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/DeleteViewRequestOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -28,8 +28,11 @@ public interface DeleteViewRequestOrBuilder
*
*
* Required. The full resource name of the view to delete:
+ *
* "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]"
+ *
* For example:
+ *
* `"projects/my-project/locations/global/buckets/my-bucket/views/my-view"`
*
*
@@ -45,8 +48,11 @@ public interface DeleteViewRequestOrBuilder
*
*
* Required. The full resource name of the view to delete:
+ *
* "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]"
+ *
* For example:
+ *
* `"projects/my-project/locations/global/buckets/my-bucket/views/my-view"`
*
*
diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/FolderLocationName.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/FolderLocationName.java
index ebc46df91..9e4334997 100644
--- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/FolderLocationName.java
+++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/FolderLocationName.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2022 Google LLC
+ * Copyright 2023 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/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/FolderName.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/FolderName.java
index 3a1720edc..14b45b12f 100644
--- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/FolderName.java
+++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/FolderName.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2022 Google LLC
+ * Copyright 2023 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/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetBucketRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetBucketRequest.java
index 36fe87ba0..1dc305de7 100644
--- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetBucketRequest.java
+++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetBucketRequest.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -47,11 +47,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
return new GetBucketRequest();
}
- @java.lang.Override
- public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
- return this.unknownFields;
- }
-
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.logging.v2.LoggingConfigProto
.internal_static_google_logging_v2_GetBucketRequest_descriptor;
@@ -76,11 +71,14 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* Required. The resource name of the bucket:
+ *
* "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
* "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
* "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
* "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
+ *
* For example:
+ *
* `"projects/my-project/locations/global/buckets/my-bucket"`
*
*
@@ -107,11 +105,14 @@ public java.lang.String getName() {
*
*
* Required. The resource name of the bucket:
+ *
* "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
* "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
* "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
* "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
+ *
* For example:
+ *
* `"projects/my-project/locations/global/buckets/my-bucket"`
*
*
@@ -480,11 +481,14 @@ public Builder mergeFrom(
*
*
* Required. The resource name of the bucket:
+ *
* "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
* "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
* "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
* "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
+ *
* For example:
+ *
* `"projects/my-project/locations/global/buckets/my-bucket"`
*
*
@@ -510,11 +514,14 @@ public java.lang.String getName() {
*
*
* Required. The resource name of the bucket:
+ *
* "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
* "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
* "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
* "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
+ *
* For example:
+ *
* `"projects/my-project/locations/global/buckets/my-bucket"`
*
*
@@ -540,11 +547,14 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
* Required. The resource name of the bucket:
+ *
* "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
* "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
* "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
* "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
+ *
* For example:
+ *
* `"projects/my-project/locations/global/buckets/my-bucket"`
*
*
@@ -569,11 +579,14 @@ public Builder setName(java.lang.String value) {
*
*
* Required. The resource name of the bucket:
+ *
* "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
* "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
* "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
* "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
+ *
* For example:
+ *
* `"projects/my-project/locations/global/buckets/my-bucket"`
*
*
@@ -594,11 +607,14 @@ public Builder clearName() {
*
*
* Required. The resource name of the bucket:
+ *
* "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
* "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
* "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
* "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
+ *
* For example:
+ *
* `"projects/my-project/locations/global/buckets/my-bucket"`
*
*
diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetBucketRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetBucketRequestOrBuilder.java
index 3be788db4..534d6908c 100644
--- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetBucketRequestOrBuilder.java
+++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetBucketRequestOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -28,11 +28,14 @@ public interface GetBucketRequestOrBuilder
*
*
* Required. The resource name of the bucket:
+ *
* "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
* "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
* "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
* "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
+ *
* For example:
+ *
* `"projects/my-project/locations/global/buckets/my-bucket"`
*
*
@@ -48,11 +51,14 @@ public interface GetBucketRequestOrBuilder
*
*
* Required. The resource name of the bucket:
+ *
* "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
* "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
* "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
* "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
+ *
* For example:
+ *
* `"projects/my-project/locations/global/buckets/my-bucket"`
*
*
diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetCmekSettingsRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetCmekSettingsRequest.java
index 5c82860c3..4622b2d7f 100644
--- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetCmekSettingsRequest.java
+++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetCmekSettingsRequest.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -24,6 +24,7 @@
*
* The parameters to
* [GetCmekSettings][google.logging.v2.ConfigServiceV2.GetCmekSettings].
+ *
* See [Enabling CMEK for Log
* Router](https://cloud.google.com/logging/docs/routing/managed-encryption) for
* more information.
@@ -51,11 +52,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
return new GetCmekSettingsRequest();
}
- @java.lang.Override
- public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
- return this.unknownFields;
- }
-
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.logging.v2.LoggingConfigProto
.internal_static_google_logging_v2_GetCmekSettingsRequest_descriptor;
@@ -80,12 +76,16 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* Required. The resource for which to retrieve CMEK settings.
+ *
* "projects/[PROJECT_ID]/cmekSettings"
* "organizations/[ORGANIZATION_ID]/cmekSettings"
* "billingAccounts/[BILLING_ACCOUNT_ID]/cmekSettings"
* "folders/[FOLDER_ID]/cmekSettings"
+ *
* For example:
+ *
* `"organizations/12345/cmekSettings"`
+ *
* Note: CMEK for the Log Router can be configured for Google Cloud projects,
* folders, organizations and billing accounts. Once configured for an
* organization, it applies to all projects and folders in the Google Cloud
@@ -115,12 +115,16 @@ public java.lang.String getName() {
*
*
* Required. The resource for which to retrieve CMEK settings.
+ *
* "projects/[PROJECT_ID]/cmekSettings"
* "organizations/[ORGANIZATION_ID]/cmekSettings"
* "billingAccounts/[BILLING_ACCOUNT_ID]/cmekSettings"
* "folders/[FOLDER_ID]/cmekSettings"
+ *
* For example:
+ *
* `"organizations/12345/cmekSettings"`
+ *
* Note: CMEK for the Log Router can be configured for Google Cloud projects,
* folders, organizations and billing accounts. Once configured for an
* organization, it applies to all projects and folders in the Google Cloud
@@ -311,6 +315,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
*
* The parameters to
* [GetCmekSettings][google.logging.v2.ConfigServiceV2.GetCmekSettings].
+ *
* See [Enabling CMEK for Log
* Router](https://cloud.google.com/logging/docs/routing/managed-encryption) for
* more information.
@@ -497,12 +502,16 @@ public Builder mergeFrom(
*
*
* Required. The resource for which to retrieve CMEK settings.
+ *
* "projects/[PROJECT_ID]/cmekSettings"
* "organizations/[ORGANIZATION_ID]/cmekSettings"
* "billingAccounts/[BILLING_ACCOUNT_ID]/cmekSettings"
* "folders/[FOLDER_ID]/cmekSettings"
+ *
* For example:
+ *
* `"organizations/12345/cmekSettings"`
+ *
* Note: CMEK for the Log Router can be configured for Google Cloud projects,
* folders, organizations and billing accounts. Once configured for an
* organization, it applies to all projects and folders in the Google Cloud
@@ -531,12 +540,16 @@ public java.lang.String getName() {
*
*
* Required. The resource for which to retrieve CMEK settings.
+ *
* "projects/[PROJECT_ID]/cmekSettings"
* "organizations/[ORGANIZATION_ID]/cmekSettings"
* "billingAccounts/[BILLING_ACCOUNT_ID]/cmekSettings"
* "folders/[FOLDER_ID]/cmekSettings"
+ *
* For example:
+ *
* `"organizations/12345/cmekSettings"`
+ *
* Note: CMEK for the Log Router can be configured for Google Cloud projects,
* folders, organizations and billing accounts. Once configured for an
* organization, it applies to all projects and folders in the Google Cloud
@@ -565,12 +578,16 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
* Required. The resource for which to retrieve CMEK settings.
+ *
* "projects/[PROJECT_ID]/cmekSettings"
* "organizations/[ORGANIZATION_ID]/cmekSettings"
* "billingAccounts/[BILLING_ACCOUNT_ID]/cmekSettings"
* "folders/[FOLDER_ID]/cmekSettings"
+ *
* For example:
+ *
* `"organizations/12345/cmekSettings"`
+ *
* Note: CMEK for the Log Router can be configured for Google Cloud projects,
* folders, organizations and billing accounts. Once configured for an
* organization, it applies to all projects and folders in the Google Cloud
@@ -598,12 +615,16 @@ public Builder setName(java.lang.String value) {
*
*
* Required. The resource for which to retrieve CMEK settings.
+ *
* "projects/[PROJECT_ID]/cmekSettings"
* "organizations/[ORGANIZATION_ID]/cmekSettings"
* "billingAccounts/[BILLING_ACCOUNT_ID]/cmekSettings"
* "folders/[FOLDER_ID]/cmekSettings"
+ *
* For example:
+ *
* `"organizations/12345/cmekSettings"`
+ *
* Note: CMEK for the Log Router can be configured for Google Cloud projects,
* folders, organizations and billing accounts. Once configured for an
* organization, it applies to all projects and folders in the Google Cloud
@@ -627,12 +648,16 @@ public Builder clearName() {
*
*
* Required. The resource for which to retrieve CMEK settings.
+ *
* "projects/[PROJECT_ID]/cmekSettings"
* "organizations/[ORGANIZATION_ID]/cmekSettings"
* "billingAccounts/[BILLING_ACCOUNT_ID]/cmekSettings"
* "folders/[FOLDER_ID]/cmekSettings"
+ *
* For example:
+ *
* `"organizations/12345/cmekSettings"`
+ *
* Note: CMEK for the Log Router can be configured for Google Cloud projects,
* folders, organizations and billing accounts. Once configured for an
* organization, it applies to all projects and folders in the Google Cloud
diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetCmekSettingsRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetCmekSettingsRequestOrBuilder.java
index c59b26e69..29462a710 100644
--- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetCmekSettingsRequestOrBuilder.java
+++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetCmekSettingsRequestOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -28,12 +28,16 @@ public interface GetCmekSettingsRequestOrBuilder
*
*
* Required. The resource for which to retrieve CMEK settings.
+ *
* "projects/[PROJECT_ID]/cmekSettings"
* "organizations/[ORGANIZATION_ID]/cmekSettings"
* "billingAccounts/[BILLING_ACCOUNT_ID]/cmekSettings"
* "folders/[FOLDER_ID]/cmekSettings"
+ *
* For example:
+ *
* `"organizations/12345/cmekSettings"`
+ *
* Note: CMEK for the Log Router can be configured for Google Cloud projects,
* folders, organizations and billing accounts. Once configured for an
* organization, it applies to all projects and folders in the Google Cloud
@@ -52,12 +56,16 @@ public interface GetCmekSettingsRequestOrBuilder
*
*
* Required. The resource for which to retrieve CMEK settings.
+ *
* "projects/[PROJECT_ID]/cmekSettings"
* "organizations/[ORGANIZATION_ID]/cmekSettings"
* "billingAccounts/[BILLING_ACCOUNT_ID]/cmekSettings"
* "folders/[FOLDER_ID]/cmekSettings"
+ *
* For example:
+ *
* `"organizations/12345/cmekSettings"`
+ *
* Note: CMEK for the Log Router can be configured for Google Cloud projects,
* folders, organizations and billing accounts. Once configured for an
* organization, it applies to all projects and folders in the Google Cloud
diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetExclusionRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetExclusionRequest.java
index f1006ce68..7ca05b712 100644
--- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetExclusionRequest.java
+++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetExclusionRequest.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -47,11 +47,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
return new GetExclusionRequest();
}
- @java.lang.Override
- public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
- return this.unknownFields;
- }
-
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.logging.v2.LoggingConfigProto
.internal_static_google_logging_v2_GetExclusionRequest_descriptor;
@@ -76,11 +71,14 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* Required. The resource name of an existing exclusion:
+ *
* "projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]"
* "organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]"
* "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]"
* "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]"
+ *
* For example:
+ *
* `"projects/my-project/exclusions/my-exclusion"`
*
*
@@ -107,11 +105,14 @@ public java.lang.String getName() {
*
*
* Required. The resource name of an existing exclusion:
+ *
* "projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]"
* "organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]"
* "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]"
* "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]"
+ *
* For example:
+ *
* `"projects/my-project/exclusions/my-exclusion"`
*
*
@@ -481,11 +482,14 @@ public Builder mergeFrom(
*
*
* Required. The resource name of an existing exclusion:
+ *
* "projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]"
* "organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]"
* "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]"
* "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]"
+ *
* For example:
+ *
* `"projects/my-project/exclusions/my-exclusion"`
*
*
@@ -511,11 +515,14 @@ public java.lang.String getName() {
*
*
* Required. The resource name of an existing exclusion:
+ *
* "projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]"
* "organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]"
* "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]"
* "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]"
+ *
* For example:
+ *
* `"projects/my-project/exclusions/my-exclusion"`
*
*
@@ -541,11 +548,14 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
* Required. The resource name of an existing exclusion:
+ *
* "projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]"
* "organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]"
* "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]"
* "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]"
+ *
* For example:
+ *
* `"projects/my-project/exclusions/my-exclusion"`
*
*
@@ -570,11 +580,14 @@ public Builder setName(java.lang.String value) {
*
*
* Required. The resource name of an existing exclusion:
+ *
* "projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]"
* "organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]"
* "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]"
* "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]"
+ *
* For example:
+ *
* `"projects/my-project/exclusions/my-exclusion"`
*
*
@@ -595,11 +608,14 @@ public Builder clearName() {
*
*
* Required. The resource name of an existing exclusion:
+ *
* "projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]"
* "organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]"
* "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]"
* "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]"
+ *
* For example:
+ *
* `"projects/my-project/exclusions/my-exclusion"`
*
*
diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetExclusionRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetExclusionRequestOrBuilder.java
index e66eaa839..133efef20 100644
--- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetExclusionRequestOrBuilder.java
+++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetExclusionRequestOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -28,11 +28,14 @@ public interface GetExclusionRequestOrBuilder
*
*
* Required. The resource name of an existing exclusion:
+ *
* "projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]"
* "organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]"
* "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]"
* "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]"
+ *
* For example:
+ *
* `"projects/my-project/exclusions/my-exclusion"`
*
*
@@ -48,11 +51,14 @@ public interface GetExclusionRequestOrBuilder
*
*
* Required. The resource name of an existing exclusion:
+ *
* "projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]"
* "organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]"
* "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]"
* "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]"
+ *
* For example:
+ *
* `"projects/my-project/exclusions/my-exclusion"`
*
*
diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetLinkRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetLinkRequest.java
index 12c39b674..3e28be141 100644
--- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetLinkRequest.java
+++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetLinkRequest.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -47,11 +47,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
return new GetLinkRequest();
}
- @java.lang.Override
- public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
- return this.unknownFields;
- }
-
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.logging.v2.LoggingConfigProto
.internal_static_google_logging_v2_GetLinkRequest_descriptor;
@@ -76,6 +71,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* Required. The resource name of the link:
+ *
* "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"
* "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"
* "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"
@@ -105,6 +101,7 @@ public java.lang.String getName() {
*
*
* Required. The resource name of the link:
+ *
* "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"
* "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"
* "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"
@@ -474,6 +471,7 @@ public Builder mergeFrom(
*
*
* Required. The resource name of the link:
+ *
* "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"
* "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"
* "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"
@@ -502,6 +500,7 @@ public java.lang.String getName() {
*
*
* Required. The resource name of the link:
+ *
* "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"
* "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"
* "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"
@@ -530,6 +529,7 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
* Required. The resource name of the link:
+ *
* "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"
* "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"
* "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"
@@ -557,6 +557,7 @@ public Builder setName(java.lang.String value) {
*
*
* Required. The resource name of the link:
+ *
* "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"
* "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"
* "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"
@@ -580,6 +581,7 @@ public Builder clearName() {
*
*
* Required. The resource name of the link:
+ *
* "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"
* "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"
* "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"
diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetLinkRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetLinkRequestOrBuilder.java
index a717b1c29..476efdc50 100644
--- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetLinkRequestOrBuilder.java
+++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetLinkRequestOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -28,6 +28,7 @@ public interface GetLinkRequestOrBuilder
*
*
* Required. The resource name of the link:
+ *
* "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"
* "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"
* "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"
@@ -46,6 +47,7 @@ public interface GetLinkRequestOrBuilder
*
*
* Required. The resource name of the link:
+ *
* "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"
* "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"
* "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"
diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetLogMetricRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetLogMetricRequest.java
index 981e3c690..74e587605 100644
--- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetLogMetricRequest.java
+++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetLogMetricRequest.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -47,11 +47,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
return new GetLogMetricRequest();
}
- @java.lang.Override
- public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
- return this.unknownFields;
- }
-
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.logging.v2.LoggingMetricsProto
.internal_static_google_logging_v2_GetLogMetricRequest_descriptor;
@@ -76,6 +71,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* Required. The resource name of the desired metric:
+ *
* "projects/[PROJECT_ID]/metrics/[METRIC_ID]"
*
*
@@ -102,6 +98,7 @@ public java.lang.String getMetricName() {
*
*
* Required. The resource name of the desired metric:
+ *
* "projects/[PROJECT_ID]/metrics/[METRIC_ID]"
*
*
@@ -471,6 +468,7 @@ public Builder mergeFrom(
*
*
* Required. The resource name of the desired metric:
+ *
* "projects/[PROJECT_ID]/metrics/[METRIC_ID]"
*
*
@@ -496,6 +494,7 @@ public java.lang.String getMetricName() {
*
*
* Required. The resource name of the desired metric:
+ *
* "projects/[PROJECT_ID]/metrics/[METRIC_ID]"
*
*
@@ -521,6 +520,7 @@ public com.google.protobuf.ByteString getMetricNameBytes() {
*
*
* Required. The resource name of the desired metric:
+ *
* "projects/[PROJECT_ID]/metrics/[METRIC_ID]"
*
*
@@ -545,6 +545,7 @@ public Builder setMetricName(java.lang.String value) {
*
*
* Required. The resource name of the desired metric:
+ *
* "projects/[PROJECT_ID]/metrics/[METRIC_ID]"
*
*
@@ -565,6 +566,7 @@ public Builder clearMetricName() {
*
*
* Required. The resource name of the desired metric:
+ *
* "projects/[PROJECT_ID]/metrics/[METRIC_ID]"
*
*
diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetLogMetricRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetLogMetricRequestOrBuilder.java
index 764dc3838..394edb8ba 100644
--- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetLogMetricRequestOrBuilder.java
+++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetLogMetricRequestOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -28,6 +28,7 @@ public interface GetLogMetricRequestOrBuilder
*
*
* Required. The resource name of the desired metric:
+ *
* "projects/[PROJECT_ID]/metrics/[METRIC_ID]"
*
*
@@ -43,6 +44,7 @@ public interface GetLogMetricRequestOrBuilder
*
*
* Required. The resource name of the desired metric:
+ *
* "projects/[PROJECT_ID]/metrics/[METRIC_ID]"
*
*
diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetSettingsRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetSettingsRequest.java
index 44e784cbc..fb76d46e4 100644
--- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetSettingsRequest.java
+++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetSettingsRequest.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -24,6 +24,7 @@
*
* The parameters to
* [GetSettings][google.logging.v2.ConfigServiceV2.GetSettings].
+ *
* See [Enabling CMEK for Log
* Router](https://cloud.google.com/logging/docs/routing/managed-encryption) for
* more information.
@@ -51,11 +52,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
return new GetSettingsRequest();
}
- @java.lang.Override
- public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
- return this.unknownFields;
- }
-
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.logging.v2.LoggingConfigProto
.internal_static_google_logging_v2_GetSettingsRequest_descriptor;
@@ -80,12 +76,16 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* Required. The resource for which to retrieve settings.
+ *
* "projects/[PROJECT_ID]/settings"
* "organizations/[ORGANIZATION_ID]/settings"
* "billingAccounts/[BILLING_ACCOUNT_ID]/settings"
* "folders/[FOLDER_ID]/settings"
+ *
* For example:
+ *
* `"organizations/12345/settings"`
+ *
* Note: Settings for the Log Router can be get for Google Cloud projects,
* folders, organizations and billing accounts. Currently it can only be
* configured for organizations. Once configured for an organization, it
@@ -115,12 +115,16 @@ public java.lang.String getName() {
*
*
* Required. The resource for which to retrieve settings.
+ *
* "projects/[PROJECT_ID]/settings"
* "organizations/[ORGANIZATION_ID]/settings"
* "billingAccounts/[BILLING_ACCOUNT_ID]/settings"
* "folders/[FOLDER_ID]/settings"
+ *
* For example:
+ *
* `"organizations/12345/settings"`
+ *
* Note: Settings for the Log Router can be get for Google Cloud projects,
* folders, organizations and billing accounts. Currently it can only be
* configured for organizations. Once configured for an organization, it
@@ -310,6 +314,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
*
* The parameters to
* [GetSettings][google.logging.v2.ConfigServiceV2.GetSettings].
+ *
* See [Enabling CMEK for Log
* Router](https://cloud.google.com/logging/docs/routing/managed-encryption) for
* more information.
@@ -496,12 +501,16 @@ public Builder mergeFrom(
*
*
* Required. The resource for which to retrieve settings.
+ *
* "projects/[PROJECT_ID]/settings"
* "organizations/[ORGANIZATION_ID]/settings"
* "billingAccounts/[BILLING_ACCOUNT_ID]/settings"
* "folders/[FOLDER_ID]/settings"
+ *
* For example:
+ *
* `"organizations/12345/settings"`
+ *
* Note: Settings for the Log Router can be get for Google Cloud projects,
* folders, organizations and billing accounts. Currently it can only be
* configured for organizations. Once configured for an organization, it
@@ -530,12 +539,16 @@ public java.lang.String getName() {
*
*
* Required. The resource for which to retrieve settings.
+ *
* "projects/[PROJECT_ID]/settings"
* "organizations/[ORGANIZATION_ID]/settings"
* "billingAccounts/[BILLING_ACCOUNT_ID]/settings"
* "folders/[FOLDER_ID]/settings"
+ *
* For example:
+ *
* `"organizations/12345/settings"`
+ *
* Note: Settings for the Log Router can be get for Google Cloud projects,
* folders, organizations and billing accounts. Currently it can only be
* configured for organizations. Once configured for an organization, it
@@ -564,12 +577,16 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
* Required. The resource for which to retrieve settings.
+ *
* "projects/[PROJECT_ID]/settings"
* "organizations/[ORGANIZATION_ID]/settings"
* "billingAccounts/[BILLING_ACCOUNT_ID]/settings"
* "folders/[FOLDER_ID]/settings"
+ *
* For example:
+ *
* `"organizations/12345/settings"`
+ *
* Note: Settings for the Log Router can be get for Google Cloud projects,
* folders, organizations and billing accounts. Currently it can only be
* configured for organizations. Once configured for an organization, it
@@ -597,12 +614,16 @@ public Builder setName(java.lang.String value) {
*
*
* Required. The resource for which to retrieve settings.
+ *
* "projects/[PROJECT_ID]/settings"
* "organizations/[ORGANIZATION_ID]/settings"
* "billingAccounts/[BILLING_ACCOUNT_ID]/settings"
* "folders/[FOLDER_ID]/settings"
+ *
* For example:
+ *
* `"organizations/12345/settings"`
+ *
* Note: Settings for the Log Router can be get for Google Cloud projects,
* folders, organizations and billing accounts. Currently it can only be
* configured for organizations. Once configured for an organization, it
@@ -626,12 +647,16 @@ public Builder clearName() {
*
*
* Required. The resource for which to retrieve settings.
+ *
* "projects/[PROJECT_ID]/settings"
* "organizations/[ORGANIZATION_ID]/settings"
* "billingAccounts/[BILLING_ACCOUNT_ID]/settings"
* "folders/[FOLDER_ID]/settings"
+ *
* For example:
+ *
* `"organizations/12345/settings"`
+ *
* Note: Settings for the Log Router can be get for Google Cloud projects,
* folders, organizations and billing accounts. Currently it can only be
* configured for organizations. Once configured for an organization, it
diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetSettingsRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetSettingsRequestOrBuilder.java
index 1acc66b3f..a0135dccb 100644
--- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetSettingsRequestOrBuilder.java
+++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetSettingsRequestOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -28,12 +28,16 @@ public interface GetSettingsRequestOrBuilder
*
*
* Required. The resource for which to retrieve settings.
+ *
* "projects/[PROJECT_ID]/settings"
* "organizations/[ORGANIZATION_ID]/settings"
* "billingAccounts/[BILLING_ACCOUNT_ID]/settings"
* "folders/[FOLDER_ID]/settings"
+ *
* For example:
+ *
* `"organizations/12345/settings"`
+ *
* Note: Settings for the Log Router can be get for Google Cloud projects,
* folders, organizations and billing accounts. Currently it can only be
* configured for organizations. Once configured for an organization, it
@@ -52,12 +56,16 @@ public interface GetSettingsRequestOrBuilder
*
*
* Required. The resource for which to retrieve settings.
+ *
* "projects/[PROJECT_ID]/settings"
* "organizations/[ORGANIZATION_ID]/settings"
* "billingAccounts/[BILLING_ACCOUNT_ID]/settings"
* "folders/[FOLDER_ID]/settings"
+ *
* For example:
+ *
* `"organizations/12345/settings"`
+ *
* Note: Settings for the Log Router can be get for Google Cloud projects,
* folders, organizations and billing accounts. Currently it can only be
* configured for organizations. Once configured for an organization, it
diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetSinkRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetSinkRequest.java
index 803a1c2dc..60f1bf1b4 100644
--- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetSinkRequest.java
+++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetSinkRequest.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -47,11 +47,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
return new GetSinkRequest();
}
- @java.lang.Override
- public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
- return this.unknownFields;
- }
-
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.logging.v2.LoggingConfigProto
.internal_static_google_logging_v2_GetSinkRequest_descriptor;
@@ -76,11 +71,14 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* Required. The resource name of the sink:
+ *
* "projects/[PROJECT_ID]/sinks/[SINK_ID]"
* "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]"
* "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]"
* "folders/[FOLDER_ID]/sinks/[SINK_ID]"
+ *
* For example:
+ *
* `"projects/my-project/sinks/my-sink"`
*
*
@@ -107,11 +105,14 @@ public java.lang.String getSinkName() {
*
*
* Required. The resource name of the sink:
+ *
* "projects/[PROJECT_ID]/sinks/[SINK_ID]"
* "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]"
* "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]"
* "folders/[FOLDER_ID]/sinks/[SINK_ID]"
+ *
* For example:
+ *
* `"projects/my-project/sinks/my-sink"`
*
*
@@ -478,11 +479,14 @@ public Builder mergeFrom(
*
*
* Required. The resource name of the sink:
+ *
* "projects/[PROJECT_ID]/sinks/[SINK_ID]"
* "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]"
* "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]"
* "folders/[FOLDER_ID]/sinks/[SINK_ID]"
+ *
* For example:
+ *
* `"projects/my-project/sinks/my-sink"`
*
*
@@ -508,11 +512,14 @@ public java.lang.String getSinkName() {
*
*
* Required. The resource name of the sink:
+ *
* "projects/[PROJECT_ID]/sinks/[SINK_ID]"
* "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]"
* "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]"
* "folders/[FOLDER_ID]/sinks/[SINK_ID]"
+ *
* For example:
+ *
* `"projects/my-project/sinks/my-sink"`
*
*
@@ -538,11 +545,14 @@ public com.google.protobuf.ByteString getSinkNameBytes() {
*
*
* Required. The resource name of the sink:
+ *
* "projects/[PROJECT_ID]/sinks/[SINK_ID]"
* "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]"
* "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]"
* "folders/[FOLDER_ID]/sinks/[SINK_ID]"
+ *
* For example:
+ *
* `"projects/my-project/sinks/my-sink"`
*
*
@@ -567,11 +577,14 @@ public Builder setSinkName(java.lang.String value) {
*
*
* Required. The resource name of the sink:
+ *
* "projects/[PROJECT_ID]/sinks/[SINK_ID]"
* "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]"
* "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]"
* "folders/[FOLDER_ID]/sinks/[SINK_ID]"
+ *
* For example:
+ *
* `"projects/my-project/sinks/my-sink"`
*
*
@@ -592,11 +605,14 @@ public Builder clearSinkName() {
*
*
* Required. The resource name of the sink:
+ *
* "projects/[PROJECT_ID]/sinks/[SINK_ID]"
* "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]"
* "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]"
* "folders/[FOLDER_ID]/sinks/[SINK_ID]"
+ *
* For example:
+ *
* `"projects/my-project/sinks/my-sink"`
*
*
diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetSinkRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetSinkRequestOrBuilder.java
index 13fc21290..1fb5d6ec0 100644
--- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetSinkRequestOrBuilder.java
+++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetSinkRequestOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -28,11 +28,14 @@ public interface GetSinkRequestOrBuilder
*
*
* Required. The resource name of the sink:
+ *
* "projects/[PROJECT_ID]/sinks/[SINK_ID]"
* "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]"
* "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]"
* "folders/[FOLDER_ID]/sinks/[SINK_ID]"
+ *
* For example:
+ *
* `"projects/my-project/sinks/my-sink"`
*
*
@@ -48,11 +51,14 @@ public interface GetSinkRequestOrBuilder
*
*
* Required. The resource name of the sink:
+ *
* "projects/[PROJECT_ID]/sinks/[SINK_ID]"
* "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]"
* "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]"
* "folders/[FOLDER_ID]/sinks/[SINK_ID]"
+ *
* For example:
+ *
* `"projects/my-project/sinks/my-sink"`
*
*
diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetViewRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetViewRequest.java
index 78704ab89..79f3bea9b 100644
--- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetViewRequest.java
+++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetViewRequest.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -47,11 +47,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
return new GetViewRequest();
}
- @java.lang.Override
- public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
- return this.unknownFields;
- }
-
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.logging.v2.LoggingConfigProto
.internal_static_google_logging_v2_GetViewRequest_descriptor;
@@ -76,8 +71,11 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* Required. The resource name of the policy:
+ *
* "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]"
+ *
* For example:
+ *
* `"projects/my-project/locations/global/buckets/my-bucket/views/my-view"`
*
*
@@ -104,8 +102,11 @@ public java.lang.String getName() {
*
*
* Required. The resource name of the policy:
+ *
* "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]"
+ *
* For example:
+ *
* `"projects/my-project/locations/global/buckets/my-bucket/views/my-view"`
*
*
@@ -472,8 +473,11 @@ public Builder mergeFrom(
*
*
* Required. The resource name of the policy:
+ *
* "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]"
+ *
* For example:
+ *
* `"projects/my-project/locations/global/buckets/my-bucket/views/my-view"`
*
*
@@ -499,8 +503,11 @@ public java.lang.String getName() {
*
*
* Required. The resource name of the policy:
+ *
* "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]"
+ *
* For example:
+ *
* `"projects/my-project/locations/global/buckets/my-bucket/views/my-view"`
*
*
@@ -526,8 +533,11 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
* Required. The resource name of the policy:
+ *
* "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]"
+ *
* For example:
+ *
* `"projects/my-project/locations/global/buckets/my-bucket/views/my-view"`
*
*
@@ -552,8 +562,11 @@ public Builder setName(java.lang.String value) {
*
*
* Required. The resource name of the policy:
+ *
* "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]"
+ *
* For example:
+ *
* `"projects/my-project/locations/global/buckets/my-bucket/views/my-view"`
*
*
@@ -574,8 +587,11 @@ public Builder clearName() {
*
*
* Required. The resource name of the policy:
+ *
* "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]"
+ *
* For example:
+ *
* `"projects/my-project/locations/global/buckets/my-bucket/views/my-view"`
*
*
diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetViewRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetViewRequestOrBuilder.java
index bf2724a08..e8f18f0a7 100644
--- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetViewRequestOrBuilder.java
+++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/GetViewRequestOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -28,8 +28,11 @@ public interface GetViewRequestOrBuilder
*
*
* Required. The resource name of the policy:
+ *
* "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]"
+ *
* For example:
+ *
* `"projects/my-project/locations/global/buckets/my-bucket/views/my-view"`
*
*
@@ -45,8 +48,11 @@ public interface GetViewRequestOrBuilder
*
*
* Required. The resource name of the policy:
+ *
* "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]"
+ *
* For example:
+ *
* `"projects/my-project/locations/global/buckets/my-bucket/views/my-view"`
*
*
diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/IndexConfig.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/IndexConfig.java
index 20836be64..178e85114 100644
--- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/IndexConfig.java
+++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/IndexConfig.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -48,11 +48,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
return new IndexConfig();
}
- @java.lang.Override
- public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
- return this.unknownFields;
- }
-
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.logging.v2.LoggingConfigProto
.internal_static_google_logging_v2_IndexConfig_descriptor;
@@ -77,10 +72,12 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* Required. The LogEntry field path to index.
+ *
* Note that some paths are automatically indexed, and other paths are not
* eligible for indexing. See [indexing documentation](
* https://cloud.google.com/logging/docs/view/advanced-queries#indexed-fields)
* for details.
+ *
* For example: `jsonPayload.request.status`
*
*
@@ -105,10 +102,12 @@ public java.lang.String getFieldPath() {
*
*
* Required. The LogEntry field path to index.
+ *
* Note that some paths are automatically indexed, and other paths are not
* eligible for indexing. See [indexing documentation](
* https://cloud.google.com/logging/docs/view/advanced-queries#indexed-fields)
* for details.
+ *
* For example: `jsonPayload.request.status`
*
*
@@ -170,6 +169,7 @@ public com.google.logging.v2.IndexType getType() {
*
*
* Output only. The timestamp when the index was last modified.
+ *
* This is used to return the timestamp, and will be ignored if supplied
* during update.
*
@@ -188,6 +188,7 @@ public boolean hasCreateTime() {
*
*
* Output only. The timestamp when the index was last modified.
+ *
* This is used to return the timestamp, and will be ignored if supplied
* during update.
*
@@ -206,6 +207,7 @@ public com.google.protobuf.Timestamp getCreateTime() {
*
*
* Output only. The timestamp when the index was last modified.
+ *
* This is used to return the timestamp, and will be ignored if supplied
* during update.
*
@@ -615,10 +617,12 @@ public Builder mergeFrom(
*
*
* Required. The LogEntry field path to index.
+ *
* Note that some paths are automatically indexed, and other paths are not
* eligible for indexing. See [indexing documentation](
* https://cloud.google.com/logging/docs/view/advanced-queries#indexed-fields)
* for details.
+ *
* For example: `jsonPayload.request.status`
*
*
@@ -642,10 +646,12 @@ public java.lang.String getFieldPath() {
*
*
* Required. The LogEntry field path to index.
+ *
* Note that some paths are automatically indexed, and other paths are not
* eligible for indexing. See [indexing documentation](
* https://cloud.google.com/logging/docs/view/advanced-queries#indexed-fields)
* for details.
+ *
* For example: `jsonPayload.request.status`
*
*
@@ -669,10 +675,12 @@ public com.google.protobuf.ByteString getFieldPathBytes() {
*
*
* Required. The LogEntry field path to index.
+ *
* Note that some paths are automatically indexed, and other paths are not
* eligible for indexing. See [indexing documentation](
* https://cloud.google.com/logging/docs/view/advanced-queries#indexed-fields)
* for details.
+ *
* For example: `jsonPayload.request.status`
*
*
@@ -695,10 +703,12 @@ public Builder setFieldPath(java.lang.String value) {
*
*
* Required. The LogEntry field path to index.
+ *
* Note that some paths are automatically indexed, and other paths are not
* eligible for indexing. See [indexing documentation](
* https://cloud.google.com/logging/docs/view/advanced-queries#indexed-fields)
* for details.
+ *
* For example: `jsonPayload.request.status`
*
*
@@ -717,10 +727,12 @@ public Builder clearFieldPath() {
*
*
* Required. The LogEntry field path to index.
+ *
* Note that some paths are automatically indexed, and other paths are not
* eligible for indexing. See [indexing documentation](
* https://cloud.google.com/logging/docs/view/advanced-queries#indexed-fields)
* for details.
+ *
* For example: `jsonPayload.request.status`
*
*
@@ -840,6 +852,7 @@ public Builder clearType() {
*
*
* Output only. The timestamp when the index was last modified.
+ *
* This is used to return the timestamp, and will be ignored if supplied
* during update.
*
@@ -858,6 +871,7 @@ public boolean hasCreateTime() {
*
*
* Output only. The timestamp when the index was last modified.
+ *
* This is used to return the timestamp, and will be ignored if supplied
* during update.
*
@@ -882,6 +896,7 @@ public com.google.protobuf.Timestamp getCreateTime() {
*
*
* Output only. The timestamp when the index was last modified.
+ *
* This is used to return the timestamp, and will be ignored if supplied
* during update.
*
@@ -908,6 +923,7 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) {
*
*
* Output only. The timestamp when the index was last modified.
+ *
* This is used to return the timestamp, and will be ignored if supplied
* during update.
*
@@ -931,6 +947,7 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal
*
*
* Output only. The timestamp when the index was last modified.
+ *
* This is used to return the timestamp, and will be ignored if supplied
* during update.
*
@@ -960,6 +977,7 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) {
*
*
* Output only. The timestamp when the index was last modified.
+ *
* This is used to return the timestamp, and will be ignored if supplied
* during update.
*
@@ -983,6 +1001,7 @@ public Builder clearCreateTime() {
*
*
* Output only. The timestamp when the index was last modified.
+ *
* This is used to return the timestamp, and will be ignored if supplied
* during update.
*
@@ -1001,6 +1020,7 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() {
*
*
* Output only. The timestamp when the index was last modified.
+ *
* This is used to return the timestamp, and will be ignored if supplied
* during update.
*
@@ -1023,6 +1043,7 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
*
*
* Output only. The timestamp when the index was last modified.
+ *
* This is used to return the timestamp, and will be ignored if supplied
* during update.
*
diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/IndexConfigOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/IndexConfigOrBuilder.java
index 8c3a9c45b..ee214f090 100644
--- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/IndexConfigOrBuilder.java
+++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/IndexConfigOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -28,10 +28,12 @@ public interface IndexConfigOrBuilder
*
*
* Required. The LogEntry field path to index.
+ *
* Note that some paths are automatically indexed, and other paths are not
* eligible for indexing. See [indexing documentation](
* https://cloud.google.com/logging/docs/view/advanced-queries#indexed-fields)
* for details.
+ *
* For example: `jsonPayload.request.status`
*
*
@@ -45,10 +47,12 @@ public interface IndexConfigOrBuilder
*
*
* Required. The LogEntry field path to index.
+ *
* Note that some paths are automatically indexed, and other paths are not
* eligible for indexing. See [indexing documentation](
* https://cloud.google.com/logging/docs/view/advanced-queries#indexed-fields)
* for details.
+ *
* For example: `jsonPayload.request.status`
*
*
@@ -88,6 +92,7 @@ public interface IndexConfigOrBuilder
*
*
* Output only. The timestamp when the index was last modified.
+ *
* This is used to return the timestamp, and will be ignored if supplied
* during update.
*
@@ -103,6 +108,7 @@ public interface IndexConfigOrBuilder
*
*
* Output only. The timestamp when the index was last modified.
+ *
* This is used to return the timestamp, and will be ignored if supplied
* during update.
*
@@ -118,6 +124,7 @@ public interface IndexConfigOrBuilder
*
*
* Output only. The timestamp when the index was last modified.
+ *
* This is used to return the timestamp, and will be ignored if supplied
* during update.
*
diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/IndexType.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/IndexType.java
index 2cea93d7c..b28992e8b 100644
--- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/IndexType.java
+++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/IndexType.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 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/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LifecycleState.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LifecycleState.java
index 5f07cf396..38d77872b 100644
--- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LifecycleState.java
+++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LifecycleState.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 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/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/Link.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/Link.java
index d303a2457..3d45bbebd 100644
--- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/Link.java
+++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/Link.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -49,11 +49,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
return new Link();
}
- @java.lang.Override
- public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
- return this.unknownFields;
- }
-
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.logging.v2.LoggingConfigProto
.internal_static_google_logging_v2_Link_descriptor;
@@ -79,11 +74,14 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
* The resource name of the link. The name can have up to 100 characters.
* A valid link id (at the end of the link name) must only have alphanumeric
* characters and underscores within it.
+ *
* "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"
* "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"
* "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"
* "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"
+ *
* For example:
+ *
* `projects/my-project/locations/global/buckets/my-bucket/links/my_link
*
*
@@ -110,11 +108,14 @@ public java.lang.String getName() {
* The resource name of the link. The name can have up to 100 characters.
* A valid link id (at the end of the link name) must only have alphanumeric
* characters and underscores within it.
+ *
* "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"
* "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"
* "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"
* "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"
+ *
* For example:
+ *
* `projects/my-project/locations/global/buckets/my-bucket/links/my_link
*
*
@@ -144,6 +145,7 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
* Describes this link.
+ *
* The maximum length of the description is 8000 characters.
*
*
@@ -168,6 +170,7 @@ public java.lang.String getDescription() {
*
*
* Describes this link.
+ *
* The maximum length of the description is 8000 characters.
*
*
@@ -791,11 +794,14 @@ public Builder mergeFrom(
* The resource name of the link. The name can have up to 100 characters.
* A valid link id (at the end of the link name) must only have alphanumeric
* characters and underscores within it.
+ *
* "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"
* "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"
* "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"
* "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"
+ *
* For example:
+ *
* `projects/my-project/locations/global/buckets/my-bucket/links/my_link
*
*
@@ -821,11 +827,14 @@ public java.lang.String getName() {
* The resource name of the link. The name can have up to 100 characters.
* A valid link id (at the end of the link name) must only have alphanumeric
* characters and underscores within it.
+ *
* "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"
* "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"
* "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"
* "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"
+ *
* For example:
+ *
* `projects/my-project/locations/global/buckets/my-bucket/links/my_link
*
*
@@ -851,11 +860,14 @@ public com.google.protobuf.ByteString getNameBytes() {
* The resource name of the link. The name can have up to 100 characters.
* A valid link id (at the end of the link name) must only have alphanumeric
* characters and underscores within it.
+ *
* "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"
* "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"
* "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"
* "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"
+ *
* For example:
+ *
* `projects/my-project/locations/global/buckets/my-bucket/links/my_link
*
*
@@ -880,11 +892,14 @@ public Builder setName(java.lang.String value) {
* The resource name of the link. The name can have up to 100 characters.
* A valid link id (at the end of the link name) must only have alphanumeric
* characters and underscores within it.
+ *
* "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"
* "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"
* "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"
* "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"
+ *
* For example:
+ *
* `projects/my-project/locations/global/buckets/my-bucket/links/my_link
*
*
@@ -905,11 +920,14 @@ public Builder clearName() {
* The resource name of the link. The name can have up to 100 characters.
* A valid link id (at the end of the link name) must only have alphanumeric
* characters and underscores within it.
+ *
* "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"
* "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"
* "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"
* "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"
+ *
* For example:
+ *
* `projects/my-project/locations/global/buckets/my-bucket/links/my_link
*
*
@@ -935,6 +953,7 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
*
*
* Describes this link.
+ *
* The maximum length of the description is 8000 characters.
*
*
@@ -958,6 +977,7 @@ public java.lang.String getDescription() {
*
*
* Describes this link.
+ *
* The maximum length of the description is 8000 characters.
*
*
@@ -981,6 +1001,7 @@ public com.google.protobuf.ByteString getDescriptionBytes() {
*
*
* Describes this link.
+ *
* The maximum length of the description is 8000 characters.
*
*
@@ -1003,6 +1024,7 @@ public Builder setDescription(java.lang.String value) {
*
*
* Describes this link.
+ *
* The maximum length of the description is 8000 characters.
*
*
@@ -1021,6 +1043,7 @@ public Builder clearDescription() {
*
*
* Describes this link.
+ *
* The maximum length of the description is 8000 characters.
*
*
diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LinkMetadata.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LinkMetadata.java
index 2327a9e3f..5d3511a9d 100644
--- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LinkMetadata.java
+++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LinkMetadata.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -47,11 +47,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
return new LinkMetadata();
}
- @java.lang.Override
- public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
- return this.unknownFields;
- }
-
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.logging.v2.LoggingConfigProto
.internal_static_google_logging_v2_LinkMetadata_descriptor;
@@ -68,6 +63,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
}
private int requestCase_ = 0;
+
+ @SuppressWarnings("serial")
private java.lang.Object request_;
public enum RequestCase
diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LinkMetadataOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LinkMetadataOrBuilder.java
index 1db4db75f..8eb5c1003 100644
--- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LinkMetadataOrBuilder.java
+++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LinkMetadataOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -188,5 +188,5 @@ public interface LinkMetadataOrBuilder
*/
com.google.logging.v2.DeleteLinkRequestOrBuilder getDeleteLinkRequestOrBuilder();
- public com.google.logging.v2.LinkMetadata.RequestCase getRequestCase();
+ com.google.logging.v2.LinkMetadata.RequestCase getRequestCase();
}
diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LinkName.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LinkName.java
index 9078b8556..4b20c716c 100644
--- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LinkName.java
+++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LinkName.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2022 Google LLC
+ * Copyright 2023 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/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LinkOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LinkOrBuilder.java
index 0d3b1d527..ab35bfa91 100644
--- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LinkOrBuilder.java
+++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LinkOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -30,11 +30,14 @@ public interface LinkOrBuilder
* The resource name of the link. The name can have up to 100 characters.
* A valid link id (at the end of the link name) must only have alphanumeric
* characters and underscores within it.
+ *
* "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"
* "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"
* "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"
* "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"
+ *
* For example:
+ *
* `projects/my-project/locations/global/buckets/my-bucket/links/my_link
*
*
@@ -50,11 +53,14 @@ public interface LinkOrBuilder
* The resource name of the link. The name can have up to 100 characters.
* A valid link id (at the end of the link name) must only have alphanumeric
* characters and underscores within it.
+ *
* "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"
* "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"
* "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"
* "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ID]"
+ *
* For example:
+ *
* `projects/my-project/locations/global/buckets/my-bucket/links/my_link
*
*
@@ -69,6 +75,7 @@ public interface LinkOrBuilder
*
*
* Describes this link.
+ *
* The maximum length of the description is 8000 characters.
*
*
@@ -82,6 +89,7 @@ public interface LinkOrBuilder
*
*
* Describes this link.
+ *
* The maximum length of the description is 8000 characters.
*
*
diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListBucketsRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListBucketsRequest.java
index a528d2a23..e5e9bbedf 100644
--- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListBucketsRequest.java
+++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListBucketsRequest.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -48,11 +48,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
return new ListBucketsRequest();
}
- @java.lang.Override
- public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
- return this.unknownFields;
- }
-
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.logging.v2.LoggingConfigProto
.internal_static_google_logging_v2_ListBucketsRequest_descriptor;
@@ -77,10 +72,12 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* Required. The parent resource whose buckets are to be listed:
+ *
* "projects/[PROJECT_ID]/locations/[LOCATION_ID]"
* "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]"
* "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]"
* "folders/[FOLDER_ID]/locations/[LOCATION_ID]"
+ *
* Note: The locations portion of the resource must be specified, but
* supplying the character `-` in place of [LOCATION_ID] will return all
* buckets.
@@ -109,10 +106,12 @@ public java.lang.String getParent() {
*
*
* Required. The parent resource whose buckets are to be listed:
+ *
* "projects/[PROJECT_ID]/locations/[LOCATION_ID]"
* "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]"
* "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]"
* "folders/[FOLDER_ID]/locations/[LOCATION_ID]"
+ *
* Note: The locations portion of the resource must be specified, but
* supplying the character `-` in place of [LOCATION_ID] will return all
* buckets.
@@ -606,10 +605,12 @@ public Builder mergeFrom(
*
*
* Required. The parent resource whose buckets are to be listed:
+ *
* "projects/[PROJECT_ID]/locations/[LOCATION_ID]"
* "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]"
* "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]"
* "folders/[FOLDER_ID]/locations/[LOCATION_ID]"
+ *
* Note: The locations portion of the resource must be specified, but
* supplying the character `-` in place of [LOCATION_ID] will return all
* buckets.
@@ -637,10 +638,12 @@ public java.lang.String getParent() {
*
*
* Required. The parent resource whose buckets are to be listed:
+ *
* "projects/[PROJECT_ID]/locations/[LOCATION_ID]"
* "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]"
* "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]"
* "folders/[FOLDER_ID]/locations/[LOCATION_ID]"
+ *
* Note: The locations portion of the resource must be specified, but
* supplying the character `-` in place of [LOCATION_ID] will return all
* buckets.
@@ -668,10 +671,12 @@ public com.google.protobuf.ByteString getParentBytes() {
*
*
* Required. The parent resource whose buckets are to be listed:
+ *
* "projects/[PROJECT_ID]/locations/[LOCATION_ID]"
* "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]"
* "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]"
* "folders/[FOLDER_ID]/locations/[LOCATION_ID]"
+ *
* Note: The locations portion of the resource must be specified, but
* supplying the character `-` in place of [LOCATION_ID] will return all
* buckets.
@@ -698,10 +703,12 @@ public Builder setParent(java.lang.String value) {
*
*
* Required. The parent resource whose buckets are to be listed:
+ *
* "projects/[PROJECT_ID]/locations/[LOCATION_ID]"
* "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]"
* "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]"
* "folders/[FOLDER_ID]/locations/[LOCATION_ID]"
+ *
* Note: The locations portion of the resource must be specified, but
* supplying the character `-` in place of [LOCATION_ID] will return all
* buckets.
@@ -724,10 +731,12 @@ public Builder clearParent() {
*
*
* Required. The parent resource whose buckets are to be listed:
+ *
* "projects/[PROJECT_ID]/locations/[LOCATION_ID]"
* "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]"
* "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]"
* "folders/[FOLDER_ID]/locations/[LOCATION_ID]"
+ *
* Note: The locations portion of the resource must be specified, but
* supplying the character `-` in place of [LOCATION_ID] will return all
* buckets.
diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListBucketsRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListBucketsRequestOrBuilder.java
index 0f895cf02..9d9e10c25 100644
--- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListBucketsRequestOrBuilder.java
+++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListBucketsRequestOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -28,10 +28,12 @@ public interface ListBucketsRequestOrBuilder
*
*
* Required. The parent resource whose buckets are to be listed:
+ *
* "projects/[PROJECT_ID]/locations/[LOCATION_ID]"
* "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]"
* "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]"
* "folders/[FOLDER_ID]/locations/[LOCATION_ID]"
+ *
* Note: The locations portion of the resource must be specified, but
* supplying the character `-` in place of [LOCATION_ID] will return all
* buckets.
@@ -49,10 +51,12 @@ public interface ListBucketsRequestOrBuilder
*
*
* Required. The parent resource whose buckets are to be listed:
+ *
* "projects/[PROJECT_ID]/locations/[LOCATION_ID]"
* "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]"
* "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]"
* "folders/[FOLDER_ID]/locations/[LOCATION_ID]"
+ *
* Note: The locations portion of the resource must be specified, but
* supplying the character `-` in place of [LOCATION_ID] will return all
* buckets.
diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListBucketsResponse.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListBucketsResponse.java
index 4116a5fbf..bad631b20 100644
--- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListBucketsResponse.java
+++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListBucketsResponse.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -48,11 +48,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
return new ListBucketsResponse();
}
- @java.lang.Override
- public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
- return this.unknownFields;
- }
-
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.logging.v2.LoggingConfigProto
.internal_static_google_logging_v2_ListBucketsResponse_descriptor;
diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListBucketsResponseOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListBucketsResponseOrBuilder.java
index 2133deb62..e03368fdd 100644
--- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListBucketsResponseOrBuilder.java
+++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListBucketsResponseOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 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/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListExclusionsRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListExclusionsRequest.java
index cdd0e3d12..e0ed7df35 100644
--- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListExclusionsRequest.java
+++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListExclusionsRequest.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -48,11 +48,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
return new ListExclusionsRequest();
}
- @java.lang.Override
- public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
- return this.unknownFields;
- }
-
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.logging.v2.LoggingConfigProto
.internal_static_google_logging_v2_ListExclusionsRequest_descriptor;
@@ -77,6 +72,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* Required. The parent resource whose exclusions are to be listed.
+ *
* "projects/[PROJECT_ID]"
* "organizations/[ORGANIZATION_ID]"
* "billingAccounts/[BILLING_ACCOUNT_ID]"
@@ -106,6 +102,7 @@ public java.lang.String getParent() {
*
*
* Required. The parent resource whose exclusions are to be listed.
+ *
* "projects/[PROJECT_ID]"
* "organizations/[ORGANIZATION_ID]"
* "billingAccounts/[BILLING_ACCOUNT_ID]"
@@ -601,6 +598,7 @@ public Builder mergeFrom(
*
*
* Required. The parent resource whose exclusions are to be listed.
+ *
* "projects/[PROJECT_ID]"
* "organizations/[ORGANIZATION_ID]"
* "billingAccounts/[BILLING_ACCOUNT_ID]"
@@ -629,6 +627,7 @@ public java.lang.String getParent() {
*
*
* Required. The parent resource whose exclusions are to be listed.
+ *
* "projects/[PROJECT_ID]"
* "organizations/[ORGANIZATION_ID]"
* "billingAccounts/[BILLING_ACCOUNT_ID]"
@@ -657,6 +656,7 @@ public com.google.protobuf.ByteString getParentBytes() {
*
*
* Required. The parent resource whose exclusions are to be listed.
+ *
* "projects/[PROJECT_ID]"
* "organizations/[ORGANIZATION_ID]"
* "billingAccounts/[BILLING_ACCOUNT_ID]"
@@ -684,6 +684,7 @@ public Builder setParent(java.lang.String value) {
*
*
* Required. The parent resource whose exclusions are to be listed.
+ *
* "projects/[PROJECT_ID]"
* "organizations/[ORGANIZATION_ID]"
* "billingAccounts/[BILLING_ACCOUNT_ID]"
@@ -707,6 +708,7 @@ public Builder clearParent() {
*
*
* Required. The parent resource whose exclusions are to be listed.
+ *
* "projects/[PROJECT_ID]"
* "organizations/[ORGANIZATION_ID]"
* "billingAccounts/[BILLING_ACCOUNT_ID]"
diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListExclusionsRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListExclusionsRequestOrBuilder.java
index 3f41330e7..438c04eb9 100644
--- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListExclusionsRequestOrBuilder.java
+++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListExclusionsRequestOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -28,6 +28,7 @@ public interface ListExclusionsRequestOrBuilder
*
*
* Required. The parent resource whose exclusions are to be listed.
+ *
* "projects/[PROJECT_ID]"
* "organizations/[ORGANIZATION_ID]"
* "billingAccounts/[BILLING_ACCOUNT_ID]"
@@ -46,6 +47,7 @@ public interface ListExclusionsRequestOrBuilder
*
*
* Required. The parent resource whose exclusions are to be listed.
+ *
* "projects/[PROJECT_ID]"
* "organizations/[ORGANIZATION_ID]"
* "billingAccounts/[BILLING_ACCOUNT_ID]"
diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListExclusionsResponse.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListExclusionsResponse.java
index 149024462..71789d8af 100644
--- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListExclusionsResponse.java
+++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListExclusionsResponse.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -48,11 +48,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
return new ListExclusionsResponse();
}
- @java.lang.Override
- public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
- return this.unknownFields;
- }
-
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.logging.v2.LoggingConfigProto
.internal_static_google_logging_v2_ListExclusionsResponse_descriptor;
diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListExclusionsResponseOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListExclusionsResponseOrBuilder.java
index da8b8fff5..bc1eeb233 100644
--- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListExclusionsResponseOrBuilder.java
+++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListExclusionsResponseOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 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/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLinksRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLinksRequest.java
index f10fd7c43..abfe9428b 100644
--- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLinksRequest.java
+++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLinksRequest.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -48,11 +48,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
return new ListLinksRequest();
}
- @java.lang.Override
- public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
- return this.unknownFields;
- }
-
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.logging.v2.LoggingConfigProto
.internal_static_google_logging_v2_ListLinksRequest_descriptor;
@@ -77,6 +72,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* Required. The parent resource whose links are to be listed:
+ *
* "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/"
* "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/"
* "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/"
@@ -106,6 +102,7 @@ public java.lang.String getParent() {
*
*
* Required. The parent resource whose links are to be listed:
+ *
* "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/"
* "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/"
* "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/"
@@ -596,6 +593,7 @@ public Builder mergeFrom(
*
*
* Required. The parent resource whose links are to be listed:
+ *
* "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/"
* "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/"
* "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/"
@@ -624,6 +622,7 @@ public java.lang.String getParent() {
*
*
* Required. The parent resource whose links are to be listed:
+ *
* "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/"
* "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/"
* "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/"
@@ -652,6 +651,7 @@ public com.google.protobuf.ByteString getParentBytes() {
*
*
* Required. The parent resource whose links are to be listed:
+ *
* "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/"
* "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/"
* "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/"
@@ -679,6 +679,7 @@ public Builder setParent(java.lang.String value) {
*
*
* Required. The parent resource whose links are to be listed:
+ *
* "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/"
* "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/"
* "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/"
@@ -702,6 +703,7 @@ public Builder clearParent() {
*
*
* Required. The parent resource whose links are to be listed:
+ *
* "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/"
* "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/"
* "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/"
diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLinksRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLinksRequestOrBuilder.java
index e3437c0ac..a19f11e98 100644
--- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLinksRequestOrBuilder.java
+++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLinksRequestOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -28,6 +28,7 @@ public interface ListLinksRequestOrBuilder
*
*
* Required. The parent resource whose links are to be listed:
+ *
* "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/"
* "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/"
* "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/"
@@ -46,6 +47,7 @@ public interface ListLinksRequestOrBuilder
*
*
* Required. The parent resource whose links are to be listed:
+ *
* "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/"
* "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/"
* "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/"
diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLinksResponse.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLinksResponse.java
index b1a1b1fe2..f30305a76 100644
--- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLinksResponse.java
+++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLinksResponse.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -48,11 +48,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
return new ListLinksResponse();
}
- @java.lang.Override
- public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
- return this.unknownFields;
- }
-
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.logging.v2.LoggingConfigProto
.internal_static_google_logging_v2_ListLinksResponse_descriptor;
diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLinksResponseOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLinksResponseOrBuilder.java
index c3234f521..8c67622b0 100644
--- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLinksResponseOrBuilder.java
+++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLinksResponseOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 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/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogEntriesRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogEntriesRequest.java
index 1e6f84cff..6025d7738 100644
--- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogEntriesRequest.java
+++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogEntriesRequest.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -38,7 +38,7 @@ private ListLogEntriesRequest(com.google.protobuf.GeneratedMessageV3.Builder>
}
private ListLogEntriesRequest() {
- resourceNames_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+ resourceNames_ = com.google.protobuf.LazyStringArrayList.emptyList();
filter_ = "";
orderBy_ = "";
pageToken_ = "";
@@ -50,11 +50,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
return new ListLogEntriesRequest();
}
- @java.lang.Override
- public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
- return this.unknownFields;
- }
-
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.logging.v2.LoggingProto
.internal_static_google_logging_v2_ListLogEntriesRequest_descriptor;
@@ -73,22 +68,27 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
public static final int RESOURCE_NAMES_FIELD_NUMBER = 8;
@SuppressWarnings("serial")
- private com.google.protobuf.LazyStringList resourceNames_;
+ private com.google.protobuf.LazyStringArrayList resourceNames_ =
+ com.google.protobuf.LazyStringArrayList.emptyList();
/**
*
*
*
* Required. Names of one or more parent resources from which to
* retrieve log entries:
+ *
* * `projects/[PROJECT_ID]`
* * `organizations/[ORGANIZATION_ID]`
* * `billingAccounts/[BILLING_ACCOUNT_ID]`
* * `folders/[FOLDER_ID]`
+ *
* May alternatively be one or more views:
+ *
* * `projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
* * `organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
* * `billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
* * `folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
+ *
* Projects listed in the `project_ids` field are added to this list.
* A maximum of 100 resources may be specified in a single request.
*
@@ -108,15 +108,19 @@ public com.google.protobuf.ProtocolStringList getResourceNamesList() {
*
* Required. Names of one or more parent resources from which to
* retrieve log entries:
+ *
* * `projects/[PROJECT_ID]`
* * `organizations/[ORGANIZATION_ID]`
* * `billingAccounts/[BILLING_ACCOUNT_ID]`
* * `folders/[FOLDER_ID]`
+ *
* May alternatively be one or more views:
+ *
* * `projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
* * `organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
* * `billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
* * `folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
+ *
* Projects listed in the `project_ids` field are added to this list.
* A maximum of 100 resources may be specified in a single request.
*
@@ -136,15 +140,19 @@ public int getResourceNamesCount() {
*
* Required. Names of one or more parent resources from which to
* retrieve log entries:
+ *
* * `projects/[PROJECT_ID]`
* * `organizations/[ORGANIZATION_ID]`
* * `billingAccounts/[BILLING_ACCOUNT_ID]`
* * `folders/[FOLDER_ID]`
+ *
* May alternatively be one or more views:
+ *
* * `projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
* * `organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
* * `billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
* * `folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
+ *
* Projects listed in the `project_ids` field are added to this list.
* A maximum of 100 resources may be specified in a single request.
*
@@ -165,15 +173,19 @@ public java.lang.String getResourceNames(int index) {
*
* Required. Names of one or more parent resources from which to
* retrieve log entries:
+ *
* * `projects/[PROJECT_ID]`
* * `organizations/[ORGANIZATION_ID]`
* * `billingAccounts/[BILLING_ACCOUNT_ID]`
* * `folders/[FOLDER_ID]`
+ *
* May alternatively be one or more views:
+ *
* * `projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
* * `organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
* * `billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
* * `folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
+ *
* Projects listed in the `project_ids` field are added to this list.
* A maximum of 100 resources may be specified in a single request.
*
@@ -628,8 +640,7 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
public Builder clear() {
super.clear();
bitField0_ = 0;
- resourceNames_ = com.google.protobuf.LazyStringArrayList.EMPTY;
- bitField0_ = (bitField0_ & ~0x00000001);
+ resourceNames_ = com.google.protobuf.LazyStringArrayList.emptyList();
filter_ = "";
orderBy_ = "";
pageSize_ = 0;
@@ -661,7 +672,6 @@ public com.google.logging.v2.ListLogEntriesRequest build() {
public com.google.logging.v2.ListLogEntriesRequest buildPartial() {
com.google.logging.v2.ListLogEntriesRequest result =
new com.google.logging.v2.ListLogEntriesRequest(this);
- buildPartialRepeatedFields(result);
if (bitField0_ != 0) {
buildPartial0(result);
}
@@ -669,16 +679,12 @@ public com.google.logging.v2.ListLogEntriesRequest buildPartial() {
return result;
}
- private void buildPartialRepeatedFields(com.google.logging.v2.ListLogEntriesRequest result) {
- if (((bitField0_ & 0x00000001) != 0)) {
- resourceNames_ = resourceNames_.getUnmodifiableView();
- bitField0_ = (bitField0_ & ~0x00000001);
- }
- result.resourceNames_ = resourceNames_;
- }
-
private void buildPartial0(com.google.logging.v2.ListLogEntriesRequest result) {
int from_bitField0_ = bitField0_;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ resourceNames_.makeImmutable();
+ result.resourceNames_ = resourceNames_;
+ }
if (((from_bitField0_ & 0x00000002) != 0)) {
result.filter_ = filter_;
}
@@ -741,7 +747,7 @@ public Builder mergeFrom(com.google.logging.v2.ListLogEntriesRequest other) {
if (!other.resourceNames_.isEmpty()) {
if (resourceNames_.isEmpty()) {
resourceNames_ = other.resourceNames_;
- bitField0_ = (bitField0_ & ~0x00000001);
+ bitField0_ |= 0x00000001;
} else {
ensureResourceNamesIsMutable();
resourceNames_.addAll(other.resourceNames_);
@@ -842,14 +848,14 @@ public Builder mergeFrom(
private int bitField0_;
- private com.google.protobuf.LazyStringList resourceNames_ =
- com.google.protobuf.LazyStringArrayList.EMPTY;
+ private com.google.protobuf.LazyStringArrayList resourceNames_ =
+ com.google.protobuf.LazyStringArrayList.emptyList();
private void ensureResourceNamesIsMutable() {
- if (!((bitField0_ & 0x00000001) != 0)) {
+ if (!resourceNames_.isModifiable()) {
resourceNames_ = new com.google.protobuf.LazyStringArrayList(resourceNames_);
- bitField0_ |= 0x00000001;
}
+ bitField0_ |= 0x00000001;
}
/**
*
@@ -857,15 +863,19 @@ private void ensureResourceNamesIsMutable() {
*
* Required. Names of one or more parent resources from which to
* retrieve log entries:
+ *
* * `projects/[PROJECT_ID]`
* * `organizations/[ORGANIZATION_ID]`
* * `billingAccounts/[BILLING_ACCOUNT_ID]`
* * `folders/[FOLDER_ID]`
+ *
* May alternatively be one or more views:
+ *
* * `projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
* * `organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
* * `billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
* * `folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
+ *
* Projects listed in the `project_ids` field are added to this list.
* A maximum of 100 resources may be specified in a single request.
*
@@ -877,7 +887,8 @@ private void ensureResourceNamesIsMutable() {
* @return A list containing the resourceNames.
*/
public com.google.protobuf.ProtocolStringList getResourceNamesList() {
- return resourceNames_.getUnmodifiableView();
+ resourceNames_.makeImmutable();
+ return resourceNames_;
}
/**
*
@@ -885,15 +896,19 @@ public com.google.protobuf.ProtocolStringList getResourceNamesList() {
*
* Required. Names of one or more parent resources from which to
* retrieve log entries:
+ *
* * `projects/[PROJECT_ID]`
* * `organizations/[ORGANIZATION_ID]`
* * `billingAccounts/[BILLING_ACCOUNT_ID]`
* * `folders/[FOLDER_ID]`
+ *
* May alternatively be one or more views:
+ *
* * `projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
* * `organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
* * `billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
* * `folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
+ *
* Projects listed in the `project_ids` field are added to this list.
* A maximum of 100 resources may be specified in a single request.
*
@@ -913,15 +928,19 @@ public int getResourceNamesCount() {
*
* Required. Names of one or more parent resources from which to
* retrieve log entries:
+ *
* * `projects/[PROJECT_ID]`
* * `organizations/[ORGANIZATION_ID]`
* * `billingAccounts/[BILLING_ACCOUNT_ID]`
* * `folders/[FOLDER_ID]`
+ *
* May alternatively be one or more views:
+ *
* * `projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
* * `organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
* * `billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
* * `folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
+ *
* Projects listed in the `project_ids` field are added to this list.
* A maximum of 100 resources may be specified in a single request.
*
@@ -942,15 +961,19 @@ public java.lang.String getResourceNames(int index) {
*
* Required. Names of one or more parent resources from which to
* retrieve log entries:
+ *
* * `projects/[PROJECT_ID]`
* * `organizations/[ORGANIZATION_ID]`
* * `billingAccounts/[BILLING_ACCOUNT_ID]`
* * `folders/[FOLDER_ID]`
+ *
* May alternatively be one or more views:
+ *
* * `projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
* * `organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
* * `billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
* * `folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
+ *
* Projects listed in the `project_ids` field are added to this list.
* A maximum of 100 resources may be specified in a single request.
*
@@ -971,15 +994,19 @@ public com.google.protobuf.ByteString getResourceNamesBytes(int index) {
*
* Required. Names of one or more parent resources from which to
* retrieve log entries:
+ *
* * `projects/[PROJECT_ID]`
* * `organizations/[ORGANIZATION_ID]`
* * `billingAccounts/[BILLING_ACCOUNT_ID]`
* * `folders/[FOLDER_ID]`
+ *
* May alternatively be one or more views:
+ *
* * `projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
* * `organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
* * `billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
* * `folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
+ *
* Projects listed in the `project_ids` field are added to this list.
* A maximum of 100 resources may be specified in a single request.
*
@@ -998,6 +1025,7 @@ public Builder setResourceNames(int index, java.lang.String value) {
}
ensureResourceNamesIsMutable();
resourceNames_.set(index, value);
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -1007,15 +1035,19 @@ public Builder setResourceNames(int index, java.lang.String value) {
*
* Required. Names of one or more parent resources from which to
* retrieve log entries:
+ *
* * `projects/[PROJECT_ID]`
* * `organizations/[ORGANIZATION_ID]`
* * `billingAccounts/[BILLING_ACCOUNT_ID]`
* * `folders/[FOLDER_ID]`
+ *
* May alternatively be one or more views:
+ *
* * `projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
* * `organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
* * `billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
* * `folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
+ *
* Projects listed in the `project_ids` field are added to this list.
* A maximum of 100 resources may be specified in a single request.
*
@@ -1033,6 +1065,7 @@ public Builder addResourceNames(java.lang.String value) {
}
ensureResourceNamesIsMutable();
resourceNames_.add(value);
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -1042,15 +1075,19 @@ public Builder addResourceNames(java.lang.String value) {
*
* Required. Names of one or more parent resources from which to
* retrieve log entries:
+ *
* * `projects/[PROJECT_ID]`
* * `organizations/[ORGANIZATION_ID]`
* * `billingAccounts/[BILLING_ACCOUNT_ID]`
* * `folders/[FOLDER_ID]`
+ *
* May alternatively be one or more views:
+ *
* * `projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
* * `organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
* * `billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
* * `folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
+ *
* Projects listed in the `project_ids` field are added to this list.
* A maximum of 100 resources may be specified in a single request.
*
@@ -1065,6 +1102,7 @@ public Builder addResourceNames(java.lang.String value) {
public Builder addAllResourceNames(java.lang.Iterable values) {
ensureResourceNamesIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(values, resourceNames_);
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -1074,15 +1112,19 @@ public Builder addAllResourceNames(java.lang.Iterable values)
*
* Required. Names of one or more parent resources from which to
* retrieve log entries:
+ *
* * `projects/[PROJECT_ID]`
* * `organizations/[ORGANIZATION_ID]`
* * `billingAccounts/[BILLING_ACCOUNT_ID]`
* * `folders/[FOLDER_ID]`
+ *
* May alternatively be one or more views:
+ *
* * `projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
* * `organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
* * `billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
* * `folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
+ *
* Projects listed in the `project_ids` field are added to this list.
* A maximum of 100 resources may be specified in a single request.
*
@@ -1094,8 +1136,9 @@ public Builder addAllResourceNames(java.lang.Iterable values)
* @return This builder for chaining.
*/
public Builder clearResourceNames() {
- resourceNames_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+ resourceNames_ = com.google.protobuf.LazyStringArrayList.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
+ ;
onChanged();
return this;
}
@@ -1105,15 +1148,19 @@ public Builder clearResourceNames() {
*
* Required. Names of one or more parent resources from which to
* retrieve log entries:
+ *
* * `projects/[PROJECT_ID]`
* * `organizations/[ORGANIZATION_ID]`
* * `billingAccounts/[BILLING_ACCOUNT_ID]`
* * `folders/[FOLDER_ID]`
+ *
* May alternatively be one or more views:
+ *
* * `projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
* * `organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
* * `billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
* * `folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
+ *
* Projects listed in the `project_ids` field are added to this list.
* A maximum of 100 resources may be specified in a single request.
*
@@ -1132,6 +1179,7 @@ public Builder addResourceNamesBytes(com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
ensureResourceNamesIsMutable();
resourceNames_.add(value);
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogEntriesRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogEntriesRequestOrBuilder.java
index 292d65d4d..02b2de227 100644
--- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogEntriesRequestOrBuilder.java
+++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogEntriesRequestOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -29,15 +29,19 @@ public interface ListLogEntriesRequestOrBuilder
*
* Required. Names of one or more parent resources from which to
* retrieve log entries:
+ *
* * `projects/[PROJECT_ID]`
* * `organizations/[ORGANIZATION_ID]`
* * `billingAccounts/[BILLING_ACCOUNT_ID]`
* * `folders/[FOLDER_ID]`
+ *
* May alternatively be one or more views:
+ *
* * `projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
* * `organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
* * `billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
* * `folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
+ *
* Projects listed in the `project_ids` field are added to this list.
* A maximum of 100 resources may be specified in a single request.
*
@@ -55,15 +59,19 @@ public interface ListLogEntriesRequestOrBuilder
*
* Required. Names of one or more parent resources from which to
* retrieve log entries:
+ *
* * `projects/[PROJECT_ID]`
* * `organizations/[ORGANIZATION_ID]`
* * `billingAccounts/[BILLING_ACCOUNT_ID]`
* * `folders/[FOLDER_ID]`
+ *
* May alternatively be one or more views:
+ *
* * `projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
* * `organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
* * `billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
* * `folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
+ *
* Projects listed in the `project_ids` field are added to this list.
* A maximum of 100 resources may be specified in a single request.
*
@@ -81,15 +89,19 @@ public interface ListLogEntriesRequestOrBuilder
*
* Required. Names of one or more parent resources from which to
* retrieve log entries:
+ *
* * `projects/[PROJECT_ID]`
* * `organizations/[ORGANIZATION_ID]`
* * `billingAccounts/[BILLING_ACCOUNT_ID]`
* * `folders/[FOLDER_ID]`
+ *
* May alternatively be one or more views:
+ *
* * `projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
* * `organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
* * `billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
* * `folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
+ *
* Projects listed in the `project_ids` field are added to this list.
* A maximum of 100 resources may be specified in a single request.
*
@@ -108,15 +120,19 @@ public interface ListLogEntriesRequestOrBuilder
*
* Required. Names of one or more parent resources from which to
* retrieve log entries:
+ *
* * `projects/[PROJECT_ID]`
* * `organizations/[ORGANIZATION_ID]`
* * `billingAccounts/[BILLING_ACCOUNT_ID]`
* * `folders/[FOLDER_ID]`
+ *
* May alternatively be one or more views:
+ *
* * `projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
* * `organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
* * `billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
* * `folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
+ *
* Projects listed in the `project_ids` field are added to this list.
* A maximum of 100 resources may be specified in a single request.
*
diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogEntriesResponse.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogEntriesResponse.java
index 9994c1812..60df43a85 100644
--- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogEntriesResponse.java
+++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogEntriesResponse.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -48,11 +48,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
return new ListLogEntriesResponse();
}
- @java.lang.Override
- public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
- return this.unknownFields;
- }
-
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.logging.v2.LoggingProto
.internal_static_google_logging_v2_ListLogEntriesResponse_descriptor;
@@ -160,6 +155,7 @@ public com.google.logging.v2.LogEntryOrBuilder getEntriesOrBuilder(int index) {
* If there might be more results than those appearing in this response, then
* `nextPageToken` is included. To get the next set of results, call this
* method again using the value of `nextPageToken` as `pageToken`.
+ *
* If a value for `next_page_token` appears and the `entries` field is empty,
* it means that the search found no log entries so far but it did not have
* time to search all the possible log entries. Retry the method with this
@@ -191,6 +187,7 @@ public java.lang.String getNextPageToken() {
* If there might be more results than those appearing in this response, then
* `nextPageToken` is included. To get the next set of results, call this
* method again using the value of `nextPageToken` as `pageToken`.
+ *
* If a value for `next_page_token` appears and the `entries` field is empty,
* it means that the search found no log entries so far but it did not have
* time to search all the possible log entries. Retry the method with this
@@ -1017,6 +1014,7 @@ public java.util.List getEntriesBuilderL
* If there might be more results than those appearing in this response, then
* `nextPageToken` is included. To get the next set of results, call this
* method again using the value of `nextPageToken` as `pageToken`.
+ *
* If a value for `next_page_token` appears and the `entries` field is empty,
* it means that the search found no log entries so far but it did not have
* time to search all the possible log entries. Retry the method with this
@@ -1047,6 +1045,7 @@ public java.lang.String getNextPageToken() {
* If there might be more results than those appearing in this response, then
* `nextPageToken` is included. To get the next set of results, call this
* method again using the value of `nextPageToken` as `pageToken`.
+ *
* If a value for `next_page_token` appears and the `entries` field is empty,
* it means that the search found no log entries so far but it did not have
* time to search all the possible log entries. Retry the method with this
@@ -1077,6 +1076,7 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() {
* If there might be more results than those appearing in this response, then
* `nextPageToken` is included. To get the next set of results, call this
* method again using the value of `nextPageToken` as `pageToken`.
+ *
* If a value for `next_page_token` appears and the `entries` field is empty,
* it means that the search found no log entries so far but it did not have
* time to search all the possible log entries. Retry the method with this
@@ -1106,6 +1106,7 @@ public Builder setNextPageToken(java.lang.String value) {
* If there might be more results than those appearing in this response, then
* `nextPageToken` is included. To get the next set of results, call this
* method again using the value of `nextPageToken` as `pageToken`.
+ *
* If a value for `next_page_token` appears and the `entries` field is empty,
* it means that the search found no log entries so far but it did not have
* time to search all the possible log entries. Retry the method with this
@@ -1131,6 +1132,7 @@ public Builder clearNextPageToken() {
* If there might be more results than those appearing in this response, then
* `nextPageToken` is included. To get the next set of results, call this
* method again using the value of `nextPageToken` as `pageToken`.
+ *
* If a value for `next_page_token` appears and the `entries` field is empty,
* it means that the search found no log entries so far but it did not have
* time to search all the possible log entries. Retry the method with this
diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogEntriesResponseOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogEntriesResponseOrBuilder.java
index 22b524420..bc524aa76 100644
--- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogEntriesResponseOrBuilder.java
+++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogEntriesResponseOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -91,6 +91,7 @@ public interface ListLogEntriesResponseOrBuilder
* If there might be more results than those appearing in this response, then
* `nextPageToken` is included. To get the next set of results, call this
* method again using the value of `nextPageToken` as `pageToken`.
+ *
* If a value for `next_page_token` appears and the `entries` field is empty,
* it means that the search found no log entries so far but it did not have
* time to search all the possible log entries. Retry the method with this
@@ -111,6 +112,7 @@ public interface ListLogEntriesResponseOrBuilder
* If there might be more results than those appearing in this response, then
* `nextPageToken` is included. To get the next set of results, call this
* method again using the value of `nextPageToken` as `pageToken`.
+ *
* If a value for `next_page_token` appears and the `entries` field is empty,
* it means that the search found no log entries so far but it did not have
* time to search all the possible log entries. Retry the method with this
diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogMetricsRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogMetricsRequest.java
index a75c2a294..549d46034 100644
--- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogMetricsRequest.java
+++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogMetricsRequest.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -48,11 +48,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
return new ListLogMetricsRequest();
}
- @java.lang.Override
- public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
- return this.unknownFields;
- }
-
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.logging.v2.LoggingMetricsProto
.internal_static_google_logging_v2_ListLogMetricsRequest_descriptor;
@@ -77,6 +72,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* Required. The name of the project containing the metrics:
+ *
* "projects/[PROJECT_ID]"
*
*
@@ -103,6 +99,7 @@ public java.lang.String getParent() {
*
*
* Required. The name of the project containing the metrics:
+ *
* "projects/[PROJECT_ID]"
*
*
@@ -595,6 +592,7 @@ public Builder mergeFrom(
*
*
* Required. The name of the project containing the metrics:
+ *
* "projects/[PROJECT_ID]"
*
*
@@ -620,6 +618,7 @@ public java.lang.String getParent() {
*
*
* Required. The name of the project containing the metrics:
+ *
* "projects/[PROJECT_ID]"
*
*
@@ -645,6 +644,7 @@ public com.google.protobuf.ByteString getParentBytes() {
*
*
* Required. The name of the project containing the metrics:
+ *
* "projects/[PROJECT_ID]"
*
*
@@ -669,6 +669,7 @@ public Builder setParent(java.lang.String value) {
*
*
* Required. The name of the project containing the metrics:
+ *
* "projects/[PROJECT_ID]"
*
*
@@ -689,6 +690,7 @@ public Builder clearParent() {
*
*
* Required. The name of the project containing the metrics:
+ *
* "projects/[PROJECT_ID]"
*
*
diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogMetricsRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogMetricsRequestOrBuilder.java
index 7bc9456dc..c7bbd3aa4 100644
--- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogMetricsRequestOrBuilder.java
+++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogMetricsRequestOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -28,6 +28,7 @@ public interface ListLogMetricsRequestOrBuilder
*
*
* Required. The name of the project containing the metrics:
+ *
* "projects/[PROJECT_ID]"
*
*
@@ -43,6 +44,7 @@ public interface ListLogMetricsRequestOrBuilder
*
*
* Required. The name of the project containing the metrics:
+ *
* "projects/[PROJECT_ID]"
*
*
diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogMetricsResponse.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogMetricsResponse.java
index ebf64d4e9..7451505b6 100644
--- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogMetricsResponse.java
+++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogMetricsResponse.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -48,11 +48,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
return new ListLogMetricsResponse();
}
- @java.lang.Override
- public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
- return this.unknownFields;
- }
-
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.logging.v2.LoggingMetricsProto
.internal_static_google_logging_v2_ListLogMetricsResponse_descriptor;
diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogMetricsResponseOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogMetricsResponseOrBuilder.java
index 666ff3467..ce3664aad 100644
--- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogMetricsResponseOrBuilder.java
+++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogMetricsResponseOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 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/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogsRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogsRequest.java
index 4d9a83be6..4690bd9d3 100644
--- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogsRequest.java
+++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogsRequest.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -39,7 +39,7 @@ private ListLogsRequest(com.google.protobuf.GeneratedMessageV3.Builder> builde
private ListLogsRequest() {
parent_ = "";
- resourceNames_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+ resourceNames_ = com.google.protobuf.LazyStringArrayList.emptyList();
pageToken_ = "";
}
@@ -49,11 +49,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
return new ListLogsRequest();
}
- @java.lang.Override
- public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
- return this.unknownFields;
- }
-
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.logging.v2.LoggingProto
.internal_static_google_logging_v2_ListLogsRequest_descriptor;
@@ -78,6 +73,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* Required. The resource name to list logs for:
+ *
* * `projects/[PROJECT_ID]`
* * `organizations/[ORGANIZATION_ID]`
* * `billingAccounts/[BILLING_ACCOUNT_ID]`
@@ -107,6 +103,7 @@ public java.lang.String getParent() {
*
*
* Required. The resource name to list logs for:
+ *
* * `projects/[PROJECT_ID]`
* * `organizations/[ORGANIZATION_ID]`
* * `billingAccounts/[BILLING_ACCOUNT_ID]`
@@ -135,21 +132,26 @@ public com.google.protobuf.ByteString getParentBytes() {
public static final int RESOURCE_NAMES_FIELD_NUMBER = 8;
@SuppressWarnings("serial")
- private com.google.protobuf.LazyStringList resourceNames_;
+ private com.google.protobuf.LazyStringArrayList resourceNames_ =
+ com.google.protobuf.LazyStringArrayList.emptyList();
/**
*
*
*
* Optional. List of resource names to list logs for:
+ *
* * `projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
* * `organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
* * `billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
* * `folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
+ *
* To support legacy queries, it could also be:
+ *
* * `projects/[PROJECT_ID]`
* * `organizations/[ORGANIZATION_ID]`
* * `billingAccounts/[BILLING_ACCOUNT_ID]`
* * `folders/[FOLDER_ID]`
+ *
* The resource name in the `parent` field is added to this list.
*
*
@@ -167,15 +169,19 @@ public com.google.protobuf.ProtocolStringList getResourceNamesList() {
*
*
* Optional. List of resource names to list logs for:
+ *
* * `projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
* * `organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
* * `billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
* * `folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
+ *
* To support legacy queries, it could also be:
+ *
* * `projects/[PROJECT_ID]`
* * `organizations/[ORGANIZATION_ID]`
* * `billingAccounts/[BILLING_ACCOUNT_ID]`
* * `folders/[FOLDER_ID]`
+ *
* The resource name in the `parent` field is added to this list.
*
*
@@ -193,15 +199,19 @@ public int getResourceNamesCount() {
*
*
* Optional. List of resource names to list logs for:
+ *
* * `projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
* * `organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
* * `billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
* * `folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
+ *
* To support legacy queries, it could also be:
+ *
* * `projects/[PROJECT_ID]`
* * `organizations/[ORGANIZATION_ID]`
* * `billingAccounts/[BILLING_ACCOUNT_ID]`
* * `folders/[FOLDER_ID]`
+ *
* The resource name in the `parent` field is added to this list.
*
*
@@ -220,15 +230,19 @@ public java.lang.String getResourceNames(int index) {
*
*
* Optional. List of resource names to list logs for:
+ *
* * `projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
* * `organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
* * `billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
* * `folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
+ *
* To support legacy queries, it could also be:
+ *
* * `projects/[PROJECT_ID]`
* * `organizations/[ORGANIZATION_ID]`
* * `billingAccounts/[BILLING_ACCOUNT_ID]`
* * `folders/[FOLDER_ID]`
+ *
* The resource name in the `parent` field is added to this list.
*
*
@@ -551,8 +565,7 @@ public Builder clear() {
super.clear();
bitField0_ = 0;
parent_ = "";
- resourceNames_ = com.google.protobuf.LazyStringArrayList.EMPTY;
- bitField0_ = (bitField0_ & ~0x00000002);
+ resourceNames_ = com.google.protobuf.LazyStringArrayList.emptyList();
pageSize_ = 0;
pageToken_ = "";
return this;
@@ -582,7 +595,6 @@ public com.google.logging.v2.ListLogsRequest build() {
public com.google.logging.v2.ListLogsRequest buildPartial() {
com.google.logging.v2.ListLogsRequest result =
new com.google.logging.v2.ListLogsRequest(this);
- buildPartialRepeatedFields(result);
if (bitField0_ != 0) {
buildPartial0(result);
}
@@ -590,19 +602,15 @@ public com.google.logging.v2.ListLogsRequest buildPartial() {
return result;
}
- private void buildPartialRepeatedFields(com.google.logging.v2.ListLogsRequest result) {
- if (((bitField0_ & 0x00000002) != 0)) {
- resourceNames_ = resourceNames_.getUnmodifiableView();
- bitField0_ = (bitField0_ & ~0x00000002);
- }
- result.resourceNames_ = resourceNames_;
- }
-
private void buildPartial0(com.google.logging.v2.ListLogsRequest result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.parent_ = parent_;
}
+ if (((from_bitField0_ & 0x00000002) != 0)) {
+ resourceNames_.makeImmutable();
+ result.resourceNames_ = resourceNames_;
+ }
if (((from_bitField0_ & 0x00000004) != 0)) {
result.pageSize_ = pageSize_;
}
@@ -664,7 +672,7 @@ public Builder mergeFrom(com.google.logging.v2.ListLogsRequest other) {
if (!other.resourceNames_.isEmpty()) {
if (resourceNames_.isEmpty()) {
resourceNames_ = other.resourceNames_;
- bitField0_ = (bitField0_ & ~0x00000002);
+ bitField0_ |= 0x00000002;
} else {
ensureResourceNamesIsMutable();
resourceNames_.addAll(other.resourceNames_);
@@ -755,6 +763,7 @@ public Builder mergeFrom(
*
*
* Required. The resource name to list logs for:
+ *
* * `projects/[PROJECT_ID]`
* * `organizations/[ORGANIZATION_ID]`
* * `billingAccounts/[BILLING_ACCOUNT_ID]`
@@ -783,6 +792,7 @@ public java.lang.String getParent() {
*
*
* Required. The resource name to list logs for:
+ *
* * `projects/[PROJECT_ID]`
* * `organizations/[ORGANIZATION_ID]`
* * `billingAccounts/[BILLING_ACCOUNT_ID]`
@@ -811,6 +821,7 @@ public com.google.protobuf.ByteString getParentBytes() {
*
*
* Required. The resource name to list logs for:
+ *
* * `projects/[PROJECT_ID]`
* * `organizations/[ORGANIZATION_ID]`
* * `billingAccounts/[BILLING_ACCOUNT_ID]`
@@ -838,6 +849,7 @@ public Builder setParent(java.lang.String value) {
*
*
* Required. The resource name to list logs for:
+ *
* * `projects/[PROJECT_ID]`
* * `organizations/[ORGANIZATION_ID]`
* * `billingAccounts/[BILLING_ACCOUNT_ID]`
@@ -861,6 +873,7 @@ public Builder clearParent() {
*
*
* Required. The resource name to list logs for:
+ *
* * `projects/[PROJECT_ID]`
* * `organizations/[ORGANIZATION_ID]`
* * `billingAccounts/[BILLING_ACCOUNT_ID]`
@@ -885,29 +898,33 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
return this;
}
- private com.google.protobuf.LazyStringList resourceNames_ =
- com.google.protobuf.LazyStringArrayList.EMPTY;
+ private com.google.protobuf.LazyStringArrayList resourceNames_ =
+ com.google.protobuf.LazyStringArrayList.emptyList();
private void ensureResourceNamesIsMutable() {
- if (!((bitField0_ & 0x00000002) != 0)) {
+ if (!resourceNames_.isModifiable()) {
resourceNames_ = new com.google.protobuf.LazyStringArrayList(resourceNames_);
- bitField0_ |= 0x00000002;
}
+ bitField0_ |= 0x00000002;
}
/**
*
*
*
* Optional. List of resource names to list logs for:
+ *
* * `projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
* * `organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
* * `billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
* * `folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
+ *
* To support legacy queries, it could also be:
+ *
* * `projects/[PROJECT_ID]`
* * `organizations/[ORGANIZATION_ID]`
* * `billingAccounts/[BILLING_ACCOUNT_ID]`
* * `folders/[FOLDER_ID]`
+ *
* The resource name in the `parent` field is added to this list.
*
*
@@ -918,22 +935,27 @@ private void ensureResourceNamesIsMutable() {
* @return A list containing the resourceNames.
*/
public com.google.protobuf.ProtocolStringList getResourceNamesList() {
- return resourceNames_.getUnmodifiableView();
+ resourceNames_.makeImmutable();
+ return resourceNames_;
}
/**
*
*
*
* Optional. List of resource names to list logs for:
+ *
* * `projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
* * `organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
* * `billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
* * `folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
+ *
* To support legacy queries, it could also be:
+ *
* * `projects/[PROJECT_ID]`
* * `organizations/[ORGANIZATION_ID]`
* * `billingAccounts/[BILLING_ACCOUNT_ID]`
* * `folders/[FOLDER_ID]`
+ *
* The resource name in the `parent` field is added to this list.
*
*
@@ -951,15 +973,19 @@ public int getResourceNamesCount() {
*
*
* Optional. List of resource names to list logs for:
+ *
* * `projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
* * `organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
* * `billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
* * `folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
+ *
* To support legacy queries, it could also be:
+ *
* * `projects/[PROJECT_ID]`
* * `organizations/[ORGANIZATION_ID]`
* * `billingAccounts/[BILLING_ACCOUNT_ID]`
* * `folders/[FOLDER_ID]`
+ *
* The resource name in the `parent` field is added to this list.
*
*
@@ -978,15 +1004,19 @@ public java.lang.String getResourceNames(int index) {
*
*
* Optional. List of resource names to list logs for:
+ *
* * `projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
* * `organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
* * `billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
* * `folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
+ *
* To support legacy queries, it could also be:
+ *
* * `projects/[PROJECT_ID]`
* * `organizations/[ORGANIZATION_ID]`
* * `billingAccounts/[BILLING_ACCOUNT_ID]`
* * `folders/[FOLDER_ID]`
+ *
* The resource name in the `parent` field is added to this list.
*
*
@@ -1005,15 +1035,19 @@ public com.google.protobuf.ByteString getResourceNamesBytes(int index) {
*
*
* Optional. List of resource names to list logs for:
+ *
* * `projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
* * `organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
* * `billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
* * `folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
+ *
* To support legacy queries, it could also be:
+ *
* * `projects/[PROJECT_ID]`
* * `organizations/[ORGANIZATION_ID]`
* * `billingAccounts/[BILLING_ACCOUNT_ID]`
* * `folders/[FOLDER_ID]`
+ *
* The resource name in the `parent` field is added to this list.
*
*
@@ -1031,6 +1065,7 @@ public Builder setResourceNames(int index, java.lang.String value) {
}
ensureResourceNamesIsMutable();
resourceNames_.set(index, value);
+ bitField0_ |= 0x00000002;
onChanged();
return this;
}
@@ -1039,15 +1074,19 @@ public Builder setResourceNames(int index, java.lang.String value) {
*
*
* Optional. List of resource names to list logs for:
+ *
* * `projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
* * `organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
* * `billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
* * `folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
+ *
* To support legacy queries, it could also be:
+ *
* * `projects/[PROJECT_ID]`
* * `organizations/[ORGANIZATION_ID]`
* * `billingAccounts/[BILLING_ACCOUNT_ID]`
* * `folders/[FOLDER_ID]`
+ *
* The resource name in the `parent` field is added to this list.
*
*
@@ -1064,6 +1103,7 @@ public Builder addResourceNames(java.lang.String value) {
}
ensureResourceNamesIsMutable();
resourceNames_.add(value);
+ bitField0_ |= 0x00000002;
onChanged();
return this;
}
@@ -1072,15 +1112,19 @@ public Builder addResourceNames(java.lang.String value) {
*
*
* Optional. List of resource names to list logs for:
+ *
* * `projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
* * `organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
* * `billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
* * `folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
+ *
* To support legacy queries, it could also be:
+ *
* * `projects/[PROJECT_ID]`
* * `organizations/[ORGANIZATION_ID]`
* * `billingAccounts/[BILLING_ACCOUNT_ID]`
* * `folders/[FOLDER_ID]`
+ *
* The resource name in the `parent` field is added to this list.
*
*
@@ -1094,6 +1138,7 @@ public Builder addResourceNames(java.lang.String value) {
public Builder addAllResourceNames(java.lang.Iterable values) {
ensureResourceNamesIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(values, resourceNames_);
+ bitField0_ |= 0x00000002;
onChanged();
return this;
}
@@ -1102,15 +1147,19 @@ public Builder addAllResourceNames(java.lang.Iterable values)
*
*
* Optional. List of resource names to list logs for:
+ *
* * `projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
* * `organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
* * `billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
* * `folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
+ *
* To support legacy queries, it could also be:
+ *
* * `projects/[PROJECT_ID]`
* * `organizations/[ORGANIZATION_ID]`
* * `billingAccounts/[BILLING_ACCOUNT_ID]`
* * `folders/[FOLDER_ID]`
+ *
* The resource name in the `parent` field is added to this list.
*
*
@@ -1121,8 +1170,9 @@ public Builder addAllResourceNames(java.lang.Iterable values)
* @return This builder for chaining.
*/
public Builder clearResourceNames() {
- resourceNames_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+ resourceNames_ = com.google.protobuf.LazyStringArrayList.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
+ ;
onChanged();
return this;
}
@@ -1131,15 +1181,19 @@ public Builder clearResourceNames() {
*
*
* Optional. List of resource names to list logs for:
+ *
* * `projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
* * `organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
* * `billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
* * `folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
+ *
* To support legacy queries, it could also be:
+ *
* * `projects/[PROJECT_ID]`
* * `organizations/[ORGANIZATION_ID]`
* * `billingAccounts/[BILLING_ACCOUNT_ID]`
* * `folders/[FOLDER_ID]`
+ *
* The resource name in the `parent` field is added to this list.
*
*
@@ -1157,6 +1211,7 @@ public Builder addResourceNamesBytes(com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
ensureResourceNamesIsMutable();
resourceNames_.add(value);
+ bitField0_ |= 0x00000002;
onChanged();
return this;
}
diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogsRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogsRequestOrBuilder.java
index b631c1fcd..92a81b988 100644
--- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogsRequestOrBuilder.java
+++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogsRequestOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -28,6 +28,7 @@ public interface ListLogsRequestOrBuilder
*
*
* Required. The resource name to list logs for:
+ *
* * `projects/[PROJECT_ID]`
* * `organizations/[ORGANIZATION_ID]`
* * `billingAccounts/[BILLING_ACCOUNT_ID]`
@@ -46,6 +47,7 @@ public interface ListLogsRequestOrBuilder
*
*
* Required. The resource name to list logs for:
+ *
* * `projects/[PROJECT_ID]`
* * `organizations/[ORGANIZATION_ID]`
* * `billingAccounts/[BILLING_ACCOUNT_ID]`
@@ -65,15 +67,19 @@ public interface ListLogsRequestOrBuilder
*
*
* Optional. List of resource names to list logs for:
+ *
* * `projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
* * `organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
* * `billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
* * `folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
+ *
* To support legacy queries, it could also be:
+ *
* * `projects/[PROJECT_ID]`
* * `organizations/[ORGANIZATION_ID]`
* * `billingAccounts/[BILLING_ACCOUNT_ID]`
* * `folders/[FOLDER_ID]`
+ *
* The resource name in the `parent` field is added to this list.
*
*
@@ -89,15 +95,19 @@ public interface ListLogsRequestOrBuilder
*
*
* Optional. List of resource names to list logs for:
+ *
* * `projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
* * `organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
* * `billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
* * `folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
+ *
* To support legacy queries, it could also be:
+ *
* * `projects/[PROJECT_ID]`
* * `organizations/[ORGANIZATION_ID]`
* * `billingAccounts/[BILLING_ACCOUNT_ID]`
* * `folders/[FOLDER_ID]`
+ *
* The resource name in the `parent` field is added to this list.
*
*
@@ -113,15 +123,19 @@ public interface ListLogsRequestOrBuilder
*
*
* Optional. List of resource names to list logs for:
+ *
* * `projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
* * `organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
* * `billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
* * `folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
+ *
* To support legacy queries, it could also be:
+ *
* * `projects/[PROJECT_ID]`
* * `organizations/[ORGANIZATION_ID]`
* * `billingAccounts/[BILLING_ACCOUNT_ID]`
* * `folders/[FOLDER_ID]`
+ *
* The resource name in the `parent` field is added to this list.
*
*
@@ -138,15 +152,19 @@ public interface ListLogsRequestOrBuilder
*
*
* Optional. List of resource names to list logs for:
+ *
* * `projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
* * `organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
* * `billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
* * `folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
+ *
* To support legacy queries, it could also be:
+ *
* * `projects/[PROJECT_ID]`
* * `organizations/[ORGANIZATION_ID]`
* * `billingAccounts/[BILLING_ACCOUNT_ID]`
* * `folders/[FOLDER_ID]`
+ *
* The resource name in the `parent` field is added to this list.
*
*
diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogsResponse.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogsResponse.java
index 0e87e53ea..6bd3198f6 100644
--- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogsResponse.java
+++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogsResponse.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -38,7 +38,7 @@ private ListLogsResponse(com.google.protobuf.GeneratedMessageV3.Builder> build
}
private ListLogsResponse() {
- logNames_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+ logNames_ = com.google.protobuf.LazyStringArrayList.emptyList();
nextPageToken_ = "";
}
@@ -48,11 +48,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
return new ListLogsResponse();
}
- @java.lang.Override
- public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
- return this.unknownFields;
- }
-
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.logging.v2.LoggingProto
.internal_static_google_logging_v2_ListLogsResponse_descriptor;
@@ -71,7 +66,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
public static final int LOG_NAMES_FIELD_NUMBER = 3;
@SuppressWarnings("serial")
- private com.google.protobuf.LazyStringList logNames_;
+ private com.google.protobuf.LazyStringArrayList logNames_ =
+ com.google.protobuf.LazyStringArrayList.emptyList();
/**
*
*
@@ -407,8 +403,7 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
public Builder clear() {
super.clear();
bitField0_ = 0;
- logNames_ = com.google.protobuf.LazyStringArrayList.EMPTY;
- bitField0_ = (bitField0_ & ~0x00000001);
+ logNames_ = com.google.protobuf.LazyStringArrayList.emptyList();
nextPageToken_ = "";
return this;
}
@@ -437,7 +432,6 @@ public com.google.logging.v2.ListLogsResponse build() {
public com.google.logging.v2.ListLogsResponse buildPartial() {
com.google.logging.v2.ListLogsResponse result =
new com.google.logging.v2.ListLogsResponse(this);
- buildPartialRepeatedFields(result);
if (bitField0_ != 0) {
buildPartial0(result);
}
@@ -445,16 +439,12 @@ public com.google.logging.v2.ListLogsResponse buildPartial() {
return result;
}
- private void buildPartialRepeatedFields(com.google.logging.v2.ListLogsResponse result) {
- if (((bitField0_ & 0x00000001) != 0)) {
- logNames_ = logNames_.getUnmodifiableView();
- bitField0_ = (bitField0_ & ~0x00000001);
- }
- result.logNames_ = logNames_;
- }
-
private void buildPartial0(com.google.logging.v2.ListLogsResponse result) {
int from_bitField0_ = bitField0_;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ logNames_.makeImmutable();
+ result.logNames_ = logNames_;
+ }
if (((from_bitField0_ & 0x00000002) != 0)) {
result.nextPageToken_ = nextPageToken_;
}
@@ -508,7 +498,7 @@ public Builder mergeFrom(com.google.logging.v2.ListLogsResponse other) {
if (!other.logNames_.isEmpty()) {
if (logNames_.isEmpty()) {
logNames_ = other.logNames_;
- bitField0_ = (bitField0_ & ~0x00000001);
+ bitField0_ |= 0x00000001;
} else {
ensureLogNamesIsMutable();
logNames_.addAll(other.logNames_);
@@ -578,14 +568,14 @@ public Builder mergeFrom(
private int bitField0_;
- private com.google.protobuf.LazyStringList logNames_ =
- com.google.protobuf.LazyStringArrayList.EMPTY;
+ private com.google.protobuf.LazyStringArrayList logNames_ =
+ com.google.protobuf.LazyStringArrayList.emptyList();
private void ensureLogNamesIsMutable() {
- if (!((bitField0_ & 0x00000001) != 0)) {
+ if (!logNames_.isModifiable()) {
logNames_ = new com.google.protobuf.LazyStringArrayList(logNames_);
- bitField0_ |= 0x00000001;
}
+ bitField0_ |= 0x00000001;
}
/**
*
@@ -601,7 +591,8 @@ private void ensureLogNamesIsMutable() {
* @return A list containing the logNames.
*/
public com.google.protobuf.ProtocolStringList getLogNamesList() {
- return logNames_.getUnmodifiableView();
+ logNames_.makeImmutable();
+ return logNames_;
}
/**
*
@@ -674,6 +665,7 @@ public Builder setLogNames(int index, java.lang.String value) {
}
ensureLogNamesIsMutable();
logNames_.set(index, value);
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -697,6 +689,7 @@ public Builder addLogNames(java.lang.String value) {
}
ensureLogNamesIsMutable();
logNames_.add(value);
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -717,6 +710,7 @@ public Builder addLogNames(java.lang.String value) {
public Builder addAllLogNames(java.lang.Iterable values) {
ensureLogNamesIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(values, logNames_);
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -734,8 +728,9 @@ public Builder addAllLogNames(java.lang.Iterable values) {
* @return This builder for chaining.
*/
public Builder clearLogNames() {
- logNames_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+ logNames_ = com.google.protobuf.LazyStringArrayList.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
+ ;
onChanged();
return this;
}
@@ -760,6 +755,7 @@ public Builder addLogNamesBytes(com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
ensureLogNamesIsMutable();
logNames_.add(value);
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogsResponseOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogsResponseOrBuilder.java
index 881527c08..be2d3cef5 100644
--- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogsResponseOrBuilder.java
+++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListLogsResponseOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 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/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListMonitoredResourceDescriptorsRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListMonitoredResourceDescriptorsRequest.java
index e6a886442..9596fa95a 100644
--- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListMonitoredResourceDescriptorsRequest.java
+++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListMonitoredResourceDescriptorsRequest.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -49,11 +49,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
return new ListMonitoredResourceDescriptorsRequest();
}
- @java.lang.Override
- public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
- return this.unknownFields;
- }
-
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.logging.v2.LoggingProto
.internal_static_google_logging_v2_ListMonitoredResourceDescriptorsRequest_descriptor;
diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListMonitoredResourceDescriptorsRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListMonitoredResourceDescriptorsRequestOrBuilder.java
index 193bf02e2..f89690c66 100644
--- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListMonitoredResourceDescriptorsRequestOrBuilder.java
+++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListMonitoredResourceDescriptorsRequestOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 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/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListMonitoredResourceDescriptorsResponse.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListMonitoredResourceDescriptorsResponse.java
index dcd3a8cb1..a69f72fc3 100644
--- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListMonitoredResourceDescriptorsResponse.java
+++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListMonitoredResourceDescriptorsResponse.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -50,11 +50,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
return new ListMonitoredResourceDescriptorsResponse();
}
- @java.lang.Override
- public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
- return this.unknownFields;
- }
-
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.logging.v2.LoggingProto
.internal_static_google_logging_v2_ListMonitoredResourceDescriptorsResponse_descriptor;
diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListMonitoredResourceDescriptorsResponseOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListMonitoredResourceDescriptorsResponseOrBuilder.java
index f28ba92c4..e9514d3a2 100644
--- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListMonitoredResourceDescriptorsResponseOrBuilder.java
+++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListMonitoredResourceDescriptorsResponseOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 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/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListSinksRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListSinksRequest.java
index 9d02461a2..56e876e5f 100644
--- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListSinksRequest.java
+++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListSinksRequest.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -48,11 +48,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
return new ListSinksRequest();
}
- @java.lang.Override
- public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
- return this.unknownFields;
- }
-
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.logging.v2.LoggingConfigProto
.internal_static_google_logging_v2_ListSinksRequest_descriptor;
@@ -77,6 +72,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* Required. The parent resource whose sinks are to be listed:
+ *
* "projects/[PROJECT_ID]"
* "organizations/[ORGANIZATION_ID]"
* "billingAccounts/[BILLING_ACCOUNT_ID]"
@@ -106,6 +102,7 @@ public java.lang.String getParent() {
*
*
* Required. The parent resource whose sinks are to be listed:
+ *
* "projects/[PROJECT_ID]"
* "organizations/[ORGANIZATION_ID]"
* "billingAccounts/[BILLING_ACCOUNT_ID]"
@@ -600,6 +597,7 @@ public Builder mergeFrom(
*
*
* Required. The parent resource whose sinks are to be listed:
+ *
* "projects/[PROJECT_ID]"
* "organizations/[ORGANIZATION_ID]"
* "billingAccounts/[BILLING_ACCOUNT_ID]"
@@ -628,6 +626,7 @@ public java.lang.String getParent() {
*
*
* Required. The parent resource whose sinks are to be listed:
+ *
* "projects/[PROJECT_ID]"
* "organizations/[ORGANIZATION_ID]"
* "billingAccounts/[BILLING_ACCOUNT_ID]"
@@ -656,6 +655,7 @@ public com.google.protobuf.ByteString getParentBytes() {
*
*
* Required. The parent resource whose sinks are to be listed:
+ *
* "projects/[PROJECT_ID]"
* "organizations/[ORGANIZATION_ID]"
* "billingAccounts/[BILLING_ACCOUNT_ID]"
@@ -683,6 +683,7 @@ public Builder setParent(java.lang.String value) {
*
*
* Required. The parent resource whose sinks are to be listed:
+ *
* "projects/[PROJECT_ID]"
* "organizations/[ORGANIZATION_ID]"
* "billingAccounts/[BILLING_ACCOUNT_ID]"
@@ -706,6 +707,7 @@ public Builder clearParent() {
*
*
* Required. The parent resource whose sinks are to be listed:
+ *
* "projects/[PROJECT_ID]"
* "organizations/[ORGANIZATION_ID]"
* "billingAccounts/[BILLING_ACCOUNT_ID]"
diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListSinksRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListSinksRequestOrBuilder.java
index d59e4ff79..b282d5290 100644
--- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListSinksRequestOrBuilder.java
+++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListSinksRequestOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -28,6 +28,7 @@ public interface ListSinksRequestOrBuilder
*
*
* Required. The parent resource whose sinks are to be listed:
+ *
* "projects/[PROJECT_ID]"
* "organizations/[ORGANIZATION_ID]"
* "billingAccounts/[BILLING_ACCOUNT_ID]"
@@ -46,6 +47,7 @@ public interface ListSinksRequestOrBuilder
*
*
* Required. The parent resource whose sinks are to be listed:
+ *
* "projects/[PROJECT_ID]"
* "organizations/[ORGANIZATION_ID]"
* "billingAccounts/[BILLING_ACCOUNT_ID]"
diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListSinksResponse.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListSinksResponse.java
index c5987f070..23d810f93 100644
--- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListSinksResponse.java
+++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListSinksResponse.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -48,11 +48,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
return new ListSinksResponse();
}
- @java.lang.Override
- public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
- return this.unknownFields;
- }
-
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.logging.v2.LoggingConfigProto
.internal_static_google_logging_v2_ListSinksResponse_descriptor;
diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListSinksResponseOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListSinksResponseOrBuilder.java
index 1625fce0e..054084afb 100644
--- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListSinksResponseOrBuilder.java
+++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListSinksResponseOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 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/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListViewsRequest.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListViewsRequest.java
index b2f05c793..5edd1dc1e 100644
--- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListViewsRequest.java
+++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListViewsRequest.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -48,11 +48,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
return new ListViewsRequest();
}
- @java.lang.Override
- public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
- return this.unknownFields;
- }
-
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.logging.v2.LoggingConfigProto
.internal_static_google_logging_v2_ListViewsRequest_descriptor;
@@ -77,6 +72,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* Required. The bucket whose views are to be listed:
+ *
* "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
*
*
@@ -101,6 +97,7 @@ public java.lang.String getParent() {
*
*
* Required. The bucket whose views are to be listed:
+ *
* "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
*
*
@@ -185,6 +182,7 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
*
*
* Optional. The maximum number of results to return from this request.
+ *
* Non-positive values are ignored. The presence of `nextPageToken` in the
* response indicates that more results might be available.
*
@@ -590,6 +588,7 @@ public Builder mergeFrom(
*
*
* Required. The bucket whose views are to be listed:
+ *
* "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
*
*
@@ -613,6 +612,7 @@ public java.lang.String getParent() {
*
*
* Required. The bucket whose views are to be listed:
+ *
* "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
*
*
@@ -636,6 +636,7 @@ public com.google.protobuf.ByteString getParentBytes() {
*
*
* Required. The bucket whose views are to be listed:
+ *
* "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
*
*
@@ -658,6 +659,7 @@ public Builder setParent(java.lang.String value) {
*
*
* Required. The bucket whose views are to be listed:
+ *
* "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
*
*
@@ -676,6 +678,7 @@ public Builder clearParent() {
*
*
* Required. The bucket whose views are to be listed:
+ *
* "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
*
*
@@ -822,6 +825,7 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) {
*
*
* Optional. The maximum number of results to return from this request.
+ *
* Non-positive values are ignored. The presence of `nextPageToken` in the
* response indicates that more results might be available.
*
@@ -839,6 +843,7 @@ public int getPageSize() {
*
*
* Optional. The maximum number of results to return from this request.
+ *
* Non-positive values are ignored. The presence of `nextPageToken` in the
* response indicates that more results might be available.
*
@@ -860,6 +865,7 @@ public Builder setPageSize(int value) {
*
*
* Optional. The maximum number of results to return from this request.
+ *
* Non-positive values are ignored. The presence of `nextPageToken` in the
* response indicates that more results might be available.
*
diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListViewsRequestOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListViewsRequestOrBuilder.java
index 101411177..5145fa003 100644
--- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListViewsRequestOrBuilder.java
+++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListViewsRequestOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -28,6 +28,7 @@ public interface ListViewsRequestOrBuilder
*
*
* Required. The bucket whose views are to be listed:
+ *
* "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
*
*
@@ -41,6 +42,7 @@ public interface ListViewsRequestOrBuilder
*
*
* Required. The bucket whose views are to be listed:
+ *
* "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
*
*
@@ -86,6 +88,7 @@ public interface ListViewsRequestOrBuilder
*
*
* Optional. The maximum number of results to return from this request.
+ *
* Non-positive values are ignored. The presence of `nextPageToken` in the
* response indicates that more results might be available.
*
diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListViewsResponse.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListViewsResponse.java
index b537de301..f2fd18331 100644
--- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListViewsResponse.java
+++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListViewsResponse.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -48,11 +48,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
return new ListViewsResponse();
}
- @java.lang.Override
- public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
- return this.unknownFields;
- }
-
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.logging.v2.LoggingConfigProto
.internal_static_google_logging_v2_ListViewsResponse_descriptor;
diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListViewsResponseOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListViewsResponseOrBuilder.java
index 87d2f7198..7023cd62b 100644
--- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListViewsResponseOrBuilder.java
+++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/ListViewsResponseOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 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/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LocationMetadata.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LocationMetadata.java
index 6e4a0caac..67fd81041 100644
--- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LocationMetadata.java
+++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LocationMetadata.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -45,11 +45,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
return new LocationMetadata();
}
- @java.lang.Override
- public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
- return this.unknownFields;
- }
-
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.logging.v2.LoggingConfigProto
.internal_static_google_logging_v2_LocationMetadata_descriptor;
diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LocationMetadataOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LocationMetadataOrBuilder.java
index 455d865ab..d7a241f1f 100644
--- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LocationMetadataOrBuilder.java
+++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LocationMetadataOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 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/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LocationName.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LocationName.java
index c82b36351..41db5c824 100644
--- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LocationName.java
+++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LocationName.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2022 Google LLC
+ * Copyright 2023 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/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogBucket.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogBucket.java
index 0d04bc40b..3a751c0e1 100644
--- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogBucket.java
+++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogBucket.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -41,7 +41,7 @@ private LogBucket() {
name_ = "";
description_ = "";
lifecycleState_ = 0;
- restrictedFields_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+ restrictedFields_ = com.google.protobuf.LazyStringArrayList.emptyList();
indexConfigs_ = java.util.Collections.emptyList();
}
@@ -51,11 +51,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
return new LogBucket();
}
- @java.lang.Override
- public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
- return this.unknownFields;
- }
-
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.logging.v2.LoggingConfigProto
.internal_static_google_logging_v2_LogBucket_descriptor;
@@ -79,12 +74,17 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* Output only. The resource name of the bucket.
+ *
* For example:
+ *
* `projects/my-project/locations/global/buckets/my-bucket`
+ *
* For a list of supported locations, see [Supported
* Regions](https://cloud.google.com/logging/docs/region-support)
+ *
* For the location of `global` it is unspecified where log entries are
* actually stored.
+ *
* After a bucket has been created, the location cannot be changed.
*
*
@@ -109,12 +109,17 @@ public java.lang.String getName() {
*
*
* Output only. The resource name of the bucket.
+ *
* For example:
+ *
* `projects/my-project/locations/global/buckets/my-bucket`
+ *
* For a list of supported locations, see [Supported
* Regions](https://cloud.google.com/logging/docs/region-support)
+ *
* For the location of `global` it is unspecified where log entries are
* actually stored.
+ *
* After a bucket has been created, the location cannot be changed.
*
*
@@ -315,6 +320,7 @@ public int getRetentionDays() {
*
*
* Whether the bucket is locked.
+ *
* The retention period on a locked bucket cannot be changed. Locked buckets
* may only be deleted if they are empty.
*
@@ -374,6 +380,7 @@ public com.google.logging.v2.LifecycleState getLifecycleState() {
*
*
* Whether log analytics is enabled for this bucket.
+ *
* Once enabled, log analytics features cannot be disabled.
*
*
@@ -389,14 +396,17 @@ public boolean getAnalyticsEnabled() {
public static final int RESTRICTED_FIELDS_FIELD_NUMBER = 15;
@SuppressWarnings("serial")
- private com.google.protobuf.LazyStringList restrictedFields_;
+ private com.google.protobuf.LazyStringArrayList restrictedFields_ =
+ com.google.protobuf.LazyStringArrayList.emptyList();
/**
*
*
*
* Log entry field paths that are denied access in this bucket.
+ *
* The following fields and their children are eligible: `textPayload`,
* `jsonPayload`, `protoPayload`, `httpRequest`, `labels`, `sourceLocation`.
+ *
* Restricting a repeated field will restrict all values. Adding a parent will
* block all child fields. (e.g. `foo.bar` will block `foo.bar.baz`)
*
@@ -413,8 +423,10 @@ public com.google.protobuf.ProtocolStringList getRestrictedFieldsList() {
*
*
* Log entry field paths that are denied access in this bucket.
+ *
* The following fields and their children are eligible: `textPayload`,
* `jsonPayload`, `protoPayload`, `httpRequest`, `labels`, `sourceLocation`.
+ *
* Restricting a repeated field will restrict all values. Adding a parent will
* block all child fields. (e.g. `foo.bar` will block `foo.bar.baz`)
*
@@ -431,8 +443,10 @@ public int getRestrictedFieldsCount() {
*
*
* Log entry field paths that are denied access in this bucket.
+ *
* The following fields and their children are eligible: `textPayload`,
* `jsonPayload`, `protoPayload`, `httpRequest`, `labels`, `sourceLocation`.
+ *
* Restricting a repeated field will restrict all values. Adding a parent will
* block all child fields. (e.g. `foo.bar` will block `foo.bar.baz`)
*
@@ -450,8 +464,10 @@ public java.lang.String getRestrictedFields(int index) {
*
*
* Log entry field paths that are denied access in this bucket.
+ *
* The following fields and their children are eligible: `textPayload`,
* `jsonPayload`, `protoPayload`, `httpRequest`, `labels`, `sourceLocation`.
+ *
* Restricting a repeated field will restrict all values. Adding a parent will
* block all child fields. (e.g. `foo.bar` will block `foo.bar.baz`)
*
@@ -925,8 +941,7 @@ public Builder clear() {
locked_ = false;
lifecycleState_ = 0;
analyticsEnabled_ = false;
- restrictedFields_ = com.google.protobuf.LazyStringArrayList.EMPTY;
- bitField0_ = (bitField0_ & ~0x00000100);
+ restrictedFields_ = com.google.protobuf.LazyStringArrayList.emptyList();
if (indexConfigsBuilder_ == null) {
indexConfigs_ = java.util.Collections.emptyList();
} else {
@@ -974,11 +989,6 @@ public com.google.logging.v2.LogBucket buildPartial() {
}
private void buildPartialRepeatedFields(com.google.logging.v2.LogBucket result) {
- if (((bitField0_ & 0x00000100) != 0)) {
- restrictedFields_ = restrictedFields_.getUnmodifiableView();
- bitField0_ = (bitField0_ & ~0x00000100);
- }
- result.restrictedFields_ = restrictedFields_;
if (indexConfigsBuilder_ == null) {
if (((bitField0_ & 0x00000200) != 0)) {
indexConfigs_ = java.util.Collections.unmodifiableList(indexConfigs_);
@@ -1016,6 +1026,10 @@ private void buildPartial0(com.google.logging.v2.LogBucket result) {
if (((from_bitField0_ & 0x00000080) != 0)) {
result.analyticsEnabled_ = analyticsEnabled_;
}
+ if (((from_bitField0_ & 0x00000100) != 0)) {
+ restrictedFields_.makeImmutable();
+ result.restrictedFields_ = restrictedFields_;
+ }
if (((from_bitField0_ & 0x00000400) != 0)) {
result.cmekSettings_ =
cmekSettingsBuilder_ == null ? cmekSettings_ : cmekSettingsBuilder_.build();
@@ -1098,7 +1112,7 @@ public Builder mergeFrom(com.google.logging.v2.LogBucket other) {
if (!other.restrictedFields_.isEmpty()) {
if (restrictedFields_.isEmpty()) {
restrictedFields_ = other.restrictedFields_;
- bitField0_ = (bitField0_ & ~0x00000100);
+ bitField0_ |= 0x00000100;
} else {
ensureRestrictedFieldsIsMutable();
restrictedFields_.addAll(other.restrictedFields_);
@@ -1260,12 +1274,17 @@ public Builder mergeFrom(
*
*
* Output only. The resource name of the bucket.
+ *
* For example:
+ *
* `projects/my-project/locations/global/buckets/my-bucket`
+ *
* For a list of supported locations, see [Supported
* Regions](https://cloud.google.com/logging/docs/region-support)
+ *
* For the location of `global` it is unspecified where log entries are
* actually stored.
+ *
* After a bucket has been created, the location cannot be changed.
*
*
@@ -1289,12 +1308,17 @@ public java.lang.String getName() {
*
*
* Output only. The resource name of the bucket.
+ *
* For example:
+ *
* `projects/my-project/locations/global/buckets/my-bucket`
+ *
* For a list of supported locations, see [Supported
* Regions](https://cloud.google.com/logging/docs/region-support)
+ *
* For the location of `global` it is unspecified where log entries are
* actually stored.
+ *
* After a bucket has been created, the location cannot be changed.
*
*
@@ -1318,12 +1342,17 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
* Output only. The resource name of the bucket.
+ *
* For example:
+ *
* `projects/my-project/locations/global/buckets/my-bucket`
+ *
* For a list of supported locations, see [Supported
* Regions](https://cloud.google.com/logging/docs/region-support)
+ *
* For the location of `global` it is unspecified where log entries are
* actually stored.
+ *
* After a bucket has been created, the location cannot be changed.
*
*
@@ -1346,12 +1375,17 @@ public Builder setName(java.lang.String value) {
*
*
* Output only. The resource name of the bucket.
+ *
* For example:
+ *
* `projects/my-project/locations/global/buckets/my-bucket`
+ *
* For a list of supported locations, see [Supported
* Regions](https://cloud.google.com/logging/docs/region-support)
+ *
* For the location of `global` it is unspecified where log entries are
* actually stored.
+ *
* After a bucket has been created, the location cannot be changed.
*
*
@@ -1370,12 +1404,17 @@ public Builder clearName() {
*
*
* Output only. The resource name of the bucket.
+ *
* For example:
+ *
* `projects/my-project/locations/global/buckets/my-bucket`
+ *
* For a list of supported locations, see [Supported
* Regions](https://cloud.google.com/logging/docs/region-support)
+ *
* For the location of `global` it is unspecified where log entries are
* actually stored.
+ *
* After a bucket has been created, the location cannot be changed.
*
*
@@ -1980,6 +2019,7 @@ public Builder clearRetentionDays() {
*
*
* Whether the bucket is locked.
+ *
* The retention period on a locked bucket cannot be changed. Locked buckets
* may only be deleted if they are empty.
*
@@ -1997,6 +2037,7 @@ public boolean getLocked() {
*
*
* Whether the bucket is locked.
+ *
* The retention period on a locked bucket cannot be changed. Locked buckets
* may only be deleted if they are empty.
*
@@ -2018,6 +2059,7 @@ public Builder setLocked(boolean value) {
*
*
* Whether the bucket is locked.
+ *
* The retention period on a locked bucket cannot be changed. Locked buckets
* may only be deleted if they are empty.
*
@@ -2139,6 +2181,7 @@ public Builder clearLifecycleState() {
*
*
* Whether log analytics is enabled for this bucket.
+ *
* Once enabled, log analytics features cannot be disabled.
*
*
@@ -2155,6 +2198,7 @@ public boolean getAnalyticsEnabled() {
*
*
* Whether log analytics is enabled for this bucket.
+ *
* Once enabled, log analytics features cannot be disabled.
*
*
@@ -2175,6 +2219,7 @@ public Builder setAnalyticsEnabled(boolean value) {
*
*
* Whether log analytics is enabled for this bucket.
+ *
* Once enabled, log analytics features cannot be disabled.
*
*
@@ -2189,22 +2234,24 @@ public Builder clearAnalyticsEnabled() {
return this;
}
- private com.google.protobuf.LazyStringList restrictedFields_ =
- com.google.protobuf.LazyStringArrayList.EMPTY;
+ private com.google.protobuf.LazyStringArrayList restrictedFields_ =
+ com.google.protobuf.LazyStringArrayList.emptyList();
private void ensureRestrictedFieldsIsMutable() {
- if (!((bitField0_ & 0x00000100) != 0)) {
+ if (!restrictedFields_.isModifiable()) {
restrictedFields_ = new com.google.protobuf.LazyStringArrayList(restrictedFields_);
- bitField0_ |= 0x00000100;
}
+ bitField0_ |= 0x00000100;
}
/**
*
*
*
* Log entry field paths that are denied access in this bucket.
+ *
* The following fields and their children are eligible: `textPayload`,
* `jsonPayload`, `protoPayload`, `httpRequest`, `labels`, `sourceLocation`.
+ *
* Restricting a repeated field will restrict all values. Adding a parent will
* block all child fields. (e.g. `foo.bar` will block `foo.bar.baz`)
*
@@ -2214,15 +2261,18 @@ private void ensureRestrictedFieldsIsMutable() {
* @return A list containing the restrictedFields.
*/
public com.google.protobuf.ProtocolStringList getRestrictedFieldsList() {
- return restrictedFields_.getUnmodifiableView();
+ restrictedFields_.makeImmutable();
+ return restrictedFields_;
}
/**
*
*
*
* Log entry field paths that are denied access in this bucket.
+ *
* The following fields and their children are eligible: `textPayload`,
* `jsonPayload`, `protoPayload`, `httpRequest`, `labels`, `sourceLocation`.
+ *
* Restricting a repeated field will restrict all values. Adding a parent will
* block all child fields. (e.g. `foo.bar` will block `foo.bar.baz`)
*
@@ -2239,8 +2289,10 @@ public int getRestrictedFieldsCount() {
*
*
* Log entry field paths that are denied access in this bucket.
+ *
* The following fields and their children are eligible: `textPayload`,
* `jsonPayload`, `protoPayload`, `httpRequest`, `labels`, `sourceLocation`.
+ *
* Restricting a repeated field will restrict all values. Adding a parent will
* block all child fields. (e.g. `foo.bar` will block `foo.bar.baz`)
*
@@ -2258,8 +2310,10 @@ public java.lang.String getRestrictedFields(int index) {
*
*
* Log entry field paths that are denied access in this bucket.
+ *
* The following fields and their children are eligible: `textPayload`,
* `jsonPayload`, `protoPayload`, `httpRequest`, `labels`, `sourceLocation`.
+ *
* Restricting a repeated field will restrict all values. Adding a parent will
* block all child fields. (e.g. `foo.bar` will block `foo.bar.baz`)
*
@@ -2277,8 +2331,10 @@ public com.google.protobuf.ByteString getRestrictedFieldsBytes(int index) {
*
*
* Log entry field paths that are denied access in this bucket.
+ *
* The following fields and their children are eligible: `textPayload`,
* `jsonPayload`, `protoPayload`, `httpRequest`, `labels`, `sourceLocation`.
+ *
* Restricting a repeated field will restrict all values. Adding a parent will
* block all child fields. (e.g. `foo.bar` will block `foo.bar.baz`)
*
@@ -2295,6 +2351,7 @@ public Builder setRestrictedFields(int index, java.lang.String value) {
}
ensureRestrictedFieldsIsMutable();
restrictedFields_.set(index, value);
+ bitField0_ |= 0x00000100;
onChanged();
return this;
}
@@ -2303,8 +2360,10 @@ public Builder setRestrictedFields(int index, java.lang.String value) {
*
*
* Log entry field paths that are denied access in this bucket.
+ *
* The following fields and their children are eligible: `textPayload`,
* `jsonPayload`, `protoPayload`, `httpRequest`, `labels`, `sourceLocation`.
+ *
* Restricting a repeated field will restrict all values. Adding a parent will
* block all child fields. (e.g. `foo.bar` will block `foo.bar.baz`)
*
@@ -2320,6 +2379,7 @@ public Builder addRestrictedFields(java.lang.String value) {
}
ensureRestrictedFieldsIsMutable();
restrictedFields_.add(value);
+ bitField0_ |= 0x00000100;
onChanged();
return this;
}
@@ -2328,8 +2388,10 @@ public Builder addRestrictedFields(java.lang.String value) {
*
*
* Log entry field paths that are denied access in this bucket.
+ *
* The following fields and their children are eligible: `textPayload`,
* `jsonPayload`, `protoPayload`, `httpRequest`, `labels`, `sourceLocation`.
+ *
* Restricting a repeated field will restrict all values. Adding a parent will
* block all child fields. (e.g. `foo.bar` will block `foo.bar.baz`)
*
@@ -2342,6 +2404,7 @@ public Builder addRestrictedFields(java.lang.String value) {
public Builder addAllRestrictedFields(java.lang.Iterable values) {
ensureRestrictedFieldsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(values, restrictedFields_);
+ bitField0_ |= 0x00000100;
onChanged();
return this;
}
@@ -2350,8 +2413,10 @@ public Builder addAllRestrictedFields(java.lang.Iterable value
*
*
* Log entry field paths that are denied access in this bucket.
+ *
* The following fields and their children are eligible: `textPayload`,
* `jsonPayload`, `protoPayload`, `httpRequest`, `labels`, `sourceLocation`.
+ *
* Restricting a repeated field will restrict all values. Adding a parent will
* block all child fields. (e.g. `foo.bar` will block `foo.bar.baz`)
*
@@ -2361,8 +2426,9 @@ public Builder addAllRestrictedFields(java.lang.Iterable value
* @return This builder for chaining.
*/
public Builder clearRestrictedFields() {
- restrictedFields_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+ restrictedFields_ = com.google.protobuf.LazyStringArrayList.emptyList();
bitField0_ = (bitField0_ & ~0x00000100);
+ ;
onChanged();
return this;
}
@@ -2371,8 +2437,10 @@ public Builder clearRestrictedFields() {
*
*
* Log entry field paths that are denied access in this bucket.
+ *
* The following fields and their children are eligible: `textPayload`,
* `jsonPayload`, `protoPayload`, `httpRequest`, `labels`, `sourceLocation`.
+ *
* Restricting a repeated field will restrict all values. Adding a parent will
* block all child fields. (e.g. `foo.bar` will block `foo.bar.baz`)
*
@@ -2389,6 +2457,7 @@ public Builder addRestrictedFieldsBytes(com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
ensureRestrictedFieldsIsMutable();
restrictedFields_.add(value);
+ bitField0_ |= 0x00000100;
onChanged();
return this;
}
diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogBucketName.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogBucketName.java
index d9eedf5c0..f3ab7fa01 100644
--- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogBucketName.java
+++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogBucketName.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2022 Google LLC
+ * Copyright 2023 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/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogBucketOrBuilder.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogBucketOrBuilder.java
index f87fd33f3..f0a86378e 100644
--- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogBucketOrBuilder.java
+++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogBucketOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -28,12 +28,17 @@ public interface LogBucketOrBuilder
*
*
* Output only. The resource name of the bucket.
+ *
* For example:
+ *
* `projects/my-project/locations/global/buckets/my-bucket`
+ *
* For a list of supported locations, see [Supported
* Regions](https://cloud.google.com/logging/docs/region-support)
+ *
* For the location of `global` it is unspecified where log entries are
* actually stored.
+ *
* After a bucket has been created, the location cannot be changed.
*
*
@@ -47,12 +52,17 @@ public interface LogBucketOrBuilder
*
*
* Output only. The resource name of the bucket.
+ *
* For example:
+ *
* `projects/my-project/locations/global/buckets/my-bucket`
+ *
* For a list of supported locations, see [Supported
* Regions](https://cloud.google.com/logging/docs/region-support)
+ *
* For the location of `global` it is unspecified where log entries are
* actually stored.
+ *
* After a bucket has been created, the location cannot be changed.
*
*
@@ -187,6 +197,7 @@ public interface LogBucketOrBuilder
*
*
* Whether the bucket is locked.
+ *
* The retention period on a locked bucket cannot be changed. Locked buckets
* may only be deleted if they are empty.
*
@@ -231,6 +242,7 @@ public interface LogBucketOrBuilder
*
*
* Whether log analytics is enabled for this bucket.
+ *
* Once enabled, log analytics features cannot be disabled.
*
*
@@ -245,8 +257,10 @@ public interface LogBucketOrBuilder
*
*
* Log entry field paths that are denied access in this bucket.
+ *
* The following fields and their children are eligible: `textPayload`,
* `jsonPayload`, `protoPayload`, `httpRequest`, `labels`, `sourceLocation`.
+ *
* Restricting a repeated field will restrict all values. Adding a parent will
* block all child fields. (e.g. `foo.bar` will block `foo.bar.baz`)
*
@@ -261,8 +275,10 @@ public interface LogBucketOrBuilder
*
*
* Log entry field paths that are denied access in this bucket.
+ *
* The following fields and their children are eligible: `textPayload`,
* `jsonPayload`, `protoPayload`, `httpRequest`, `labels`, `sourceLocation`.
+ *
* Restricting a repeated field will restrict all values. Adding a parent will
* block all child fields. (e.g. `foo.bar` will block `foo.bar.baz`)
*
@@ -277,8 +293,10 @@ public interface LogBucketOrBuilder
*
*
* Log entry field paths that are denied access in this bucket.
+ *
* The following fields and their children are eligible: `textPayload`,
* `jsonPayload`, `protoPayload`, `httpRequest`, `labels`, `sourceLocation`.
+ *
* Restricting a repeated field will restrict all values. Adding a parent will
* block all child fields. (e.g. `foo.bar` will block `foo.bar.baz`)
*
@@ -294,8 +312,10 @@ public interface LogBucketOrBuilder
*
*
* Log entry field paths that are denied access in this bucket.
+ *
* The following fields and their children are eligible: `textPayload`,
* `jsonPayload`, `protoPayload`, `httpRequest`, `labels`, `sourceLocation`.
+ *
* Restricting a repeated field will restrict all values. Adding a parent will
* block all child fields. (e.g. `foo.bar` will block `foo.bar.baz`)
*
diff --git a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntry.java b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntry.java
index 06a5e3e7b..573a6e1bb 100644
--- a/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntry.java
+++ b/proto-google-cloud-logging-v2/src/main/java/com/google/logging/v2/LogEntry.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -51,11 +51,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
return new LogEntry();
}
- @java.lang.Override
- public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
- return this.unknownFields;
- }
-
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.logging.v2.LogEntryProto
.internal_static_google_logging_v2_LogEntry_descriptor;
@@ -82,6 +77,8 @@ protected com.google.protobuf.MapField internalGetMapField(int number) {
}
private int payloadCase_ = 0;
+
+ @SuppressWarnings("serial")
private java.lang.Object payload_;
public enum PayloadCase
@@ -140,18 +137,23 @@ public PayloadCase getPayloadCase() {
*
*
* Required. The resource name of the log to which this log entry belongs:
+ *
* "projects/[PROJECT_ID]/logs/[LOG_ID]"
* "organizations/[ORGANIZATION_ID]/logs/[LOG_ID]"
* "billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID]"
* "folders/[FOLDER_ID]/logs/[LOG_ID]"
+ *
* A project number may be used in place of PROJECT_ID. The project number is
* translated to its corresponding PROJECT_ID internally and the `log_name`
* field will contain PROJECT_ID in queries and exports.
+ *
* `[LOG_ID]` must be URL-encoded within `log_name`. Example:
* `"organizations/1234567890/logs/cloudresourcemanager.googleapis.com%2Factivity"`.
+ *
* `[LOG_ID]` must be less than 512 characters long and can only include the
* following characters: upper and lower case alphanumeric characters,
* forward-slash, underscore, hyphen, and period.
+ *
* For backward compatibility, if `log_name` begins with a forward-slash, such
* as `/projects/...`, then the log entry is ingested as usual, but the
* forward-slash is removed. Listing the log entry will not show the leading
@@ -180,18 +182,23 @@ public java.lang.String getLogName() {
*
*
* Required. The resource name of the log to which this log entry belongs:
+ *
* "projects/[PROJECT_ID]/logs/[LOG_ID]"
* "organizations/[ORGANIZATION_ID]/logs/[LOG_ID]"
* "billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID]"
* "folders/[FOLDER_ID]/logs/[LOG_ID]"
+ *
* A project number may be used in place of PROJECT_ID. The project number is
* translated to its corresponding PROJECT_ID internally and the `log_name`
* field will contain PROJECT_ID in queries and exports.
+ *
* `[LOG_ID]` must be URL-encoded within `log_name`. Example:
* `"organizations/1234567890/logs/cloudresourcemanager.googleapis.com%2Factivity"`.
+ *
* `[LOG_ID]` must be less than 512 characters long and can only include the
* following characters: upper and lower case alphanumeric characters,
* forward-slash, underscore, hyphen, and period.
+ *
* For backward compatibility, if `log_name` begins with a forward-slash, such
* as `/projects/...`, then the log entry is ingested as usual, but the
* forward-slash is removed. Listing the log entry will not show the leading
@@ -223,6 +230,7 @@ public com.google.protobuf.ByteString getLogNameBytes() {
*
*
* Required. The monitored resource that produced this log entry.
+ *
* Example: a log entry that reports a database error would be associated with
* the monitored resource designating the particular database that reported
* the error.
@@ -242,6 +250,7 @@ public boolean hasResource() {
*
*
* Required. The monitored resource that produced this log entry.
+ *
* Example: a log entry that reports a database error would be associated with
* the monitored resource designating the particular database that reported
* the error.
@@ -261,6 +270,7 @@ public com.google.api.MonitoredResource getResource() {
*
*
* Required. The monitored resource that produced this log entry.
+ *
* Example: a log entry that reports a database error would be associated with
* the monitored resource designating the particular database that reported
* the error.
@@ -281,8 +291,10 @@ public com.google.api.MonitoredResourceOrBuilder getResourceOrBuilder() {
*
* The log entry payload, represented as a protocol buffer. Some Google
* Cloud Platform services use this field for their log entry payloads.
+ *
* The following protocol buffer types are supported; user-defined types
* are not supported:
+ *
* "type.googleapis.com/google.cloud.audit.AuditLog"
* "type.googleapis.com/google.appengine.logging.v1.RequestLog"
*
@@ -301,8 +313,10 @@ public boolean hasProtoPayload() {
*
* The log entry payload, represented as a protocol buffer. Some Google
* Cloud Platform services use this field for their log entry payloads.
+ *
* The following protocol buffer types are supported; user-defined types
* are not supported:
+ *
* "type.googleapis.com/google.cloud.audit.AuditLog"
* "type.googleapis.com/google.appengine.logging.v1.RequestLog"
*
@@ -324,8 +338,10 @@ public com.google.protobuf.Any getProtoPayload() {
*
* The log entry payload, represented as a protocol buffer. Some Google
* Cloud Platform services use this field for their log entry payloads.
+ *
* The following protocol buffer types are supported; user-defined types
* are not supported:
+ *
* "type.googleapis.com/google.cloud.audit.AuditLog"
* "type.googleapis.com/google.appengine.logging.v1.RequestLog"
*
@@ -476,6 +492,7 @@ public com.google.protobuf.StructOrBuilder getJsonPayloadOrBuilder() {
* it the current time. Timestamps have nanosecond accuracy, but trailing
* zeros in the fractional seconds might be omitted when the timestamp is
* displayed.
+ *
* Incoming log entries must have timestamps that don't exceed the
* [logs retention
* period](https://cloud.google.com/logging/quotas#logs_retention_periods) in
@@ -502,6 +519,7 @@ public boolean hasTimestamp() {
* it the current time. Timestamps have nanosecond accuracy, but trailing
* zeros in the fractional seconds might be omitted when the timestamp is
* displayed.
+ *
* Incoming log entries must have timestamps that don't exceed the
* [logs retention
* period](https://cloud.google.com/logging/quotas#logs_retention_periods) in
@@ -528,6 +546,7 @@ public com.google.protobuf.Timestamp getTimestamp() {
* it the current time. Timestamps have nanosecond accuracy, but trailing
* zeros in the fractional seconds might be omitted when the timestamp is
* displayed.
+ *
* Incoming log entries must have timestamps that don't exceed the
* [logs retention
* period](https://cloud.google.com/logging/quotas#logs_retention_periods) in
@@ -651,8 +670,10 @@ public com.google.logging.type.LogSeverity getSeverity() {
* `timestamp`, and with the same `insert_id` to be duplicates which are
* removed in a single query result. However, there are no guarantees of
* de-duplication in the export of logs.
+ *
* If the `insert_id` is omitted when writing a log entry, the Logging API
* assigns its own unique identifier in this field.
+ *
* In queries, the `insert_id` is also used to order log entries that have
* the same `log_name` and `timestamp` values.
*
@@ -682,8 +703,10 @@ public java.lang.String getInsertId() {
* `timestamp`, and with the same `insert_id` to be duplicates which are
* removed in a single query result. However, there are no guarantees of
* de-duplication in the export of logs.
+ *
* If the `insert_id` is omitted when writing a log entry, the Logging API
* assigns its own unique identifier in this field.
+ *
* In queries, the `insert_id` is also used to order log entries that have
* the same `log_name` and `timestamp` values.
*
@@ -796,11 +819,14 @@ public int getLabelsCount() {
*
* Optional. A map of key, value pairs that provides additional information
* about the log entry. The labels can be user-defined or system-defined.
+ *
* User-defined labels are arbitrary key, value pairs that you can use to
* classify logs.
+ *
* System-defined labels are defined by GCP services for platform logs.
* They have two components - a service namespace component and the
* attribute name. For example: `compute.googleapis.com/resource_name`.
+ *
* Cloud Logging truncates label keys that exceed 512 B and label
* values that exceed 64 KB upon their associated log entry being
* written. The truncation is indicated by an ellipsis at the
@@ -828,11 +854,14 @@ public java.util.Map getLabels() {
*
* Optional. A map of key, value pairs that provides additional information
* about the log entry. The labels can be user-defined or system-defined.
+ *
* User-defined labels are arbitrary key, value pairs that you can use to
* classify logs.
+ *
* System-defined labels are defined by GCP services for platform logs.
* They have two components - a service namespace component and the
* attribute name. For example: `compute.googleapis.com/resource_name`.
+ *
* Cloud Logging truncates label keys that exceed 512 B and label
* values that exceed 64 KB upon their associated log entry being
* written. The truncation is indicated by an ellipsis at the
@@ -851,11 +880,14 @@ public java.util.Map getLabelsMap() {
*
* Optional. A map of key, value pairs that provides additional information
* about the log entry. The labels can be user-defined or system-defined.
+ *
* User-defined labels are arbitrary key, value pairs that you can use to
* classify logs.
+ *
* System-defined labels are defined by GCP services for platform logs.
* They have two components - a service namespace component and the
* attribute name. For example: `compute.googleapis.com/resource_name`.
+ *
* Cloud Logging truncates label keys that exceed 512 B and label
* values that exceed 64 KB upon their associated log entry being
* written. The truncation is indicated by an ellipsis at the
@@ -881,11 +913,14 @@ public java.util.Map getLabelsMap() {
*